8 bootargs = "vmalloc=496M rockchip_jtag";
11 pwm_regulator1:pwm-regulator1 {
12 compatible = "rockchip_pwm_regulator";
13 pwms = <&pwm1 0 25000>;
15 rockchip,pwm_voltage_map= <950000 975000 1000000 1025000 1050000 1075000 1100000 1125000 1150000 1175000 1200000 1225000 1250000 1275000 1300000 1325000 1350000 1375000 1400000 1425000 1450000>;
16 rockchip,pwm_voltage= <1250000>;
17 rockchip,pwm_min_voltage= <950000>;
18 rockchip,pwm_max_voltage= <1450000>;
19 rockchip,pwm_suspend_voltage= <1250000>;
20 rockchip,pwm_coefficient= <550>;
25 pwm_reg0: regulator@0 {
26 regulator-compatible = "pwm_dcdc1";
27 regulator-name= "vdd_arm";
28 regulator-min-microvolt = <950000>;
29 regulator-max-microvolt = <1450000>;
36 pwm_regulator2:pwm-regulator2 {
37 compatible = "rockchip_pwm_regulator";
38 pwms = <&pwm2 0 25000>;
40 rockchip,pwm_voltage_map= <950000 975000 1000000 1025000 1050000 1075000 1100000 1125000 1150000 1175000 1200000 1225000 1250000 1275000 1300000 1325000 1350000 1375000 1400000 1425000 1450000>;
41 rockchip,pwm_voltage= <1200000>;
42 rockchip,pwm_min_voltage= <950000>;
43 rockchip,pwm_max_voltage= <1450000>;
44 rockchip,pwm_suspend_voltage= <1250000>;
45 rockchip,pwm_coefficient= <550>;
50 pwm_reg1: regulator@1 {
51 regulator-compatible = "pwm_dcdc2";
52 regulator-name= "vdd_logic";
53 regulator-min-microvolt = <950000>;
54 regulator-max-microvolt = <1450000>;
64 status = "okay"; // used nand set "okay" ,used emmc set "disabled"
68 status = "disabled"; // used nand set "disabled" ,used emmc set "okay"
72 clock-frequency = <50000000>;
73 clock-freq-min-max = <400000 50000000>;
79 keep-power-in-suspend;
85 clock-frequency = <37500000>;
86 clock-freq-min-max = <400000 37500000>;
90 card-detect-delay = <200>;
92 keep-power-in-suspend;
93 vmmc-supply = <&rk818_ldo9_reg>;
98 clock-frequency = <37500000>;
99 clock-freq-min-max = <200000 37500000>;
103 keep-power-in-suspend;
112 compatible = "rockchip,key";
113 io-channels = <&adc 1>;
118 rockchip,adc_value = <523>;
123 label = "volume down";
124 rockchip,adc_value = <727>;
128 gpios = <&gpio0 GPIO_A5 GPIO_ACTIVE_LOW>;
137 rockchip,adc_value = <1>;
143 rockchip,adc_value = <318>;
149 rockchip,adc_value = <146>;
155 rockchip,adc_value = <450>;
167 act8931: act8931@5b {
172 compatible = "rt,rt5025";
177 compatible = "rt,rt5036";
186 compatible = "goodix,gt8xx";
188 touch-gpio = <&gpio1 GPIO_B0 IRQ_TYPE_LEVEL_LOW>;
189 reset-gpio = <&gpio2 GPIO_C1 GPIO_ACTIVE_LOW>;
190 //power-gpio = <&gpio0 GPIO_C5 GPIO_ACTIVE_LOW>;
196 compatible = "ct,vtl_ts";
198 screen_max_x = <1280>;
199 screen_max_y = <800>;
200 irq_gpio_number = <&gpio1 GPIO_B0 IRQ_TYPE_LEVEL_LOW>;
201 rst_gpio_number = <&gpio2 GPIO_C1 GPIO_ACTIVE_HIGH>;
207 rockchip,disp-mode = <ONE_DUAL>;
208 rockchip,uboot-logo-on = <0>;
212 /include/ "rt5025.dtsi"
215 rt5025_dcdc1: regulator_0 {
216 regulator-name = "vdd_arm";
217 regulator-min-microvolt = < 700000>;
218 regulator-max-microvolt = <1500000>;
219 qcom,comsumer-supplies = "vdd_arm", "";
225 rt5025_dcdc2: regulator_1 {
226 regulator-name = "vdd_logic";
227 regulator-min-microvolt = < 700000>;
228 regulator-max-microvolt = <1500000>;
229 qcom,comsumer-supplies = "vdd_logic", "";
234 rt5025_dcdc3: regulator_2 {
235 regulator-name = "rt5025-dcdc3";
236 regulator-min-microvolt = < 1800000>;
237 regulator-max-microvolt = <3300000>;
238 qcom,comsumer-supplies = "rt5025-dcdc3", "";
243 rt5025_dcdc4: regulator_3 {
244 regulator-name = "rt5025-dcdc4";
245 regulator-min-microvolt = <5000000>;
246 regulator-max-microvolt = <5000000>;
247 qcom,comsumer-supplies = "rt5025-dcdc4", "";
252 rt5025_ldo1: regulator_4 {
253 regulator-name = "rt5025-ldo1";
254 regulator-min-microvolt = < 1800000>;
255 regulator-max-microvolt = <1800000>;
256 qcom,comsumer-supplies = "rt5025-ldo1", "";
261 rt5025_ldo2: regulator_5 {
262 regulator-name = "rt5025-ldo2";
263 regulator-min-microvolt = < 1200000>;
264 regulator-max-microvolt = <1200000>;
265 qcom,comsumer-supplies = "rt5025-ldo2", "";
270 rt5025_ldo3: regulator_6 {
271 regulator-name = "rt5025-ldo3";
272 regulator-min-microvolt = <2800000>;
273 regulator-max-microvolt = <2800000>;
274 qcom,comsumer-supplies = "rt5025-ldo3", "";
279 rt5025_ldo4: regulator_7 {
280 regulator-name = "rt5025-ldo4";
281 regulator-min-microvolt = <3300000>;
282 regulator-max-microvolt = <3300000>;
283 qcom,comsumer-supplies = "rt5025-ldo4", "";
288 rt5025_ldo5: regulator_8 {
289 regulator-name = "rt5025-ldo5";
290 regulator-min-microvolt = <1800000>;
291 regulator-max-microvolt = <1800000>;
292 qcom,comsumer-supplies = "rt5025-ldo5", "";
297 rt5025_ldo6: regulator_9 {
298 regulator-name = "rt5025-ldo6";
299 regulator-min-microvolt = <330000>;
300 regulator-max-microvolt = <3300000>;
301 qcom,comsumer-supplies = "rt5025-ldo6", "";
307 compatible = "rt,rt5025-irq";
308 rt,irq-gpio = <&gpio1 GPIO_B1 GPIO_ACTIVE_HIGH>;
312 /include/ "rt5036.dtsi"
315 rt5036_dcdc1: regulator_0 {
316 regulator-name = "vdd_arm";
317 regulator-min-microvolt = < 800000>;
318 regulator-max-microvolt = <3300000>;
319 qcom,comsumer-supplies = "vdd_arm", "";
323 rt,standby_vol = <950000>;
326 rt5036_dcdc2: regulator_1 {
327 regulator-name = "vdd_logic";
328 regulator-min-microvolt = < 800000>;
329 regulator-max-microvolt = <3300000>;
330 qcom,comsumer-supplies = "vdd_logic", "";
334 rt,standby_vol = <950000>;
337 rt5036_dcdc3: regulator_2 {
338 regulator-name = "rt5036-dcdc3";
339 regulator-min-microvolt = < 800000>;
340 regulator-max-microvolt = <3300000>;
341 qcom,comsumer-supplies = "rt5036-dcdc3", "";
345 rt,standby_vol = <2800000>;
348 rt5036_dcdc4: regulator_3 {
349 regulator-name = "rt5036-dcdc4";
350 regulator-min-microvolt = < 800000>;
351 regulator-max-microvolt = <3300000>;
352 qcom,comsumer-supplies = "rt5036-dcdc4", "";
356 rt,standby_vol = <1200000>;
359 rt5036_ldo1: regulator_4 {
360 regulator-name = "rt5036-ldo1";
361 regulator-min-microvolt = <1200000>;
362 regulator-max-microvolt = <1200000>;
363 qcom,comsumer-supplies = "rt5036-ldo1", "";
367 rt,standby_vol = <1200000>;
370 rt5036_ldo2: regulator_5 {
371 regulator-name = "rt5036-ldo2";
372 regulator-min-microvolt = < 1100000>;
373 regulator-max-microvolt = <1100000>;
374 qcom,comsumer-supplies = "rt5036-ldo2", "";
378 rt,standby_vol = <1100000>;
381 rt5036_ldo3: regulator_6 {
382 regulator-name = "rt5036-ldo3";
383 regulator-min-microvolt = < 1800000>;
384 regulator-max-microvolt = <1800000>;
385 qcom,comsumer-supplies = "rt5036-ldo3", "";
389 rt,standby_vol = <1800000>;
392 rt5036_ldo4: regulator_7 {
393 regulator-name = "rt5036-ldo4";
394 regulator-min-microvolt = < 1800000>;
395 regulator-max-microvolt = <1800000>;
396 qcom,comsumer-supplies = "rt5036-ldo4", "";
400 rt,standby_vol = <1800000>;
403 rt5036_ldo5: regulator_8 {
404 regulator-name = "rt5036-ldo5";
405 qcom,comsumer-supplies = "rt5036-ldo5", "";
411 rt5036_ldo6: regulator_9 {
412 regulator-name = "rt5036-ldo6";
413 qcom,comsumer-supplies = "rt5036-ldo6", "";
420 compatible = "rt,rt5036-irq";
421 rt,irq-gpio = <&gpio1 GPIO_B1 GPIO_ACTIVE_HIGH>;
425 compatible = "rt,rt5036-charger";
432 rt,chg_volt = <4200>;
433 rt,otg_volt = <5025>;
434 rt,acchg_icc = <2000>;
435 rt,usbtachg_icc = <2000>;
436 rt,usbchg_icc = <900>;
437 /*rt,acdet_gpio = <&gpio1 GPIO_B1 GPIO_ACTIVE_HIGH>;*/
438 /*rt,usbdet_gpio = <&gpio1 GPIO_B1 GPIO_ACTIVE_HIGH>;*/
442 /include/ "rk818.dtsi"
444 gpios =<&gpio1 GPIO_B1 GPIO_ACTIVE_HIGH>,<&gpio1 GPIO_A1 GPIO_ACTIVE_LOW>;
445 rk818,system-power-controller;
446 rk818,support_dc_chg = <1>;/*1: dc chg; 0:usb chg*/
450 rk818_dcdc1_reg: regulator@0{
451 regulator-name= "vdd_arm";
452 regulator-min-microvolt = <700000>;
453 regulator-max-microvolt = <1500000>;
454 regulator-initial-mode = <0x2>;
455 regulator-initial-state = <3>;
456 regulator-state-mem {
457 regulator-state-mode = <0x2>;
458 regulator-state-disabled;
459 regulator-state-uv = <900000>;
463 rk818_dcdc2_reg: regulator@1 {
464 regulator-name= "vdd_logic";
465 regulator-min-microvolt = <700000>;
466 regulator-max-microvolt = <1500000>;
467 regulator-initial-mode = <0x2>;
468 regulator-initial-state = <3>;
469 regulator-state-mem {
470 regulator-state-mode = <0x2>;
471 regulator-state-enabled;
472 regulator-state-uv = <900000>;
476 rk818_dcdc3_reg: regulator@2 {
477 regulator-name= "rk818_dcdc3";
478 regulator-min-microvolt = <1200000>;
479 regulator-max-microvolt = <1200000>;
480 regulator-initial-mode = <0x2>;
481 regulator-initial-state = <3>;
482 regulator-state-mem {
483 regulator-state-mode = <0x2>;
484 regulator-state-enabled;
485 regulator-state-uv = <1200000>;
489 rk818_dcdc4_reg: regulator@3 {
490 regulator-name= "vccio";
491 regulator-min-microvolt = <1800000>;
492 regulator-max-microvolt = <3300000>;
493 regulator-initial-mode = <0x2>;
494 regulator-initial-state = <3>;
495 regulator-state-mem {
496 regulator-state-mode = <0x2>;
497 regulator-state-enabled;
498 regulator-state-uv = <2800000>;
502 rk818_ldo1_reg: regulator@4 {
503 regulator-name= "rk818_ldo1";
504 regulator-min-microvolt = <3300000>;
505 regulator-max-microvolt = <3300000>;
506 regulator-initial-state = <3>;
507 regulator-state-mem {
508 regulator-state-enabled;
509 regulator-state-uv = <3300000>;
513 rk818_ldo2_reg: regulator@5 {
514 regulator-name= "rk818_ldo2";
515 regulator-min-microvolt = <3000000>;
516 regulator-max-microvolt = <3000000>;
517 regulator-initial-state = <3>;
518 regulator-state-mem {
519 regulator-state-enabled;
520 regulator-state-uv = <3000000>;
524 rk818_ldo3_reg: regulator@6 {
525 regulator-name= "rk818_ldo3";
526 regulator-min-microvolt = <1100000>;
527 regulator-max-microvolt = <1100000>;
528 regulator-initial-state = <3>;
529 regulator-state-mem {
530 regulator-state-enabled;
531 regulator-state-uv = <1100000>;
535 rk818_ldo4_reg:regulator@7 {
536 regulator-name= "rk818_ldo4";
537 regulator-min-microvolt = <2800000>;
538 regulator-max-microvolt = <2800000>;
539 regulator-initial-state = <3>;
540 regulator-state-mem {
541 regulator-state-enabled;
542 regulator-state-uv = <2500000>;
546 rk818_ldo5_reg: regulator@8 {
547 regulator-name= "rk818_ldo5";
548 regulator-min-microvolt = <3000000>;
549 regulator-max-microvolt = <3000000>;
550 regulator-initial-state = <3>;
551 regulator-state-mem {
552 regulator-state-enabled;
553 regulator-state-uv = <3000000>;
557 rk818_ldo6_reg: regulator@9 {
558 regulator-name= "rk818_ldo6";
559 regulator-min-microvolt = <1200000>;
560 regulator-max-microvolt = <1200000>;
561 regulator-initial-state = <3>;
562 regulator-state-mem {
563 regulator-state-enabled;
564 regulator-state-uv = <1200000>;
568 rk818_ldo7_reg: regulator@10 {
569 regulator-name= "rk818_ldo7";
570 regulator-min-microvolt = <1800000>;
571 regulator-max-microvolt = <1800000>;
572 regulator-initial-state = <3>;
573 regulator-state-mem {
574 regulator-state-enabled;
575 regulator-state-uv = <1800000>;
579 rk818_ldo8_reg: regulator@11 {
580 regulator-name= "rk818_ldo8";
581 regulator-min-microvolt = <1800000>;
582 regulator-max-microvolt = <1800000>;
583 regulator-initial-state = <3>;
584 regulator-state-mem {
585 regulator-state-enabled;
586 regulator-state-uv = <1800000>;
589 rk818_ldo9_reg: regulator@12 {
590 regulator-name= "vcc_sd";
591 regulator-min-microvolt = <1800000>;
592 regulator-max-microvolt = <3000000>;
593 regulator-initial-state = <3>;
594 regulator-state-mem {
595 regulator-state-enabled;
596 regulator-state-uv = <3000000>;
599 rk818_ldo10_reg: regulator@13 {
600 regulator-name= "rk818_ldo10";
601 regulator-state-mem {
602 regulator-state-disabled;
607 ocv_table = <3350 3677 3693 3719 3752 3770 3775 3778 3785 3796 3812 3839 3881 3907 3933 3958 3978 4033 4087 4123 4174>;
608 design_capacity = <2100>;
609 design_qmax = <2200>;
610 max_overcharge = <100>;
612 max_input_currentmA = <2000>;
613 max_chrg_currentmA = <1800>;
614 max_charge_voltagemV = <4200>;
615 max_bat_voltagemV = <4200>;
616 sleep_enter_current = <300>;
617 sleep_exit_current = <300>;
618 power_off_thresd = <3400>;
619 chrg_diff_voltagemV = <0>;
621 support_usb_adp = <0>;
622 support_dc_adp = <0>;
631 /include/ "act8931.dtsi"
633 /* gpio: 0-irq, 1-pwr_hold */
634 gpios = <&gpio2 GPIO_B1 GPIO_ACTIVE_HIGH>, <&gpio1 GPIO_A2 GPIO_ACTIVE_HIGH>;
635 act8931,system-power-controller;
639 act8931_dcdc1_reg: regulator@0{
640 regulator-name= "vccio";
641 regulator-min-microvolt = <1800000>;
642 regulator-max-microvolt = <3300000>;
643 regulator-initial-mode = <0x2>;
646 act8931_dcdc2_reg: regulator@1 {
647 regulator-name= "act_dcdc2";
648 regulator-min-microvolt = <1500000>;
649 regulator-max-microvolt = <1500000>;
650 regulator-initial-mode = <0x2>;
653 act8931_dcdc3_reg: regulator@2 {
654 regulator-name= "vdd_arm";
655 regulator-min-microvolt = <700000>;
656 regulator-max-microvolt = <1500000>;
657 regulator-initial-mode = <0x2>;
660 act8931_ldo1_reg:regulator@3 {
661 regulator-name= "act_ldo1";
662 regulator-min-microvolt = <2800000>;
663 regulator-max-microvolt = <2800000>;
666 act8931_ldo2_reg: regulator@4 {
667 regulator-name= "act_ldo2";
668 regulator-min-microvolt = <1800000>;
669 regulator-max-microvolt = <1800000>;
672 act8931_ldo3_reg: regulator@5 {
673 regulator-name= "act_ldo3";
674 regulator-min-microvolt = <3300000>;
675 regulator-max-microvolt = <3300000>;
678 act8931_ldo4_reg: regulator@6 {
679 regulator-name= "act_ldo4";
680 regulator-min-microvolt = <3300000>;
681 regulator-max-microvolt = <3300000>;