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

1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
12 #include "sa8775p-pmics.dtsi"
16 compatible = "qcom,sa8775p-ride", "qcom,sa8775p";
31 stdout-path = "serial0:115200n8";
36 regulators-0 {
37 compatible = "qcom,pmm8654au-rpmh-regulators";
38 qcom,pmic-id = "a";
41 regulator-name = "vreg_s4a";
42 regulator-min-microvolt = <1800000>;
43 regulator-max-microvolt = <1816000>;
44 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
48 regulator-name = "vreg_s5a";
49 regulator-min-microvolt = <1850000>;
50 regulator-max-microvolt = <1996000>;
51 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
55 regulator-name = "vreg_s9a";
56 regulator-min-microvolt = <535000>;
57 regulator-max-microvolt = <1120000>;
58 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
62 regulator-name = "vreg_l4a";
63 regulator-min-microvolt = <788000>;
64 regulator-max-microvolt = <1050000>;
65 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
66 regulator-allow-set-load;
67 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
72 regulator-name = "vreg_l5a";
73 regulator-min-microvolt = <870000>;
74 regulator-max-microvolt = <950000>;
75 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
76 regulator-allow-set-load;
77 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
82 regulator-name = "vreg_l6a";
83 regulator-min-microvolt = <870000>;
84 regulator-max-microvolt = <970000>;
85 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
86 regulator-allow-set-load;
87 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
92 regulator-name = "vreg_l7a";
93 regulator-min-microvolt = <720000>;
94 regulator-max-microvolt = <950000>;
95 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
96 regulator-allow-set-load;
97 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
102 regulator-name = "vreg_l8a";
103 regulator-min-microvolt = <2504000>;
104 regulator-max-microvolt = <3300000>;
105 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
106 regulator-allow-set-load;
107 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
112 regulator-name = "vreg_l9a";
113 regulator-min-microvolt = <2970000>;
114 regulator-max-microvolt = <3544000>;
115 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
116 regulator-allow-set-load;
117 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
122 regulators-1 {
123 compatible = "qcom,pmm8654au-rpmh-regulators";
124 qcom,pmic-id = "c";
127 regulator-name = "vreg_l1c";
128 regulator-min-microvolt = <1140000>;
129 regulator-max-microvolt = <1260000>;
130 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
131 regulator-allow-set-load;
132 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
137 regulator-name = "vreg_l2c";
138 regulator-min-microvolt = <900000>;
139 regulator-max-microvolt = <1100000>;
140 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
141 regulator-allow-set-load;
142 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
147 regulator-name = "vreg_l3c";
148 regulator-min-microvolt = <1100000>;
149 regulator-max-microvolt = <1300000>;
150 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
151 regulator-allow-set-load;
152 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
157 regulator-name = "vreg_l4c";
158 regulator-min-microvolt = <1200000>;
159 regulator-max-microvolt = <1200000>;
160 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
162 * FIXME: This should have regulator-allow-set-load but
163 * we're getting an over-current fault from the PMIC
169 regulator-name = "vreg_l5c";
170 regulator-min-microvolt = <1100000>;
171 regulator-max-microvolt = <1300000>;
172 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
173 regulator-allow-set-load;
174 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
179 regulator-name = "vreg_l6c";
180 regulator-min-microvolt = <1620000>;
181 regulator-max-microvolt = <1980000>;
182 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
183 regulator-allow-set-load;
184 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
189 regulator-name = "vreg_l7c";
190 regulator-min-microvolt = <1620000>;
191 regulator-max-microvolt = <2000000>;
192 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
193 regulator-allow-set-load;
194 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
199 regulator-name = "vreg_l8c";
200 regulator-min-microvolt = <2400000>;
201 regulator-max-microvolt = <3300000>;
202 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
203 regulator-allow-set-load;
204 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
209 regulator-name = "vreg_l9c";
210 regulator-min-microvolt = <1650000>;
211 regulator-max-microvolt = <2700000>;
212 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
213 regulator-allow-set-load;
214 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
219 regulators-2 {
220 compatible = "qcom,pmm8654au-rpmh-regulators";
221 qcom,pmic-id = "e";
224 regulator-name = "vreg_s4e";
225 regulator-min-microvolt = <970000>;
226 regulator-max-microvolt = <1520000>;
227 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
231 regulator-name = "vreg_s7e";
232 regulator-min-microvolt = <1010000>;
233 regulator-max-microvolt = <1170000>;
234 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
238 regulator-name = "vreg_s9e";
239 regulator-min-microvolt = <300000>;
240 regulator-max-microvolt = <570000>;
241 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
245 regulator-name = "vreg_l6e";
246 regulator-min-microvolt = <1280000>;
247 regulator-max-microvolt = <1450000>;
248 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
249 regulator-allow-set-load;
250 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
255 regulator-name = "vreg_l8e";
256 regulator-min-microvolt = <1800000>;
257 regulator-max-microvolt = <1950000>;
258 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
259 regulator-allow-set-load;
260 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
267 phy-mode = "sgmii";
268 phy-handle = <&sgmii_phy0>;
270 pinctrl-0 = <&ethernet0_default>;
271 pinctrl-names = "default";
273 snps,mtl-rx-config = <&mtl_rx_setup>;
274 snps,mtl-tx-config = <&mtl_tx_setup>;
275 snps,ps-speed = <1000>;
280 compatible = "snps,dwmac-mdio";
281 #address-cells = <1>;
282 #size-cells = <0>;
285 compatible = "ethernet-phy-id0141.0dd4";
287 device_type = "ethernet-phy";
288 reset-gpios = <&pmm8654au_2_gpios 8 GPIO_ACTIVE_LOW>;
289 reset-assert-us = <11000>;
290 reset-deassert-us = <70000>;
294 compatible = "ethernet-phy-id0141.0dd4";
296 device_type = "ethernet-phy";
297 reset-gpios = <&pmm8654au_2_gpios 9 GPIO_ACTIVE_LOW>;
298 reset-assert-us = <11000>;
299 reset-deassert-us = <70000>;
303 mtl_rx_setup: rx-queues-config {
304 snps,rx-queues-to-use = <4>;
305 snps,rx-sched-sp;
308 snps,dcb-algorithm;
309 snps,map-to-dma-channel = <0x0>;
310 snps,route-up;
315 snps,dcb-algorithm;
316 snps,map-to-dma-channel = <0x1>;
317 snps,route-ptp;
321 snps,avb-algorithm;
322 snps,map-to-dma-channel = <0x2>;
323 snps,route-avcp;
327 snps,avb-algorithm;
328 snps,map-to-dma-channel = <0x3>;
333 mtl_tx_setup: tx-queues-config {
334 snps,tx-queues-to-use = <4>;
335 snps,tx-sched-sp;
338 snps,dcb-algorithm;
342 snps,dcb-algorithm;
346 snps,avb-algorithm;
354 snps,avb-algorithm;
364 phy-mode = "sgmii";
365 phy-handle = <&sgmii_phy1>;
367 snps,mtl-rx-config = <&mtl_rx_setup1>;
368 snps,mtl-tx-config = <&mtl_tx_setup1>;
369 snps,ps-speed = <1000>;
373 mtl_rx_setup1: rx-queues-config {
374 snps,rx-queues-to-use = <4>;
375 snps,rx-sched-sp;
378 snps,dcb-algorithm;
379 snps,map-to-dma-channel = <0x0>;
380 snps,route-up;
385 snps,dcb-algorithm;
386 snps,map-to-dma-channel = <0x1>;
387 snps,route-ptp;
391 snps,avb-algorithm;
392 snps,map-to-dma-channel = <0x2>;
393 snps,route-avcp;
397 snps,avb-algorithm;
398 snps,map-to-dma-channel = <0x3>;
403 mtl_tx_setup1: tx-queues-config {
404 snps,tx-queues-to-use = <4>;
405 snps,tx-sched-sp;
408 snps,dcb-algorithm;
412 snps,dcb-algorithm;
416 snps,avb-algorithm;
424 snps,avb-algorithm;
434 clock-frequency = <400000>;
435 pinctrl-0 = <&qup_i2c11_default>;
436 pinctrl-names = "default";
441 clock-frequency = <400000>;
442 pinctrl-0 = <&qup_i2c18_default>;
443 pinctrl-names = "default";
448 gpio-line-names = "DS_EN",
463 gpio-line-names = "PMIC_C_ID0",
474 usb2_en_state: usb2-en-state {
477 output-high;
478 power-source = <0>;
483 gpio-line-names = "PMIC_E_ID0",
496 usb0_en_state: usb0-en-state {
499 output-high;
500 power-source = <0>;
503 usb1_en_state: usb1-en-state {
506 output-high;
507 power-source = <0>;
512 gpio-line-names = "PMIC_G_ID0",
528 phy-supply = <&vreg_l5a>;
533 phy-supply = <&vreg_l5a>;
538 clock-frequency = <32764>;
542 pinctrl-0 = <&qup_spi16_default>;
543 pinctrl-names = "default";
548 ethernet0_default: ethernet0-default-state {
549 ethernet0_mdc: ethernet0-mdc-pins {
552 drive-strength = <16>;
553 bias-pull-up;
556 ethernet0_mdio: ethernet0-mdio-pins {
559 drive-strength = <16>;
560 bias-pull-up;
564 qup_uart10_default: qup-uart10-state {
569 qup_spi16_default: qup-spi16-state {
572 drive-strength = <6>;
573 bias-disable;
576 qup_i2c11_default: qup-i2c11-state {
579 drive-strength = <2>;
580 bias-pull-up;
583 qup_i2c18_default: qup-i2c18-state {
586 drive-strength = <2>;
587 bias-pull-up;
590 qup_uart12_default: qup-uart12-state {
591 qup_uart12_cts: qup-uart12-cts-pins {
594 bias-disable;
597 qup_uart12_rts: qup-uart12-rts-pins {
600 bias-pull-down;
603 qup_uart12_tx: qup-uart12-tx-pins {
606 bias-pull-up;
609 qup_uart12_rx: qup-uart12-rx-pins {
612 bias-pull-down;
616 qup_uart17_default: qup-uart17-state {
617 qup_uart17_cts: qup-uart17-cts-pins {
620 bias-disable;
623 qup_uart17_rts: qup0-uart17-rts-pins {
626 bias-pull-down;
629 qup_uart17_tx: qup0-uart17-tx-pins {
632 bias-pull-up;
635 qup_uart17_rx: qup0-uart17-rx-pins {
638 bias-pull-down;
642 pcie0_default_state: pcie0-default-state {
643 perst-pins {
646 drive-strength = <2>;
647 bias-pull-down;
650 clkreq-pins {
653 drive-strength = <2>;
654 bias-pull-up;
657 wake-pins {
660 drive-strength = <2>;
661 bias-pull-up;
665 pcie1_default_state: pcie1-default-state {
666 perst-pins {
669 drive-strength = <2>;
670 bias-pull-down;
673 clkreq-pins {
676 drive-strength = <2>;
677 bias-pull-up;
680 wake-pins {
683 drive-strength = <2>;
684 bias-pull-up;
690 perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
691 wake-gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
693 pinctrl-names = "default";
694 pinctrl-0 = <&pcie0_default_state>;
700 perst-gpios = <&tlmm 4 GPIO_ACTIVE_LOW>;
701 wake-gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>;
703 pinctrl-names = "default";
704 pinctrl-0 = <&pcie1_default_state>;
710 vdda-phy-supply = <&vreg_l5a>;
711 vdda-pll-supply = <&vreg_l1c>;
717 vdda-phy-supply = <&vreg_l5a>;
718 vdda-pll-supply = <&vreg_l1c>;
724 compatible = "qcom,geni-debug-uart";
725 pinctrl-0 = <&qup_uart10_default>;
726 pinctrl-names = "default";
731 pinctrl-0 = <&qup_uart12_default>;
732 pinctrl-names = "default";
737 pinctrl-0 = <&qup_uart17_default>;
738 pinctrl-names = "default";
743 reset-gpios = <&tlmm 149 GPIO_ACTIVE_LOW>;
744 vcc-supply = <&vreg_l8a>;
745 vcc-max-microamp = <1100000>;
746 vccq-supply = <&vreg_l4c>;
747 vccq-max-microamp = <1200000>;
753 vdda-phy-supply = <&vreg_l4a>;
754 vdda-pll-supply = <&vreg_l1c>;
760 pinctrl-names = "default";
761 pinctrl-0 = <&usb0_en_state>;
771 vdda-pll-supply = <&vreg_l7a>;
772 vdda18-supply = <&vreg_l6c>;
773 vdda33-supply = <&vreg_l9a>;
779 vdda-phy-supply = <&vreg_l1c>;
780 vdda-pll-supply = <&vreg_l7a>;
786 pinctrl-names = "default";
787 pinctrl-0 = <&usb1_en_state>;
797 vdda-pll-supply = <&vreg_l7a>;
798 vdda18-supply = <&vreg_l6c>;
799 vdda33-supply = <&vreg_l9a>;
805 vdda-phy-supply = <&vreg_l1c>;
806 vdda-pll-supply = <&vreg_l7a>;
812 pinctrl-names = "default";
813 pinctrl-0 = <&usb2_en_state>;
823 vdda-pll-supply = <&vreg_l7a>;
824 vdda18-supply = <&vreg_l6c>;
825 vdda33-supply = <&vreg_l9a>;
831 clock-frequency = <38400000>;