1 #include "rk312x-sdk.dtsi"
2 #include "lcd-box.dtsi"
5 compatible = "rockchip,rk3128";
7 compatible = "wlan-platdata";
9 wifi_chip_type = "esp8089";
10 sdio_vref = <0>; //1800mv or 3300mv
13 //power_pmu_regulator = "act_ldo3";
14 //power_pmu_enable_level = <1>; //1->HIGH, 0->LOW
17 //vref_ctrl_gpio = <&gpio0 GPIO_A2 GPIO_ACTIVE_HIGH>;
18 //vref_pmu_regulator = "act_ldo3";
19 //vref_pmu_enable_level = <1>; //1->HIGH, 0->LOW
21 WIFI,poweren_gpio = <&gpio0 GPIO_D6 GPIO_ACTIVE_HIGH>;
22 WIFI,host_wake_irq = <&gpio0 GPIO_A2 GPIO_ACTIVE_HIGH>;
23 //WIFI,reset_gpio = <&gpio0 GPIO_A2 GPIO_ACTIVE_LOW>;
29 compatible = "bluetooth-platdata";
31 //wifi-bt-power-toggle;
33 uart_rts_gpios = <&gpio1 GPIO_B3 GPIO_ACTIVE_LOW>;
34 pinctrl-names = "default","rts_gpio";
35 pinctrl-0 = <&uart1_rts>;
36 pinctrl-1 = <&uart1_rts_gpio>;
38 //BT,power_gpio = <&gpio4 GPIO_D3 GPIO_ACTIVE_HIGH>;
39 BT,reset_gpio = <&gpio3 GPIO_C5 GPIO_ACTIVE_HIGH>;
40 BT,wake_gpio = <&gpio1 GPIO_B4 GPIO_ACTIVE_HIGH>;
41 BT,wake_host_irq = <&gpio0 GPIO_C6 GPIO_ACTIVE_LOW>;
47 compatible = "rockchip-spdif-card";
50 audio-codec = <&codec_hdmi_spdif>;
51 i2s-controller = <&spdif>;
57 compatible = "rockchip,rk3126-usb-control";
58 host_drv_gpio = <&gpio3 GPIO_C4 GPIO_ACTIVE_LOW>;
59 otg_drv_gpio = <&gpio3 GPIO_C1 GPIO_ACTIVE_LOW>;
61 rockchip,remote_wakeup;
62 rockchip,usb_irq_wakeup;
65 /*0 - Normal, 1 - Force Host, 2 - Force Device*/
66 // rockchip,usb-mode = <1>;
85 &clk_core_dvfs_table {
97 virt-temp-limit-1-cpu-busy = <
98 /* target-temp limit-freq */
104 virt-temp-limit-2-cpu-busy = <
105 /* target-temp limit-freq */
111 virt-temp-limit-3-cpu-busy = <
112 /* target-temp limit-freq */
118 virt-temp-limit-4-cpu-busy = <
119 /* target-temp limit-freq */
125 temp-limit-enable = <1>;
130 &clk_gpu_dvfs_table {
140 &clk_ddr_dvfs_table {
151 SYS_STATUS_NORMAL 533000
152 SYS_STATUS_SUSPEND 200000
154 SYS_STATUS_VIDEO_1080P 240000
155 SYS_STATUS_VIDEO_4K 400000
156 SYS_STATUS_PERFORMANCE 528000
157 SYS_STATUS_DUALVIEW 400000
158 SYS_STATUS_BOOST 324000
159 SYS_STATUS_ISP 533000
186 dma-names = "!tx", "!rx";
187 pinctrl-0 = <&uart1_xfer &uart1_cts>;
195 native-mode = <&timing1>;
199 display-timings = <&disp_timings>;
203 rockchip,disp-mode = <NO_DUAL>;
204 rockchip,uboot-logo-on = <0>;
209 rockchip,fb-win-map = <FB0_WIN0_FB1_WIN1_FB2_WIN2>;
227 max-freq = <48000000>;
230 compatible = "rockchip,spi_test_bus0_cs0";
232 spi-max-frequency = <24000000>;
242 compatible = "rockchip,spi_test_bus0_cs1";
244 spi-max-frequency = <24000000>;
255 clock-frequency = <125000000>;
259 //pmu_regulator = "act_ldo5";
260 //pmu_enable_level = <1>; //1->HIGH, 0->LOW
261 //power-gpio = <&gpio0 GPIO_A6 GPIO_ACTIVE_HIGH>;
262 reset-gpio = <&gpio2 GPIO_D0 GPIO_ACTIVE_LOW>;
264 clock_in_out = "input";
270 spk_ctl_io = <&gpio1 GPIO_A3 GPIO_ACTIVE_HIGH>;
271 spk-mute-delay = <200>;
272 hp-mute-delay = <100>;
273 rk312x_for_mid = <0>;
277 capture_volume = <26>;
290 cd-gpios = <&gpio1 GPIO_C1 GPIO_ACTIVE_HIGH>;/*CD GPIO*/