blob: 966bbc582d89b89c0c4847132ce789d6af1cb847 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2
3/dts-v1/;
4
5#include <dt-bindings/gpio/gpio.h>
6#include <dt-bindings/leds/common.h>
7#include "rk3588.dtsi"
8
9/ {
Tom Rini762f85b2024-07-20 11:15:10 -060010 model = "Radxa ROCK 5B";
Tom Rini53633a82024-02-29 12:33:36 -050011 compatible = "radxa,rock-5b", "rockchip,rk3588";
12
13 aliases {
14 mmc0 = &sdhci;
15 mmc1 = &sdmmc;
16 mmc2 = &sdio;
Tom Rini53633a82024-02-29 12:33:36 -050017 };
18
19 chosen {
20 stdout-path = "serial2:1500000n8";
21 };
22
23 analog-sound {
24 compatible = "audio-graph-card";
25 label = "rk3588-es8316";
26
27 widgets = "Microphone", "Mic Jack",
28 "Headphone", "Headphones";
29
30 routing = "MIC2", "Mic Jack",
31 "Headphones", "HPOL",
32 "Headphones", "HPOR";
33
34 dais = <&i2s0_8ch_p0>;
35 hp-det-gpio = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>;
36 pinctrl-names = "default";
37 pinctrl-0 = <&hp_detect>;
38 };
39
40 leds {
41 compatible = "gpio-leds";
42 pinctrl-names = "default";
43 pinctrl-0 = <&led_rgb_b>;
44
45 led_rgb_b {
46 function = LED_FUNCTION_STATUS;
47 color = <LED_COLOR_ID_BLUE>;
48 gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>;
49 linux,default-trigger = "heartbeat";
50 };
51 };
52
53 fan: pwm-fan {
54 compatible = "pwm-fan";
Tom Rini6b642ac2024-10-01 12:20:28 -060055 cooling-levels = <0 120 150 180 210 240 255>;
Tom Rini53633a82024-02-29 12:33:36 -050056 fan-supply = <&vcc5v0_sys>;
57 pwms = <&pwm1 0 50000 0>;
58 #cooling-cells = <2>;
59 };
60
Tom Rini6bb92fc2024-05-20 09:54:58 -060061 rfkill {
62 compatible = "rfkill-gpio";
63 label = "rfkill-pcie-wlan";
64 radio-type = "wlan";
65 shutdown-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>;
66 };
67
Tom Rini6b642ac2024-10-01 12:20:28 -060068 rfkill-bt {
69 compatible = "rfkill-gpio";
70 label = "rfkill-m2-bt";
71 radio-type = "bluetooth";
72 shutdown-gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>;
73 };
74
Tom Rini53633a82024-02-29 12:33:36 -050075 vcc3v3_pcie2x1l0: vcc3v3-pcie2x1l0-regulator {
76 compatible = "regulator-fixed";
77 enable-active-high;
78 gpios = <&gpio1 RK_PD2 GPIO_ACTIVE_HIGH>;
79 pinctrl-names = "default";
80 pinctrl-0 = <&pcie2_0_vcc3v3_en>;
81 regulator-name = "vcc3v3_pcie2x1l0";
82 regulator-always-on;
83 regulator-boot-on;
84 regulator-min-microvolt = <3300000>;
85 regulator-max-microvolt = <3300000>;
86 startup-delay-us = <50000>;
87 vin-supply = <&vcc5v0_sys>;
88 };
89
90 vcc3v3_pcie2x1l2: vcc3v3-pcie2x1l2-regulator {
91 compatible = "regulator-fixed";
92 regulator-name = "vcc3v3_pcie2x1l2";
93 regulator-min-microvolt = <3300000>;
94 regulator-max-microvolt = <3300000>;
95 startup-delay-us = <5000>;
96 vin-supply = <&vcc_3v3_s3>;
97 };
98
99 vcc3v3_pcie30: vcc3v3-pcie30-regulator {
100 compatible = "regulator-fixed";
101 enable-active-high;
102 gpios = <&gpio1 RK_PA4 GPIO_ACTIVE_HIGH>;
103 pinctrl-names = "default";
104 pinctrl-0 = <&pcie3_vcc3v3_en>;
105 regulator-name = "vcc3v3_pcie30";
106 regulator-min-microvolt = <3300000>;
107 regulator-max-microvolt = <3300000>;
108 startup-delay-us = <5000>;
109 vin-supply = <&vcc5v0_sys>;
110 };
111
112 vcc5v0_host: vcc5v0-host-regulator {
113 compatible = "regulator-fixed";
114 regulator-name = "vcc5v0_host";
115 regulator-boot-on;
116 regulator-always-on;
117 regulator-min-microvolt = <5000000>;
118 regulator-max-microvolt = <5000000>;
119 enable-active-high;
120 gpio = <&gpio4 RK_PB0 GPIO_ACTIVE_HIGH>;
121 pinctrl-names = "default";
122 pinctrl-0 = <&vcc5v0_host_en>;
123 vin-supply = <&vcc5v0_sys>;
124 };
125
126 vcc5v0_sys: vcc5v0-sys-regulator {
127 compatible = "regulator-fixed";
128 regulator-name = "vcc5v0_sys";
129 regulator-always-on;
130 regulator-boot-on;
131 regulator-min-microvolt = <5000000>;
132 regulator-max-microvolt = <5000000>;
133 };
134
135 vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator {
136 compatible = "regulator-fixed";
137 regulator-name = "vcc_1v1_nldo_s3";
138 regulator-always-on;
139 regulator-boot-on;
140 regulator-min-microvolt = <1100000>;
141 regulator-max-microvolt = <1100000>;
142 vin-supply = <&vcc5v0_sys>;
143 };
144};
145
146&combphy0_ps {
147 status = "okay";
148};
149
150&combphy1_ps {
151 status = "okay";
152};
153
Tom Rini93743d22024-04-01 09:08:13 -0400154&combphy2_psu {
155 status = "okay";
156};
157
Tom Rini53633a82024-02-29 12:33:36 -0500158&cpu_b0 {
159 cpu-supply = <&vdd_cpu_big0_s0>;
160};
161
162&cpu_b1 {
163 cpu-supply = <&vdd_cpu_big0_s0>;
164};
165
166&cpu_b2 {
167 cpu-supply = <&vdd_cpu_big1_s0>;
168};
169
170&cpu_b3 {
171 cpu-supply = <&vdd_cpu_big1_s0>;
172};
173
174&cpu_l0 {
175 cpu-supply = <&vdd_cpu_lit_s0>;
176};
177
178&cpu_l1 {
179 cpu-supply = <&vdd_cpu_lit_s0>;
180};
181
182&cpu_l2 {
183 cpu-supply = <&vdd_cpu_lit_s0>;
184};
185
186&cpu_l3 {
187 cpu-supply = <&vdd_cpu_lit_s0>;
188};
189
Tom Rini762f85b2024-07-20 11:15:10 -0600190&gpu {
191 mali-supply = <&vdd_gpu_s0>;
192 status = "okay";
193};
194
Tom Rini53633a82024-02-29 12:33:36 -0500195&i2c0 {
196 pinctrl-names = "default";
197 pinctrl-0 = <&i2c0m2_xfer>;
198 status = "okay";
199
200 vdd_cpu_big0_s0: regulator@42 {
201 compatible = "rockchip,rk8602";
202 reg = <0x42>;
203 fcs,suspend-voltage-selector = <1>;
204 regulator-name = "vdd_cpu_big0_s0";
205 regulator-always-on;
206 regulator-boot-on;
207 regulator-min-microvolt = <550000>;
208 regulator-max-microvolt = <1050000>;
209 regulator-ramp-delay = <2300>;
210 vin-supply = <&vcc5v0_sys>;
211
212 regulator-state-mem {
213 regulator-off-in-suspend;
214 };
215 };
216
217 vdd_cpu_big1_s0: regulator@43 {
218 compatible = "rockchip,rk8603", "rockchip,rk8602";
219 reg = <0x43>;
220 fcs,suspend-voltage-selector = <1>;
221 regulator-name = "vdd_cpu_big1_s0";
222 regulator-always-on;
223 regulator-boot-on;
224 regulator-min-microvolt = <550000>;
225 regulator-max-microvolt = <1050000>;
226 regulator-ramp-delay = <2300>;
227 vin-supply = <&vcc5v0_sys>;
228
229 regulator-state-mem {
230 regulator-off-in-suspend;
231 };
232 };
233};
234
235&i2c6 {
236 status = "okay";
237
238 hym8563: rtc@51 {
239 compatible = "haoyu,hym8563";
240 reg = <0x51>;
241 #clock-cells = <0>;
242 clock-output-names = "hym8563";
243 pinctrl-names = "default";
244 pinctrl-0 = <&hym8563_int>;
245 interrupt-parent = <&gpio0>;
246 interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>;
247 wakeup-source;
248 };
249};
250
251&i2c7 {
252 status = "okay";
253
254 es8316: audio-codec@11 {
255 compatible = "everest,es8316";
256 reg = <0x11>;
257 clocks = <&cru I2S0_8CH_MCLKOUT>;
258 clock-names = "mclk";
259 assigned-clocks = <&cru I2S0_8CH_MCLKOUT>;
260 assigned-clock-rates = <12288000>;
261 #sound-dai-cells = <0>;
262
263 port {
264 es8316_p0_0: endpoint {
265 remote-endpoint = <&i2s0_8ch_p0_0>;
266 };
267 };
268 };
269};
270
271&i2s0_8ch {
272 pinctrl-names = "default";
273 pinctrl-0 = <&i2s0_lrck
274 &i2s0_mclk
275 &i2s0_sclk
276 &i2s0_sdi0
277 &i2s0_sdo0>;
278 status = "okay";
279
280 i2s0_8ch_p0: port {
281 i2s0_8ch_p0_0: endpoint {
282 dai-format = "i2s";
283 mclk-fs = <256>;
284 remote-endpoint = <&es8316_p0_0>;
285 };
286 };
287};
288
Tom Rini6b642ac2024-10-01 12:20:28 -0600289&package_thermal {
290 polling-delay = <1000>;
291
292 trips {
293 package_fan0: package-fan0 {
294 temperature = <55000>;
295 hysteresis = <2000>;
296 type = "active";
297 };
298
299 package_fan1: package-fan1 {
300 temperature = <65000>;
301 hysteresis = <2000>;
302 type = "active";
303 };
304 };
305
306 cooling-maps {
307 map1 {
308 trip = <&package_fan0>;
309 cooling-device = <&fan THERMAL_NO_LIMIT 1>;
310 };
311
312 map2 {
313 trip = <&package_fan1>;
314 cooling-device = <&fan 2 THERMAL_NO_LIMIT>;
315 };
316 };
317};
318
Tom Rini53633a82024-02-29 12:33:36 -0500319&pcie2x1l0 {
320 pinctrl-names = "default";
321 pinctrl-0 = <&pcie2_0_rst>;
322 reset-gpios = <&gpio4 RK_PA5 GPIO_ACTIVE_HIGH>;
323 vpcie3v3-supply = <&vcc3v3_pcie2x1l0>;
324 status = "okay";
325};
326
327&pcie2x1l2 {
328 pinctrl-names = "default";
329 pinctrl-0 = <&pcie2_2_rst>;
330 reset-gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_HIGH>;
331 vpcie3v3-supply = <&vcc3v3_pcie2x1l2>;
332 status = "okay";
333};
334
335&pcie30phy {
336 status = "okay";
337};
338
339&pcie3x4 {
340 pinctrl-names = "default";
341 pinctrl-0 = <&pcie3_rst>;
342 reset-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>;
343 vpcie3v3-supply = <&vcc3v3_pcie30>;
344 status = "okay";
345};
346
347&pinctrl {
348 hym8563 {
349 hym8563_int: hym8563-int {
350 rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
351 };
352 };
353
354 leds {
355 led_rgb_b: led-rgb-b {
356 rockchip,pins = <0 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
357 };
358 };
359
360 sound {
361 hp_detect: hp-detect {
362 rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
363 };
364 };
365
366 pcie2 {
367 pcie2_0_rst: pcie2-0-rst {
368 rockchip,pins = <4 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
369 };
370
371 pcie2_0_vcc3v3_en: pcie2-0-vcc-en {
372 rockchip,pins = <1 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
373 };
374
375 pcie2_2_rst: pcie2-2-rst {
376 rockchip,pins = <3 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
377 };
378 };
379
380 pcie3 {
381 pcie3_rst: pcie3-rst {
382 rockchip,pins = <4 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;
383 };
384
385 pcie3_vcc3v3_en: pcie3-vcc3v3-en {
386 rockchip,pins = <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
387 };
388 };
389
390 usb {
391 vcc5v0_host_en: vcc5v0-host-en {
392 rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
393 };
394 };
395};
396
397&pwm1 {
398 status = "okay";
399};
400
401&saradc {
402 vref-supply = <&avcc_1v8_s0>;
403 status = "okay";
404};
405
406&sdhci {
407 bus-width = <8>;
408 no-sdio;
409 no-sd;
410 non-removable;
411 mmc-hs400-1_8v;
412 mmc-hs400-enhanced-strobe;
413 status = "okay";
414};
415
416&sdmmc {
417 max-frequency = <200000000>;
418 no-sdio;
419 no-mmc;
420 bus-width = <4>;
421 cap-mmc-highspeed;
422 cap-sd-highspeed;
Tom Rini762f85b2024-07-20 11:15:10 -0600423 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
Tom Rini53633a82024-02-29 12:33:36 -0500424 disable-wp;
425 sd-uhs-sdr104;
426 vmmc-supply = <&vcc_3v3_s3>;
427 vqmmc-supply = <&vccio_sd_s0>;
428 status = "okay";
429};
430
431&sdio {
432 max-frequency = <200000000>;
433 no-sd;
434 no-mmc;
435 non-removable;
436 bus-width = <4>;
437 cap-sdio-irq;
438 disable-wp;
439 keep-power-in-suspend;
440 wakeup-source;
441 sd-uhs-sdr12;
442 sd-uhs-sdr25;
443 sd-uhs-sdr50;
444 sd-uhs-sdr104;
445 vmmc-supply = <&vcc3v3_pcie2x1l0>;
446 vqmmc-supply = <&vcc_1v8_s3>;
447 pinctrl-names = "default";
448 pinctrl-0 = <&sdiom0_pins>;
449 status = "okay";
Tom Rini6b642ac2024-10-01 12:20:28 -0600450};
451
452&sfc {
453 pinctrl-names = "default";
454 pinctrl-0 = <&fspim2_pins>;
455 status = "okay";
456
457 flash@0 {
458 compatible = "jedec,spi-nor";
459 reg = <0>;
460 spi-max-frequency = <104000000>;
461 spi-rx-bus-width = <4>;
462 spi-tx-bus-width = <1>;
463 };
Tom Rini53633a82024-02-29 12:33:36 -0500464};
465
466&uart6 {
467 pinctrl-names = "default";
468 pinctrl-0 = <&uart6m1_xfer &uart6m1_ctsn &uart6m1_rtsn>;
469 status = "okay";
470};
471
472&spi2 {
473 status = "okay";
474 assigned-clocks = <&cru CLK_SPI2>;
475 assigned-clock-rates = <200000000>;
476 pinctrl-names = "default";
477 pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>;
478 num-cs = <1>;
479
480 pmic@0 {
481 compatible = "rockchip,rk806";
482 spi-max-frequency = <1000000>;
483 reg = <0x0>;
484
485 interrupt-parent = <&gpio0>;
486 interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
487
488 pinctrl-names = "default";
489 pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
490 <&rk806_dvs2_null>, <&rk806_dvs3_null>;
491
Tom Rini93743d22024-04-01 09:08:13 -0400492 system-power-controller;
493
Tom Rini53633a82024-02-29 12:33:36 -0500494 vcc1-supply = <&vcc5v0_sys>;
495 vcc2-supply = <&vcc5v0_sys>;
496 vcc3-supply = <&vcc5v0_sys>;
497 vcc4-supply = <&vcc5v0_sys>;
498 vcc5-supply = <&vcc5v0_sys>;
499 vcc6-supply = <&vcc5v0_sys>;
500 vcc7-supply = <&vcc5v0_sys>;
501 vcc8-supply = <&vcc5v0_sys>;
502 vcc9-supply = <&vcc5v0_sys>;
503 vcc10-supply = <&vcc5v0_sys>;
504 vcc11-supply = <&vcc_2v0_pldo_s3>;
505 vcc12-supply = <&vcc5v0_sys>;
506 vcc13-supply = <&vcc_1v1_nldo_s3>;
507 vcc14-supply = <&vcc_1v1_nldo_s3>;
508 vcca-supply = <&vcc5v0_sys>;
509
510 gpio-controller;
511 #gpio-cells = <2>;
512
513 rk806_dvs1_null: dvs1-null-pins {
Tom Rini93743d22024-04-01 09:08:13 -0400514 pins = "gpio_pwrctrl1";
Tom Rini53633a82024-02-29 12:33:36 -0500515 function = "pin_fun0";
516 };
517
518 rk806_dvs2_null: dvs2-null-pins {
519 pins = "gpio_pwrctrl2";
520 function = "pin_fun0";
521 };
522
523 rk806_dvs3_null: dvs3-null-pins {
524 pins = "gpio_pwrctrl3";
525 function = "pin_fun0";
526 };
527
528 regulators {
529 vdd_gpu_s0: vdd_gpu_mem_s0: dcdc-reg1 {
530 regulator-boot-on;
531 regulator-min-microvolt = <550000>;
532 regulator-max-microvolt = <950000>;
533 regulator-ramp-delay = <12500>;
534 regulator-name = "vdd_gpu_s0";
535 regulator-enable-ramp-delay = <400>;
536
537 regulator-state-mem {
538 regulator-off-in-suspend;
539 };
540 };
541
542 vdd_cpu_lit_s0: vdd_cpu_lit_mem_s0: dcdc-reg2 {
543 regulator-always-on;
544 regulator-boot-on;
545 regulator-min-microvolt = <550000>;
546 regulator-max-microvolt = <950000>;
547 regulator-ramp-delay = <12500>;
548 regulator-name = "vdd_cpu_lit_s0";
549
550 regulator-state-mem {
551 regulator-off-in-suspend;
552 };
553 };
554
555 vdd_log_s0: dcdc-reg3 {
556 regulator-always-on;
557 regulator-boot-on;
558 regulator-min-microvolt = <675000>;
559 regulator-max-microvolt = <750000>;
560 regulator-ramp-delay = <12500>;
561 regulator-name = "vdd_log_s0";
562
563 regulator-state-mem {
564 regulator-off-in-suspend;
565 regulator-suspend-microvolt = <750000>;
566 };
567 };
568
569 vdd_vdenc_s0: vdd_vdenc_mem_s0: dcdc-reg4 {
570 regulator-always-on;
571 regulator-boot-on;
572 regulator-min-microvolt = <550000>;
573 regulator-max-microvolt = <950000>;
574 regulator-ramp-delay = <12500>;
575 regulator-name = "vdd_vdenc_s0";
576
577 regulator-state-mem {
578 regulator-off-in-suspend;
579 };
580 };
581
582 vdd_ddr_s0: dcdc-reg5 {
583 regulator-always-on;
584 regulator-boot-on;
585 regulator-min-microvolt = <675000>;
586 regulator-max-microvolt = <900000>;
587 regulator-ramp-delay = <12500>;
588 regulator-name = "vdd_ddr_s0";
589
590 regulator-state-mem {
591 regulator-off-in-suspend;
592 regulator-suspend-microvolt = <850000>;
593 };
594 };
595
596 vdd2_ddr_s3: dcdc-reg6 {
597 regulator-always-on;
598 regulator-boot-on;
599 regulator-name = "vdd2_ddr_s3";
600
601 regulator-state-mem {
602 regulator-on-in-suspend;
603 };
604 };
605
606 vcc_2v0_pldo_s3: dcdc-reg7 {
607 regulator-always-on;
608 regulator-boot-on;
609 regulator-min-microvolt = <2000000>;
610 regulator-max-microvolt = <2000000>;
611 regulator-ramp-delay = <12500>;
612 regulator-name = "vdd_2v0_pldo_s3";
613
614 regulator-state-mem {
615 regulator-on-in-suspend;
616 regulator-suspend-microvolt = <2000000>;
617 };
618 };
619
620 vcc_3v3_s3: dcdc-reg8 {
621 regulator-always-on;
622 regulator-boot-on;
623 regulator-min-microvolt = <3300000>;
624 regulator-max-microvolt = <3300000>;
625 regulator-name = "vcc_3v3_s3";
626
627 regulator-state-mem {
628 regulator-on-in-suspend;
629 regulator-suspend-microvolt = <3300000>;
630 };
631 };
632
633 vddq_ddr_s0: dcdc-reg9 {
634 regulator-always-on;
635 regulator-boot-on;
636 regulator-name = "vddq_ddr_s0";
637
638 regulator-state-mem {
639 regulator-off-in-suspend;
640 };
641 };
642
643 vcc_1v8_s3: dcdc-reg10 {
644 regulator-always-on;
645 regulator-boot-on;
646 regulator-min-microvolt = <1800000>;
647 regulator-max-microvolt = <1800000>;
648 regulator-name = "vcc_1v8_s3";
649
650 regulator-state-mem {
651 regulator-on-in-suspend;
652 regulator-suspend-microvolt = <1800000>;
653 };
654 };
655
656 avcc_1v8_s0: pldo-reg1 {
657 regulator-always-on;
658 regulator-boot-on;
659 regulator-min-microvolt = <1800000>;
660 regulator-max-microvolt = <1800000>;
661 regulator-name = "avcc_1v8_s0";
662
663 regulator-state-mem {
664 regulator-off-in-suspend;
665 };
666 };
667
668 vcc_1v8_s0: pldo-reg2 {
669 regulator-always-on;
670 regulator-boot-on;
671 regulator-min-microvolt = <1800000>;
672 regulator-max-microvolt = <1800000>;
673 regulator-name = "vcc_1v8_s0";
674
675 regulator-state-mem {
676 regulator-off-in-suspend;
677 regulator-suspend-microvolt = <1800000>;
678 };
679 };
680
681 avdd_1v2_s0: pldo-reg3 {
682 regulator-always-on;
683 regulator-boot-on;
684 regulator-min-microvolt = <1200000>;
685 regulator-max-microvolt = <1200000>;
686 regulator-name = "avdd_1v2_s0";
687
688 regulator-state-mem {
689 regulator-off-in-suspend;
690 };
691 };
692
693 vcc_3v3_s0: pldo-reg4 {
694 regulator-always-on;
695 regulator-boot-on;
696 regulator-min-microvolt = <3300000>;
697 regulator-max-microvolt = <3300000>;
698 regulator-ramp-delay = <12500>;
699 regulator-name = "vcc_3v3_s0";
700
701 regulator-state-mem {
702 regulator-off-in-suspend;
703 };
704 };
705
706 vccio_sd_s0: pldo-reg5 {
707 regulator-always-on;
708 regulator-boot-on;
709 regulator-min-microvolt = <1800000>;
710 regulator-max-microvolt = <3300000>;
711 regulator-ramp-delay = <12500>;
712 regulator-name = "vccio_sd_s0";
713
714 regulator-state-mem {
715 regulator-off-in-suspend;
716 };
717 };
718
719 pldo6_s3: pldo-reg6 {
720 regulator-always-on;
721 regulator-boot-on;
722 regulator-min-microvolt = <1800000>;
723 regulator-max-microvolt = <1800000>;
724 regulator-name = "pldo6_s3";
725
726 regulator-state-mem {
727 regulator-on-in-suspend;
728 regulator-suspend-microvolt = <1800000>;
729 };
730 };
731
732 vdd_0v75_s3: nldo-reg1 {
733 regulator-always-on;
734 regulator-boot-on;
735 regulator-min-microvolt = <750000>;
736 regulator-max-microvolt = <750000>;
737 regulator-name = "vdd_0v75_s3";
738
739 regulator-state-mem {
740 regulator-on-in-suspend;
741 regulator-suspend-microvolt = <750000>;
742 };
743 };
744
745 vdd_ddr_pll_s0: nldo-reg2 {
746 regulator-always-on;
747 regulator-boot-on;
748 regulator-min-microvolt = <850000>;
749 regulator-max-microvolt = <850000>;
750 regulator-name = "vdd_ddr_pll_s0";
751
752 regulator-state-mem {
753 regulator-off-in-suspend;
754 regulator-suspend-microvolt = <850000>;
755 };
756 };
757
758 avdd_0v75_s0: nldo-reg3 {
759 regulator-always-on;
760 regulator-boot-on;
761 regulator-min-microvolt = <750000>;
762 regulator-max-microvolt = <750000>;
763 regulator-name = "avdd_0v75_s0";
764
765 regulator-state-mem {
766 regulator-off-in-suspend;
767 };
768 };
769
770 vdd_0v85_s0: nldo-reg4 {
771 regulator-always-on;
772 regulator-boot-on;
773 regulator-min-microvolt = <850000>;
774 regulator-max-microvolt = <850000>;
775 regulator-name = "vdd_0v85_s0";
776
777 regulator-state-mem {
778 regulator-off-in-suspend;
779 };
780 };
781
782 vdd_0v75_s0: nldo-reg5 {
783 regulator-always-on;
784 regulator-boot-on;
785 regulator-min-microvolt = <750000>;
786 regulator-max-microvolt = <750000>;
787 regulator-name = "vdd_0v75_s0";
788
789 regulator-state-mem {
790 regulator-off-in-suspend;
791 };
792 };
793 };
794 };
795};
796
Tom Rini6b642ac2024-10-01 12:20:28 -0600797&tsadc {
798 status = "okay";
799};
800
Tom Rini53633a82024-02-29 12:33:36 -0500801&uart2 {
802 pinctrl-0 = <&uart2m0_xfer>;
803 status = "okay";
804};
805
Tom Rini762f85b2024-07-20 11:15:10 -0600806&u2phy1 {
807 status = "okay";
808};
809
810&u2phy1_otg {
811 status = "okay";
812};
813
Tom Rini53633a82024-02-29 12:33:36 -0500814&u2phy2 {
815 status = "okay";
816};
817
818&u2phy2_host {
819 /* connected to USB hub, which is powered by vcc5v0_sys */
820 phy-supply = <&vcc5v0_sys>;
821 status = "okay";
822};
823
824&u2phy3 {
825 status = "okay";
826};
827
828&u2phy3_host {
829 phy-supply = <&vcc5v0_host>;
830 status = "okay";
831};
832
Tom Rini762f85b2024-07-20 11:15:10 -0600833&usbdp_phy1 {
834 status = "okay";
835};
836
Tom Rini53633a82024-02-29 12:33:36 -0500837&usb_host0_ehci {
838 status = "okay";
839};
840
841&usb_host0_ohci {
842 status = "okay";
843};
844
845&usb_host1_ehci {
846 status = "okay";
847};
848
849&usb_host1_ohci {
850 status = "okay";
851};
Tom Rini93743d22024-04-01 09:08:13 -0400852
Tom Rini762f85b2024-07-20 11:15:10 -0600853&usb_host1_xhci {
854 dr_mode = "host";
855 status = "okay";
856};
857
Tom Rini93743d22024-04-01 09:08:13 -0400858&usb_host2_xhci {
859 status = "okay";
860};