Lines Matching +full:primary +full:- +full:pmic

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>
21 * P HSEC = Primary High Speed External Connector
27 * drawing no: LM25-P2751-1
38 * the GPIO named lines "GPIO-A" thru "GPIO-L" are the only
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>;
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_uart2_default>;
153 pinctrl-1 = <&blsp1_uart2_sleep>;
156 compatible = "qcom,qca6174-bt";
159 enable-gpios = <&pm8994_gpios 19 GPIO_ACTIVE_HIGH>;
171 label = "HS-I2C2";
177 label = "LS-I2C1";
183 label = "HS-SPI1";
188 label = "LS-UART1";
190 pinctrl-names = "default", "sleep";
191 pinctrl-0 = <&blsp2_uart2_2pins_default>;
192 pinctrl-1 = <&blsp2_uart2_2pins_sleep>;
196 label = "LS-UART0";
198 pinctrl-names = "default", "sleep";
199 pinctrl-0 = <&blsp2_uart3_4pins_default>;
200 pinctrl-1 = <&blsp2_uart3_4pins_sleep>;
204 vdda-supply = <&vreg_l2a_1p25>;
214 pinctrl-names = "default", "sleep";
215 pinctrl-0 = <&hdmi_hpd_active &hdmi_ddc_active>;
216 pinctrl-1 = <&hdmi_hpd_suspend &hdmi_ddc_suspend>;
218 core-vdda-supply = <&vreg_l12a_1p8>;
219 core-vcc-supply = <&vreg_s4a_1p8>;
225 vddio-supply = <&vreg_l12a_1p8>;
226 vcca-supply = <&vreg_l28a_0p925>;
227 #phy-cells = <0>;
233 vdda-pll-supply = <&vreg_l12a_1p8>;
234 vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
240 vdda-pll-supply = <&vreg_l12a_1p8>;
241 vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
253 vdd-gfx-supply = <&vdd_gfx>;
262 gpio-line-names =
271 "GPIO-H", /* GPIO_8, LCD0_RESET_N, LSEC pin 30 */
273 "GPIO-G", /* GPIO_10, MDP_VSYNC_P, LSEC pin 29 */
286 "GPIO-K", /* GPIO_23, CAM2_RST_N, LSEC pin 33 */
287 "GPIO-D", /* GPIO_24, LSEC pin 26 */
288 "GPIO-I", /* GPIO_25, CAM0_RST_N, LSEC pin 31 */
289 "GPIO-J", /* GPIO_26, CAM0_STANDBY_N, LSEC pin 32 */
292 "GPIO-B", /* GPIO_29, TS0_RESET_N, LSEC pin 24 */
325 "GPIO-E", /* GPIO_62, LSEC pin 27 */
343 "GPIO-A", /* GPIO_80, MEMS_RESET_N, LSEC pin 23 */
388 "GPIO-C", /* GPIO_125, TS_INT0, LSEC pin 25 */
396 "GPIO-L", /* GPIO_133, CAM2_STANDBY_N, LSEC pin 34 */
422 bias-pull-up; /* pull up */
423 drive-strength = <16>; /* 16 MA */
435 bias-pull-up; /* pull up */
436 drive-strength = <2>; /* 2 MA */
448 drive-strength = <16>;
449 bias-disable;
461 drive-strength = <2>;
462 bias-disable;
474 bias-pull-down;
475 drive-strength = <16>;
487 bias-pull-down;
488 drive-strength = <2>;
500 drive-strength = <2>;
501 bias-pull-up;
513 drive-strength = <2>;
514 bias-pull-down;
521 perst-gpio = <&tlmm 35 GPIO_ACTIVE_LOW>;
522 vddpe-3v3-supply = <&wlan_en>;
523 vdda-supply = <&vreg_l28a_0p925>;
528 perst-gpio = <&tlmm 130 GPIO_ACTIVE_LOW>;
529 vdda-supply = <&vreg_l28a_0p925>;
534 perst-gpio = <&tlmm 114 GPIO_ACTIVE_LOW>;
535 vdda-supply = <&vreg_l28a_0p925>;
541 vdda-phy-supply = <&vreg_l28a_0p925>;
542 vdda-pll-supply = <&vreg_l12a_1p8>;
546 gpio-line-names =
551 "GPIO-F", /* BL0_PWM, LSEC pin 28 */
570 pinctrl-names = "default";
571 pinctrl-0 = <&ls_exp_gpio_f &bt_en_gpios>;
576 output-low;
577 power-source = <2>; // PM8994_GPIO_S4, 1.8V
585 output-low;
586 power-source = <PM8994_GPIO_S4>; // 1.8V
587 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
588 bias-pull-down;
596 output-low;
597 power-source = <PM8994_GPIO_S4>; // 1.8V
598 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
599 bias-pull-down;
607 power-source = <PM8994_GPIO_S4>; // 1.8V
615 input-enable;
616 drive-push-pull;
617 bias-pull-up;
618 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
619 power-source = <PM8994_GPIO_S4>; // 1.8V
628 bias-disable;
629 power-source = <PM8994_GPIO_S4>;
637 input-enable;
638 bias-pull-down;
639 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
640 power-source = <PM8994_GPIO_S4>; // 1.8V
646 gpio-line-names =
658 qcom,saw-reg = <&saw3>;
660 qcom,saw-slave;
663 qcom,saw-slave;
666 qcom,saw-leader;
667 regulator-always-on;
668 regulator-min-microvolt = <980000>;
669 regulator-max-microvolt = <980000>;
674 gpio-line-names =
690 input-enable;
691 bias-pull-down;
692 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
693 power-source = <PM8994_GPIO_S4>; // 1.8V
701 regulator-name = "VDD_GFX";
702 regulator-min-microvolt = <980000>;
703 regulator-max-microvolt = <980000>;
708 pm8994-regulators {
709 compatible = "qcom,rpm-pm8994-regulators";
711 vdd_s1-supply = <&vph_pwr>;
712 vdd_s2-supply = <&vph_pwr>;
713 vdd_s3-supply = <&vph_pwr>;
714 vdd_s4-supply = <&vph_pwr>;
715 vdd_s5-supply = <&vph_pwr>;
716 vdd_s6-supply = <&vph_pwr>;
717 vdd_s7-supply = <&vph_pwr>;
718 vdd_s8-supply = <&vph_pwr>;
719 vdd_s9-supply = <&vph_pwr>;
720 vdd_s10-supply = <&vph_pwr>;
721 vdd_s11-supply = <&vph_pwr>;
722 vdd_s12-supply = <&vph_pwr>;
723 vdd_l1-supply = <&vreg_s1b_1p025>;
724 vdd_l2_l26_l28-supply = <&vreg_s3a_1p3>;
725 vdd_l3_l11-supply = <&vreg_s3a_1p3>;
726 vdd_l4_l27_l31-supply = <&vreg_s3a_1p3>;
727 vdd_l5_l7-supply = <&vreg_s5a_2p15>;
728 vdd_l6_l12_l32-supply = <&vreg_s5a_2p15>;
729 vdd_l8_l16_l30-supply = <&vph_pwr>;
730 vdd_l9_l10_l18_l22-supply = <&vph_pwr_bbyp>;
731 vdd_l13_l19_l23_l24-supply = <&vph_pwr_bbyp>;
732 vdd_l14_l15-supply = <&vreg_s5a_2p15>;
733 vdd_l17_l29-supply = <&vph_pwr_bbyp>;
734 vdd_l20_l21-supply = <&vph_pwr_bbyp>;
735 vdd_l25-supply = <&vreg_s3a_1p3>;
736 vdd_lvs1_lvs2-supply = <&vreg_s4a_1p8>;
739 regulator-name = "vreg_s3a_1p3";
740 regulator-min-microvolt = <1300000>;
741 regulator-max-microvolt = <1300000>;
749 regulator-name = "vreg_s4a_1p8";
750 regulator-min-microvolt = <1800000>;
751 regulator-max-microvolt = <1800000>;
752 regulator-always-on;
755 regulator-name = "vreg_s5a_2p15";
756 regulator-min-microvolt = <2150000>;
757 regulator-max-microvolt = <2150000>;
760 regulator-name = "vreg_s7a_1p0";
761 regulator-min-microvolt = <800000>;
762 regulator-max-microvolt = <800000>;
766 regulator-name = "vreg_l1a_1p0";
767 regulator-min-microvolt = <1000000>;
768 regulator-max-microvolt = <1000000>;
771 regulator-name = "vreg_l2a_1p25";
772 regulator-min-microvolt = <1250000>;
773 regulator-max-microvolt = <1250000>;
776 regulator-name = "vreg_l3a_0p875";
777 regulator-min-microvolt = <850000>;
778 regulator-max-microvolt = <850000>;
781 regulator-name = "vreg_l4a_1p225";
782 regulator-min-microvolt = <1225000>;
783 regulator-max-microvolt = <1225000>;
786 regulator-name = "vreg_l6a_1p2";
787 regulator-min-microvolt = <1200000>;
788 regulator-max-microvolt = <1200000>;
791 regulator-name = "vreg_l8a_1p8";
792 regulator-min-microvolt = <1800000>;
793 regulator-max-microvolt = <1800000>;
796 regulator-name = "vreg_l9a_1p8";
797 regulator-min-microvolt = <1800000>;
798 regulator-max-microvolt = <1800000>;
801 regulator-name = "vreg_l10a_1p8";
802 regulator-min-microvolt = <1800000>;
803 regulator-max-microvolt = <1800000>;
806 regulator-name = "vreg_l11a_1p15";
807 regulator-min-microvolt = <1150000>;
808 regulator-max-microvolt = <1150000>;
811 regulator-name = "vreg_l12a_1p8";
812 regulator-min-microvolt = <1800000>;
813 regulator-max-microvolt = <1800000>;
816 regulator-name = "vreg_l13a_2p95";
817 regulator-min-microvolt = <1800000>;
818 regulator-max-microvolt = <2950000>;
821 regulator-name = "vreg_l14a_1p8";
822 regulator-min-microvolt = <1800000>;
823 regulator-max-microvolt = <1800000>;
826 regulator-name = "vreg_l15a_1p8";
827 regulator-min-microvolt = <1800000>;
828 regulator-max-microvolt = <1800000>;
831 regulator-name = "vreg_l16a_2p7";
832 regulator-min-microvolt = <2700000>;
833 regulator-max-microvolt = <2700000>;
836 regulator-name = "vreg_l17a_2p8";
837 regulator-min-microvolt = <2500000>;
838 regulator-max-microvolt = <2500000>;
841 regulator-name = "vreg_l18a_2p85";
842 regulator-min-microvolt = <2700000>;
843 regulator-max-microvolt = <2900000>;
846 regulator-name = "vreg_l19a_2p8";
847 regulator-min-microvolt = <3000000>;
848 regulator-max-microvolt = <3000000>;
851 regulator-name = "vreg_l20a_2p95";
852 regulator-min-microvolt = <2950000>;
853 regulator-max-microvolt = <2950000>;
854 regulator-allow-set-load;
857 regulator-name = "vreg_l21a_2p95";
858 regulator-min-microvolt = <2950000>;
859 regulator-max-microvolt = <2950000>;
860 regulator-allow-set-load;
861 regulator-system-load = <200000>;
864 regulator-name = "vreg_l22a_3p0";
865 regulator-min-microvolt = <3300000>;
866 regulator-max-microvolt = <3300000>;
869 regulator-name = "vreg_l23a_2p8";
870 regulator-min-microvolt = <2800000>;
871 regulator-max-microvolt = <2800000>;
874 regulator-name = "vreg_l24a_3p075";
875 regulator-min-microvolt = <3075000>;
876 regulator-max-microvolt = <3075000>;
879 regulator-name = "vreg_l25a_1p2";
880 regulator-min-microvolt = <1200000>;
881 regulator-max-microvolt = <1200000>;
882 regulator-allow-set-load;
885 regulator-name = "vreg_l26a_0p8";
886 regulator-min-microvolt = <1000000>;
887 regulator-max-microvolt = <1000000>;
890 regulator-name = "vreg_l28a_0p925";
891 regulator-min-microvolt = <925000>;
892 regulator-max-microvolt = <925000>;
893 regulator-allow-set-load;
896 regulator-name = "vreg_l29a_2p8";
897 regulator-min-microvolt = <2800000>;
898 regulator-max-microvolt = <2800000>;
901 regulator-name = "vreg_l30a_1p8";
902 regulator-min-microvolt = <1800000>;
903 regulator-max-microvolt = <1800000>;
906 regulator-name = "vreg_l32a_1p8";
907 regulator-min-microvolt = <1800000>;
908 regulator-max-microvolt = <1800000>;
912 regulator-name = "vreg_lvs1a_1p8";
916 regulator-name = "vreg_lvs2a_1p8";
920 pmi8994-regulators {
921 compatible = "qcom,rpm-pmi8994-regulators";
923 vdd_s1-supply = <&vph_pwr>;
924 vdd_s2-supply = <&vph_pwr>;
925 vdd_s3-supply = <&vph_pwr>;
926 vdd_bst_byp-supply = <&vph_pwr>;
928 vph_pwr_bbyp: boost-bypass {
929 regulator-name = "vph_pwr_bbyp";
930 regulator-min-microvolt = <3300000>;
931 regulator-max-microvolt = <3300000>;
935 regulator-name = "vreg_s1b_1p025";
936 regulator-min-microvolt = <1025000>;
937 regulator-max-microvolt = <1025000>;
944 pinctrl-names = "default", "sleep";
945 pinctrl-0 = <&sdc2_state_on &sdc2_cd_on>;
946 pinctrl-1 = <&sdc2_state_off &sdc2_cd_off>;
947 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
948 vmmc-supply = <&vreg_l21a_2p95>;
949 vqmmc-supply = <&vreg_l13a_2p95>;
968 compatible = "qcom,apq8096-sndcard";
970 audio-routing = "RX_BIAS", "MCLK",
975 mm1-dai-link {
976 link-name = "MultiMedia1";
978 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>;
982 mm2-dai-link {
983 link-name = "MultiMedia2";
985 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>;
989 mm3-dai-link {
990 link-name = "MultiMedia3";
992 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>;
996 hdmi-dai-link {
997 link-name = "HDMI";
999 sound-dai = <&q6afedai HDMI_RX>;
1003 sound-dai = <&q6routing>;
1007 sound-dai = <&hdmi 0>;
1011 slim-dai-link {
1012 link-name = "SLIM Playback";
1014 sound-dai = <&q6afedai SLIMBUS_6_RX>;
1018 sound-dai = <&q6routing>;
1022 sound-dai = <&wcd9335 6>;
1026 slimcap-dai-link {
1027 link-name = "SLIM Capture";
1029 sound-dai = <&q6afedai SLIMBUS_0_TX>;
1033 sound-dai = <&q6routing>;
1037 sound-dai = <&wcd9335 1>;
1045 vdda-phy-supply = <&vreg_l28a_0p925>;
1046 vdda-pll-supply = <&vreg_l12a_1p8>;
1047 vddp-ref-clk-supply = <&vreg_l25a_1p2>;
1053 vcc-supply = <&vreg_l20a_2p95>;
1054 vccq-supply = <&vreg_l25a_1p2>;
1055 vccq2-supply = <&vreg_s4a_1p8>;
1057 vcc-max-microamp = <600000>;
1058 vccq-max-microamp = <450000>;
1059 vccq2-max-microamp = <450000>;
1069 maximum-speed = "high-speed";
1086 vdda-phy-supply = <&vreg_l28a_0p925>;
1087 vdda-pll-supply = <&vreg_l12a_1p8>;
1096 clock-names = "mclk", "slimbus";
1100 vdd-buck-supply = <&vreg_s4a_1p8>;
1101 vdd-buck-sido-supply = <&vreg_s4a_1p8>;
1102 vdd-tx-supply = <&vreg_s4a_1p8>;
1103 vdd-rx-supply = <&vreg_s4a_1p8>;
1104 vdd-io-supply = <&vreg_s4a_1p8>;