Lines Matching +full:irq +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/pinctrl/qcom,pmic-gpio.h>
5 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
6 #include "qcom-msm8660.dtsi"
10 compatible = "qcom,apq8060-dragonboard", "qcom,msm8660";
17 stdout-path = "serial0:115200n8";
21 compatible = "simple-bus";
24 vph: regulator-fixed {
25 compatible = "regulator-fixed";
26 regulator-min-microvolt = <3700000>;
27 regulator-max-microvolt = <3700000>;
28 regulator-name = "VPH";
29 regulator-type = "voltage";
30 regulator-always-on;
31 regulator-boot-on;
36 compatible = "regulator-fixed";
37 regulator-name = "XC6222A331MR-G";
38 regulator-min-microvolt = <3300000>;
39 regulator-max-microvolt = <3300000>;
40 vin-supply = <&vph>;
42 enable-active-high;
43 pinctrl-names = "default";
44 pinctrl-0 = <&dragon_veth_gpios>;
45 regulator-always-on;
50 compatible = "regulator-fixed";
51 regulator-name = "NDS332P";
52 regulator-min-microvolt = <1800000>;
53 regulator-max-microvolt = <1800000>;
54 vin-supply = <&pm8058_s3>;
59 compatible = "regulator-fixed";
60 regulator-name = "Dragon SDCC levelshifter";
61 vin-supply = <&pm8058_l14>;
62 regulator-always-on;
72 vdd-supply = <&pm8058_l14>; // 2.85V
73 aset-gpios = <&pm8058_gpio 35 GPIO_ACTIVE_LOW>;
74 capella,aset-resistance-ohms = <100000>;
75 /* Trig on both edges - getting close or far away */
76 interrupts-extended = <&pm8058_gpio 34 IRQ_TYPE_EDGE_BOTH>;
78 io-channels = <&xoadc 0x00 0x05>;
79 io-channel-names = "aout";
80 pinctrl-names = "default";
81 pinctrl-0 = <&dragon_cm3605_gpios>, <&dragon_cm3605_mpps>;
97 drive-strength = <16>;
98 bias-disable;
102 drive-strength = <10>;
103 bias-pull-up;
109 drive-strength = <10>;
110 bias-pull-up;
115 * The SDCC3 pins are hardcoded (non-muxable) but need some pin
121 drive-strength = <8>;
122 bias-disable;
126 drive-strength = <8>;
127 bias-pull-up;
131 drive-strength = <8>;
132 bias-pull-up;
145 drive-strength = <16>;
146 bias-disable;
150 drive-strength = <10>;
151 bias-pull-up;
156 drive-strength = <10>;
157 bias-pull-up;
168 drive-strength = <16>;
169 /* These have external pull-up 2.2kOhm to 1.8V */
170 bias-disable;
181 drive-strength = <16>;
182 /* These have external pull-up 4.7kOhm to 1.8V */
183 bias-disable;
195 drive-strength = <8>;
196 bias-disable;
200 drive-strength = <2>;
201 bias-pull-up;
237 irq {
238 pins = "gpio57"; /* IRQ line */
239 bias-pull-up;
271 keypad,num-rows = <6>;
272 keypad,num-columns = <5>;
276 dragon_ethernet_gpios: ethernet-gpios {
280 input-enable;
281 bias-disable;
282 power-source = <PM8058_GPIO_S3>;
285 dragon_bmp085_gpios: bmp085-gpios {
289 input-enable;
290 bias-disable;
291 power-source = <PM8058_GPIO_S3>;
294 dragon_mpu3050_gpios: mpu3050-gpios {
298 input-enable;
299 bias-disable;
300 power-source = <PM8058_GPIO_S3>;
303 dragon_sdcc3_gpios: sdcc3-gpios {
307 input-enable;
308 bias-disable;
309 power-source = <PM8058_GPIO_S3>;
312 dragon_sdcc5_gpios: sdcc5-gpios {
316 input-enable;
317 bias-pull-up;
318 qcom,pull-up-strength = <PMIC_GPIO_PULL_UP_30>;
319 power-source = <PM8058_GPIO_S3>;
322 dragon_ak8975_gpios: ak8975-gpios {
326 input-enable;
327 bias-disable;
328 power-source = <PM8058_GPIO_S3>;
331 dragon_cm3605_gpios: cm3605-gpios {
332 /* Pin 34 connected to the proxy IRQ */
336 input-enable;
337 bias-disable;
338 power-source = <PM8058_GPIO_S3>;
344 output-high;
345 bias-disable;
346 power-source = <PM8058_GPIO_S3>;
349 dragon_veth_gpios: veth-gpios {
353 bias-disable;
354 drive-push-pull;
360 dragon_cm3605_mpps: cm3605-mpps {
364 input-enable;
365 bias-high-impedance;
367 qcom,amux-route = <PMIC_MPP_AMUX_ROUTE_CH5>;
368 power-source = <PM8058_GPIO_S3>;
375 xoadc-ref-supply = <&pm8058_l18>;
377 /* Board-specific channels */
409 compatible = "qcom,pm8058-keypad-led";
412 default-state = "off";
413 linux,default-trigger = "cm3605";
416 compatible = "qcom,pm8058-led";
419 default-state = "off";
426 compatible = "qcom,pm8058-led";
429 default-state = "off";
430 linux,default-trigger = "mmc0";
433 compatible = "qcom,pm8058-led";
436 default-state = "on";
437 linux,default-trigger = "heartbeat";
448 pinctrl-names = "default";
449 pinctrl-0 = <&dragon_gsbi8_i2c_pins>;
455 vcc-supply = <&pm8058_s3>;
463 AVDD-supply = <&pm8058_l16>;
464 CPVDD-supply = <&pm8058_l16>;
465 DBVDD-supply = <&pm8058_s3>;
466 DCVDD-supply = <&pm8058_l0>;
468 gpio-controller;
469 #gpio-cells = <2>;
471 micdet-cfg = <0>;
472 micdet-delay = <100>;
473 gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>;
484 pinctrl-names = "default";
485 pinctrl-0 = <&dragon_gsbi12_serial_pins>;
490 pinctrl-names = "default";
491 pinctrl-0 = <&dragon_gsbi12_i2c_pins>;
494 compatible = "asahi-kasei,ak8975";
496 interrupt-parent = <&pm8058_gpio>;
498 pinctrl-names = "default";
499 pinctrl-0 = <&dragon_ak8975_gpios>;
500 vid-supply = <&pm8058_lvs0>; // 1.8V
501 vdd-supply = <&pm8058_l14>; // 2.85V
506 interrupt-parent = <&pm8058_gpio>;
508 reset-gpios = <&tlmm 86 GPIO_ACTIVE_LOW>;
509 pinctrl-names = "default";
510 pinctrl-0 = <&dragon_bmp085_gpios>;
511 vddd-supply = <&pm8058_lvs0>; // 1.8V
512 vdda-supply = <&pm8058_l14>; // 2.85V
522 interrupts-extended = <&pm8058_gpio 17 IRQ_TYPE_EDGE_FALLING>;
523 pinctrl-names = "default";
524 pinctrl-0 = <&dragon_mpu3050_gpios>;
525 vlogic-supply = <&pm8058_lvs0>; // 1.8V
526 vdd-supply = <&pm8058_l14>; // 2.85V
529 * The MPU-3050 acts as a hub for the
532 i2c-gate {
533 #address-cells = <1>;
534 #size-cells = <0>;
539 interrupt-parent = <&tlmm>;
541 pinctrl-names = "default";
542 pinctrl-0 = <&dragon_kxsd9_gpios>;
543 iovdd-supply = <&pm8058_lvs0>; // 1.8V
544 vdd-supply = <&pm8058_l14>; // 2.85V
551 external-bus@1a100000 {
554 pinctrl-names = "default";
555 pinctrl-0 = <&dragon_ebi2_pins>;
558 * An on-board SMSC LAN9221 chip for "debug ethernet",
570 interrupts-extended = <&pm8058_gpio 7 IRQ_TYPE_EDGE_FALLING>,
572 reset-gpios = <&tlmm 30 GPIO_ACTIVE_LOW>;
573 vdd33a-supply = <&dragon_veth>;
574 vddvario-supply = <&dragon_vario>;
575 pinctrl-names = "default";
576 pinctrl-0 = <&dragon_ethernet_gpios>;
577 phy-mode = "mii";
578 reg-io-width = <2>;
579 smsc,force-external-phy;
580 smsc,irq-push-pull;
588 qcom,xmem-recovery-cycles = <0>;
589 qcom,xmem-write-hold-cycles = <3>;
590 qcom,xmem-write-delta-cycles = <31>;
591 qcom,xmem-read-delta-cycles = <28>;
592 qcom,xmem-write-wait-cycles = <9>;
593 qcom,xmem-read-wait-cycles = <9>;
603 pm8901-regulators {
604 vdd_l0-supply = <&pm8901_s4>;
605 vdd_l1-supply = <&vph>;
606 vdd_l2-supply = <&vph>;
607 vdd_l3-supply = <&vph>;
608 vdd_l4-supply = <&vph>;
609 vdd_l5-supply = <&vph>;
610 vdd_l6-supply = <&vph>;
611 /* vdd_s0-supply, vdd_s1-supply: SAW regulators */
612 vdd_s2-supply = <&vph>;
613 vdd_s3-supply = <&vph>;
614 vdd_s4-supply = <&vph>;
615 lvs0_in-supply = <&pm8058_s3>;
616 lvs1_in-supply = <&pm8901_s4>;
617 lvs2_in-supply = <&pm8058_l0>;
618 lvs3_in-supply = <&pm8058_s2>;
619 mvs_in-supply = <&pm8058_s3>;
622 regulator-min-microvolt = <1200000>;
623 regulator-max-microvolt = <1200000>;
624 bias-pull-down;
627 regulator-min-microvolt = <3300000>;
628 regulator-max-microvolt = <3300000>;
629 bias-pull-down;
632 regulator-min-microvolt = <2850000>;
633 regulator-max-microvolt = <3300000>;
634 bias-pull-down;
637 regulator-min-microvolt = <3300000>;
638 regulator-max-microvolt = <3300000>;
639 bias-pull-down;
642 regulator-min-microvolt = <2600000>;
643 regulator-max-microvolt = <2600000>;
644 bias-pull-down;
647 regulator-min-microvolt = <2850000>;
648 regulator-max-microvolt = <2850000>;
649 bias-pull-down;
652 regulator-min-microvolt = <2200000>;
653 regulator-max-microvolt = <2200000>;
654 bias-pull-down;
659 regulator-min-microvolt = <1300000>;
660 regulator-max-microvolt = <1300000>;
661 qcom,switch-mode-frequency = <1600000>;
662 bias-pull-down;
665 regulator-min-microvolt = <1100000>;
666 regulator-max-microvolt = <1100000>;
667 qcom,switch-mode-frequency = <1600000>;
668 bias-pull-down;
671 regulator-min-microvolt = <1225000>;
672 regulator-max-microvolt = <1225000>;
673 qcom,switch-mode-frequency = <1600000>;
674 bias-pull-down;
679 regulator-always-on;
688 pm8058-regulators {
689 vdd_l0_l1_lvs-supply = <&pm8058_s3>;
690 vdd_l2_l11_l12-supply = <&vph>;
691 vdd_l3_l4_l5-supply = <&vph>;
692 vdd_l6_l7-supply = <&vph>;
693 vdd_l8-supply = <&vph>;
694 vdd_l9-supply = <&vph>;
695 vdd_l10-supply = <&vph>;
696 vdd_l13_l16-supply = <&pm8058_s4>;
697 vdd_l14_l15-supply = <&vph>;
698 vdd_l17_l18-supply = <&vph>;
699 vdd_l19_l20-supply = <&vph>;
700 vdd_l21-supply = <&pm8058_s3>;
701 vdd_l22-supply = <&pm8058_s3>;
702 vdd_l23_l24_l25-supply = <&pm8058_s3>;
703 vdd_s0-supply = <&vph>;
704 vdd_s1-supply = <&vph>;
705 vdd_s2-supply = <&vph>;
706 vdd_s3-supply = <&vph>;
707 vdd_s4-supply = <&vph>;
708 vdd_ncp-supply = <&vph>;
711 regulator-min-microvolt = <1200000>;
712 regulator-max-microvolt = <1200000>;
713 bias-pull-down;
716 regulator-min-microvolt = <1200000>;
717 regulator-max-microvolt = <1200000>;
718 bias-pull-down;
721 regulator-min-microvolt = <1800000>;
722 regulator-max-microvolt = <2600000>;
723 bias-pull-down;
726 regulator-min-microvolt = <1800000>;
727 regulator-max-microvolt = <1800000>;
728 bias-pull-down;
731 regulator-min-microvolt = <2850000>;
732 regulator-max-microvolt = <2850000>;
733 bias-pull-down;
736 regulator-min-microvolt = <2850000>;
737 regulator-max-microvolt = <2850000>;
738 bias-pull-down;
741 regulator-min-microvolt = <3000000>;
742 regulator-max-microvolt = <3600000>;
743 bias-pull-down;
746 regulator-min-microvolt = <1800000>;
747 regulator-max-microvolt = <1800000>;
748 bias-pull-down;
751 regulator-min-microvolt = <2900000>;
752 regulator-max-microvolt = <3050000>;
753 bias-pull-down;
756 regulator-min-microvolt = <1800000>;
757 regulator-max-microvolt = <1800000>;
758 bias-pull-down;
761 regulator-min-microvolt = <2600000>;
762 regulator-max-microvolt = <2600000>;
763 bias-pull-down;
766 regulator-min-microvolt = <1500000>;
767 regulator-max-microvolt = <1500000>;
768 bias-pull-down;
771 regulator-min-microvolt = <2900000>;
772 regulator-max-microvolt = <2900000>;
773 bias-pull-down;
776 regulator-min-microvolt = <2050000>;
777 regulator-max-microvolt = <2050000>;
778 bias-pull-down;
781 regulator-min-microvolt = <2850000>;
782 regulator-max-microvolt = <2850000>;
785 regulator-min-microvolt = <2850000>;
786 regulator-max-microvolt = <2850000>;
787 bias-pull-down;
790 regulator-min-microvolt = <1800000>;
791 regulator-max-microvolt = <1800000>;
792 bias-pull-down;
793 regulator-always-on;
797 regulator-min-microvolt = <2600000>;
798 regulator-max-microvolt = <2600000>;
799 bias-pull-down;
802 regulator-min-microvolt = <2200000>;
803 regulator-max-microvolt = <2200000>;
804 bias-pull-down;
807 regulator-min-microvolt = <2500000>;
808 regulator-max-microvolt = <2500000>;
809 bias-pull-down;
812 regulator-min-microvolt = <1800000>;
813 regulator-max-microvolt = <1800000>;
814 bias-pull-down;
818 regulator-min-microvolt = <1200000>;
819 regulator-max-microvolt = <1200000>;
820 bias-pull-down;
821 regulator-always-on;
825 regulator-min-microvolt = <1150000>;
826 regulator-max-microvolt = <1150000>;
827 bias-pull-down;
831 regulator-min-microvolt = <1200000>;
832 regulator-max-microvolt = <1200000>;
833 bias-pull-down;
837 regulator-min-microvolt = <1200000>;
838 regulator-max-microvolt = <1200000>;
839 bias-pull-down;
842 regulator-min-microvolt = <1200000>;
843 regulator-max-microvolt = <1200000>;
844 bias-pull-down;
848 // regulator-min-microvolt = <500000>;
849 // regulator-max-microvolt = <1325000>;
850 regulator-min-microvolt = <1100000>;
851 regulator-max-microvolt = <1100000>;
852 qcom,switch-mode-frequency = <1600000>;
853 bias-pull-down;
856 // regulator-min-microvolt = <500000>;
857 // regulator-max-microvolt = <1250000>;
858 regulator-min-microvolt = <1100000>;
859 regulator-max-microvolt = <1100000>;
860 qcom,switch-mode-frequency = <1600000>;
861 bias-pull-down;
865 regulator-min-microvolt = <1200000>;
866 regulator-max-microvolt = <1400000>;
867 qcom,switch-mode-frequency = <1600000>;
868 bias-pull-down;
871 regulator-min-microvolt = <1800000>;
872 regulator-max-microvolt = <1800000>;
873 qcom,switch-mode-frequency = <1600000>;
874 regulator-always-on;
875 bias-pull-down;
878 regulator-min-microvolt = <2200000>;
879 regulator-max-microvolt = <2200000>;
880 qcom,switch-mode-frequency = <1600000>;
881 regulator-always-on;
882 bias-pull-down;
887 bias-pull-down;
890 bias-pull-down;
894 regulator-min-microvolt = <1800000>;
895 regulator-max-microvolt = <1800000>;
896 qcom,switch-mode-frequency = <1600000>;
904 pinctrl-names = "default";
905 pinctrl-0 = <&dragon_sdcc1_pins>;
906 vmmc-supply = <&pm8901_l5>;
907 vqmmc-supply = <&pm8901_lvs0>;
914 pinctrl-names = "default";
915 pinctrl-0 = <&dragon_sdcc3_pins>, <&dragon_sdcc3_gpios>;
916 cd-gpios = <&pm8058_gpio 22 GPIO_ACTIVE_LOW>;
917 wp-gpios = <&tlmm 110 GPIO_ACTIVE_HIGH>;
918 vmmc-supply = <&pm8058_l14>;
928 pinctrl-names = "default";
929 pinctrl-0 = <&dragon_sdcc5_pins>, <&dragon_sdcc5_gpios>;
930 cd-gpios = <&pm8058_gpio 26 GPIO_ACTIVE_LOW>;
931 wp-gpios = <&tlmm 106 GPIO_ACTIVE_HIGH>;
932 vmmc-supply = <&pm8058_l14>;
933 vqmmc-supply = <&dragon_vio_txb>;