Lines Matching +full:regulator +full:- +full:gpio
1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
12 #include <dt-bindings/sound/qcom,q6afe.h>
13 #include <dt-bindings/sound/qcom,q6asm.h>
16 * GPIO name legend: proper name = the GPIO line is used as GPIO
19 * "[PER]" = pin is muxed for [peripheral] (not GPIO)
27 * drawing no: LM25-P2751-1
38 * the GPIO named lines "GPIO-A" thru "GPIO-L" are the only
39 * ones actually used for GPIO.
55 stdout-path = "serial0:115200n8";
59 compatible = "simple-bus";
61 compatible = "fixed-clock";
62 #clock-cells = <0>;
63 clock-frequency = <32768>;
64 clock-output-names = "divclk4";
66 pinctrl-names = "default";
67 pinctrl-0 = <&divclk4_pin_a>;
71 compatible = "gpio-gate-clock";
72 pinctrl-0 = <&audio_mclk>;
73 pinctrl-names = "default";
75 #clock-cells = <0>;
76 enable-gpios = <&pm8994_gpios 15 0>;
81 compatible = "gpio-keys";
82 #address-cells = <1>;
83 #size-cells = <0>;
86 pinctrl-names = "default";
87 pinctrl-0 = <&volume_up_gpio>;
96 usb2_id: usb2-id {
97 compatible = "linux,extcon-usb-gpio";
98 id-gpio = <&pmi8994_gpios 6 GPIO_ACTIVE_HIGH>;
99 pinctrl-names = "default";
100 pinctrl-0 = <&usb2_vbus_det_gpio>;
103 usb3_id: usb3-id {
104 compatible = "linux,extcon-usb-gpio";
105 id-gpio = <&pm8994_gpios 22 GPIO_ACTIVE_HIGH>;
106 pinctrl-names = "default";
107 pinctrl-0 = <&usb3_vbus_det_gpio>;
110 vph_pwr: vph-pwr-regulator {
111 compatible = "regulator-fixed";
112 regulator-name = "vph_pwr";
113 regulator-always-on;
114 regulator-boot-on;
116 regulator-min-microvolt = <3700000>;
117 regulator-max-microvolt = <3700000>;
120 wlan_en: wlan-en-1-8v {
121 pinctrl-names = "default";
122 pinctrl-0 = <&wlan_en_gpios>;
123 compatible = "regulator-fixed";
124 regulator-name = "wlan-en-regulator";
125 regulator-min-microvolt = <1800000>;
126 regulator-max-microvolt = <1800000>;
128 gpio = <&pm8994_gpios 8 0>;
131 startup-delay-us = <70000>;
132 enable-active-high;
138 label = "LS-I2C0";
144 label = "LS-SPI0";
149 label = "BT-UART";
151 pinctrl-names = "default", "sleep";
152 pinctrl-0 = <&blsp1_uart1_default>;
153 pinctrl-1 = <&blsp1_uart1_sleep>;
156 compatible = "qcom,qca6174-bt";
158 /* bt_disable_n gpio */
159 enable-gpios = <&pm8994_gpios 19 GPIO_ACTIVE_HIGH>;
167 label = "HS-I2C2";
173 label = "LS-I2C1";
179 label = "HS-SPI1";
184 label = "LS-UART1";
186 pinctrl-names = "default", "sleep";
187 pinctrl-0 = <&blsp2_uart1_2pins_default>;
188 pinctrl-1 = <&blsp2_uart1_2pins_sleep>;
192 label = "LS-UART0";
194 pinctrl-names = "default", "sleep";
195 pinctrl-0 = <&blsp2_uart2_4pins_default>;
196 pinctrl-1 = <&blsp2_uart2_4pins_sleep>;
200 vdda-supply = <&vreg_l2a_1p25>;
206 pinctrl-names = "default", "sleep";
207 pinctrl-0 = <&hdmi_hpd_active &hdmi_ddc_active>;
208 pinctrl-1 = <&hdmi_hpd_suspend &hdmi_ddc_suspend>;
210 core-vdda-supply = <&vreg_l12a_1p8>;
211 core-vcc-supply = <&vreg_s4a_1p8>;
217 vddio-supply = <&vreg_l12a_1p8>;
218 vcca-supply = <&vreg_l28a_0p925>;
219 #phy-cells = <0>;
225 vdda-pll-supply = <&vreg_l12a_1p8>;
226 vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
232 vdda-pll-supply = <&vreg_l12a_1p8>;
233 vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
245 vdd-gfx-supply = <&vdd_gfx>;
249 gpio-line-names =
258 "GPIO-H", /* GPIO_8, LCD0_RESET_N, LSEC pin 30 */
260 "GPIO-G", /* GPIO_10, MDP_VSYNC_P, LSEC pin 29 */
273 "GPIO-K", /* GPIO_23, CAM2_RST_N, LSEC pin 33 */
274 "GPIO-D", /* GPIO_24, LSEC pin 26 */
275 "GPIO-I", /* GPIO_25, CAM0_RST_N, LSEC pin 31 */
276 "GPIO-J", /* GPIO_26, CAM0_STANDBY_N, LSEC pin 32 */
279 "GPIO-B", /* GPIO_29, TS0_RESET_N, LSEC pin 24 */
312 "GPIO-E", /* GPIO_62, LSEC pin 27 */
330 "GPIO-A", /* GPIO_80, MEMS_RESET_N, LSEC pin 23 */
375 "GPIO-C", /* GPIO_125, TS_INT0, LSEC pin 25 */
383 "GPIO-L", /* GPIO_133, CAM2_STANDBY_N, LSEC pin 34 */
404 function = "gpio";
409 bias-pull-up; /* pull up */
410 drive-strength = <16>; /* 16 MA */
417 function = "gpio";
422 bias-pull-up; /* pull up */
423 drive-strength = <2>; /* 2 MA */
435 drive-strength = <16>;
436 bias-disable;
443 function = "gpio";
448 drive-strength = <2>;
449 bias-disable;
461 bias-pull-down;
462 drive-strength = <16>;
474 bias-pull-down;
475 drive-strength = <2>;
487 drive-strength = <2>;
488 bias-pull-up;
500 drive-strength = <2>;
501 bias-pull-down;
508 perst-gpio = <&msmgpio 35 GPIO_ACTIVE_LOW>;
509 vddpe-3v3-supply = <&wlan_en>;
510 vdda-supply = <&vreg_l28a_0p925>;
515 perst-gpio = <&msmgpio 130 GPIO_ACTIVE_LOW>;
516 vdda-supply = <&vreg_l28a_0p925>;
521 perst-gpio = <&msmgpio 114 GPIO_ACTIVE_LOW>;
522 vdda-supply = <&vreg_l28a_0p925>;
528 vdda-phy-supply = <&vreg_l28a_0p925>;
529 vdda-pll-supply = <&vreg_l12a_1p8>;
533 gpio-line-names =
538 "GPIO-F", /* BL0_PWM, LSEC pin 28 */
557 pinctrl-names = "default";
558 pinctrl-0 = <&ls_exp_gpio_f &bt_en_gpios>;
563 output-low;
564 power-source = <2>; // PM8994_GPIO_S4, 1.8V
572 output-low;
573 power-source = <PM8994_GPIO_S4>; // 1.8V
574 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
575 bias-pull-down;
583 output-low;
584 power-source = <PM8994_GPIO_S4>; // 1.8V
585 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
586 bias-pull-down;
594 power-source = <PM8994_GPIO_S4>; // 1.8V
602 input-enable;
603 drive-push-pull;
604 bias-pull-up;
605 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
606 power-source = <PM8994_GPIO_S4>; // 1.8V
615 bias-disable;
616 power-source = <PM8994_GPIO_S4>;
624 input-enable;
625 bias-pull-down;
626 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
627 power-source = <PM8994_GPIO_S4>; // 1.8V
633 gpio-line-names =
645 qcom,saw-reg = <&saw3>;
647 qcom,saw-slave;
650 qcom,saw-slave;
653 qcom,saw-leader;
654 regulator-always-on;
655 regulator-min-microvolt = <980000>;
656 regulator-max-microvolt = <980000>;
661 gpio-line-names =
677 input-enable;
678 bias-pull-down;
679 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
680 power-source = <PM8994_GPIO_S4>; // 1.8V
688 regulator-name = "VDD_GFX";
689 regulator-min-microvolt = <980000>;
690 regulator-max-microvolt = <980000>;
695 pm8994-regulators {
696 compatible = "qcom,rpm-pm8994-regulators";
698 vdd_s1-supply = <&vph_pwr>;
699 vdd_s2-supply = <&vph_pwr>;
700 vdd_s3-supply = <&vph_pwr>;
701 vdd_s4-supply = <&vph_pwr>;
702 vdd_s5-supply = <&vph_pwr>;
703 vdd_s6-supply = <&vph_pwr>;
704 vdd_s7-supply = <&vph_pwr>;
705 vdd_s8-supply = <&vph_pwr>;
706 vdd_s9-supply = <&vph_pwr>;
707 vdd_s10-supply = <&vph_pwr>;
708 vdd_s11-supply = <&vph_pwr>;
709 vdd_s12-supply = <&vph_pwr>;
710 vdd_l1-supply = <&vreg_s1b_1p025>;
711 vdd_l2_l26_l28-supply = <&vreg_s3a_1p3>;
712 vdd_l3_l11-supply = <&vreg_s3a_1p3>;
713 vdd_l4_l27_l31-supply = <&vreg_s3a_1p3>;
714 vdd_l5_l7-supply = <&vreg_s5a_2p15>;
715 vdd_l6_l12_l32-supply = <&vreg_s5a_2p15>;
716 vdd_l8_l16_l30-supply = <&vph_pwr>;
717 vdd_l9_l10_l18_l22-supply = <&vph_pwr_bbyp>;
718 vdd_l13_l19_l23_l24-supply = <&vph_pwr_bbyp>;
719 vdd_l14_l15-supply = <&vreg_s5a_2p15>;
720 vdd_l17_l29-supply = <&vph_pwr_bbyp>;
721 vdd_l20_l21-supply = <&vph_pwr_bbyp>;
722 vdd_l25-supply = <&vreg_s3a_1p3>;
723 vdd_lvs1_lvs2-supply = <&vreg_s4a_1p8>;
726 regulator-name = "vreg_s3a_1p3";
727 regulator-min-microvolt = <1300000>;
728 regulator-max-microvolt = <1300000>;
736 regulator-name = "vreg_s4a_1p8";
737 regulator-min-microvolt = <1800000>;
738 regulator-max-microvolt = <1800000>;
739 regulator-always-on;
742 regulator-name = "vreg_s5a_2p15";
743 regulator-min-microvolt = <2150000>;
744 regulator-max-microvolt = <2150000>;
747 regulator-name = "vreg_s7a_1p0";
748 regulator-min-microvolt = <800000>;
749 regulator-max-microvolt = <800000>;
753 regulator-name = "vreg_l1a_1p0";
754 regulator-min-microvolt = <1000000>;
755 regulator-max-microvolt = <1000000>;
758 regulator-name = "vreg_l2a_1p25";
759 regulator-min-microvolt = <1250000>;
760 regulator-max-microvolt = <1250000>;
763 regulator-name = "vreg_l3a_0p875";
764 regulator-min-microvolt = <850000>;
765 regulator-max-microvolt = <850000>;
768 regulator-name = "vreg_l4a_1p225";
769 regulator-min-microvolt = <1225000>;
770 regulator-max-microvolt = <1225000>;
773 regulator-name = "vreg_l6a_1p2";
774 regulator-min-microvolt = <1200000>;
775 regulator-max-microvolt = <1200000>;
778 regulator-name = "vreg_l8a_1p8";
779 regulator-min-microvolt = <1800000>;
780 regulator-max-microvolt = <1800000>;
783 regulator-name = "vreg_l9a_1p8";
784 regulator-min-microvolt = <1800000>;
785 regulator-max-microvolt = <1800000>;
788 regulator-name = "vreg_l10a_1p8";
789 regulator-min-microvolt = <1800000>;
790 regulator-max-microvolt = <1800000>;
793 regulator-name = "vreg_l11a_1p15";
794 regulator-min-microvolt = <1150000>;
795 regulator-max-microvolt = <1150000>;
798 regulator-name = "vreg_l12a_1p8";
799 regulator-min-microvolt = <1800000>;
800 regulator-max-microvolt = <1800000>;
803 regulator-name = "vreg_l13a_2p95";
804 regulator-min-microvolt = <1800000>;
805 regulator-max-microvolt = <2950000>;
808 regulator-name = "vreg_l14a_1p8";
809 regulator-min-microvolt = <1800000>;
810 regulator-max-microvolt = <1800000>;
813 regulator-name = "vreg_l15a_1p8";
814 regulator-min-microvolt = <1800000>;
815 regulator-max-microvolt = <1800000>;
818 regulator-name = "vreg_l16a_2p7";
819 regulator-min-microvolt = <2700000>;
820 regulator-max-microvolt = <2700000>;
823 regulator-name = "vreg_l17a_2p8";
824 regulator-min-microvolt = <2500000>;
825 regulator-max-microvolt = <2500000>;
828 regulator-name = "vreg_l18a_2p85";
829 regulator-min-microvolt = <2700000>;
830 regulator-max-microvolt = <2900000>;
833 regulator-name = "vreg_l19a_2p8";
834 regulator-min-microvolt = <3000000>;
835 regulator-max-microvolt = <3000000>;
838 regulator-name = "vreg_l20a_2p95";
839 regulator-min-microvolt = <2950000>;
840 regulator-max-microvolt = <2950000>;
841 regulator-allow-set-load;
844 regulator-name = "vreg_l21a_2p95";
845 regulator-min-microvolt = <2950000>;
846 regulator-max-microvolt = <2950000>;
847 regulator-allow-set-load;
848 regulator-system-load = <200000>;
851 regulator-name = "vreg_l22a_3p0";
852 regulator-min-microvolt = <3300000>;
853 regulator-max-microvolt = <3300000>;
856 regulator-name = "vreg_l23a_2p8";
857 regulator-min-microvolt = <2800000>;
858 regulator-max-microvolt = <2800000>;
861 regulator-name = "vreg_l24a_3p075";
862 regulator-min-microvolt = <3075000>;
863 regulator-max-microvolt = <3075000>;
866 regulator-name = "vreg_l25a_1p2";
867 regulator-min-microvolt = <1200000>;
868 regulator-max-microvolt = <1200000>;
869 regulator-allow-set-load;
872 regulator-name = "vreg_l26a_0p8";
873 regulator-min-microvolt = <1000000>;
874 regulator-max-microvolt = <1000000>;
877 regulator-name = "vreg_l28a_0p925";
878 regulator-min-microvolt = <925000>;
879 regulator-max-microvolt = <925000>;
880 regulator-allow-set-load;
883 regulator-name = "vreg_l29a_2p8";
884 regulator-min-microvolt = <2800000>;
885 regulator-max-microvolt = <2800000>;
888 regulator-name = "vreg_l30a_1p8";
889 regulator-min-microvolt = <1800000>;
890 regulator-max-microvolt = <1800000>;
893 regulator-name = "vreg_l32a_1p8";
894 regulator-min-microvolt = <1800000>;
895 regulator-max-microvolt = <1800000>;
899 regulator-name = "vreg_lvs1a_1p8";
903 regulator-name = "vreg_lvs2a_1p8";
907 pmi8994-regulators {
908 compatible = "qcom,rpm-pmi8994-regulators";
910 vdd_s1-supply = <&vph_pwr>;
911 vdd_s2-supply = <&vph_pwr>;
912 vdd_s3-supply = <&vph_pwr>;
913 vdd_bst_byp-supply = <&vph_pwr>;
915 vph_pwr_bbyp: boost-bypass {
916 regulator-name = "vph_pwr_bbyp";
917 regulator-min-microvolt = <3300000>;
918 regulator-max-microvolt = <3300000>;
922 regulator-name = "vreg_s1b_1p025";
923 regulator-min-microvolt = <1025000>;
924 regulator-max-microvolt = <1025000>;
931 pinctrl-names = "default", "sleep";
932 pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
933 pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
934 cd-gpios = <&msmgpio 38 0x1>;
935 vmmc-supply = <&vreg_l21a_2p95>;
936 vqmmc-supply = <&vreg_l13a_2p95>;
955 compatible = "qcom,apq8096-sndcard";
957 audio-routing = "RX_BIAS", "MCLK",
962 mm1-dai-link {
963 link-name = "MultiMedia1";
965 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>;
969 mm2-dai-link {
970 link-name = "MultiMedia2";
972 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>;
976 mm3-dai-link {
977 link-name = "MultiMedia3";
979 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>;
983 hdmi-dai-link {
984 link-name = "HDMI";
986 sound-dai = <&q6afedai HDMI_RX>;
990 sound-dai = <&q6routing>;
994 sound-dai = <&hdmi 0>;
998 slim-dai-link {
999 link-name = "SLIM Playback";
1001 sound-dai = <&q6afedai SLIMBUS_6_RX>;
1005 sound-dai = <&q6routing>;
1009 sound-dai = <&wcd9335 6>;
1013 slimcap-dai-link {
1014 link-name = "SLIM Capture";
1016 sound-dai = <&q6afedai SLIMBUS_0_TX>;
1020 sound-dai = <&q6routing>;
1024 sound-dai = <&wcd9335 1>;
1033 compatible = "qcom,pm8941-resin";
1036 bias-pull-up;
1046 vdda-phy-supply = <&vreg_l28a_0p925>;
1047 vdda-pll-supply = <&vreg_l12a_1p8>;
1048 vddp-ref-clk-supply = <&vreg_l25a_1p2>;
1054 vcc-supply = <&vreg_l20a_2p95>;
1055 vccq-supply = <&vreg_l25a_1p2>;
1056 vccq2-supply = <&vreg_s4a_1p8>;
1058 vcc-max-microamp = <600000>;
1059 vccq-max-microamp = <450000>;
1060 vccq2-max-microamp = <450000>;
1070 maximum-speed = "high-speed";
1087 vdda-phy-supply = <&vreg_l28a_0p925>;
1088 vdda-pll-supply = <&vreg_l12a_1p8>;
1093 clock-names = "mclk", "slimbus";
1097 vdd-buck-supply = <&vreg_s4a_1p8>;
1098 vdd-buck-sido-supply = <&vreg_s4a_1p8>;
1099 vdd-tx-supply = <&vreg_s4a_1p8>;
1100 vdd-rx-supply = <&vreg_s4a_1p8>;
1101 vdd-io-supply = <&vreg_s4a_1p8>;