Lines Matching +full:vlogic +full:- +full:supply
1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 #include <dt-bindings/input/input.h>
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/leds/common.h>
5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
6 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
7 #include "qcom-msm8660.dtsi"
12 compatible = "qcom,apq8060-dragonboard", "qcom,msm8660";
19 stdout-path = "serial0:115200n8";
23 vph: regulator-fixed {
24 compatible = "regulator-fixed";
25 regulator-min-microvolt = <3700000>;
26 regulator-max-microvolt = <3700000>;
27 regulator-name = "VPH";
28 regulator-always-on;
29 regulator-boot-on;
34 compatible = "regulator-fixed";
35 regulator-name = "XC6222A331MR-G";
36 regulator-min-microvolt = <3300000>;
37 regulator-max-microvolt = <3300000>;
38 vin-supply = <&vph>;
40 enable-active-high;
41 pinctrl-names = "default";
42 pinctrl-0 = <&dragon_veth_gpios>;
43 regulator-always-on;
48 compatible = "regulator-fixed";
49 regulator-name = "NDS332P";
50 regulator-min-microvolt = <1800000>;
51 regulator-max-microvolt = <1800000>;
52 vin-supply = <&pm8058_s3>;
57 compatible = "regulator-fixed";
58 regulator-name = "Dragon SDCC levelshifter";
59 vin-supply = <&pm8058_l14>;
60 regulator-always-on;
69 vdd-supply = <&pm8058_l14>; // 2.85V
70 aset-gpios = <&pm8058_gpio 35 GPIO_ACTIVE_LOW>;
71 capella,aset-resistance-ohms = <100000>;
72 /* Trig on both edges - getting close or far away */
73 interrupts-extended = <&pm8058_gpio 34 IRQ_TYPE_EDGE_BOTH>;
75 io-channels = <&pm8058_xoadc 0x00 0x05>;
76 io-channel-names = "aout";
77 pinctrl-names = "default";
78 pinctrl-0 = <&dragon_cm3605_gpios>, <&dragon_cm3605_mpps>;
84 pinctrl-names = "default";
85 pinctrl-0 = <&dragon_ebi2_pins>;
89 * An on-board SMSC LAN9221 chip for "debug ethernet",
101 interrupts-extended = <&pm8058_gpio 7 IRQ_TYPE_EDGE_FALLING>,
103 reset-gpios = <&tlmm 30 GPIO_ACTIVE_LOW>;
104 vdd33a-supply = <&dragon_veth>;
105 vddvario-supply = <&dragon_vario>;
106 pinctrl-names = "default";
107 pinctrl-0 = <&dragon_ethernet_gpios>;
108 phy-mode = "mii";
109 reg-io-width = <2>;
110 smsc,force-external-phy;
111 smsc,irq-push-pull;
119 qcom,xmem-recovery-cycles = <0>;
120 qcom,xmem-write-hold-cycles = <3>;
121 qcom,xmem-write-delta-cycles = <31>;
122 qcom,xmem-read-delta-cycles = <28>;
123 qcom,xmem-write-wait-cycles = <9>;
124 qcom,xmem-read-wait-cycles = <9>;
134 pinctrl-names = "default";
135 pinctrl-0 = <&dragon_gsbi3_i2c_pins>;
142 clock-frequency = <400000>;
144 interrupt-parent = <&tlmm>;
152 vcpin-supply = <&pm8058_l16>;
153 vdd-supply = <&pm8901_l2>;
155 reset-gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
156 touchscreen-size-x = <480>;
157 touchscreen-size-y = <800>;
158 active-interval-ms = <0>;
159 touch-timeout-ms = <255>;
160 lowpower-interval-ms = <10>;
161 bootloader-key = /bits/ 8 <0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07>;
162 pinctrl-names = "default";
163 pinctrl-0 = <&dragon_tma340_gpios>;
173 pinctrl-names = "default";
174 pinctrl-0 = <&dragon_gsbi8_i2c_pins>;
181 vcc-supply = <&pm8058_s3>;
189 AVDD-supply = <&pm8058_l16>;
190 CPVDD-supply = <&pm8058_l16>;
191 DBVDD-supply = <&pm8058_s3>;
192 DCVDD-supply = <&pm8058_l0>;
194 gpio-controller;
195 #gpio-cells = <2>;
197 micdet-cfg = <0>;
198 micdet-delay = <100>;
199 gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>;
209 pinctrl-names = "default";
210 pinctrl-0 = <&dragon_gsbi12_serial_pins>;
215 pinctrl-names = "default";
216 pinctrl-0 = <&dragon_gsbi12_i2c_pins>;
220 compatible = "asahi-kasei,ak8975";
222 interrupt-parent = <&pm8058_gpio>;
224 pinctrl-names = "default";
225 pinctrl-0 = <&dragon_ak8975_gpios>;
226 vid-supply = <&pm8058_lvs0>; // 1.8V
227 vdd-supply = <&pm8058_l14>; // 2.85V
232 interrupt-parent = <&pm8058_gpio>;
234 reset-gpios = <&tlmm 86 GPIO_ACTIVE_LOW>;
235 pinctrl-names = "default";
236 pinctrl-0 = <&dragon_bmp085_gpios>;
237 vddd-supply = <&pm8058_lvs0>; // 1.8V
238 vdda-supply = <&pm8058_l14>; // 2.85V
245 * resistor to VLOGIC so needs to be
248 interrupts-extended = <&pm8058_gpio 17 IRQ_TYPE_EDGE_FALLING>;
249 pinctrl-names = "default";
250 pinctrl-0 = <&dragon_mpu3050_gpios>;
251 vlogic-supply = <&pm8058_lvs0>; // 1.8V
252 vdd-supply = <&pm8058_l14>; // 2.85V
255 * The MPU-3050 acts as a hub for the
258 i2c-gate {
259 #address-cells = <1>;
260 #size-cells = <0>;
265 interrupt-parent = <&tlmm>;
267 pinctrl-names = "default";
268 pinctrl-0 = <&dragon_kxsd9_gpios>;
269 iovdd-supply = <&pm8058_lvs0>; // 1.8V
270 vdd-supply = <&pm8058_l14>; // 2.85V
277 interrupts-extended = <&tlmm 88 IRQ_TYPE_LEVEL_LOW>;
281 dragon_ethernet_gpios: ethernet-state {
285 input-enable;
286 bias-disable;
287 power-source = <PM8058_GPIO_S3>;
290 dragon_bmp085_gpios: bmp085-state {
294 input-enable;
295 bias-disable;
296 power-source = <PM8058_GPIO_S3>;
299 dragon_mpu3050_gpios: mpu3050-state {
303 input-enable;
304 bias-disable;
305 power-source = <PM8058_GPIO_S3>;
308 dragon_sdcc3_gpios: sdcc3-state {
312 input-enable;
313 bias-disable;
314 power-source = <PM8058_GPIO_S3>;
317 dragon_sdcc5_gpios: sdcc5-state {
321 input-enable;
322 bias-pull-up;
323 qcom,pull-up-strength = <PMIC_GPIO_PULL_UP_30>;
324 power-source = <PM8058_GPIO_S3>;
327 dragon_ak8975_gpios: ak8975-state {
331 input-enable;
332 bias-disable;
333 power-source = <PM8058_GPIO_S3>;
336 dragon_cm3605_gpios: cm3605-state {
338 gpio34-pins {
341 input-enable;
342 bias-disable;
343 power-source = <PM8058_GPIO_S3>;
346 gpio35-pins {
349 output-high;
350 bias-disable;
351 power-source = <PM8058_GPIO_S3>;
354 dragon_veth_gpios: veth-state {
358 bias-disable;
359 drive-push-pull;
389 keypad,num-rows = <6>;
390 keypad,num-columns = <5>;
403 default-state = "off";
404 linux,default-trigger = "cm3605";
411 default-state = "off";
422 default-state = "off";
423 linux,default-trigger = "mmc0";
431 default-state = "on";
432 linux,default-trigger = "heartbeat";
437 dragon_cm3605_mpps: cm3605-mpps-state {
440 input-enable;
441 bias-high-impedance;
443 qcom,amux-route = <PMIC_MPP_AMUX_ROUTE_CH5>;
444 power-source = <PM8058_GPIO_S3>;
454 regulators-0 {
455 compatible = "qcom,rpm-pm8901-regulators";
457 vdd_l0-supply = <&pm8901_s4>;
458 vdd_l1-supply = <&vph>;
459 vdd_l2-supply = <&vph>;
460 vdd_l3-supply = <&vph>;
461 vdd_l4-supply = <&vph>;
462 vdd_l5-supply = <&vph>;
463 vdd_l6-supply = <&vph>;
464 /* vdd_s0-supply, vdd_s1-supply: SAW regulators */
465 vdd_s2-supply = <&vph>;
466 vdd_s3-supply = <&vph>;
467 vdd_s4-supply = <&vph>;
468 lvs0_in-supply = <&pm8058_s3>;
469 lvs1_in-supply = <&pm8901_s4>;
470 lvs2_in-supply = <&pm8058_l0>;
471 lvs3_in-supply = <&pm8058_s2>;
472 mvs_in-supply = <&pm8058_s3>;
475 regulator-min-microvolt = <1200000>;
476 regulator-max-microvolt = <1200000>;
477 bias-pull-down;
481 regulator-min-microvolt = <3300000>;
482 regulator-max-microvolt = <3300000>;
483 bias-pull-down;
488 regulator-min-microvolt = <3300000>;
489 regulator-max-microvolt = <3300000>;
490 bias-pull-down;
494 regulator-min-microvolt = <3300000>;
495 regulator-max-microvolt = <3300000>;
496 bias-pull-down;
500 regulator-min-microvolt = <2600000>;
501 regulator-max-microvolt = <2600000>;
502 bias-pull-down;
506 regulator-min-microvolt = <2850000>;
507 regulator-max-microvolt = <2850000>;
508 bias-pull-down;
512 regulator-min-microvolt = <2200000>;
513 regulator-max-microvolt = <2200000>;
514 bias-pull-down;
519 regulator-min-microvolt = <1300000>;
520 regulator-max-microvolt = <1300000>;
521 qcom,switch-mode-frequency = <1600000>;
522 bias-pull-down;
525 regulator-min-microvolt = <1100000>;
526 regulator-max-microvolt = <1100000>;
527 qcom,switch-mode-frequency = <1600000>;
528 bias-pull-down;
531 regulator-min-microvolt = <1225000>;
532 regulator-max-microvolt = <1225000>;
533 qcom,switch-mode-frequency = <1600000>;
534 bias-pull-down;
539 regulator-always-on;
551 regulators-1 {
552 compatible = "qcom,rpm-pm8058-regulators";
554 vdd_l0_l1_lvs-supply = <&pm8058_s3>;
555 vdd_l2_l11_l12-supply = <&vph>;
556 vdd_l3_l4_l5-supply = <&vph>;
557 vdd_l6_l7-supply = <&vph>;
558 vdd_l8-supply = <&vph>;
559 vdd_l9-supply = <&vph>;
560 vdd_l10-supply = <&vph>;
561 vdd_l13_l16-supply = <&pm8058_s4>;
562 vdd_l14_l15-supply = <&vph>;
563 vdd_l17_l18-supply = <&vph>;
564 vdd_l19_l20-supply = <&vph>;
565 vdd_l21-supply = <&pm8058_s3>;
566 vdd_l22-supply = <&pm8058_s3>;
567 vdd_l23_l24_l25-supply = <&pm8058_s3>;
568 vdd_s0-supply = <&vph>;
569 vdd_s1-supply = <&vph>;
570 vdd_s2-supply = <&vph>;
571 vdd_s3-supply = <&vph>;
572 vdd_s4-supply = <&vph>;
573 vdd_ncp-supply = <&vph>;
576 regulator-min-microvolt = <1200000>;
577 regulator-max-microvolt = <1200000>;
578 bias-pull-down;
582 regulator-min-microvolt = <1200000>;
583 regulator-max-microvolt = <1200000>;
584 bias-pull-down;
588 regulator-min-microvolt = <1800000>;
589 regulator-max-microvolt = <2600000>;
590 bias-pull-down;
594 regulator-min-microvolt = <1800000>;
595 regulator-max-microvolt = <1800000>;
596 bias-pull-down;
600 regulator-min-microvolt = <2850000>;
601 regulator-max-microvolt = <2850000>;
602 bias-pull-down;
606 regulator-min-microvolt = <2850000>;
607 regulator-max-microvolt = <2850000>;
608 bias-pull-down;
612 regulator-min-microvolt = <3000000>;
613 regulator-max-microvolt = <3600000>;
614 bias-pull-down;
618 regulator-min-microvolt = <1800000>;
619 regulator-max-microvolt = <1800000>;
620 bias-pull-down;
624 regulator-min-microvolt = <2900000>;
625 regulator-max-microvolt = <3050000>;
626 bias-pull-down;
630 regulator-min-microvolt = <1800000>;
631 regulator-max-microvolt = <1800000>;
632 bias-pull-down;
636 regulator-min-microvolt = <2600000>;
637 regulator-max-microvolt = <2600000>;
638 bias-pull-down;
642 regulator-min-microvolt = <1500000>;
643 regulator-max-microvolt = <1500000>;
644 bias-pull-down;
648 regulator-min-microvolt = <2900000>;
649 regulator-max-microvolt = <2900000>;
650 bias-pull-down;
654 regulator-min-microvolt = <2050000>;
655 regulator-max-microvolt = <2050000>;
656 bias-pull-down;
660 regulator-min-microvolt = <2850000>;
661 regulator-max-microvolt = <2850000>;
665 regulator-min-microvolt = <2850000>;
666 regulator-max-microvolt = <2850000>;
667 bias-pull-down;
671 regulator-min-microvolt = <1800000>;
672 regulator-max-microvolt = <1800000>;
673 bias-pull-down;
674 regulator-always-on;
679 regulator-min-microvolt = <2600000>;
680 regulator-max-microvolt = <2600000>;
681 bias-pull-down;
685 regulator-min-microvolt = <2200000>;
686 regulator-max-microvolt = <2200000>;
687 bias-pull-down;
691 regulator-min-microvolt = <2500000>;
692 regulator-max-microvolt = <2500000>;
693 bias-pull-down;
697 regulator-min-microvolt = <1800000>;
698 regulator-max-microvolt = <1800000>;
699 bias-pull-down;
704 regulator-min-microvolt = <1200000>;
705 regulator-max-microvolt = <1200000>;
706 bias-pull-down;
707 regulator-always-on;
712 regulator-min-microvolt = <1150000>;
713 regulator-max-microvolt = <1150000>;
714 bias-pull-down;
719 regulator-min-microvolt = <1200000>;
720 regulator-max-microvolt = <1200000>;
721 bias-pull-down;
726 regulator-min-microvolt = <1200000>;
727 regulator-max-microvolt = <1200000>;
728 bias-pull-down;
732 regulator-min-microvolt = <1200000>;
733 regulator-max-microvolt = <1200000>;
734 bias-pull-down;
738 // regulator-min-microvolt = <500000>;
739 // regulator-max-microvolt = <1325000>;
740 regulator-min-microvolt = <1100000>;
741 regulator-max-microvolt = <1100000>;
742 qcom,switch-mode-frequency = <1600000>;
743 bias-pull-down;
747 // regulator-min-microvolt = <500000>;
748 // regulator-max-microvolt = <1250000>;
749 regulator-min-microvolt = <1100000>;
750 regulator-max-microvolt = <1100000>;
751 qcom,switch-mode-frequency = <1600000>;
752 bias-pull-down;
757 regulator-min-microvolt = <1200000>;
758 regulator-max-microvolt = <1400000>;
759 qcom,switch-mode-frequency = <1600000>;
760 bias-pull-down;
764 regulator-min-microvolt = <1800000>;
765 regulator-max-microvolt = <1800000>;
766 qcom,switch-mode-frequency = <1600000>;
767 regulator-always-on;
768 bias-pull-down;
772 regulator-min-microvolt = <2200000>;
773 regulator-max-microvolt = <2200000>;
774 qcom,switch-mode-frequency = <1600000>;
775 regulator-always-on;
776 bias-pull-down;
781 bias-pull-down;
785 bias-pull-down;
789 regulator-min-microvolt = <1800000>;
790 regulator-max-microvolt = <1800000>;
791 qcom,switch-mode-frequency = <1600000>;
798 pinctrl-names = "default";
799 pinctrl-0 = <&dragon_sdcc1_pins>;
800 vmmc-supply = <&pm8901_l5>;
801 vqmmc-supply = <&pm8901_lvs0>;
808 pinctrl-names = "default";
809 pinctrl-0 = <&dragon_sdcc3_pins>, <&dragon_sdcc3_gpios>;
810 cd-gpios = <&pm8058_gpio 22 GPIO_ACTIVE_LOW>;
811 wp-gpios = <&tlmm 110 GPIO_ACTIVE_HIGH>;
812 vmmc-supply = <&pm8058_l14>;
822 pinctrl-names = "default";
823 pinctrl-0 = <&dragon_sdcc5_pins>, <&dragon_sdcc5_gpios>;
824 cd-gpios = <&pm8058_gpio 26 GPIO_ACTIVE_LOW>;
825 wp-gpios = <&tlmm 106 GPIO_ACTIVE_HIGH>;
826 vmmc-supply = <&pm8058_l14>;
827 vqmmc-supply = <&dragon_vio_txb>;
833 dragon_sdcc1_pins: sdcc1-state {
834 clk-pins {
837 drive-strength = <16>;
838 bias-disable;
840 cmd-pins {
843 drive-strength = <10>;
844 bias-pull-up;
846 data-pins {
851 drive-strength = <10>;
852 bias-pull-up;
857 * The SDCC3 pins are hardcoded (non-muxable) but need some pin
860 dragon_sdcc3_pins: sdcc3-state {
861 clk-pins {
863 drive-strength = <8>;
864 bias-disable;
866 cmd-pins {
868 drive-strength = <8>;
869 bias-pull-up;
871 data-pins {
873 drive-strength = <8>;
874 bias-pull-up;
879 dragon_sdcc5_pins: sdcc5-state {
880 clk-pins {
883 drive-strength = <16>;
884 bias-disable;
886 cmd-pins {
889 drive-strength = <10>;
890 bias-pull-up;
892 data-pins {
896 drive-strength = <10>;
897 bias-pull-up;
901 dragon_gsbi3_i2c_pins: gsbi3-i2c-state {
904 drive-strength = <8>;
905 /* These have external pull-up 2.2kOhm to 1.8V */
906 bias-disable;
909 dragon_gsbi8_i2c_pins: gsbi8-i2c-state {
912 drive-strength = <16>;
913 /* These have external pull-up 2.2kOhm to 1.8V */
914 bias-disable;
917 dragon_gsbi12_i2c_pins: gsbi12-i2c-state {
920 drive-strength = <16>;
921 /* These have external pull-up 4.7kOhm to 1.8V */
922 bias-disable;
926 dragon_gsbi12_serial_pins: gsbi12-serial-state {
927 tx-pins {
930 drive-strength = <8>;
931 bias-disable;
933 rx-pins {
936 drive-strength = <2>;
937 bias-pull-up;
941 dragon_ebi2_pins: ebi2-state {
947 mux0-pins {
954 mux1-pins {
972 dragon_kxsd9_gpios: kxsd9-state {
975 bias-pull-up;
978 dragon_tma340_gpios: tma340-state {
979 reset-pins {
983 drive-strength = <6>;
984 bias-disable;
986 irq-pins {
989 drive-strength = <2>;
990 bias-pull-up;
997 xoadc-ref-supply = <&pm8058_l18>;
999 /* Board-specific channels */
1000 adc-channel@5 {
1005 adc-channel@6 {
1010 adc-channel@7 {
1015 adc-channel@8 {
1020 adc-channel@9 {