Lines Matching +full:regulator +full:- +full:allow +full:- +full:bypass
1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
6 /dts-v1/;
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/leds/common.h>
14 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
15 #include <dt-bindings/sound/qcom,q6afe.h>
16 #include <dt-bindings/sound/qcom,q6asm.h>
17 #include <dt-bindings/sound/qcom,wcd9335.h>
31 * drawing no: LM25-P2751-1
42 * the GPIO named lines "GPIO-A" thru "GPIO-L" are the only
48 compatible = "arrow,apq8096-db820c", "qcom,apq8096-sbc", "qcom,apq8096";
62 stdout-path = "serial0:115200n8";
66 compatible = "simple-bus";
68 compatible = "fixed-clock";
69 #clock-cells = <0>;
70 clock-frequency = <32768>;
71 clock-output-names = "divclk4";
73 pinctrl-names = "default";
74 pinctrl-0 = <&divclk4_pin_a>;
78 compatible = "gpio-gate-clock";
79 pinctrl-0 = <&audio_mclk>;
80 pinctrl-names = "default";
82 #clock-cells = <0>;
83 enable-gpios = <&pm8994_gpios 15 0>;
87 gpio-keys {
88 compatible = "gpio-keys";
91 pinctrl-names = "default";
92 pinctrl-0 = <&volume_up_gpio>;
101 usb2_id: usb2-id {
102 compatible = "linux,extcon-usb-gpio";
103 id-gpio = <&pmi8994_gpios 6 GPIO_ACTIVE_HIGH>;
104 pinctrl-names = "default";
105 pinctrl-0 = <&usb2_vbus_det_gpio>;
108 usb3_id: usb3-id {
109 compatible = "linux,extcon-usb-gpio";
110 id-gpio = <&pm8994_gpios 22 GPIO_ACTIVE_HIGH>;
111 pinctrl-names = "default";
112 pinctrl-0 = <&usb3_vbus_det_gpio>;
115 vph_pwr: vph-pwr-regulator {
116 compatible = "regulator-fixed";
117 regulator-name = "vph_pwr";
118 regulator-always-on;
119 regulator-boot-on;
121 regulator-min-microvolt = <3700000>;
122 regulator-max-microvolt = <3700000>;
125 wlan_en: wlan-en-1-8v {
126 pinctrl-names = "default";
127 pinctrl-0 = <&wlan_en_gpios>;
128 compatible = "regulator-fixed";
129 regulator-name = "wlan-en-regulator";
130 regulator-min-microvolt = <1800000>;
131 regulator-max-microvolt = <1800000>;
136 startup-delay-us = <70000>;
137 enable-active-high;
143 label = "LS-I2C0";
149 label = "LS-SPI0";
154 label = "BT-UART";
158 compatible = "qcom,qca6174-bt";
161 enable-gpios = <&pm8994_gpios 19 GPIO_ACTIVE_HIGH>;
169 firmware-name = "qcom/apq8096/adsp.mbn";
174 label = "HS-I2C2";
180 label = "LS-I2C1";
186 label = "HS-SPI1";
191 label = "LS-UART1";
193 pinctrl-names = "default", "sleep";
194 pinctrl-0 = <&blsp2_uart2_2pins_default>;
195 pinctrl-1 = <&blsp2_uart2_2pins_sleep>;
199 label = "LS-UART0";
201 pinctrl-names = "default", "sleep";
202 pinctrl-0 = <&blsp2_uart3_4pins_default>;
203 pinctrl-1 = <&blsp2_uart3_4pins_sleep>;
207 vdda-supply = <&vreg_l2a_1p25>;
217 pinctrl-names = "default", "sleep";
218 pinctrl-0 = <&hdmi_hpd_active &hdmi_ddc_active>;
219 pinctrl-1 = <&hdmi_hpd_suspend &hdmi_ddc_suspend>;
221 core-vdda-supply = <&vreg_l12a_1p8>;
222 core-vcc-supply = <&vreg_s4a_1p8>;
228 vddio-supply = <&vreg_l12a_1p8>;
229 vcca-supply = <&vreg_l28a_0p925>;
230 #phy-cells = <0>;
236 vdd-supply = <&vreg_l28a_0p925>;
237 vdda-pll-supply = <&vreg_l12a_1p8>;
238 vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
244 vdd-supply = <&vreg_l28a_0p925>;
245 vdda-pll-supply = <&vreg_l12a_1p8>;
246 vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
258 vdd-gfx-supply = <&vdd_gfx>;
263 pll-supply = <&vreg_l12a_1p8>;
264 firmware-name = "qcom/apq8096/mba.mbn", "qcom/apq8096/modem.mbn";
273 gpio-line-names =
282 "GPIO-H", /* GPIO_8, LCD0_RESET_N, LSEC pin 30 */
284 "GPIO-G", /* GPIO_10, MDP_VSYNC_P, LSEC pin 29 */
297 "GPIO-K", /* GPIO_23, CAM2_RST_N, LSEC pin 33 */
298 "GPIO-D", /* GPIO_24, LSEC pin 26 */
299 "GPIO-I", /* GPIO_25, CAM0_RST_N, LSEC pin 31 */
300 "GPIO-J", /* GPIO_26, CAM0_STANDBY_N, LSEC pin 32 */
303 "GPIO-B", /* GPIO_29, TS0_RESET_N, LSEC pin 24 */
336 "GPIO-E", /* GPIO_62, LSEC pin 27 */
354 "GPIO-A", /* GPIO_80, MEMS_RESET_N, LSEC pin 23 */
399 "GPIO-C", /* GPIO_125, TS_INT0, LSEC pin 25 */
407 "GPIO-L", /* GPIO_133, CAM2_STANDBY_N, LSEC pin 34 */
433 bias-pull-up; /* pull up */
434 drive-strength = <16>; /* 16 MA */
446 bias-pull-up; /* pull up */
447 drive-strength = <2>; /* 2 MA */
459 bias-pull-down;
460 drive-strength = <16>;
472 bias-pull-down;
473 drive-strength = <2>;
485 drive-strength = <2>;
486 bias-pull-up;
498 drive-strength = <2>;
499 bias-pull-down;
506 perst-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
507 vddpe-3v3-supply = <&wlan_en>;
508 vdda-supply = <&vreg_l28a_0p925>;
513 perst-gpios = <&tlmm 130 GPIO_ACTIVE_LOW>;
514 vdda-supply = <&vreg_l28a_0p925>;
519 perst-gpios = <&tlmm 114 GPIO_ACTIVE_LOW>;
520 vdda-supply = <&vreg_l28a_0p925>;
526 vdda-phy-supply = <&vreg_l28a_0p925>;
527 vdda-pll-supply = <&vreg_l12a_1p8>;
531 gpio-line-names =
536 "GPIO-F", /* BL0_PWM, LSEC pin 28 */
555 pinctrl-names = "default";
556 pinctrl-0 = <&ls_exp_gpio_f &bt_en_gpios>;
558 ls_exp_gpio_f: pm8994-gpio5-state {
562 output-low;
563 power-source = <2>; // PM8994_GPIO_S4, 1.8V
567 bt_en_gpios: bt-en-pios-state {
571 output-low;
572 power-source = <PM8994_GPIO_S4>; // 1.8V
573 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
574 bias-pull-down;
578 wlan_en_gpios: wlan-en-gpios-state {
582 output-low;
583 power-source = <PM8994_GPIO_S4>; // 1.8V
584 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
585 bias-pull-down;
589 audio_mclk: clk-div1-state {
593 power-source = <PM8994_GPIO_S4>; // 1.8V
597 volume_up_gpio: pm8996-gpio2-state {
601 input-enable;
602 drive-push-pull;
603 bias-pull-up;
604 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
605 power-source = <PM8994_GPIO_S4>; // 1.8V
609 divclk4_pin_a: divclk4-state {
614 bias-disable;
615 power-source = <PM8994_GPIO_S4>;
619 usb3_vbus_det_gpio: pm8996-gpio22-state {
623 input-enable;
624 bias-pull-down;
625 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
626 power-source = <PM8994_GPIO_S4>; // 1.8V
632 gpio-line-names =
644 qcom,saw-reg = <&saw3>;
645 vdd_s11-supply = <&vph_pwr>;
648 qcom,saw-slave;
651 qcom,saw-slave;
654 qcom,saw-leader;
655 regulator-name = "VDD_APCC";
656 regulator-always-on;
657 regulator-min-microvolt = <980000>;
658 regulator-max-microvolt = <980000>;
663 gpio-line-names =
675 usb2_vbus_det_gpio: pmi8996-gpio6-state {
679 input-enable;
680 bias-pull-down;
681 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
682 power-source = <PM8994_GPIO_S4>; // 1.8V
688 qcom,power-source = <1>;
690 pinctrl-names = "default";
691 pinctrl-0 = <&pmi8994_mpp2_userled4>;
704 function-enumerator = <1>;
706 linux,default-trigger = "heartbeat";
707 default-state = "on";
714 function-enumerator = <0>;
721 function-enumerator = <2>;
728 function-enumerator = <3>;
733 pmi8994_mpp2_userled4: mpp2-userled4-state {
737 output-low;
743 vdd_s2-supply = <&vph_pwr>;
747 regulator-name = "VDD_GFX";
748 regulator-min-microvolt = <980000>;
749 regulator-max-microvolt = <980000>;
754 pm8994-regulators {
755 compatible = "qcom,rpm-pm8994-regulators";
757 vdd_s1-supply = <&vph_pwr>;
758 vdd_s2-supply = <&vph_pwr>;
759 vdd_s3-supply = <&vph_pwr>;
760 vdd_s4-supply = <&vph_pwr>;
761 vdd_s5-supply = <&vph_pwr>;
762 vdd_s6-supply = <&vph_pwr>;
763 vdd_s7-supply = <&vph_pwr>;
764 vdd_s8-supply = <&vph_pwr>;
765 vdd_s9-supply = <&vph_pwr>;
766 vdd_s10-supply = <&vph_pwr>;
767 vdd_s11-supply = <&vph_pwr>;
768 vdd_s12-supply = <&vph_pwr>;
769 vdd_l1-supply = <&vreg_s1b_1p025>;
770 vdd_l2_l26_l28-supply = <&vreg_s3a_1p3>;
771 vdd_l3_l11-supply = <&vreg_s3a_1p3>;
772 vdd_l4_l27_l31-supply = <&vreg_s3a_1p3>;
773 vdd_l5_l7-supply = <&vreg_s5a_2p15>;
774 vdd_l6_l12_l32-supply = <&vreg_s5a_2p15>;
775 vdd_l8_l16_l30-supply = <&vph_pwr>;
776 vdd_l9_l10_l18_l22-supply = <&vph_pwr_bbyp>;
777 vdd_l13_l19_l23_l24-supply = <&vph_pwr_bbyp>;
778 vdd_l14_l15-supply = <&vreg_s5a_2p15>;
779 vdd_l17_l29-supply = <&vph_pwr_bbyp>;
780 vdd_l20_l21-supply = <&vph_pwr_bbyp>;
781 vdd_l25-supply = <&vreg_s3a_1p3>;
782 vdd_lvs1_2-supply = <&vreg_s4a_1p8>;
785 regulator-name = "vreg_s3a_1p3";
786 regulator-min-microvolt = <1300000>;
787 regulator-max-microvolt = <1300000>;
795 regulator-name = "vreg_s4a_1p8";
796 regulator-min-microvolt = <1800000>;
797 regulator-max-microvolt = <1800000>;
798 regulator-always-on;
801 regulator-name = "vreg_s5a_2p15";
802 regulator-min-microvolt = <2150000>;
803 regulator-max-microvolt = <2150000>;
806 regulator-name = "vreg_s7a_1p0";
807 regulator-min-microvolt = <800000>;
808 regulator-max-microvolt = <800000>;
812 regulator-name = "vreg_l1a_1p0";
813 regulator-min-microvolt = <1000000>;
814 regulator-max-microvolt = <1000000>;
817 regulator-name = "vreg_l2a_1p25";
818 regulator-min-microvolt = <1250000>;
819 regulator-max-microvolt = <1250000>;
822 regulator-name = "vreg_l3a_0p875";
823 regulator-min-microvolt = <850000>;
824 regulator-max-microvolt = <850000>;
827 regulator-name = "vreg_l4a_1p225";
828 regulator-min-microvolt = <1225000>;
829 regulator-max-microvolt = <1225000>;
832 regulator-name = "vreg_l6a_1p2";
833 regulator-min-microvolt = <1200000>;
834 regulator-max-microvolt = <1200000>;
837 regulator-name = "vreg_l8a_1p8";
838 regulator-min-microvolt = <1800000>;
839 regulator-max-microvolt = <1800000>;
842 regulator-name = "vreg_l9a_1p8";
843 regulator-min-microvolt = <1800000>;
844 regulator-max-microvolt = <1800000>;
847 regulator-name = "vreg_l10a_1p8";
848 regulator-min-microvolt = <1800000>;
849 regulator-max-microvolt = <1800000>;
852 regulator-name = "vreg_l11a_1p15";
853 regulator-min-microvolt = <1150000>;
854 regulator-max-microvolt = <1150000>;
857 regulator-name = "vreg_l12a_1p8";
858 regulator-min-microvolt = <1800000>;
859 regulator-max-microvolt = <1800000>;
862 regulator-name = "vreg_l13a_2p95";
863 regulator-min-microvolt = <1800000>;
864 regulator-max-microvolt = <2950000>;
867 regulator-name = "vreg_l14a_1p8";
868 regulator-min-microvolt = <1800000>;
869 regulator-max-microvolt = <1800000>;
872 regulator-name = "vreg_l15a_1p8";
873 regulator-min-microvolt = <1800000>;
874 regulator-max-microvolt = <1800000>;
877 regulator-name = "vreg_l16a_2p7";
878 regulator-min-microvolt = <2700000>;
879 regulator-max-microvolt = <2700000>;
882 regulator-name = "vreg_l17a_2p8";
883 regulator-min-microvolt = <2500000>;
884 regulator-max-microvolt = <2500000>;
887 regulator-name = "vreg_l18a_2p85";
888 regulator-min-microvolt = <2700000>;
889 regulator-max-microvolt = <2900000>;
892 regulator-name = "vreg_l19a_2p8";
893 regulator-min-microvolt = <3000000>;
894 regulator-max-microvolt = <3000000>;
897 regulator-name = "vreg_l20a_2p95";
898 regulator-min-microvolt = <2950000>;
899 regulator-max-microvolt = <2950000>;
900 regulator-allow-set-load;
903 regulator-name = "vreg_l21a_2p95";
904 regulator-min-microvolt = <2950000>;
905 regulator-max-microvolt = <2950000>;
906 regulator-allow-set-load;
907 regulator-system-load = <200000>;
910 regulator-name = "vreg_l22a_3p0";
911 regulator-min-microvolt = <3300000>;
912 regulator-max-microvolt = <3300000>;
915 regulator-name = "vreg_l23a_2p8";
916 regulator-min-microvolt = <2800000>;
917 regulator-max-microvolt = <2800000>;
920 regulator-name = "vreg_l24a_3p075";
921 regulator-min-microvolt = <3075000>;
922 regulator-max-microvolt = <3075000>;
925 regulator-name = "vreg_l25a_1p2";
926 regulator-min-microvolt = <1200000>;
927 regulator-max-microvolt = <1200000>;
928 regulator-allow-set-load;
931 regulator-name = "vreg_l26a_0p8";
932 regulator-min-microvolt = <1000000>;
933 regulator-max-microvolt = <1000000>;
936 regulator-name = "vreg_l28a_0p925";
937 regulator-min-microvolt = <925000>;
938 regulator-max-microvolt = <925000>;
939 regulator-allow-set-load;
942 regulator-name = "vreg_l29a_2p8";
943 regulator-min-microvolt = <2800000>;
944 regulator-max-microvolt = <2800000>;
947 regulator-name = "vreg_l30a_1p8";
948 regulator-min-microvolt = <1800000>;
949 regulator-max-microvolt = <1800000>;
952 regulator-name = "vreg_l32a_1p8";
953 regulator-min-microvolt = <1800000>;
954 regulator-max-microvolt = <1800000>;
958 regulator-name = "vreg_lvs1a_1p8";
962 regulator-name = "vreg_lvs2a_1p8";
966 pmi8994-regulators {
967 compatible = "qcom,rpm-pmi8994-regulators";
969 vdd_s1-supply = <&vph_pwr>;
970 vdd_s2-supply = <&vph_pwr>;
971 vdd_s3-supply = <&vph_pwr>;
972 vdd_bst_byp-supply = <&vph_pwr>;
974 vph_pwr_bbyp: boost-bypass {
975 regulator-name = "vph_pwr_bbyp";
976 regulator-min-microvolt = <3300000>;
977 regulator-max-microvolt = <3300000>;
981 regulator-name = "vreg_s1b_1p025";
982 regulator-min-microvolt = <1025000>;
983 regulator-max-microvolt = <1025000>;
990 pinctrl-names = "default", "sleep";
991 pinctrl-0 = <&sdc2_state_on &sdc2_cd_on>;
992 pinctrl-1 = <&sdc2_state_off &sdc2_cd_off>;
993 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
994 vmmc-supply = <&vreg_l21a_2p95>;
995 vqmmc-supply = <&vreg_l13a_2p95>;
1014 compatible = "qcom,apq8096-sndcard";
1016 audio-routing = "RX_BIAS", "MCLK",
1021 mm1-dai-link {
1022 link-name = "MultiMedia1";
1024 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>;
1028 mm2-dai-link {
1029 link-name = "MultiMedia2";
1031 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>;
1035 mm3-dai-link {
1036 link-name = "MultiMedia3";
1038 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>;
1042 hdmi-dai-link {
1043 link-name = "HDMI";
1045 sound-dai = <&q6afedai HDMI_RX>;
1049 sound-dai = <&q6routing>;
1053 sound-dai = <&hdmi 0>;
1057 slim-dai-link {
1058 link-name = "SLIM Playback";
1060 sound-dai = <&q6afedai SLIMBUS_6_RX>;
1064 sound-dai = <&q6routing>;
1068 sound-dai = <&wcd9335 AIF4_PB>;
1072 slimcap-dai-link {
1073 link-name = "SLIM Capture";
1075 sound-dai = <&q6afedai SLIMBUS_0_TX>;
1079 sound-dai = <&q6routing>;
1083 sound-dai = <&wcd9335 AIF1_CAP>;
1091 vdda-phy-supply = <&vreg_l28a_0p925>;
1092 vdda-pll-supply = <&vreg_l12a_1p8>;
1093 vddp-ref-clk-supply = <&vreg_l25a_1p2>;
1099 vcc-supply = <&vreg_l20a_2p95>;
1100 vccq-supply = <&vreg_l25a_1p2>;
1101 vccq2-supply = <&vreg_s4a_1p8>;
1103 vcc-max-microamp = <600000>;
1104 vccq-max-microamp = <450000>;
1105 vccq2-max-microamp = <450000>;
1116 maximum-speed = "high-speed";
1132 vdda-phy-supply = <&vreg_l28a_0p925>;
1133 vdda-pll-supply = <&vreg_l12a_1p8>;
1142 clock-names = "mclk", "slimbus";
1146 vdd-buck-supply = <&vreg_s4a_1p8>;
1147 vdd-buck-sido-supply = <&vreg_s4a_1p8>;
1148 vdd-tx-supply = <&vreg_s4a_1p8>;
1149 vdd-rx-supply = <&vreg_s4a_1p8>;
1150 vdd-io-supply = <&vreg_s4a_1p8>;