1 #include "rk312x-sdk.dtsi"
2 #include "lcd-box.dtsi"
5 compatible = "rockchip,rk3128";
7 compatible = "wlan-platdata";
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 = <&gpio0 GPIO_C2 GPIO_ACTIVE_LOW>;
34 pinctrl-names = "default","rts_gpio";
35 pinctrl-0 = <&uart0_rts>;
36 pinctrl-1 = <&uart0_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_A2 GPIO_ACTIVE_LOW>;
46 compatible = "rockchip,rk3126-usb-control";
47 host_drv_gpio = <&gpio3 GPIO_C4 GPIO_ACTIVE_LOW>;
48 otg_drv_gpio = <&gpio3 GPIO_C1 GPIO_ACTIVE_LOW>;
50 rockchip,remote_wakeup;
51 rockchip,usb_irq_wakeup;
54 codec: codec@20030000 {
55 compatible = "rk312x-codec";
56 reg = <0x20030000 0x1000>;
57 spk_ctl_io = <&gpio1 GPIO_A3 0>;
58 //pinctrl-names = "default";
59 //pinctrl-0 = <&i2s_gpio>;
62 pa_enable_time = <1000>;
63 clocks = <&clk_gates5 14>;
64 clock-names = "g_pclk_acodec";
69 &clk_core_dvfs_table {
102 SYS_STATUS_NORMAL 400000
103 SYS_STATUS_SUSPEND 200000
104 SYS_STATUS_VIDEO_1080P 240000
105 SYS_STATUS_VIDEO_4K 400000
106 SYS_STATUS_PERFORMANCE 528000
107 SYS_STATUS_DUALVIEW 400000
108 SYS_STATUS_BOOST 324000
109 SYS_STATUS_ISP 533000
138 display-timings = <&disp_timings>;
154 //pmu_regulator = "act_ldo5";
155 //pmu_enable_level = <1>; //1->HIGH, 0->LOW
156 //power-gpio = <&gpio0 GPIO_A6 GPIO_ACTIVE_HIGH>;
157 reset-gpio = <&gpio2 GPIO_D0 GPIO_ACTIVE_LOW>;