Lines Matching +full:bias +full:- +full:pull +full:- +full:down

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 compatible = "simple-bus";
25 vph: regulator-fixed {
26 compatible = "regulator-fixed";
27 regulator-min-microvolt = <3700000>;
28 regulator-max-microvolt = <3700000>;
29 regulator-name = "VPH";
30 regulator-type = "voltage";
31 regulator-always-on;
32 regulator-boot-on;
37 compatible = "regulator-fixed";
38 regulator-name = "XC6222A331MR-G";
39 regulator-min-microvolt = <3300000>;
40 regulator-max-microvolt = <3300000>;
41 vin-supply = <&vph>;
43 enable-active-high;
44 pinctrl-names = "default";
45 pinctrl-0 = <&dragon_veth_gpios>;
46 regulator-always-on;
51 compatible = "regulator-fixed";
52 regulator-name = "NDS332P";
53 regulator-min-microvolt = <1800000>;
54 regulator-max-microvolt = <1800000>;
55 vin-supply = <&pm8058_s3>;
60 compatible = "regulator-fixed";
61 regulator-name = "Dragon SDCC levelshifter";
62 vin-supply = <&pm8058_l14>;
63 regulator-always-on;
73 vdd-supply = <&pm8058_l14>; // 2.85V
74 aset-gpios = <&pm8058_gpio 35 GPIO_ACTIVE_LOW>;
75 capella,aset-resistance-ohms = <100000>;
76 /* Trig on both edges - getting close or far away */
77 interrupts-extended = <&pm8058_gpio 34 IRQ_TYPE_EDGE_BOTH>;
79 io-channels = <&xoadc 0x00 0x05>;
80 io-channel-names = "aout";
81 pinctrl-names = "default";
82 pinctrl-0 = <&dragon_cm3605_gpios>, <&dragon_cm3605_mpps>;
98 drive-strength = <16>;
99 bias-disable;
103 drive-strength = <10>;
104 bias-pull-up;
110 drive-strength = <10>;
111 bias-pull-up;
116 * The SDCC3 pins are hardcoded (non-muxable) but need some pin
122 drive-strength = <8>;
123 bias-disable;
127 drive-strength = <8>;
128 bias-pull-up;
132 drive-strength = <8>;
133 bias-pull-up;
146 drive-strength = <16>;
147 bias-disable;
151 drive-strength = <10>;
152 bias-pull-up;
157 drive-strength = <10>;
158 bias-pull-up;
169 drive-strength = <8>;
170 /* These have external pull-up 2.2kOhm to 1.8V */
171 bias-disable;
182 drive-strength = <16>;
183 /* These have external pull-up 2.2kOhm to 1.8V */
184 bias-disable;
195 drive-strength = <16>;
196 /* These have external pull-up 4.7kOhm to 1.8V */
197 bias-disable;
209 drive-strength = <8>;
210 bias-disable;
214 drive-strength = <2>;
215 bias-pull-up;
253 bias-pull-up;
262 drive-strength = <6>;
263 bias-disable;
268 drive-strength = <2>;
269 bias-pull-up;
301 keypad,num-rows = <6>;
302 keypad,num-columns = <5>;
306 dragon_ethernet_gpios: ethernet-state {
310 input-enable;
311 bias-disable;
312 power-source = <PM8058_GPIO_S3>;
315 dragon_bmp085_gpios: bmp085-state {
319 input-enable;
320 bias-disable;
321 power-source = <PM8058_GPIO_S3>;
324 dragon_mpu3050_gpios: mpu3050-state {
328 input-enable;
329 bias-disable;
330 power-source = <PM8058_GPIO_S3>;
333 dragon_sdcc3_gpios: sdcc3-state {
337 input-enable;
338 bias-disable;
339 power-source = <PM8058_GPIO_S3>;
342 dragon_sdcc5_gpios: sdcc5-state {
346 input-enable;
347 bias-pull-up;
348 qcom,pull-up-strength = <PMIC_GPIO_PULL_UP_30>;
349 power-source = <PM8058_GPIO_S3>;
352 dragon_ak8975_gpios: ak8975-state {
356 input-enable;
357 bias-disable;
358 power-source = <PM8058_GPIO_S3>;
361 dragon_cm3605_gpios: cm3605-state {
363 gpio34-pins {
366 input-enable;
367 bias-disable;
368 power-source = <PM8058_GPIO_S3>;
371 gpio35-pins {
374 output-high;
375 bias-disable;
376 power-source = <PM8058_GPIO_S3>;
379 dragon_veth_gpios: veth-state {
383 bias-disable;
384 drive-push-pull;
390 dragon_cm3605_mpps: cm3605-mpps-state {
394 input-enable;
395 bias-high-impedance;
397 qcom,amux-route = <PMIC_MPP_AMUX_ROUTE_CH5>;
398 power-source = <PM8058_GPIO_S3>;
405 xoadc-ref-supply = <&pm8058_l18>;
407 /* Board-specific channels */
439 compatible = "qcom,pm8058-keypad-led";
442 default-state = "off";
443 linux,default-trigger = "cm3605";
446 compatible = "qcom,pm8058-led";
450 default-state = "off";
457 compatible = "qcom,pm8058-led";
461 default-state = "off";
462 linux,default-trigger = "mmc0";
465 compatible = "qcom,pm8058-led";
470 default-state = "on";
471 linux,default-trigger = "heartbeat";
481 pinctrl-names = "default";
482 pinctrl-0 = <&dragon_gsbi3_i2c_pins>;
489 clock-frequency = <400000>;
491 interrupt-parent = <&tlmm>;
499 vcpin-supply = <&pm8058_l16>;
500 vdd-supply = <&pm8901_l2>;
502 reset-gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
503 touchscreen-size-x = <480>;
504 touchscreen-size-y = <800>;
505 active-interval-ms = <0>;
506 touch-timeout-ms = <255>;
507 lowpower-interval-ms = <10>;
508 bootloader-key = /bits/ 8 <0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07>;
509 pinctrl-names = "default";
510 pinctrl-0 = <&dragon_tma340_gpios>;
521 pinctrl-names = "default";
522 pinctrl-0 = <&dragon_gsbi8_i2c_pins>;
528 vcc-supply = <&pm8058_s3>;
536 AVDD-supply = <&pm8058_l16>;
537 CPVDD-supply = <&pm8058_l16>;
538 DBVDD-supply = <&pm8058_s3>;
539 DCVDD-supply = <&pm8058_l0>;
541 gpio-controller;
542 #gpio-cells = <2>;
544 micdet-cfg = <0>;
545 micdet-delay = <100>;
546 gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>;
557 pinctrl-names = "default";
558 pinctrl-0 = <&dragon_gsbi12_serial_pins>;
563 pinctrl-names = "default";
564 pinctrl-0 = <&dragon_gsbi12_i2c_pins>;
567 compatible = "asahi-kasei,ak8975";
569 interrupt-parent = <&pm8058_gpio>;
571 pinctrl-names = "default";
572 pinctrl-0 = <&dragon_ak8975_gpios>;
573 vid-supply = <&pm8058_lvs0>; // 1.8V
574 vdd-supply = <&pm8058_l14>; // 2.85V
579 interrupt-parent = <&pm8058_gpio>;
581 reset-gpios = <&tlmm 86 GPIO_ACTIVE_LOW>;
582 pinctrl-names = "default";
583 pinctrl-0 = <&dragon_bmp085_gpios>;
584 vddd-supply = <&pm8058_lvs0>; // 1.8V
585 vdda-supply = <&pm8058_l14>; // 2.85V
595 interrupts-extended = <&pm8058_gpio 17 IRQ_TYPE_EDGE_FALLING>;
596 pinctrl-names = "default";
597 pinctrl-0 = <&dragon_mpu3050_gpios>;
598 vlogic-supply = <&pm8058_lvs0>; // 1.8V
599 vdd-supply = <&pm8058_l14>; // 2.85V
602 * The MPU-3050 acts as a hub for the
605 i2c-gate {
606 #address-cells = <1>;
607 #size-cells = <0>;
612 interrupt-parent = <&tlmm>;
614 pinctrl-names = "default";
615 pinctrl-0 = <&dragon_kxsd9_gpios>;
616 iovdd-supply = <&pm8058_lvs0>; // 1.8V
617 vdd-supply = <&pm8058_l14>; // 2.85V
624 external-bus@1a100000 {
627 pinctrl-names = "default";
628 pinctrl-0 = <&dragon_ebi2_pins>;
631 * An on-board SMSC LAN9221 chip for "debug ethernet",
643 interrupts-extended = <&pm8058_gpio 7 IRQ_TYPE_EDGE_FALLING>,
645 reset-gpios = <&tlmm 30 GPIO_ACTIVE_LOW>;
646 vdd33a-supply = <&dragon_veth>;
647 vddvario-supply = <&dragon_vario>;
648 pinctrl-names = "default";
649 pinctrl-0 = <&dragon_ethernet_gpios>;
650 phy-mode = "mii";
651 reg-io-width = <2>;
652 smsc,force-external-phy;
653 smsc,irq-push-pull;
661 qcom,xmem-recovery-cycles = <0>;
662 qcom,xmem-write-hold-cycles = <3>;
663 qcom,xmem-write-delta-cycles = <31>;
664 qcom,xmem-read-delta-cycles = <28>;
665 qcom,xmem-write-wait-cycles = <9>;
666 qcom,xmem-read-wait-cycles = <9>;
676 pm8901-regulators {
677 vdd_l0-supply = <&pm8901_s4>;
678 vdd_l1-supply = <&vph>;
679 vdd_l2-supply = <&vph>;
680 vdd_l3-supply = <&vph>;
681 vdd_l4-supply = <&vph>;
682 vdd_l5-supply = <&vph>;
683 vdd_l6-supply = <&vph>;
684 /* vdd_s0-supply, vdd_s1-supply: SAW regulators */
685 vdd_s2-supply = <&vph>;
686 vdd_s3-supply = <&vph>;
687 vdd_s4-supply = <&vph>;
688 lvs0_in-supply = <&pm8058_s3>;
689 lvs1_in-supply = <&pm8901_s4>;
690 lvs2_in-supply = <&pm8058_l0>;
691 lvs3_in-supply = <&pm8058_s2>;
692 mvs_in-supply = <&pm8058_s3>;
695 regulator-min-microvolt = <1200000>;
696 regulator-max-microvolt = <1200000>;
697 bias-pull-down;
700 regulator-min-microvolt = <3300000>;
701 regulator-max-microvolt = <3300000>;
702 bias-pull-down;
706 regulator-min-microvolt = <3300000>;
707 regulator-max-microvolt = <3300000>;
708 bias-pull-down;
711 regulator-min-microvolt = <3300000>;
712 regulator-max-microvolt = <3300000>;
713 bias-pull-down;
716 regulator-min-microvolt = <2600000>;
717 regulator-max-microvolt = <2600000>;
718 bias-pull-down;
721 regulator-min-microvolt = <2850000>;
722 regulator-max-microvolt = <2850000>;
723 bias-pull-down;
726 regulator-min-microvolt = <2200000>;
727 regulator-max-microvolt = <2200000>;
728 bias-pull-down;
733 regulator-min-microvolt = <1300000>;
734 regulator-max-microvolt = <1300000>;
735 qcom,switch-mode-frequency = <1600000>;
736 bias-pull-down;
739 regulator-min-microvolt = <1100000>;
740 regulator-max-microvolt = <1100000>;
741 qcom,switch-mode-frequency = <1600000>;
742 bias-pull-down;
745 regulator-min-microvolt = <1225000>;
746 regulator-max-microvolt = <1225000>;
747 qcom,switch-mode-frequency = <1600000>;
748 bias-pull-down;
753 regulator-always-on;
762 pm8058-regulators {
763 vdd_l0_l1_lvs-supply = <&pm8058_s3>;
764 vdd_l2_l11_l12-supply = <&vph>;
765 vdd_l3_l4_l5-supply = <&vph>;
766 vdd_l6_l7-supply = <&vph>;
767 vdd_l8-supply = <&vph>;
768 vdd_l9-supply = <&vph>;
769 vdd_l10-supply = <&vph>;
770 vdd_l13_l16-supply = <&pm8058_s4>;
771 vdd_l14_l15-supply = <&vph>;
772 vdd_l17_l18-supply = <&vph>;
773 vdd_l19_l20-supply = <&vph>;
774 vdd_l21-supply = <&pm8058_s3>;
775 vdd_l22-supply = <&pm8058_s3>;
776 vdd_l23_l24_l25-supply = <&pm8058_s3>;
777 vdd_s0-supply = <&vph>;
778 vdd_s1-supply = <&vph>;
779 vdd_s2-supply = <&vph>;
780 vdd_s3-supply = <&vph>;
781 vdd_s4-supply = <&vph>;
782 vdd_ncp-supply = <&vph>;
785 regulator-min-microvolt = <1200000>;
786 regulator-max-microvolt = <1200000>;
787 bias-pull-down;
790 regulator-min-microvolt = <1200000>;
791 regulator-max-microvolt = <1200000>;
792 bias-pull-down;
795 regulator-min-microvolt = <1800000>;
796 regulator-max-microvolt = <2600000>;
797 bias-pull-down;
800 regulator-min-microvolt = <1800000>;
801 regulator-max-microvolt = <1800000>;
802 bias-pull-down;
805 regulator-min-microvolt = <2850000>;
806 regulator-max-microvolt = <2850000>;
807 bias-pull-down;
810 regulator-min-microvolt = <2850000>;
811 regulator-max-microvolt = <2850000>;
812 bias-pull-down;
815 regulator-min-microvolt = <3000000>;
816 regulator-max-microvolt = <3600000>;
817 bias-pull-down;
820 regulator-min-microvolt = <1800000>;
821 regulator-max-microvolt = <1800000>;
822 bias-pull-down;
825 regulator-min-microvolt = <2900000>;
826 regulator-max-microvolt = <3050000>;
827 bias-pull-down;
830 regulator-min-microvolt = <1800000>;
831 regulator-max-microvolt = <1800000>;
832 bias-pull-down;
835 regulator-min-microvolt = <2600000>;
836 regulator-max-microvolt = <2600000>;
837 bias-pull-down;
840 regulator-min-microvolt = <1500000>;
841 regulator-max-microvolt = <1500000>;
842 bias-pull-down;
845 regulator-min-microvolt = <2900000>;
846 regulator-max-microvolt = <2900000>;
847 bias-pull-down;
850 regulator-min-microvolt = <2050000>;
851 regulator-max-microvolt = <2050000>;
852 bias-pull-down;
855 regulator-min-microvolt = <2850000>;
856 regulator-max-microvolt = <2850000>;
859 regulator-min-microvolt = <2850000>;
860 regulator-max-microvolt = <2850000>;
861 bias-pull-down;
864 regulator-min-microvolt = <1800000>;
865 regulator-max-microvolt = <1800000>;
866 bias-pull-down;
867 regulator-always-on;
871 regulator-min-microvolt = <2600000>;
872 regulator-max-microvolt = <2600000>;
873 bias-pull-down;
876 regulator-min-microvolt = <2200000>;
877 regulator-max-microvolt = <2200000>;
878 bias-pull-down;
881 regulator-min-microvolt = <2500000>;
882 regulator-max-microvolt = <2500000>;
883 bias-pull-down;
886 regulator-min-microvolt = <1800000>;
887 regulator-max-microvolt = <1800000>;
888 bias-pull-down;
892 regulator-min-microvolt = <1200000>;
893 regulator-max-microvolt = <1200000>;
894 bias-pull-down;
895 regulator-always-on;
899 regulator-min-microvolt = <1150000>;
900 regulator-max-microvolt = <1150000>;
901 bias-pull-down;
905 regulator-min-microvolt = <1200000>;
906 regulator-max-microvolt = <1200000>;
907 bias-pull-down;
911 regulator-min-microvolt = <1200000>;
912 regulator-max-microvolt = <1200000>;
913 bias-pull-down;
916 regulator-min-microvolt = <1200000>;
917 regulator-max-microvolt = <1200000>;
918 bias-pull-down;
922 // regulator-min-microvolt = <500000>;
923 // regulator-max-microvolt = <1325000>;
924 regulator-min-microvolt = <1100000>;
925 regulator-max-microvolt = <1100000>;
926 qcom,switch-mode-frequency = <1600000>;
927 bias-pull-down;
930 // regulator-min-microvolt = <500000>;
931 // regulator-max-microvolt = <1250000>;
932 regulator-min-microvolt = <1100000>;
933 regulator-max-microvolt = <1100000>;
934 qcom,switch-mode-frequency = <1600000>;
935 bias-pull-down;
939 regulator-min-microvolt = <1200000>;
940 regulator-max-microvolt = <1400000>;
941 qcom,switch-mode-frequency = <1600000>;
942 bias-pull-down;
945 regulator-min-microvolt = <1800000>;
946 regulator-max-microvolt = <1800000>;
947 qcom,switch-mode-frequency = <1600000>;
948 regulator-always-on;
949 bias-pull-down;
952 regulator-min-microvolt = <2200000>;
953 regulator-max-microvolt = <2200000>;
954 qcom,switch-mode-frequency = <1600000>;
955 regulator-always-on;
956 bias-pull-down;
961 bias-pull-down;
964 bias-pull-down;
968 regulator-min-microvolt = <1800000>;
969 regulator-max-microvolt = <1800000>;
970 qcom,switch-mode-frequency = <1600000>;
978 pinctrl-names = "default";
979 pinctrl-0 = <&dragon_sdcc1_pins>;
980 vmmc-supply = <&pm8901_l5>;
981 vqmmc-supply = <&pm8901_lvs0>;
988 pinctrl-names = "default";
989 pinctrl-0 = <&dragon_sdcc3_pins>, <&dragon_sdcc3_gpios>;
990 cd-gpios = <&pm8058_gpio 22 GPIO_ACTIVE_LOW>;
991 wp-gpios = <&tlmm 110 GPIO_ACTIVE_HIGH>;
992 vmmc-supply = <&pm8058_l14>;
1002 pinctrl-names = "default";
1003 pinctrl-0 = <&dragon_sdcc5_pins>, <&dragon_sdcc5_gpios>;
1004 cd-gpios = <&pm8058_gpio 26 GPIO_ACTIVE_LOW>;
1005 wp-gpios = <&tlmm 106 GPIO_ACTIVE_HIGH>;
1006 vmmc-supply = <&pm8058_l14>;
1007 vqmmc-supply = <&dragon_vio_txb>;