blob: 9760bb4b468c4ec3970e3f2c75df35e6fddae1a7 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * Copyright (c) 2023, Linaro Limited
4 */
5
6/dts-v1/;
7
8#include <dt-bindings/gpio/gpio.h>
9#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
10
11#include "sa8775p.dtsi"
12#include "sa8775p-pmics.dtsi"
13
14/ {
15 model = "Qualcomm SA8775P Ride";
16 compatible = "qcom,sa8775p-ride", "qcom,sa8775p";
17
18 aliases {
19 ethernet0 = &ethernet0;
20 ethernet1 = &ethernet1;
21 i2c11 = &i2c11;
22 i2c18 = &i2c18;
23 serial0 = &uart10;
24 serial1 = &uart12;
25 serial2 = &uart17;
26 spi16 = &spi16;
27 ufshc1 = &ufs_mem_hc;
28 };
29
30 chosen {
31 stdout-path = "serial0:115200n8";
32 };
33};
34
35&apps_rsc {
36 regulators-0 {
37 compatible = "qcom,pmm8654au-rpmh-regulators";
38 qcom,pmic-id = "a";
39
40 vreg_s4a: smps4 {
41 regulator-name = "vreg_s4a";
42 regulator-min-microvolt = <1800000>;
43 regulator-max-microvolt = <1816000>;
44 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
45 };
46
47 vreg_s5a: smps5 {
48 regulator-name = "vreg_s5a";
49 regulator-min-microvolt = <1850000>;
50 regulator-max-microvolt = <1996000>;
51 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
52 };
53
54 vreg_s9a: smps9 {
55 regulator-name = "vreg_s9a";
56 regulator-min-microvolt = <535000>;
57 regulator-max-microvolt = <1120000>;
58 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
59 };
60
61 vreg_l4a: ldo4 {
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
68 RPMH_REGULATOR_MODE_HPM>;
69 };
70
71 vreg_l5a: ldo5 {
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
78 RPMH_REGULATOR_MODE_HPM>;
79 };
80
81 vreg_l6a: ldo6 {
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
88 RPMH_REGULATOR_MODE_HPM>;
89 };
90
91 vreg_l7a: ldo7 {
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
98 RPMH_REGULATOR_MODE_HPM>;
99 };
100
101 vreg_l8a: ldo8 {
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
108 RPMH_REGULATOR_MODE_HPM>;
109 };
110
111 vreg_l9a: ldo9 {
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
118 RPMH_REGULATOR_MODE_HPM>;
119 };
120 };
121
122 regulators-1 {
123 compatible = "qcom,pmm8654au-rpmh-regulators";
124 qcom,pmic-id = "c";
125
126 vreg_l1c: ldo1 {
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
133 RPMH_REGULATOR_MODE_HPM>;
134 };
135
136 vreg_l2c: ldo2 {
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
143 RPMH_REGULATOR_MODE_HPM>;
144 };
145
146 vreg_l3c: ldo3 {
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
153 RPMH_REGULATOR_MODE_HPM>;
154 };
155
156 vreg_l4c: ldo4 {
157 regulator-name = "vreg_l4c";
158 regulator-min-microvolt = <1200000>;
159 regulator-max-microvolt = <1200000>;
160 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
161 /*
162 * FIXME: This should have regulator-allow-set-load but
163 * we're getting an over-current fault from the PMIC
164 * when switching to LPM.
165 */
166 };
167
168 vreg_l5c: ldo5 {
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
175 RPMH_REGULATOR_MODE_HPM>;
176 };
177
178 vreg_l6c: ldo6 {
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
185 RPMH_REGULATOR_MODE_HPM>;
186 };
187
188 vreg_l7c: ldo7 {
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
195 RPMH_REGULATOR_MODE_HPM>;
196 };
197
198 vreg_l8c: ldo8 {
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
205 RPMH_REGULATOR_MODE_HPM>;
206 };
207
208 vreg_l9c: ldo9 {
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
215 RPMH_REGULATOR_MODE_HPM>;
216 };
217 };
218
219 regulators-2 {
220 compatible = "qcom,pmm8654au-rpmh-regulators";
221 qcom,pmic-id = "e";
222
223 vreg_s4e: smps4 {
224 regulator-name = "vreg_s4e";
225 regulator-min-microvolt = <970000>;
226 regulator-max-microvolt = <1520000>;
227 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
228 };
229
230 vreg_s7e: smps7 {
231 regulator-name = "vreg_s7e";
232 regulator-min-microvolt = <1010000>;
233 regulator-max-microvolt = <1170000>;
234 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
235 };
236
237 vreg_s9e: smps9 {
238 regulator-name = "vreg_s9e";
239 regulator-min-microvolt = <300000>;
240 regulator-max-microvolt = <570000>;
241 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
242 };
243
244 vreg_l6e: ldo6 {
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
251 RPMH_REGULATOR_MODE_HPM>;
252 };
253
254 vreg_l8e: ldo8 {
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
261 RPMH_REGULATOR_MODE_HPM>;
262 };
263 };
264};
265
266&ethernet0 {
267 phy-mode = "sgmii";
268 phy-handle = <&sgmii_phy0>;
269
270 pinctrl-0 = <&ethernet0_default>;
271 pinctrl-names = "default";
272
273 snps,mtl-rx-config = <&mtl_rx_setup>;
274 snps,mtl-tx-config = <&mtl_tx_setup>;
275 snps,ps-speed = <1000>;
276
277 status = "okay";
278
279 mdio {
280 compatible = "snps,dwmac-mdio";
281 #address-cells = <1>;
282 #size-cells = <0>;
283
284 sgmii_phy0: phy@8 {
285 compatible = "ethernet-phy-id0141.0dd4";
286 reg = <0x8>;
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>;
292 };
293
294 sgmii_phy1: phy@a {
295 compatible = "ethernet-phy-id0141.0dd4";
296 reg = <0xa>;
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>;
302 };
303 };
304
305 mtl_rx_setup: rx-queues-config {
306 snps,rx-queues-to-use = <4>;
307 snps,rx-sched-sp;
308
309 queue0 {
310 snps,dcb-algorithm;
311 snps,map-to-dma-channel = <0x0>;
312 snps,route-up;
313 snps,priority = <0x1>;
314 };
315
316 queue1 {
317 snps,dcb-algorithm;
318 snps,map-to-dma-channel = <0x1>;
319 snps,route-ptp;
320 };
321
322 queue2 {
323 snps,avb-algorithm;
324 snps,map-to-dma-channel = <0x2>;
325 snps,route-avcp;
326 };
327
328 queue3 {
329 snps,avb-algorithm;
330 snps,map-to-dma-channel = <0x3>;
331 snps,priority = <0xc>;
332 };
333 };
334
335 mtl_tx_setup: tx-queues-config {
336 snps,tx-queues-to-use = <4>;
337 snps,tx-sched-sp;
338
339 queue0 {
340 snps,dcb-algorithm;
341 };
342
343 queue1 {
344 snps,dcb-algorithm;
345 };
346
347 queue2 {
348 snps,avb-algorithm;
349 snps,send_slope = <0x1000>;
350 snps,idle_slope = <0x1000>;
351 snps,high_credit = <0x3e800>;
352 snps,low_credit = <0xffc18000>;
353 };
354
355 queue3 {
356 snps,avb-algorithm;
357 snps,send_slope = <0x1000>;
358 snps,idle_slope = <0x1000>;
359 snps,high_credit = <0x3e800>;
360 snps,low_credit = <0xffc18000>;
361 };
362 };
363};
364
365&ethernet1 {
366 phy-mode = "sgmii";
367 phy-handle = <&sgmii_phy1>;
368
369 snps,mtl-rx-config = <&mtl_rx_setup1>;
370 snps,mtl-tx-config = <&mtl_tx_setup1>;
371 snps,ps-speed = <1000>;
372
373 status = "okay";
374
375 mtl_rx_setup1: rx-queues-config {
376 snps,rx-queues-to-use = <4>;
377 snps,rx-sched-sp;
378
379 queue0 {
380 snps,dcb-algorithm;
381 snps,map-to-dma-channel = <0x0>;
382 snps,route-up;
383 snps,priority = <0x1>;
384 };
385
386 queue1 {
387 snps,dcb-algorithm;
388 snps,map-to-dma-channel = <0x1>;
389 snps,route-ptp;
390 };
391
392 queue2 {
393 snps,avb-algorithm;
394 snps,map-to-dma-channel = <0x2>;
395 snps,route-avcp;
396 };
397
398 queue3 {
399 snps,avb-algorithm;
400 snps,map-to-dma-channel = <0x3>;
401 snps,priority = <0xc>;
402 };
403 };
404
405 mtl_tx_setup1: tx-queues-config {
406 snps,tx-queues-to-use = <4>;
407 snps,tx-sched-sp;
408
409 queue0 {
410 snps,dcb-algorithm;
411 };
412
413 queue1 {
414 snps,dcb-algorithm;
415 };
416
417 queue2 {
418 snps,avb-algorithm;
419 snps,send_slope = <0x1000>;
420 snps,idle_slope = <0x1000>;
421 snps,high_credit = <0x3e800>;
422 snps,low_credit = <0xffc18000>;
423 };
424
425 queue3 {
426 snps,avb-algorithm;
427 snps,send_slope = <0x1000>;
428 snps,idle_slope = <0x1000>;
429 snps,high_credit = <0x3e800>;
430 snps,low_credit = <0xffc18000>;
431 };
432 };
433};
434
435&i2c11 {
436 clock-frequency = <400000>;
437 pinctrl-0 = <&qup_i2c11_default>;
438 pinctrl-names = "default";
439 status = "okay";
440};
441
442&i2c18 {
443 clock-frequency = <400000>;
444 pinctrl-0 = <&qup_i2c18_default>;
445 pinctrl-names = "default";
446 status = "okay";
447};
448
449&pmm8654au_0_gpios {
450 gpio-line-names = "DS_EN",
451 "POFF_COMPLETE",
452 "UFS0_VER_ID",
453 "FAST_POFF",
454 "DBU1_PON_DONE",
455 "AOSS_SLEEP",
456 "CAM_DES0_EN",
457 "CAM_DES1_EN",
458 "CAM_DES2_EN",
459 "CAM_DES3_EN",
460 "UEFI",
461 "ANALOG_PON_OPT";
462};
463
464&pmm8654au_1_gpios {
465 gpio-line-names = "PMIC_C_ID0",
466 "PMIC_C_ID1",
467 "UFS1_VER_ID",
468 "IPA_PWR",
469 "",
470 "WLAN_DBU4_EN",
471 "WLAN_EN",
472 "BT_EN",
473 "USB2_PWR_EN",
474 "USB2_FAULT";
475
476 usb2_en_state: usb2-en-state {
477 pins = "gpio9";
478 function = "normal";
479 output-high;
480 power-source = <0>;
481 };
482};
483
484&pmm8654au_2_gpios {
485 gpio-line-names = "PMIC_E_ID0",
486 "PMIC_E_ID1",
487 "USB0_PWR_EN",
488 "USB0_FAULT",
489 "SENSOR_IRQ_1",
490 "SENSOR_IRQ_2",
491 "SENSOR_RST",
492 "SGMIIO0_RST",
493 "SGMIIO1_RST",
494 "USB1_PWR_ENABLE",
495 "USB1_FAULT",
496 "VMON_SPX8";
497
498 usb0_en_state: usb0-en-state {
499 pins = "gpio3";
500 function = "normal";
501 output-high;
502 power-source = <0>;
503 };
504
505 usb1_en_state: usb1-en-state {
506 pins = "gpio10";
507 function = "normal";
508 output-high;
509 power-source = <0>;
510 };
511};
512
513&pmm8654au_3_gpios {
514 gpio-line-names = "PMIC_G_ID0",
515 "PMIC_G_ID1",
516 "GNSS_RST",
517 "GNSS_EN",
518 "GNSS_BOOT_MODE";
519};
520
521&qupv3_id_1 {
522 status = "okay";
523};
524
525&qupv3_id_2 {
526 status = "okay";
527};
528
529&serdes0 {
530 phy-supply = <&vreg_l5a>;
531 status = "okay";
532};
533
534&serdes1 {
535 phy-supply = <&vreg_l5a>;
536 status = "okay";
537};
538
539&sleep_clk {
540 clock-frequency = <32764>;
541};
542
543&spi16 {
544 pinctrl-0 = <&qup_spi16_default>;
545 pinctrl-names = "default";
546 status = "okay";
547};
548
549&tlmm {
550 ethernet0_default: ethernet0-default-state {
551 ethernet0_mdc: ethernet0-mdc-pins {
552 pins = "gpio8";
553 function = "emac0_mdc";
554 drive-strength = <16>;
555 bias-pull-up;
556 };
557
558 ethernet0_mdio: ethernet0-mdio-pins {
559 pins = "gpio9";
560 function = "emac0_mdio";
561 drive-strength = <16>;
562 bias-pull-up;
563 };
564 };
565
566 qup_uart10_default: qup-uart10-state {
567 pins = "gpio46", "gpio47";
568 function = "qup1_se3";
569 };
570
571 qup_spi16_default: qup-spi16-state {
572 pins = "gpio86", "gpio87", "gpio88", "gpio89";
573 function = "qup2_se2";
574 drive-strength = <6>;
575 bias-disable;
576 };
577
578 qup_i2c11_default: qup-i2c11-state {
579 pins = "gpio48", "gpio49";
580 function = "qup1_se4";
581 drive-strength = <2>;
582 bias-pull-up;
583 };
584
585 qup_i2c18_default: qup-i2c18-state {
586 pins = "gpio95", "gpio96";
587 function = "qup2_se4";
588 drive-strength = <2>;
589 bias-pull-up;
590 };
591
592 qup_uart12_default: qup-uart12-state {
593 qup_uart12_cts: qup-uart12-cts-pins {
594 pins = "gpio52";
595 function = "qup1_se5";
596 bias-disable;
597 };
598
599 qup_uart12_rts: qup-uart12-rts-pins {
600 pins = "gpio53";
601 function = "qup1_se5";
602 bias-pull-down;
603 };
604
605 qup_uart12_tx: qup-uart12-tx-pins {
606 pins = "gpio54";
607 function = "qup1_se5";
608 bias-pull-up;
609 };
610
611 qup_uart12_rx: qup-uart12-rx-pins {
612 pins = "gpio55";
613 function = "qup1_se5";
614 bias-pull-down;
615 };
616 };
617
618 qup_uart17_default: qup-uart17-state {
619 qup_uart17_cts: qup-uart17-cts-pins {
620 pins = "gpio91";
621 function = "qup2_se3";
622 bias-disable;
623 };
624
625 qup_uart17_rts: qup0-uart17-rts-pins {
626 pins = "gpio92";
627 function = "qup2_se3";
628 bias-pull-down;
629 };
630
631 qup_uart17_tx: qup0-uart17-tx-pins {
632 pins = "gpio93";
633 function = "qup2_se3";
634 bias-pull-up;
635 };
636
637 qup_uart17_rx: qup0-uart17-rx-pins {
638 pins = "gpio94";
639 function = "qup2_se3";
640 bias-pull-down;
641 };
642 };
643
644 pcie0_default_state: pcie0-default-state {
645 perst-pins {
646 pins = "gpio2";
647 function = "gpio";
648 drive-strength = <2>;
649 bias-pull-down;
650 };
651
652 clkreq-pins {
653 pins = "gpio1";
654 function = "pcie0_clkreq";
655 drive-strength = <2>;
656 bias-pull-up;
657 };
658
659 wake-pins {
660 pins = "gpio0";
661 function = "gpio";
662 drive-strength = <2>;
663 bias-pull-up;
664 };
665 };
666
667 pcie1_default_state: pcie1-default-state {
668 perst-pins {
669 pins = "gpio4";
670 function = "gpio";
671 drive-strength = <2>;
672 bias-pull-down;
673 };
674
675 clkreq-pins {
676 pins = "gpio3";
677 function = "pcie1_clkreq";
678 drive-strength = <2>;
679 bias-pull-up;
680 };
681
682 wake-pins {
683 pins = "gpio5";
684 function = "gpio";
685 drive-strength = <2>;
686 bias-pull-up;
687 };
688 };
689};
690
691&pcie0 {
692 perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
693 wake-gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
694
695 pinctrl-names = "default";
696 pinctrl-0 = <&pcie0_default_state>;
697
698 status = "okay";
699};
700
701&pcie1 {
702 perst-gpios = <&tlmm 4 GPIO_ACTIVE_LOW>;
703 wake-gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>;
704
705 pinctrl-names = "default";
706 pinctrl-0 = <&pcie1_default_state>;
707
708 status = "okay";
709};
710
711&pcie0_phy {
712 vdda-phy-supply = <&vreg_l5a>;
713 vdda-pll-supply = <&vreg_l1c>;
714
715 status = "okay";
716};
717
718&pcie1_phy {
719 vdda-phy-supply = <&vreg_l5a>;
720 vdda-pll-supply = <&vreg_l1c>;
721
722 status = "okay";
723};
724
725&uart10 {
726 compatible = "qcom,geni-debug-uart";
727 pinctrl-0 = <&qup_uart10_default>;
728 pinctrl-names = "default";
729 status = "okay";
730};
731
732&uart12 {
733 pinctrl-0 = <&qup_uart12_default>;
734 pinctrl-names = "default";
735 status = "okay";
736};
737
738&uart17 {
739 pinctrl-0 = <&qup_uart17_default>;
740 pinctrl-names = "default";
741 status = "okay";
742};
743
744&ufs_mem_hc {
745 reset-gpios = <&tlmm 149 GPIO_ACTIVE_LOW>;
746 vcc-supply = <&vreg_l8a>;
747 vcc-max-microamp = <1100000>;
748 vccq-supply = <&vreg_l4c>;
749 vccq-max-microamp = <1200000>;
750
751 status = "okay";
752};
753
754&ufs_mem_phy {
755 vdda-phy-supply = <&vreg_l4a>;
756 vdda-pll-supply = <&vreg_l1c>;
757
758 status = "okay";
759};
760
761&usb_0 {
762 pinctrl-names = "default";
763 pinctrl-0 = <&usb0_en_state>;
764
765 status = "okay";
766};
767
768&usb_0_dwc3 {
769 dr_mode = "peripheral";
770};
771
772&usb_0_hsphy {
773 vdda-pll-supply = <&vreg_l7a>;
774 vdda18-supply = <&vreg_l6c>;
775 vdda33-supply = <&vreg_l9a>;
776
777 status = "okay";
778};
779
780&usb_0_qmpphy {
781 vdda-phy-supply = <&vreg_l1c>;
782 vdda-pll-supply = <&vreg_l7a>;
783
784 status = "okay";
785};
786
787&usb_1 {
788 pinctrl-names = "default";
789 pinctrl-0 = <&usb1_en_state>;
790
791 status = "okay";
792};
793
794&usb_1_dwc3 {
795 dr_mode = "host";
796};
797
798&usb_1_hsphy {
799 vdda-pll-supply = <&vreg_l7a>;
800 vdda18-supply = <&vreg_l6c>;
801 vdda33-supply = <&vreg_l9a>;
802
803 status = "okay";
804};
805
806&usb_1_qmpphy {
807 vdda-phy-supply = <&vreg_l1c>;
808 vdda-pll-supply = <&vreg_l7a>;
809
810 status = "okay";
811};
812
813&usb_2 {
814 pinctrl-names = "default";
815 pinctrl-0 = <&usb2_en_state>;
816
817 status = "okay";
818};
819
820&usb_2_dwc3 {
821 dr_mode = "host";
822};
823
824&usb_2_hsphy {
825 vdda-pll-supply = <&vreg_l7a>;
826 vdda18-supply = <&vreg_l6c>;
827 vdda33-supply = <&vreg_l9a>;
828
829 status = "okay";
830};
831
832&xo_board_clk {
833 clock-frequency = <38400000>;
834};