1 #include "rk312x-sdk.dtsi"
2 #include "lcd-86v-rgb1024x600.dtsi"
3 //#include "lcd-y81349.dtsi"
6 compatible = "rockchip,rk3126";
8 compatible = "pwm-backlight";
9 pwms = <&pwm0 0 25000>;
10 brightness-levels = <255 169 168 168 167 166 166 165 164 164 163 162 162 161 160 160 159 158 158 157 156 156 155 154 154 153 152 152 151 150 150 149 148 148 147 146 146 145 144 144 143 142 142 141 140 140 139 138 138 137 136 136 135 134 134 133 132 132 131 130 130 129 128 128 127 126 126 125 124 124 123 122 122 121 120 120 119 118 118 117 116 116 115 114 114 113 112 112 111 110 110 109 108 108 107 106 106 105 104 104 103 102 102 101 100 100 99 98 98 97 96 96 95 94 94 93 92 92 91 90 90 89 88 88 87 86 86 85 84 84 83 82 82 81 80 80 79 78 78 77 76 76 75 74 74 73 72 72 71 70 70 69 68 68 67 66 66 65 64 64 63 62 62 61 60 60 59 58 58 57 56 56 55 54 54 53 52 52 51 50 50 49 48 48 47 46 46 45 44 44 43 42 42 41 40 40 39 38 38 37 36 36 35 34 34 33 32 32 31 30 30 29 28 28 27 26 26 25 24 24 23 22 22 21 20 20 19 18 18 17 16 16 15 14 14 13 12 12 11 10 10 9 8 8 7 6 6 5 4 4 3 2 2 1 1 1 0 >;
11 default-brightness-level = <128>;
12 enable-gpios = <&gpio3 GPIO_C1 GPIO_ACTIVE_HIGH>;
17 compatible = "rockchip,rk3126-usb-control";
18 //host_drv_gpio = <&gpio2 GPIO_B4 GPIO_ACTIVE_LOW>;
19 //otg_drv_gpio = <&gpio2 GPIO_B6 GPIO_ACTIVE_LOW>;
21 rockchip,remote_wakeup;
22 rockchip,usb_irq_wakeup;
26 compatible = "wlan-platdata";
28 wifi_chip_type = "rtkwifi";
29 sdio_vref = <1800>; //1800mv or 3300mv
32 // pmu_regulator = "act_ldo3";
33 // pmu_enable_level = <1>; //1->HIGH, 0->LOW
35 WIFI,poweren_gpio = <&gpio1 GPIO_A1 GPIO_ACTIVE_HIGH>;
36 // WIFI,host_wake_irq = <&gpio4 GPIO_D6 GPIO_ACTIVE_HIGH>;
37 //WIFI,reset_gpio = <&gpio0 GPIO_A2 GPIO_ACTIVE_LOW>;
48 //|RKPM_CTR_ARMOFF_LPMD
56 rockchip,pmic-suspend_gpios = <
62 bootargs = "vmalloc=496M cma=4M rockchip_jtag";
80 SYS_STATUS_NORMAL 400000
81 SYS_STATUS_SUSPEND 200000
82 //SYS_STATUS_VIDEO_1080P 240000
83 //SYS_STATUS_VIDEO_4K 400000
84 SYS_STATUS_PERFORMANCE 528000
85 //SYS_STATUS_DUALVIEW 400000
86 //SYS_STATUS_BOOST 324000
87 //SYS_STATUS_ISP 533000
123 virt-temp-limit-1-cpu-busy = <
124 /* target-temp limit-freq */
130 virt-temp-limit-2-cpu-busy = <
131 /* target-temp limit-freq */
137 virt-temp-limit-3-cpu-busy = <
138 /* target-temp limit-freq */
144 virt-temp-limit-4-cpu-busy = <
145 /* target-temp limit-freq */
151 temp-limit-enable = <1>;
158 regulator_name = "vdd_logic";
174 rockchip,disp-mode = <NO_DUAL>;
175 rockchip,uboot-logo-on = <0>;
179 display-timings = <&disp_timings>;
185 pinctrl-names = "lcdc", "sleep";
186 pinctrl-0 = <&lcdc0_lcdc_d>;
187 pinctrl-1 = <&lcdc0_lcdc_gpio>;
193 pinctrl-names = "default", "gpio";
194 pinctrl-0 = <&lcdc0_lcdc>;
195 pinctrl-1 = <&lcdc0_gpio>;
197 rockchip,fb-win-map = <FB_DEFAULT_ORDER>;
199 power_ctr: power_ctr {
200 rockchip,debug = <0>;
202 rockchip,power_type = <GPIO>;
203 gpios = <&gpio3 GPIO_B3 GPIO_ACTIVE_HIGH>;
204 rockchip,delay = <10>;
217 compatible = "rockchip,key";
218 io-channels = <&adc 2>;
224 rockchip,adc_value = <1>;
230 label = "volume down";
232 rockchip,adc_value = <512>;
237 gpios = <&gpio1 GPIO_A4 GPIO_ACTIVE_LOW>;
247 compatible = "rk30-adc-battery";
248 io-channels = <&adc 0>;
249 dc_det_gpio = <&gpio2 GPIO_B1 GPIO_ACTIVE_LOW>;
250 pwr_hold = <&gpio1 GPIO_A2 GPIO_ACTIVE_LOW>;
251 //bat_low_gpio = <&gpio0 GPIO_A7 GPIO_ACTIVE_LOW>;
252 //chg_ok_gpio = <&gpio0 GPIO_B1 GPIO_ACTIVE_HIGH>;
253 bat_table = <0 0 0 0 100 100
254 3500 3619 3678 3734 3742 3783 3813 3884 3968 4110 4220
255 3750 3710 3770 3830 3850 3880 3910 3980 4060 4240 4300
278 compatible = "gs_mc3230";
280 type = <SENSOR_TYPE_ACCEL>;
281 //irq-gpio = <&gpio2 GPIO_B2 IRQ_TYPE_LEVEL_LOW>;
283 poll_delay_ms = <30>;
288 compatible = "rtc,hym8563";
290 irq_gpio = <&gpio1 GPIO_A5 IRQ_TYPE_EDGE_FALLING>;
298 compatible = "zet6221-ts";
300 pinctrl-names = "default", "gpio";
301 pinctrl-0 = <&i2c0_sda &i2c0_scl>;
302 pinctrl-1 = <&i2c0_gpio>;
303 //gpios = <&gpio0 GPIO_A1 GPIO_ACTIVE_LOW>, <&gpio0 GPIO_A0 GPIO_ACTIVE_LOW>;
304 irq_gpio_number = <&gpio0 GPIO_A1 IRQ_TYPE_LEVEL_LOW>;
305 rst_gpio_number = <&gpio0 GPIO_A0 GPIO_ACTIVE_HIGH>;
309 compatible = "goodix,gt8xx";
311 touch-gpio = <&gpio1 GPIO_B0 IRQ_TYPE_LEVEL_LOW>;
312 reset-gpio = <&gpio2 GPIO_C1 GPIO_ACTIVE_LOW>;
313 //power-gpio = <&gpio0 GPIO_C5 GPIO_ACTIVE_LOW>;
324 cd-gpios = <&gpio2 GPIO_A7 GPIO_ACTIVE_HIGH>;/*CD GPIO*/
334 spk_ctl_io = <&gpio1 GPIO_B0 GPIO_ACTIVE_HIGH>;
335 spk-mute-delay = <200>;
336 hp-mute-delay = <100>;
337 rk312x_for_mid = <1>;
341 capture_volume = <26>;