4 #include "lcd-b101ew05.dtsi"
12 bootargs = "vmalloc=512M clk_ignore_unused";
16 compatible = "rockchip,rk3126-usb-control";
17 host_drv_gpio = <&gpio2 GPIO_B4 GPIO_ACTIVE_LOW>;
18 otg_drv_gpio = <&gpio2 GPIO_B6 GPIO_ACTIVE_LOW>;
20 rockchip,remote_wakeup;
21 rockchip,usb_irq_wakeup;
26 status = "okay"; // used nand set "okay" ,used emmc set "disabled"
30 status = "disabled"; // used nand set "disabled" ,used emmc set "okay"
34 clock-frequency = <100000000>;
35 clock-freq-min-max = <400000 100000000>;
42 keep-power-in-suspend;
48 clock-frequency = <50000000>;
49 clock-freq-min-max = <400000 50000000>;
52 cd-gpios = <&gpio2 GPIO_A7 GPIO_ACTIVE_HIGH>;/*CD GPIO*/
54 card-detect-delay = <200>;
56 keep-power-in-suspend;
57 vmmc-supply = <&rk818_ldo9_reg>;
62 clock-frequency = <50000000>;
63 clock-freq-min-max = <200000 50000000>;
67 keep-power-in-suspend;
76 compatible = "rockchip,key";
77 io-channels = <&adc 1>;
82 rockchip,adc_value = <327>;
87 label = "volume down";
88 rockchip,adc_value = <426>;
92 gpios = <&gpio0 GPIO_A5 GPIO_ACTIVE_LOW>;
101 rockchip,adc_value = <1>;
107 rockchip,adc_value = <746>;
113 rockchip,adc_value = <103>;
119 rockchip,adc_value = <450>;
135 compatible = "goodix,gt8xx";
137 touch-gpio = <&gpio1 GPIO_B0 IRQ_TYPE_LEVEL_LOW>;
138 reset-gpio = <&gpio2 GPIO_C1 GPIO_ACTIVE_LOW>;
139 //power-gpio = <&gpio0 GPIO_C5 GPIO_ACTIVE_LOW>;
145 compatible = "ct,vtl_ts";
147 screen_max_x = <1280>;
148 screen_max_y = <800>;
149 irq_gpio_number = <&gpio1 GPIO_B0 IRQ_TYPE_LEVEL_LOW>;
150 rst_gpio_number = <&gpio2 GPIO_C1 GPIO_ACTIVE_HIGH>;
156 rockchip,disp-mode = <ONE_DUAL>;
157 rockchip,uboot-logo-on = <0>;
161 display-timings = <&disp_timings>;
168 /include/ "rk818.dtsi"
170 gpios =<&gpio1 GPIO_B1 GPIO_ACTIVE_HIGH>,<&gpio1 GPIO_A1 GPIO_ACTIVE_LOW>;
171 rk818,system-power-controller;
172 rk818,support_dc_chg = <1>;/*1: dc chg; 0:usb chg*/
176 rk818_dcdc1_reg: regulator@0{
177 regulator-name= "vdd_arm";
178 regulator-min-microvolt = <700000>;
179 regulator-max-microvolt = <1500000>;
180 regulator-initial-mode = <0x2>;
181 regulator-initial-state = <3>;
182 regulator-state-mem {
183 regulator-state-mode = <0x2>;
184 regulator-state-enabled;
185 regulator-state-uv = <900000>;
189 rk818_dcdc2_reg: regulator@1 {
190 regulator-name= "vdd_logic";
191 regulator-min-microvolt = <700000>;
192 regulator-max-microvolt = <1500000>;
193 regulator-initial-mode = <0x2>;
194 regulator-initial-state = <3>;
195 regulator-state-mem {
196 regulator-state-mode = <0x2>;
197 regulator-state-enabled;
198 regulator-state-uv = <900000>;
202 rk818_dcdc3_reg: regulator@2 {
203 regulator-name= "rk818_dcdc3";
204 regulator-min-microvolt = <1200000>;
205 regulator-max-microvolt = <1200000>;
206 regulator-initial-mode = <0x2>;
207 regulator-initial-state = <3>;
208 regulator-state-mem {
209 regulator-state-mode = <0x2>;
210 regulator-state-disabled;
211 regulator-state-uv = <1200000>;
215 rk818_dcdc4_reg: regulator@3 {
216 regulator-name= "vccio";
217 regulator-min-microvolt = <1800000>;
218 regulator-max-microvolt = <3300000>;
219 regulator-initial-mode = <0x2>;
220 regulator-initial-state = <3>;
221 regulator-state-mem {
222 regulator-state-mode = <0x2>;
223 regulator-state-disabled;
224 regulator-state-uv = <2800000>;
228 rk818_ldo1_reg: regulator@4 {
229 regulator-name= "rk818_ldo1";
230 regulator-min-microvolt = <3300000>;
231 regulator-max-microvolt = <3300000>;
232 regulator-initial-state = <3>;
233 regulator-state-mem {
234 regulator-state-disabled;
235 regulator-state-uv = <3300000>;
239 rk818_ldo2_reg: regulator@5 {
240 regulator-name= "rk818_ldo2";
241 regulator-min-microvolt = <3000000>;
242 regulator-max-microvolt = <3000000>;
243 regulator-initial-state = <3>;
244 regulator-state-mem {
245 regulator-state-disabled;
246 regulator-state-uv = <3000000>;
250 rk818_ldo3_reg: regulator@6 {
251 regulator-name= "rk818_ldo3";
252 regulator-min-microvolt = <1100000>;
253 regulator-max-microvolt = <1100000>;
254 regulator-initial-state = <3>;
255 regulator-state-mem {
256 regulator-state-disabled;
257 regulator-state-uv = <1100000>;
261 rk818_ldo4_reg:regulator@7 {
262 regulator-name= "rk818_ldo4";
263 regulator-min-microvolt = <2500000>;
264 regulator-max-microvolt = <2500000>;
265 regulator-initial-state = <3>;
266 regulator-state-mem {
267 regulator-state-disabled;
268 regulator-state-uv = <2500000>;
272 rk818_ldo5_reg: regulator@8 {
273 regulator-name= "rk818_ldo5";
274 regulator-min-microvolt = <3000000>;
275 regulator-max-microvolt = <3000000>;
276 regulator-initial-state = <3>;
277 regulator-state-mem {
278 regulator-state-disabled;
279 regulator-state-uv = <3000000>;
283 rk818_ldo6_reg: regulator@9 {
284 regulator-name= "rk818_ldo6";
285 regulator-min-microvolt = <1200000>;
286 regulator-max-microvolt = <1200000>;
287 regulator-initial-state = <3>;
288 regulator-state-mem {
289 regulator-state-disabled;
290 regulator-state-uv = <1200000>;
294 rk818_ldo7_reg: regulator@10 {
295 regulator-name= "rk818_ldo7";
296 regulator-min-microvolt = <1800000>;
297 regulator-max-microvolt = <1800000>;
298 regulator-initial-state = <3>;
299 regulator-state-mem {
300 regulator-state-disabled;
301 regulator-state-uv = <1800000>;
305 rk818_ldo8_reg: regulator@11 {
306 regulator-name= "rk818_ldo8";
307 regulator-min-microvolt = <1800000>;
308 regulator-max-microvolt = <1800000>;
309 regulator-initial-state = <3>;
310 regulator-state-mem {
311 regulator-state-disabled;
312 regulator-state-uv = <1800000>;
315 rk818_ldo9_reg: regulator@12 {
316 regulator-name= "vcc_sd";
317 regulator-min-microvolt = <1800000>;
318 regulator-max-microvolt = <3000000>;
319 regulator-initial-state = <3>;
320 regulator-state-mem {
321 regulator-state-disabled;
322 regulator-state-uv = <3000000>;
325 rk818_ldo10_reg: regulator@13 {
326 regulator-name= "rk818_ldo10";
327 regulator-state-mem {
328 regulator-state-disabled;
333 ocv_table = <3350 3677 3693 3719 3752 3770 3775 3778 3785 3796 3812 3839 3881 3907 3933 3958 3978 4033 4087 4123 4174>;
334 design_capacity = <2100>;
335 design_qmax = <2200>;
336 max_overcharge = <100>;
337 max_charge_currentmA = <1500>;
338 max_charge_voltagemV = <4260>;
339 max_bat_voltagemV = <4200>;
343 &clk_core_dvfs_table {
355 &clk_gpu_dvfs_table {
364 &clk_ddr_dvfs_table {
375 SYS_STATUS_NORMAL 400000
376 SYS_STATUS_SUSPEND 200000
377 SYS_STATUS_VIDEO_1080P 240000
378 SYS_STATUS_VIDEO_4K 400000
379 SYS_STATUS_PERFORMANCE 528000
380 SYS_STATUS_DUALVIEW 400000
381 SYS_STATUS_BOOST 324000
382 SYS_STATUS_ISP 533000