Lines Matching +full:mode +full:- +full:gpios
1 // SPDX-License-Identifier: BSD-3-Clause
7 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
11 #include <dt-bindings/spmi/spmi.h>
14 #include "sa8540p-pmics.dtsi"
18 compatible = "qcom,sa8295p-adp", "qcom,sa8540p";
25 stdout-path = "serial0:115200n8";
28 dp2-connector {
29 compatible = "dp-connector";
33 hpd-gpios = <&tlmm 20 GPIO_ACTIVE_HIGH>;
37 remote-endpoint = <&mdss1_dp0_phy_out>;
42 dp3-connector {
43 compatible = "dp-connector";
47 hpd-gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
51 remote-endpoint = <&mdss1_dp1_phy_out>;
56 edp0-connector {
57 compatible = "dp-connector";
61 hpd-gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
65 remote-endpoint = <&mdss0_dp2_phy_out>;
70 edp1-connector {
71 compatible = "dp-connector";
75 hpd-gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
79 remote-endpoint = <&mdss0_dp3_phy_out>;
84 edp2-connector {
85 compatible = "dp-connector";
89 hpd-gpios = <&tlmm 7 GPIO_ACTIVE_HIGH>;
93 remote-endpoint = <&mdss1_dp2_phy_out>;
98 edp3-connector {
99 compatible = "dp-connector";
103 hpd-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;
107 remote-endpoint = <&mdss1_dp3_phy_out>;
114 regulators-0 {
115 compatible = "qcom,pm8150-rpmh-regulators";
116 qcom,pmic-id = "a";
119 regulator-name = "vreg_l3a";
120 regulator-min-microvolt = <1200000>;
121 regulator-max-microvolt = <1208000>;
122 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
126 regulator-name = "vreg_l5a";
127 regulator-min-microvolt = <912000>;
128 regulator-max-microvolt = <912000>;
129 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
133 regulator-name = "vreg_l7a";
134 regulator-min-microvolt = <1800000>;
135 regulator-max-microvolt = <1800000>;
136 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
140 regulator-name = "vreg_l13a";
141 regulator-min-microvolt = <3072000>;
142 regulator-max-microvolt = <3072000>;
143 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
147 regulator-name = "vreg_l11a";
148 regulator-min-microvolt = <880000>;
149 regulator-max-microvolt = <880000>;
150 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
154 regulators-1 {
155 compatible = "qcom,pm8150-rpmh-regulators";
156 qcom,pmic-id = "c";
159 regulator-name = "vreg_l1c";
160 regulator-min-microvolt = <912000>;
161 regulator-max-microvolt = <912000>;
162 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
166 regulator-name = "vreg_l2c";
167 regulator-min-microvolt = <3072000>;
168 regulator-max-microvolt = <3072000>;
169 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
173 regulator-name = "vreg_l3c";
174 regulator-min-microvolt = <1200000>;
175 regulator-max-microvolt = <1200000>;
176 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
177 regulator-allow-set-load;
178 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
183 regulator-name = "vreg_l4c";
184 regulator-min-microvolt = <1200000>;
185 regulator-max-microvolt = <1208000>;
186 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
190 regulator-name = "vreg_l6c";
191 regulator-min-microvolt = <1200000>;
192 regulator-max-microvolt = <1200000>;
193 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
194 regulator-allow-set-load;
195 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
200 regulator-name = "vreg_l7c";
201 regulator-min-microvolt = <1800000>;
202 regulator-max-microvolt = <1800000>;
203 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
207 regulator-name = "vreg_l10c";
208 regulator-min-microvolt = <2504000>;
209 regulator-max-microvolt = <2504000>;
210 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
211 regulator-allow-set-load;
212 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
217 regulator-name = "vreg_l17c";
218 regulator-min-microvolt = <2504000>;
219 regulator-max-microvolt = <2504000>;
220 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
221 regulator-allow-set-load;
222 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
227 regulators-2 {
228 compatible = "qcom,pm8150-rpmh-regulators";
229 qcom,pmic-id = "g";
232 regulator-name = "vreg_l3g";
233 regulator-min-microvolt = <1200000>;
234 regulator-max-microvolt = <1200000>;
235 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
239 regulator-name = "vreg_l7g";
240 regulator-min-microvolt = <1800000>;
241 regulator-max-microvolt = <1800000>;
242 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
246 regulator-name = "vreg_l8g";
247 regulator-min-microvolt = <912000>;
248 regulator-max-microvolt = <912000>;
249 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
253 regulator-name = "vreg_l11g";
254 regulator-min-microvolt = <912000>;
255 regulator-max-microvolt = <912000>;
256 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
274 data-lanes = <0 1 2 3>;
282 remote-endpoint = <&edp0_connector_in>;
289 vdda-phy-supply = <&vreg_l8g>;
290 vdda-pll-supply = <&vreg_l3g>;
296 data-lanes = <0 1 2 3>;
304 remote-endpoint = <&edp1_connector_in>;
311 vdda-phy-supply = <&vreg_l8g>;
312 vdda-pll-supply = <&vreg_l3g>;
322 data-lanes = <0 1 2 3>;
330 remote-endpoint = <&dp2_connector_in>;
337 vdda-phy-supply = <&vreg_l11g>;
338 vdda-pll-supply = <&vreg_l3g>;
344 data-lanes = <0 1 2 3>;
352 remote-endpoint = <&dp3_connector_in>;
359 vdda-phy-supply = <&vreg_l11g>;
360 vdda-pll-supply = <&vreg_l3g>;
366 data-lanes = <0 1 2 3>;
374 remote-endpoint = <&edp2_connector_in>;
381 vdda-phy-supply = <&vreg_l11g>;
382 vdda-pll-supply = <&vreg_l3g>;
388 data-lanes = <0 1 2 3>;
396 remote-endpoint = <&edp3_connector_in>;
403 vdda-phy-supply = <&vreg_l11g>;
404 vdda-pll-supply = <&vreg_l3g>;
410 perst-gpios = <&tlmm 143 GPIO_ACTIVE_LOW>;
411 wake-gpios = <&tlmm 145 GPIO_ACTIVE_LOW>;
413 pinctrl-names = "default";
414 pinctrl-0 = <&pcie2a_default>;
420 vdda-phy-supply = <&vreg_l11a>;
421 vdda-pll-supply = <&vreg_l3a>;
427 num-lanes = <2>;
429 perst-gpios = <&tlmm 151 GPIO_ACTIVE_LOW>;
430 wake-gpios = <&tlmm 56 GPIO_ACTIVE_LOW>;
432 pinctrl-names = "default";
433 pinctrl-0 = <&pcie3a_default>;
439 vdda-phy-supply = <&vreg_l11a>;
440 vdda-pll-supply = <&vreg_l3a>;
446 perst-gpios = <&tlmm 153 GPIO_ACTIVE_LOW>;
447 wake-gpios = <&tlmm 130 GPIO_ACTIVE_LOW>;
449 pinctrl-names = "default";
450 pinctrl-0 = <&pcie3b_default>;
456 vdda-phy-supply = <&vreg_l11a>;
457 vdda-pll-supply = <&vreg_l3a>;
463 perst-gpios = <&tlmm 141 GPIO_ACTIVE_LOW>;
464 wake-gpios = <&tlmm 139 GPIO_ACTIVE_LOW>;
466 pinctrl-names = "default";
467 pinctrl-0 = <&pcie4_default>;
473 vdda-phy-supply = <&vreg_l11a>;
474 vdda-pll-supply = <&vreg_l3a>;
484 firmware-name = "qcom/sa8540p/adsp.mbn";
489 firmware-name = "qcom/sa8540p/cdsp.mbn";
494 firmware-name = "qcom/sa8540p/cdsp1.mbn";
499 compatible = "qcom,geni-debug-uart";
504 reset-gpios = <&tlmm 228 GPIO_ACTIVE_LOW>;
506 vcc-supply = <&vreg_l17c>;
507 vcc-max-microamp = <800000>;
508 vccq-supply = <&vreg_l6c>;
509 vccq-max-microamp = <900000>;
515 vdda-phy-supply = <&vreg_l8g>;
516 vdda-pll-supply = <&vreg_l3g>;
522 reset-gpios = <&tlmm 229 GPIO_ACTIVE_LOW>;
524 vcc-supply = <&vreg_l10c>;
525 vcc-max-microamp = <800000>;
526 vccq-supply = <&vreg_l3c>;
527 vccq-max-microamp = <900000>;
533 vdda-phy-supply = <&vreg_l8g>;
534 vdda-pll-supply = <&vreg_l3g>;
544 /* TODO: Define USB-C connector properly */
549 vdda-pll-supply = <&vreg_l5a>;
550 vdda18-supply = <&vreg_l7a>;
551 vdda33-supply = <&vreg_l13a>;
557 vdda-phy-supply = <&vreg_l3a>;
558 vdda-pll-supply = <&vreg_l5a>;
568 /* TODO: Define USB-C connector properly */
573 vdda-pll-supply = <&vreg_l1c>;
574 vdda18-supply = <&vreg_l7c>;
575 vdda33-supply = <&vreg_l2c>;
581 vdda-phy-supply = <&vreg_l4c>;
582 vdda-pll-supply = <&vreg_l1c>;
588 vdda-pll-supply = <&vreg_l5a>;
589 vdda18-supply = <&vreg_l7g>;
590 vdda33-supply = <&vreg_l13a>;
596 vdda-pll-supply = <&vreg_l5a>;
597 vdda18-supply = <&vreg_l7g>;
598 vdda33-supply = <&vreg_l13a>;
604 vdda-pll-supply = <&vreg_l5a>;
605 vdda18-supply = <&vreg_l7g>;
606 vdda33-supply = <&vreg_l13a>;
612 vdda-pll-supply = <&vreg_l5a>;
613 vdda18-supply = <&vreg_l7g>;
614 vdda33-supply = <&vreg_l13a>;
620 vdda-phy-supply = <&vreg_l3a>;
621 vdda-pll-supply = <&vreg_l5a>;
627 vdda-phy-supply = <&vreg_l3a>;
628 vdda-pll-supply = <&vreg_l5a>;
634 clock-frequency = <38400000>;
640 pcie2a_default: pcie2a-default-state {
641 clkreq-n-pins {
644 drive-strength = <2>;
645 bias-pull-up;
648 perst-n-pins {
651 drive-strength = <2>;
652 bias-pull-down;
655 wake-n-pins {
658 drive-strength = <2>;
659 bias-pull-up;
663 pcie3a_default: pcie3a-default-state {
664 clkreq-n-pins {
667 drive-strength = <2>;
668 bias-pull-up;
671 perst-n-pins {
674 drive-strength = <2>;
675 bias-pull-down;
678 wake-n-pins {
681 drive-strength = <2>;
682 bias-pull-up;
686 pcie3b_default: pcie3b-default-state {
687 clkreq-n-pins {
690 drive-strength = <2>;
691 bias-pull-up;
694 perst-n-pins {
697 drive-strength = <2>;
698 bias-pull-down;
701 wake-n-pins {
704 drive-strength = <2>;
705 bias-pull-up;
709 pcie4_default: pcie4-default-state {
710 clkreq-n-pins {
713 drive-strength = <2>;
714 bias-pull-up;
717 perst-n-pins {
720 drive-strength = <2>;
721 bias-pull-down;
724 wake-n-pins {
727 drive-strength = <2>;
728 bias-pull-up;