Lines Matching +full:drive +full:- +full:push +full:- +full:pull

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"
11 compatible = "qcom,apq8060-dragonboard", "qcom,msm8660";
18 stdout-path = "serial0:115200n8";
22 vph: regulator-fixed {
23 compatible = "regulator-fixed";
24 regulator-min-microvolt = <3700000>;
25 regulator-max-microvolt = <3700000>;
26 regulator-name = "VPH";
27 regulator-type = "voltage";
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 = <&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
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 dragon_ethernet_gpios: ethernet-state {
281 input-enable;
282 bias-disable;
283 power-source = <PM8058_GPIO_S3>;
286 dragon_bmp085_gpios: bmp085-state {
290 input-enable;
291 bias-disable;
292 power-source = <PM8058_GPIO_S3>;
295 dragon_mpu3050_gpios: mpu3050-state {
299 input-enable;
300 bias-disable;
301 power-source = <PM8058_GPIO_S3>;
304 dragon_sdcc3_gpios: sdcc3-state {
308 input-enable;
309 bias-disable;
310 power-source = <PM8058_GPIO_S3>;
313 dragon_sdcc5_gpios: sdcc5-state {
317 input-enable;
318 bias-pull-up;
319 qcom,pull-up-strength = <PMIC_GPIO_PULL_UP_30>;
320 power-source = <PM8058_GPIO_S3>;
323 dragon_ak8975_gpios: ak8975-state {
327 input-enable;
328 bias-disable;
329 power-source = <PM8058_GPIO_S3>;
332 dragon_cm3605_gpios: cm3605-state {
334 gpio34-pins {
337 input-enable;
338 bias-disable;
339 power-source = <PM8058_GPIO_S3>;
342 gpio35-pins {
345 output-high;
346 bias-disable;
347 power-source = <PM8058_GPIO_S3>;
350 dragon_veth_gpios: veth-state {
354 bias-disable;
355 drive-push-pull;
385 keypad,num-rows = <6>;
386 keypad,num-columns = <5>;
399 default-state = "off";
400 linux,default-trigger = "cm3605";
407 default-state = "off";
418 default-state = "off";
419 linux,default-trigger = "mmc0";
427 default-state = "on";
428 linux,default-trigger = "heartbeat";
433 dragon_cm3605_mpps: cm3605-mpps-state {
436 input-enable;
437 bias-high-impedance;
439 qcom,amux-route = <PMIC_MPP_AMUX_ROUTE_CH5>;
440 power-source = <PM8058_GPIO_S3>;
450 regulators-0 {
451 vdd_l0-supply = <&pm8901_s4>;
452 vdd_l1-supply = <&vph>;
453 vdd_l2-supply = <&vph>;
454 vdd_l3-supply = <&vph>;
455 vdd_l4-supply = <&vph>;
456 vdd_l5-supply = <&vph>;
457 vdd_l6-supply = <&vph>;
458 /* vdd_s0-supply, vdd_s1-supply: SAW regulators */
459 vdd_s2-supply = <&vph>;
460 vdd_s3-supply = <&vph>;
461 vdd_s4-supply = <&vph>;
462 lvs0_in-supply = <&pm8058_s3>;
463 lvs1_in-supply = <&pm8901_s4>;
464 lvs2_in-supply = <&pm8058_l0>;
465 lvs3_in-supply = <&pm8058_s2>;
466 mvs_in-supply = <&pm8058_s3>;
469 regulator-min-microvolt = <1200000>;
470 regulator-max-microvolt = <1200000>;
471 bias-pull-down;
474 regulator-min-microvolt = <3300000>;
475 regulator-max-microvolt = <3300000>;
476 bias-pull-down;
480 regulator-min-microvolt = <3300000>;
481 regulator-max-microvolt = <3300000>;
482 bias-pull-down;
485 regulator-min-microvolt = <3300000>;
486 regulator-max-microvolt = <3300000>;
487 bias-pull-down;
490 regulator-min-microvolt = <2600000>;
491 regulator-max-microvolt = <2600000>;
492 bias-pull-down;
495 regulator-min-microvolt = <2850000>;
496 regulator-max-microvolt = <2850000>;
497 bias-pull-down;
500 regulator-min-microvolt = <2200000>;
501 regulator-max-microvolt = <2200000>;
502 bias-pull-down;
507 regulator-min-microvolt = <1300000>;
508 regulator-max-microvolt = <1300000>;
509 qcom,switch-mode-frequency = <1600000>;
510 bias-pull-down;
513 regulator-min-microvolt = <1100000>;
514 regulator-max-microvolt = <1100000>;
515 qcom,switch-mode-frequency = <1600000>;
516 bias-pull-down;
519 regulator-min-microvolt = <1225000>;
520 regulator-max-microvolt = <1225000>;
521 qcom,switch-mode-frequency = <1600000>;
522 bias-pull-down;
527 regulator-always-on;
536 regulators-1 {
537 vdd_l0_l1_lvs-supply = <&pm8058_s3>;
538 vdd_l2_l11_l12-supply = <&vph>;
539 vdd_l3_l4_l5-supply = <&vph>;
540 vdd_l6_l7-supply = <&vph>;
541 vdd_l8-supply = <&vph>;
542 vdd_l9-supply = <&vph>;
543 vdd_l10-supply = <&vph>;
544 vdd_l13_l16-supply = <&pm8058_s4>;
545 vdd_l14_l15-supply = <&vph>;
546 vdd_l17_l18-supply = <&vph>;
547 vdd_l19_l20-supply = <&vph>;
548 vdd_l21-supply = <&pm8058_s3>;
549 vdd_l22-supply = <&pm8058_s3>;
550 vdd_l23_l24_l25-supply = <&pm8058_s3>;
551 vdd_s0-supply = <&vph>;
552 vdd_s1-supply = <&vph>;
553 vdd_s2-supply = <&vph>;
554 vdd_s3-supply = <&vph>;
555 vdd_s4-supply = <&vph>;
556 vdd_ncp-supply = <&vph>;
559 regulator-min-microvolt = <1200000>;
560 regulator-max-microvolt = <1200000>;
561 bias-pull-down;
564 regulator-min-microvolt = <1200000>;
565 regulator-max-microvolt = <1200000>;
566 bias-pull-down;
569 regulator-min-microvolt = <1800000>;
570 regulator-max-microvolt = <2600000>;
571 bias-pull-down;
574 regulator-min-microvolt = <1800000>;
575 regulator-max-microvolt = <1800000>;
576 bias-pull-down;
579 regulator-min-microvolt = <2850000>;
580 regulator-max-microvolt = <2850000>;
581 bias-pull-down;
584 regulator-min-microvolt = <2850000>;
585 regulator-max-microvolt = <2850000>;
586 bias-pull-down;
589 regulator-min-microvolt = <3000000>;
590 regulator-max-microvolt = <3600000>;
591 bias-pull-down;
594 regulator-min-microvolt = <1800000>;
595 regulator-max-microvolt = <1800000>;
596 bias-pull-down;
599 regulator-min-microvolt = <2900000>;
600 regulator-max-microvolt = <3050000>;
601 bias-pull-down;
604 regulator-min-microvolt = <1800000>;
605 regulator-max-microvolt = <1800000>;
606 bias-pull-down;
609 regulator-min-microvolt = <2600000>;
610 regulator-max-microvolt = <2600000>;
611 bias-pull-down;
614 regulator-min-microvolt = <1500000>;
615 regulator-max-microvolt = <1500000>;
616 bias-pull-down;
619 regulator-min-microvolt = <2900000>;
620 regulator-max-microvolt = <2900000>;
621 bias-pull-down;
624 regulator-min-microvolt = <2050000>;
625 regulator-max-microvolt = <2050000>;
626 bias-pull-down;
629 regulator-min-microvolt = <2850000>;
630 regulator-max-microvolt = <2850000>;
633 regulator-min-microvolt = <2850000>;
634 regulator-max-microvolt = <2850000>;
635 bias-pull-down;
638 regulator-min-microvolt = <1800000>;
639 regulator-max-microvolt = <1800000>;
640 bias-pull-down;
641 regulator-always-on;
645 regulator-min-microvolt = <2600000>;
646 regulator-max-microvolt = <2600000>;
647 bias-pull-down;
650 regulator-min-microvolt = <2200000>;
651 regulator-max-microvolt = <2200000>;
652 bias-pull-down;
655 regulator-min-microvolt = <2500000>;
656 regulator-max-microvolt = <2500000>;
657 bias-pull-down;
660 regulator-min-microvolt = <1800000>;
661 regulator-max-microvolt = <1800000>;
662 bias-pull-down;
666 regulator-min-microvolt = <1200000>;
667 regulator-max-microvolt = <1200000>;
668 bias-pull-down;
669 regulator-always-on;
673 regulator-min-microvolt = <1150000>;
674 regulator-max-microvolt = <1150000>;
675 bias-pull-down;
679 regulator-min-microvolt = <1200000>;
680 regulator-max-microvolt = <1200000>;
681 bias-pull-down;
685 regulator-min-microvolt = <1200000>;
686 regulator-max-microvolt = <1200000>;
687 bias-pull-down;
690 regulator-min-microvolt = <1200000>;
691 regulator-max-microvolt = <1200000>;
692 bias-pull-down;
696 // regulator-min-microvolt = <500000>;
697 // regulator-max-microvolt = <1325000>;
698 regulator-min-microvolt = <1100000>;
699 regulator-max-microvolt = <1100000>;
700 qcom,switch-mode-frequency = <1600000>;
701 bias-pull-down;
704 // regulator-min-microvolt = <500000>;
705 // regulator-max-microvolt = <1250000>;
706 regulator-min-microvolt = <1100000>;
707 regulator-max-microvolt = <1100000>;
708 qcom,switch-mode-frequency = <1600000>;
709 bias-pull-down;
713 regulator-min-microvolt = <1200000>;
714 regulator-max-microvolt = <1400000>;
715 qcom,switch-mode-frequency = <1600000>;
716 bias-pull-down;
719 regulator-min-microvolt = <1800000>;
720 regulator-max-microvolt = <1800000>;
721 qcom,switch-mode-frequency = <1600000>;
722 regulator-always-on;
723 bias-pull-down;
726 regulator-min-microvolt = <2200000>;
727 regulator-max-microvolt = <2200000>;
728 qcom,switch-mode-frequency = <1600000>;
729 regulator-always-on;
730 bias-pull-down;
735 bias-pull-down;
738 bias-pull-down;
742 regulator-min-microvolt = <1800000>;
743 regulator-max-microvolt = <1800000>;
744 qcom,switch-mode-frequency = <1600000>;
751 pinctrl-names = "default";
752 pinctrl-0 = <&dragon_sdcc1_pins>;
753 vmmc-supply = <&pm8901_l5>;
754 vqmmc-supply = <&pm8901_lvs0>;
761 pinctrl-names = "default";
762 pinctrl-0 = <&dragon_sdcc3_pins>, <&dragon_sdcc3_gpios>;
763 cd-gpios = <&pm8058_gpio 22 GPIO_ACTIVE_LOW>;
764 wp-gpios = <&tlmm 110 GPIO_ACTIVE_HIGH>;
765 vmmc-supply = <&pm8058_l14>;
775 pinctrl-names = "default";
776 pinctrl-0 = <&dragon_sdcc5_pins>, <&dragon_sdcc5_gpios>;
777 cd-gpios = <&pm8058_gpio 26 GPIO_ACTIVE_LOW>;
778 wp-gpios = <&tlmm 106 GPIO_ACTIVE_HIGH>;
779 vmmc-supply = <&pm8058_l14>;
780 vqmmc-supply = <&dragon_vio_txb>;
786 dragon_sdcc1_pins: sdcc1-state {
787 clk-pins {
790 drive-strength = <16>;
791 bias-disable;
793 cmd-pins {
796 drive-strength = <10>;
797 bias-pull-up;
799 data-pins {
804 drive-strength = <10>;
805 bias-pull-up;
810 * The SDCC3 pins are hardcoded (non-muxable) but need some pin
813 dragon_sdcc3_pins: sdcc3-state {
814 clk-pins {
816 drive-strength = <8>;
817 bias-disable;
819 cmd-pins {
821 drive-strength = <8>;
822 bias-pull-up;
824 data-pins {
826 drive-strength = <8>;
827 bias-pull-up;
832 dragon_sdcc5_pins: sdcc5-state {
833 clk-pins {
836 drive-strength = <16>;
837 bias-disable;
839 cmd-pins {
842 drive-strength = <10>;
843 bias-pull-up;
845 data-pins {
849 drive-strength = <10>;
850 bias-pull-up;
854 dragon_gsbi3_i2c_pins: gsbi3-i2c-state {
857 drive-strength = <8>;
858 /* These have external pull-up 2.2kOhm to 1.8V */
859 bias-disable;
862 dragon_gsbi8_i2c_pins: gsbi8-i2c-state {
865 drive-strength = <16>;
866 /* These have external pull-up 2.2kOhm to 1.8V */
867 bias-disable;
870 dragon_gsbi12_i2c_pins: gsbi12-i2c-state {
873 drive-strength = <16>;
874 /* These have external pull-up 4.7kOhm to 1.8V */
875 bias-disable;
879 dragon_gsbi12_serial_pins: gsbi12-serial-state {
880 tx-pins {
883 drive-strength = <8>;
884 bias-disable;
886 rx-pins {
889 drive-strength = <2>;
890 bias-pull-up;
894 dragon_ebi2_pins: ebi2-state {
900 mux0-pins {
907 mux1-pins {
925 dragon_kxsd9_gpios: kxsd9-state {
928 bias-pull-up;
931 dragon_tma340_gpios: tma340-state {
932 reset-pins {
936 drive-strength = <6>;
937 bias-disable;
939 irq-pins {
942 drive-strength = <2>;
943 bias-pull-up;
950 xoadc-ref-supply = <&pm8058_l18>;
952 /* Board-specific channels */