1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2023 Rockchip Electronics Co., Ltd. 4 * 5 */ 6 7/dts-v1/; 8 9#include "rk3588-vehicle-evb-v21.dtsi" 10#include "rk3588-vehicle-evb-maxim-max96712.dtsi" 11#include "rk3588-vehicle-serdes-display-v21.dtsi" 12#include "rk3588-android.dtsi" 13 14/ { 15 model = "Rockchip RK3588 VEHICLE EVB V21 Board"; 16 compatible = "rockchip,rk3588-vehicle-evb-v21", "rockchip,rk3588"; 17 18 bt-sound { 19 compatible = "simple-audio-card"; 20 simple-audio-card,format = "dsp_a"; 21 simple-audio-card,bitclock-inversion = <1>; 22 simple-audio-card,mclk-fs = <256>; 23 simple-audio-card,name = "rockchip,bt"; 24 simple-audio-card,cpu { 25 sound-dai = <&i2s2_2ch>; 26 }; 27 28 simple-audio-card,codec { 29 sound-dai = <&bt_sco 1>; 30 }; 31 }; 32 33 bt_sco: bt-sco { 34 compatible = "delta,dfbmcs320"; 35 #sound-dai-cells = <1>; 36 status = "okay"; 37 }; 38 gpio-keys { 39 compatible = "gpio-keys"; 40 autorepeat; 41 42 reverse { 43 label = "GPIO Key Reverse"; 44 linux,code = <KEY_CAMERA_DOWN>; 45 gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>; 46 debounce-interval = <100>; 47 }; 48 49 park { 50 label = "GPIO Key Park"; 51 linux,code = <KEY_CAMERA>; 52 gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>; 53 debounce-interval = <100>; 54 }; 55 }; 56}; 57 58&i2s2_2ch { 59 pinctrl-0 = <&i2s2m1_lrck 60 &i2s2m1_sclk 61 &i2s2m1_sdi 62 &i2s2m1_sdo>; 63 status = "okay"; 64}; 65 66&rockchip_suspend { 67 rockchip,sleep-mode-config = < 68 (0 69 | RKPM_SLP_ARMOFF_DDRPD 70 | RKPM_SLP_PMU_PMUALIVE_32K 71 | RKPM_SLP_PMU_DIS_OSC 72 | RKPM_SLP_32K_EXT 73 ) 74 >; 75 rockchip,wakeup-config = < 76 (0 77 | RKPM_CPU0_WKUP_EN 78 | RKPM_GPIO_WKUP_EN 79 ) 80 >; 81 status = "okay"; 82}; 83 84&vdd_log_s0 { 85 regulator-state-mem { 86 regulator-on-in-suspend; 87 regulator-suspend-microvolt = <800000>; 88 }; 89}; 90 91&vcc_3v3_s0 { 92 regulator-state-mem { 93 regulator-on-in-suspend; 94 regulator-suspend-microvolt = <3300000>; 95 }; 96}; 97 98&vcc_1v8_s0 { 99 regulator-state-mem { 100 regulator-on-in-suspend; 101 regulator-suspend-microvolt = <1800000>; 102 }; 103}; 104 105&vdd_1v8_pll_s0 { 106 regulator-on-in-suspend; 107 regulator-suspend-microvolt = <1800000>; 108}; 109