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>;
46 compatible = "rockchip-spdif-card";
49 audio-codec = <&codec_hdmi_spdif>;
50 i2s-controller = <&spdif>;
55 compatible = "rockchip,rk3126-usb-control";
56 host_drv_gpio = <&gpio3 GPIO_C4 GPIO_ACTIVE_LOW>;
57 otg_drv_gpio = <&gpio3 GPIO_C1 GPIO_ACTIVE_LOW>;
59 rockchip,remote_wakeup;
60 rockchip,usb_irq_wakeup;
63 /*0 - Normal, 1 - Force Host, 2 - Force Device*/
64 rockchip,usb-mode = <1>;
84 &clk_core_dvfs_table {
95 virt-temp-limit-1-cpu-busy = <
96 /* target-temp limit-freq */
102 virt-temp-limit-2-cpu-busy = <
103 /* target-temp limit-freq */
109 virt-temp-limit-3-cpu-busy = <
110 /* target-temp limit-freq */
116 virt-temp-limit-4-cpu-busy = <
117 /* target-temp limit-freq */
123 temp-limit-enable = <1>;
128 &clk_gpu_dvfs_table {
138 &clk_ddr_dvfs_table {
149 SYS_STATUS_NORMAL 533000
150 SYS_STATUS_SUSPEND 200000
152 SYS_STATUS_VIDEO_1080P 240000
153 SYS_STATUS_VIDEO_4K 400000
154 SYS_STATUS_PERFORMANCE 528000
155 SYS_STATUS_DUALVIEW 400000
156 SYS_STATUS_BOOST 324000
157 SYS_STATUS_ISP 533000
184 dma-names = "!tx", "!rx";
185 pinctrl-0 = <&uart1_xfer &uart1_cts>;
193 native-mode = <&timing1>;
197 display-timings = <&disp_timings>;
201 rockchip,disp-mode = <NO_DUAL>;
202 rockchip,uboot-logo-on = <0>;
207 rockchip,fb-win-map = <FB0_WIN1_FB1_WIN0_FB2_WIN2>;
225 max-freq = <48000000>;
228 compatible = "rockchip,spi_test_bus0_cs0";
230 spi-max-frequency = <24000000>;
240 compatible = "rockchip,spi_test_bus0_cs1";
242 spi-max-frequency = <24000000>;
253 clock-frequency = <50000000>;
256 //pmu_regulator = "act_ldo5";
257 //pmu_enable_level = <1>; //1->HIGH, 0->LOW
258 //power-gpio = <&gpio0 GPIO_A6 GPIO_ACTIVE_HIGH>;
259 reset-gpio = <&gpio2 GPIO_D0 GPIO_ACTIVE_LOW>;
261 clock_in_out = "output";
267 spk_ctl_io = <&gpio1 GPIO_A3 GPIO_ACTIVE_HIGH>;
268 spk-mute-delay = <200>;
269 hp-mute-delay = <100>;
270 rk312x_for_mid = <0>;
274 capture_volume = <26>;
287 cd-gpios = <&gpio1 GPIO_C1 GPIO_ACTIVE_HIGH>;/*CD GPIO*/