Lines Matching +full:tx +full:- +full:pins

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"
28 stdout-path = "serial0:115200n8";
33 regulators-0 {
34 compatible = "qcom,pmm8654au-rpmh-regulators";
35 qcom,pmic-id = "a";
38 regulator-name = "vreg_s4a";
39 regulator-min-microvolt = <1800000>;
40 regulator-max-microvolt = <1816000>;
41 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
45 regulator-name = "vreg_s5a";
46 regulator-min-microvolt = <1850000>;
47 regulator-max-microvolt = <1996000>;
48 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
52 regulator-name = "vreg_s9a";
53 regulator-min-microvolt = <535000>;
54 regulator-max-microvolt = <1120000>;
55 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
59 regulator-name = "vreg_l4a";
60 regulator-min-microvolt = <788000>;
61 regulator-max-microvolt = <1050000>;
62 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
63 regulator-allow-set-load;
64 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
69 regulator-name = "vreg_l5a";
70 regulator-min-microvolt = <870000>;
71 regulator-max-microvolt = <950000>;
72 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
73 regulator-allow-set-load;
74 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
79 regulator-name = "vreg_l6a";
80 regulator-min-microvolt = <870000>;
81 regulator-max-microvolt = <970000>;
82 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
83 regulator-allow-set-load;
84 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
89 regulator-name = "vreg_l7a";
90 regulator-min-microvolt = <720000>;
91 regulator-max-microvolt = <950000>;
92 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
93 regulator-allow-set-load;
94 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
99 regulator-name = "vreg_l8a";
100 regulator-min-microvolt = <2504000>;
101 regulator-max-microvolt = <3300000>;
102 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
103 regulator-allow-set-load;
104 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
109 regulator-name = "vreg_l9a";
110 regulator-min-microvolt = <2970000>;
111 regulator-max-microvolt = <3544000>;
112 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
113 regulator-allow-set-load;
114 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
119 regulators-1 {
120 compatible = "qcom,pmm8654au-rpmh-regulators";
121 qcom,pmic-id = "c";
124 regulator-name = "vreg_l1c";
125 regulator-min-microvolt = <1140000>;
126 regulator-max-microvolt = <1260000>;
127 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
128 regulator-allow-set-load;
129 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
134 regulator-name = "vreg_l2c";
135 regulator-min-microvolt = <900000>;
136 regulator-max-microvolt = <1100000>;
137 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
138 regulator-allow-set-load;
139 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
144 regulator-name = "vreg_l3c";
145 regulator-min-microvolt = <1100000>;
146 regulator-max-microvolt = <1300000>;
147 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
148 regulator-allow-set-load;
149 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
154 regulator-name = "vreg_l4c";
155 regulator-min-microvolt = <1200000>;
156 regulator-max-microvolt = <1200000>;
157 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
159 * FIXME: This should have regulator-allow-set-load but
160 * we're getting an over-current fault from the PMIC
166 regulator-name = "vreg_l5c";
167 regulator-min-microvolt = <1100000>;
168 regulator-max-microvolt = <1300000>;
169 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
170 regulator-allow-set-load;
171 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
176 regulator-name = "vreg_l6c";
177 regulator-min-microvolt = <1620000>;
178 regulator-max-microvolt = <1980000>;
179 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
180 regulator-allow-set-load;
181 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
186 regulator-name = "vreg_l7c";
187 regulator-min-microvolt = <1620000>;
188 regulator-max-microvolt = <2000000>;
189 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
190 regulator-allow-set-load;
191 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
196 regulator-name = "vreg_l8c";
197 regulator-min-microvolt = <2400000>;
198 regulator-max-microvolt = <3300000>;
199 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
200 regulator-allow-set-load;
201 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
206 regulator-name = "vreg_l9c";
207 regulator-min-microvolt = <1650000>;
208 regulator-max-microvolt = <2700000>;
209 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
210 regulator-allow-set-load;
211 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
216 regulators-2 {
217 compatible = "qcom,pmm8654au-rpmh-regulators";
218 qcom,pmic-id = "e";
221 regulator-name = "vreg_s4e";
222 regulator-min-microvolt = <970000>;
223 regulator-max-microvolt = <1520000>;
224 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
228 regulator-name = "vreg_s7e";
229 regulator-min-microvolt = <1010000>;
230 regulator-max-microvolt = <1170000>;
231 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
235 regulator-name = "vreg_s9e";
236 regulator-min-microvolt = <300000>;
237 regulator-max-microvolt = <570000>;
238 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
242 regulator-name = "vreg_l6e";
243 regulator-min-microvolt = <1280000>;
244 regulator-max-microvolt = <1450000>;
245 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
246 regulator-allow-set-load;
247 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
252 regulator-name = "vreg_l8e";
253 regulator-min-microvolt = <1800000>;
254 regulator-max-microvolt = <1950000>;
255 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
256 regulator-allow-set-load;
257 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
264 phy-handle = <&sgmii_phy0>;
266 pinctrl-0 = <&ethernet0_default>;
267 pinctrl-names = "default";
269 snps,mtl-rx-config = <&mtl_rx_setup>;
270 snps,mtl-tx-config = <&mtl_tx_setup>;
271 snps,ps-speed = <1000>;
276 compatible = "snps,dwmac-mdio";
277 #address-cells = <1>;
278 #size-cells = <0>;
281 mtl_rx_setup: rx-queues-config {
282 snps,rx-queues-to-use = <4>;
283 snps,rx-sched-sp;
286 snps,dcb-algorithm;
287 snps,map-to-dma-channel = <0x0>;
288 snps,route-up;
293 snps,dcb-algorithm;
294 snps,map-to-dma-channel = <0x1>;
295 snps,route-ptp;
299 snps,avb-algorithm;
300 snps,map-to-dma-channel = <0x2>;
301 snps,route-avcp;
305 snps,avb-algorithm;
306 snps,map-to-dma-channel = <0x3>;
311 mtl_tx_setup: tx-queues-config {
312 snps,tx-queues-to-use = <4>;
313 snps,tx-sched-sp;
316 snps,dcb-algorithm;
320 snps,dcb-algorithm;
324 snps,avb-algorithm;
332 snps,avb-algorithm;
342 phy-handle = <&sgmii_phy1>;
344 snps,mtl-rx-config = <&mtl_rx_setup1>;
345 snps,mtl-tx-config = <&mtl_tx_setup1>;
346 snps,ps-speed = <1000>;
350 mtl_rx_setup1: rx-queues-config {
351 snps,rx-queues-to-use = <4>;
352 snps,rx-sched-sp;
355 snps,dcb-algorithm;
356 snps,map-to-dma-channel = <0x0>;
357 snps,route-up;
362 snps,dcb-algorithm;
363 snps,map-to-dma-channel = <0x1>;
364 snps,route-ptp;
368 snps,avb-algorithm;
369 snps,map-to-dma-channel = <0x2>;
370 snps,route-avcp;
374 snps,avb-algorithm;
375 snps,map-to-dma-channel = <0x3>;
380 mtl_tx_setup1: tx-queues-config {
381 snps,tx-queues-to-use = <4>;
382 snps,tx-sched-sp;
385 snps,dcb-algorithm;
389 snps,dcb-algorithm;
393 snps,avb-algorithm;
401 snps,avb-algorithm;
411 clock-frequency = <400000>;
412 pinctrl-0 = <&qup_i2c11_default>;
413 pinctrl-names = "default";
418 clock-frequency = <400000>;
419 pinctrl-0 = <&qup_i2c18_default>;
420 pinctrl-names = "default";
425 gpio-line-names = "DS_EN",
445 gpio-line-names = "PMIC_C_ID0",
456 usb2_en_state: usb2-en-state {
457 pins = "gpio9";
459 output-high;
460 power-source = <0>;
465 gpio-line-names = "PMIC_E_ID0",
478 usb0_en_state: usb0-en-state {
479 pins = "gpio3";
481 output-high;
482 power-source = <0>;
485 usb1_en_state: usb1-en-state {
486 pins = "gpio10";
488 output-high;
489 power-source = <0>;
494 gpio-line-names = "PMIC_G_ID0",
510 phy-supply = <&vreg_l5a>;
515 phy-supply = <&vreg_l5a>;
520 clock-frequency = <32764>;
524 pinctrl-0 = <&qup_spi16_default>;
525 pinctrl-names = "default";
530 ethernet0_default: ethernet0-default-state {
531 ethernet0_mdc: ethernet0-mdc-pins {
532 pins = "gpio8";
534 drive-strength = <16>;
535 bias-pull-up;
538 ethernet0_mdio: ethernet0-mdio-pins {
539 pins = "gpio9";
541 drive-strength = <16>;
542 bias-pull-up;
546 qup_uart10_default: qup-uart10-state {
547 pins = "gpio46", "gpio47";
551 qup_spi16_default: qup-spi16-state {
552 pins = "gpio86", "gpio87", "gpio88", "gpio89";
554 drive-strength = <6>;
555 bias-disable;
558 qup_i2c11_default: qup-i2c11-state {
559 pins = "gpio48", "gpio49";
561 drive-strength = <2>;
562 bias-pull-up;
565 qup_i2c18_default: qup-i2c18-state {
566 pins = "gpio95", "gpio96";
568 drive-strength = <2>;
569 bias-pull-up;
572 qup_uart12_default: qup-uart12-state {
573 qup_uart12_cts: qup-uart12-cts-pins {
574 pins = "gpio52";
576 bias-disable;
579 qup_uart12_rts: qup-uart12-rts-pins {
580 pins = "gpio53";
582 bias-pull-down;
585 qup_uart12_tx: qup-uart12-tx-pins {
586 pins = "gpio54";
588 bias-pull-up;
591 qup_uart12_rx: qup-uart12-rx-pins {
592 pins = "gpio55";
594 bias-pull-down;
598 qup_uart17_default: qup-uart17-state {
599 qup_uart17_cts: qup-uart17-cts-pins {
600 pins = "gpio91";
602 bias-disable;
605 qup_uart17_rts: qup0-uart17-rts-pins {
606 pins = "gpio92";
608 bias-pull-down;
611 qup_uart17_tx: qup0-uart17-tx-pins {
612 pins = "gpio93";
614 bias-pull-up;
617 qup_uart17_rx: qup0-uart17-rx-pins {
618 pins = "gpio94";
620 bias-pull-down;
624 pcie0_default_state: pcie0-default-state {
625 perst-pins {
626 pins = "gpio2";
628 drive-strength = <2>;
629 bias-pull-down;
632 clkreq-pins {
633 pins = "gpio1";
635 drive-strength = <2>;
636 bias-pull-up;
639 wake-pins {
640 pins = "gpio0";
642 drive-strength = <2>;
643 bias-pull-up;
647 pcie1_default_state: pcie1-default-state {
648 perst-pins {
649 pins = "gpio4";
651 drive-strength = <2>;
652 bias-pull-down;
655 clkreq-pins {
656 pins = "gpio3";
658 drive-strength = <2>;
659 bias-pull-up;
662 wake-pins {
663 pins = "gpio5";
665 drive-strength = <2>;
666 bias-pull-up;
672 perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
673 wake-gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
675 pinctrl-names = "default";
676 pinctrl-0 = <&pcie0_default_state>;
682 perst-gpios = <&tlmm 4 GPIO_ACTIVE_LOW>;
683 wake-gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>;
685 pinctrl-names = "default";
686 pinctrl-0 = <&pcie1_default_state>;
692 vdda-phy-supply = <&vreg_l5a>;
693 vdda-pll-supply = <&vreg_l1c>;
699 vdda-phy-supply = <&vreg_l5a>;
700 vdda-pll-supply = <&vreg_l1c>;
706 firmware-name = "qcom/sa8775p/adsp.mbn";
711 firmware-name = "qcom/sa8775p/cdsp0.mbn";
716 firmware-name = "qcom/sa8775p/cdsp1.mbn";
721 firmware-name = "qcom/sa8775p/gpdsp0.mbn";
726 firmware-name = "qcom/sa8775p/gpdsp1.mbn";
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>;