Lines Matching +full:pll +full:- +full:mode
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 = <ðernet0_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 interrupts-extended = <&tlmm 7 IRQ_TYPE_EDGE_FALLING>;
289 reset-gpios = <&pmm8654au_2_gpios 8 GPIO_ACTIVE_LOW>;
290 reset-assert-us = <11000>;
291 reset-deassert-us = <70000>;
295 compatible = "ethernet-phy-id0141.0dd4";
297 device_type = "ethernet-phy";
298 interrupts-extended = <&tlmm 26 IRQ_TYPE_EDGE_FALLING>;
299 reset-gpios = <&pmm8654au_2_gpios 9 GPIO_ACTIVE_LOW>;
300 reset-assert-us = <11000>;
301 reset-deassert-us = <70000>;
305 mtl_rx_setup: rx-queues-config {
306 snps,rx-queues-to-use = <4>;
307 snps,rx-sched-sp;
310 snps,dcb-algorithm;
311 snps,map-to-dma-channel = <0x0>;
312 snps,route-up;
317 snps,dcb-algorithm;
318 snps,map-to-dma-channel = <0x1>;
319 snps,route-ptp;
323 snps,avb-algorithm;
324 snps,map-to-dma-channel = <0x2>;
325 snps,route-avcp;
329 snps,avb-algorithm;
330 snps,map-to-dma-channel = <0x3>;
335 mtl_tx_setup: tx-queues-config {
336 snps,tx-queues-to-use = <4>;
337 snps,tx-sched-sp;
340 snps,dcb-algorithm;
344 snps,dcb-algorithm;
348 snps,avb-algorithm;
356 snps,avb-algorithm;
366 phy-mode = "sgmii";
367 phy-handle = <&sgmii_phy1>;
369 snps,mtl-rx-config = <&mtl_rx_setup1>;
370 snps,mtl-tx-config = <&mtl_tx_setup1>;
371 snps,ps-speed = <1000>;
375 mtl_rx_setup1: rx-queues-config {
376 snps,rx-queues-to-use = <4>;
377 snps,rx-sched-sp;
380 snps,dcb-algorithm;
381 snps,map-to-dma-channel = <0x0>;
382 snps,route-up;
387 snps,dcb-algorithm;
388 snps,map-to-dma-channel = <0x1>;
389 snps,route-ptp;
393 snps,avb-algorithm;
394 snps,map-to-dma-channel = <0x2>;
395 snps,route-avcp;
399 snps,avb-algorithm;
400 snps,map-to-dma-channel = <0x3>;
405 mtl_tx_setup1: tx-queues-config {
406 snps,tx-queues-to-use = <4>;
407 snps,tx-sched-sp;
410 snps,dcb-algorithm;
414 snps,dcb-algorithm;
418 snps,avb-algorithm;
426 snps,avb-algorithm;
436 clock-frequency = <400000>;
437 pinctrl-0 = <&qup_i2c11_default>;
438 pinctrl-names = "default";
443 clock-frequency = <400000>;
444 pinctrl-0 = <&qup_i2c18_default>;
445 pinctrl-names = "default";
450 gpio-line-names = "DS_EN",
470 gpio-line-names = "PMIC_C_ID0",
481 usb2_en_state: usb2-en-state {
484 output-high;
485 power-source = <0>;
490 gpio-line-names = "PMIC_E_ID0",
503 usb0_en_state: usb0-en-state {
506 output-high;
507 power-source = <0>;
510 usb1_en_state: usb1-en-state {
513 output-high;
514 power-source = <0>;
519 gpio-line-names = "PMIC_G_ID0",
535 phy-supply = <&vreg_l5a>;
540 phy-supply = <&vreg_l5a>;
545 clock-frequency = <32764>;
549 pinctrl-0 = <&qup_spi16_default>;
550 pinctrl-names = "default";
555 ethernet0_default: ethernet0-default-state {
556 ethernet0_mdc: ethernet0-mdc-pins {
559 drive-strength = <16>;
560 bias-pull-up;
563 ethernet0_mdio: ethernet0-mdio-pins {
566 drive-strength = <16>;
567 bias-pull-up;
571 qup_uart10_default: qup-uart10-state {
576 qup_spi16_default: qup-spi16-state {
579 drive-strength = <6>;
580 bias-disable;
583 qup_i2c11_default: qup-i2c11-state {
586 drive-strength = <2>;
587 bias-pull-up;
590 qup_i2c18_default: qup-i2c18-state {
593 drive-strength = <2>;
594 bias-pull-up;
597 qup_uart12_default: qup-uart12-state {
598 qup_uart12_cts: qup-uart12-cts-pins {
601 bias-disable;
604 qup_uart12_rts: qup-uart12-rts-pins {
607 bias-pull-down;
610 qup_uart12_tx: qup-uart12-tx-pins {
613 bias-pull-up;
616 qup_uart12_rx: qup-uart12-rx-pins {
619 bias-pull-down;
623 qup_uart17_default: qup-uart17-state {
624 qup_uart17_cts: qup-uart17-cts-pins {
627 bias-disable;
630 qup_uart17_rts: qup0-uart17-rts-pins {
633 bias-pull-down;
636 qup_uart17_tx: qup0-uart17-tx-pins {
639 bias-pull-up;
642 qup_uart17_rx: qup0-uart17-rx-pins {
645 bias-pull-down;
649 pcie0_default_state: pcie0-default-state {
650 perst-pins {
653 drive-strength = <2>;
654 bias-pull-down;
657 clkreq-pins {
660 drive-strength = <2>;
661 bias-pull-up;
664 wake-pins {
667 drive-strength = <2>;
668 bias-pull-up;
672 pcie1_default_state: pcie1-default-state {
673 perst-pins {
676 drive-strength = <2>;
677 bias-pull-down;
680 clkreq-pins {
683 drive-strength = <2>;
684 bias-pull-up;
687 wake-pins {
690 drive-strength = <2>;
691 bias-pull-up;
697 perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
698 wake-gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
700 pinctrl-names = "default";
701 pinctrl-0 = <&pcie0_default_state>;
707 perst-gpios = <&tlmm 4 GPIO_ACTIVE_LOW>;
708 wake-gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>;
710 pinctrl-names = "default";
711 pinctrl-0 = <&pcie1_default_state>;
717 vdda-phy-supply = <&vreg_l5a>;
718 vdda-pll-supply = <&vreg_l1c>;
724 vdda-phy-supply = <&vreg_l5a>;
725 vdda-pll-supply = <&vreg_l1c>;
731 compatible = "qcom,geni-debug-uart";
732 pinctrl-0 = <&qup_uart10_default>;
733 pinctrl-names = "default";
738 pinctrl-0 = <&qup_uart12_default>;
739 pinctrl-names = "default";
744 pinctrl-0 = <&qup_uart17_default>;
745 pinctrl-names = "default";
750 reset-gpios = <&tlmm 149 GPIO_ACTIVE_LOW>;
751 vcc-supply = <&vreg_l8a>;
752 vcc-max-microamp = <1100000>;
753 vccq-supply = <&vreg_l4c>;
754 vccq-max-microamp = <1200000>;
760 vdda-phy-supply = <&vreg_l4a>;
761 vdda-pll-supply = <&vreg_l1c>;
767 pinctrl-names = "default";
768 pinctrl-0 = <&usb0_en_state>;
778 vdda-pll-supply = <&vreg_l7a>;
779 vdda18-supply = <&vreg_l6c>;
780 vdda33-supply = <&vreg_l9a>;
786 vdda-phy-supply = <&vreg_l1c>;
787 vdda-pll-supply = <&vreg_l7a>;
793 pinctrl-names = "default";
794 pinctrl-0 = <&usb1_en_state>;
804 vdda-pll-supply = <&vreg_l7a>;
805 vdda18-supply = <&vreg_l6c>;
806 vdda33-supply = <&vreg_l9a>;
812 vdda-phy-supply = <&vreg_l1c>;
813 vdda-pll-supply = <&vreg_l7a>;
819 pinctrl-names = "default";
820 pinctrl-0 = <&usb2_en_state>;
830 vdda-pll-supply = <&vreg_l7a>;
831 vdda18-supply = <&vreg_l6c>;
832 vdda33-supply = <&vreg_l9a>;
838 clock-frequency = <38400000>;