]> git.ipfire.org Git - thirdparty/u-boot.git/blob - src/arm64/rockchip/rk3588-nanopc-t6.dts
Squashed 'dts/upstream/' content from commit aaba2d45dc2a
[thirdparty/u-boot.git] / src / arm64 / rockchip / rk3588-nanopc-t6.dts
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 /*
3 * Copyright (c) 2021 Rockchip Electronics Co., Ltd.
4 * Copyright (c) 2023 Thomas McKahan
5 *
6 */
7
8 /dts-v1/;
9
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/pinctrl/rockchip.h>
12 #include <dt-bindings/usb/pd.h>
13 #include "rk3588.dtsi"
14
15 / {
16 model = "FriendlyElec NanoPC-T6";
17 compatible = "friendlyarm,nanopc-t6", "rockchip,rk3588";
18
19 aliases {
20 mmc0 = &sdhci;
21 mmc1 = &sdmmc;
22 serial2 = &uart2;
23 };
24
25 chosen {
26 stdout-path = "serial2:1500000n8";
27 };
28
29 leds {
30 compatible = "gpio-leds";
31
32 sys_led: led-0 {
33 gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>;
34 label = "system-led";
35 linux,default-trigger = "heartbeat";
36 pinctrl-names = "default";
37 pinctrl-0 = <&sys_led_pin>;
38 };
39
40 usr_led: led-1 {
41 gpios = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>;
42 label = "user-led";
43 pinctrl-names = "default";
44 pinctrl-0 = <&usr_led_pin>;
45 };
46 };
47
48 sound {
49 compatible = "simple-audio-card";
50 pinctrl-names = "default";
51 pinctrl-0 = <&hp_det>;
52
53 simple-audio-card,name = "realtek,rt5616-codec";
54 simple-audio-card,format = "i2s";
55 simple-audio-card,mclk-fs = <256>;
56
57 simple-audio-card,hp-det-gpio = <&gpio1 RK_PC4 GPIO_ACTIVE_LOW>;
58 simple-audio-card,hp-pin-name = "Headphones";
59
60 simple-audio-card,widgets =
61 "Headphone", "Headphones",
62 "Microphone", "Microphone Jack";
63 simple-audio-card,routing =
64 "Headphones", "HPOL",
65 "Headphones", "HPOR",
66 "MIC1", "Microphone Jack",
67 "Microphone Jack", "micbias1";
68
69 simple-audio-card,cpu {
70 sound-dai = <&i2s0_8ch>;
71 };
72 simple-audio-card,codec {
73 sound-dai = <&rt5616>;
74 };
75 };
76
77 vcc12v_dcin: vcc12v-dcin-regulator {
78 compatible = "regulator-fixed";
79 regulator-name = "vcc12v_dcin";
80 regulator-always-on;
81 regulator-boot-on;
82 regulator-min-microvolt = <12000000>;
83 regulator-max-microvolt = <12000000>;
84 };
85
86 /* vcc5v0_sys powers peripherals */
87 vcc5v0_sys: vcc5v0-sys-regulator {
88 compatible = "regulator-fixed";
89 regulator-name = "vcc5v0_sys";
90 regulator-always-on;
91 regulator-boot-on;
92 regulator-min-microvolt = <5000000>;
93 regulator-max-microvolt = <5000000>;
94 vin-supply = <&vcc12v_dcin>;
95 };
96
97 /* vcc4v0_sys powers the RK806, RK860's */
98 vcc4v0_sys: vcc4v0-sys-regulator {
99 compatible = "regulator-fixed";
100 regulator-name = "vcc4v0_sys";
101 regulator-always-on;
102 regulator-boot-on;
103 regulator-min-microvolt = <4000000>;
104 regulator-max-microvolt = <4000000>;
105 vin-supply = <&vcc12v_dcin>;
106 };
107
108 vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator {
109 compatible = "regulator-fixed";
110 regulator-name = "vcc-1v1-nldo-s3";
111 regulator-always-on;
112 regulator-boot-on;
113 regulator-min-microvolt = <1100000>;
114 regulator-max-microvolt = <1100000>;
115 vin-supply = <&vcc4v0_sys>;
116 };
117
118 vcc_3v3_pcie20: vcc3v3-pcie20-regulator {
119 compatible = "regulator-fixed";
120 regulator-name = "vcc_3v3_pcie20";
121 regulator-always-on;
122 regulator-boot-on;
123 regulator-min-microvolt = <3300000>;
124 regulator-max-microvolt = <3300000>;
125 vin-supply = <&vcc_3v3_s3>;
126 };
127
128 vbus5v0_typec: vbus5v0-typec-regulator {
129 compatible = "regulator-fixed";
130 enable-active-high;
131 gpio = <&gpio1 RK_PD2 GPIO_ACTIVE_HIGH>;
132 pinctrl-names = "default";
133 pinctrl-0 = <&typec5v_pwren>;
134 regulator-name = "vbus5v0_typec";
135 regulator-min-microvolt = <5000000>;
136 regulator-max-microvolt = <5000000>;
137 vin-supply = <&vcc5v0_sys>;
138 };
139
140 vcc3v3_pcie2x1l0: vcc3v3-pcie2x1l0-regulator {
141 compatible = "regulator-fixed";
142 enable-active-high;
143 gpio = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>;
144 pinctrl-names = "default";
145 pinctrl-0 = <&pcie_m2_1_pwren>;
146 regulator-name = "vcc3v3_pcie2x1l0";
147 regulator-min-microvolt = <3300000>;
148 regulator-max-microvolt = <3300000>;
149 vin-supply = <&vcc5v0_sys>;
150 };
151
152 vcc3v3_pcie30: vcc3v3-pcie30-regulator {
153 compatible = "regulator-fixed";
154 enable-active-high;
155 gpios = <&gpio2 RK_PC5 GPIO_ACTIVE_HIGH>;
156 pinctrl-names = "default";
157 pinctrl-0 = <&pcie_m2_0_pwren>;
158 regulator-name = "vcc3v3_pcie30";
159 regulator-min-microvolt = <3300000>;
160 regulator-max-microvolt = <3300000>;
161 vin-supply = <&vcc5v0_sys>;
162 };
163 };
164
165 &combphy0_ps {
166 status = "okay";
167 };
168
169 &combphy1_ps {
170 status = "okay";
171 };
172
173 &combphy2_psu {
174 status = "okay";
175 };
176
177 &cpu_l0 {
178 cpu-supply = <&vdd_cpu_lit_s0>;
179 };
180
181 &cpu_l1 {
182 cpu-supply = <&vdd_cpu_lit_s0>;
183 };
184
185 &cpu_l2 {
186 cpu-supply = <&vdd_cpu_lit_s0>;
187 };
188
189 &cpu_l3 {
190 cpu-supply = <&vdd_cpu_lit_s0>;
191 };
192
193 &cpu_b0{
194 cpu-supply = <&vdd_cpu_big0_s0>;
195 };
196
197 &cpu_b1{
198 cpu-supply = <&vdd_cpu_big0_s0>;
199 };
200
201 &cpu_b2{
202 cpu-supply = <&vdd_cpu_big1_s0>;
203 };
204
205 &cpu_b3{
206 cpu-supply = <&vdd_cpu_big1_s0>;
207 };
208
209 &gpio0 {
210 gpio-line-names = /* GPIO0 A0-A7 */
211 "", "", "", "",
212 "", "", "", "",
213 /* GPIO0 B0-B7 */
214 "", "", "", "",
215 "", "", "", "",
216 /* GPIO0 C0-C7 */
217 "", "", "", "",
218 "HEADER_10", "HEADER_08", "HEADER_32", "",
219 /* GPIO0 D0-D7 */
220 "", "", "", "",
221 "", "", "", "";
222 };
223
224 &gpio1 {
225 gpio-line-names = /* GPIO1 A0-A7 */
226 "HEADER_27", "HEADER_28", "", "",
227 "", "", "", "HEADER_15",
228 /* GPIO1 B0-B7 */
229 "HEADER_26", "HEADER_21", "HEADER_19", "HEADER_23",
230 "HEADER_24", "HEADER_22", "", "",
231 /* GPIO1 C0-C7 */
232 "", "", "", "",
233 "", "", "", "",
234 /* GPIO1 D0-D7 */
235 "", "", "", "",
236 "", "", "HEADER_05", "HEADER_03";
237 };
238
239 &gpio2 {
240 gpio-line-names = /* GPIO2 A0-A7 */
241 "", "", "", "",
242 "", "", "", "",
243 /* GPIO2 B0-B7 */
244 "", "", "", "",
245 "", "", "", "",
246 /* GPIO2 C0-C7 */
247 "", "CSI1_11", "CSI1_12", "",
248 "", "", "", "",
249 /* GPIO2 D0-D7 */
250 "", "", "", "",
251 "", "", "", "";
252 };
253
254 &gpio3 {
255 gpio-line-names = /* GPIO3 A0-A7 */
256 "HEADER_35", "HEADER_38", "HEADER_40", "HEADER_36",
257 "HEADER_37", "", "DSI0_12", "",
258 /* GPIO3 B0-B7 */
259 "HEADER_33", "DSI0_10", "HEADER_07", "HEADER_16",
260 "HEADER_18", "HEADER_29", "HEADER_31", "HEADER_12",
261 /* GPIO3 C0-C7 */
262 "DSI0_08", "DSI0_14", "HEADER_11", "HEADER_13",
263 "", "", "", "",
264 /* GPIO3 D0-D7 */
265 "", "", "", "",
266 "", "DSI1_10", "", "";
267 };
268
269 &gpio4 {
270 gpio-line-names = /* GPIO4 A0-A7 */
271 "DSI1_08", "DSI1_14", "", "DSI1_12",
272 "", "", "", "",
273 /* GPIO4 B0-B7 */
274 "", "", "", "",
275 "", "", "", "",
276 /* GPIO4 C0-C7 */
277 "", "", "", "",
278 "CSI0_11", "CSI0_12", "", "",
279 /* GPIO4 D0-D7 */
280 "", "", "", "",
281 "", "", "", "";
282 };
283
284 &i2c0 {
285 pinctrl-names = "default";
286 pinctrl-0 = <&i2c0m2_xfer>;
287 status = "okay";
288
289 vdd_cpu_big0_s0: regulator@42 {
290 compatible = "rockchip,rk8602";
291 reg = <0x42>;
292 fcs,suspend-voltage-selector = <1>;
293 regulator-name = "vdd_cpu_big0_s0";
294 regulator-always-on;
295 regulator-boot-on;
296 regulator-min-microvolt = <550000>;
297 regulator-max-microvolt = <1050000>;
298 regulator-ramp-delay = <2300>;
299 vin-supply = <&vcc4v0_sys>;
300
301 regulator-state-mem {
302 regulator-off-in-suspend;
303 };
304 };
305
306 vdd_cpu_big1_s0: regulator@43 {
307 compatible = "rockchip,rk8603", "rockchip,rk8602";
308 reg = <0x43>;
309 fcs,suspend-voltage-selector = <1>;
310 regulator-name = "vdd_cpu_big1_s0";
311 regulator-always-on;
312 regulator-boot-on;
313 regulator-min-microvolt = <550000>;
314 regulator-max-microvolt = <1050000>;
315 regulator-ramp-delay = <2300>;
316 vin-supply = <&vcc4v0_sys>;
317
318 regulator-state-mem {
319 regulator-off-in-suspend;
320 };
321 };
322 };
323
324 &i2c2 {
325 status = "okay";
326
327 vdd_npu_s0: regulator@42 {
328 compatible = "rockchip,rk8602";
329 reg = <0x42>;
330 rockchip,suspend-voltage-selector = <1>;
331 regulator-name = "vdd_npu_s0";
332 regulator-always-on;
333 regulator-boot-on;
334 regulator-min-microvolt = <550000>;
335 regulator-max-microvolt = <950000>;
336 regulator-ramp-delay = <2300>;
337 vin-supply = <&vcc4v0_sys>;
338
339 regulator-state-mem {
340 regulator-off-in-suspend;
341 };
342 };
343 };
344
345 &i2c6 {
346 clock-frequency = <200000>;
347 status = "okay";
348
349 fusb302: typec-portc@22 {
350 compatible = "fcs,fusb302";
351 reg = <0x22>;
352 interrupt-parent = <&gpio0>;
353 interrupts = <RK_PD3 IRQ_TYPE_LEVEL_LOW>;
354 pinctrl-0 = <&usbc0_int>;
355 pinctrl-names = "default";
356 vbus-supply = <&vbus5v0_typec>;
357
358 connector {
359 compatible = "usb-c-connector";
360 data-role = "dual";
361 label = "USB-C";
362 power-role = "dual";
363 try-power-role = "sink";
364 source-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)>;
365 sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
366 op-sink-microwatt = <1000000>;
367 };
368 };
369
370 hym8563: rtc@51 {
371 compatible = "haoyu,hym8563";
372 reg = <0x51>;
373 #clock-cells = <0>;
374 clock-output-names = "hym8563";
375 pinctrl-names = "default";
376 pinctrl-0 = <&hym8563_int>;
377 interrupt-parent = <&gpio0>;
378 interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>;
379 wakeup-source;
380 };
381 };
382
383 &i2c7 {
384 clock-frequency = <200000>;
385 status = "okay";
386
387 rt5616: codec@1b {
388 compatible = "realtek,rt5616";
389 reg = <0x1b>;
390 clocks = <&cru I2S0_8CH_MCLKOUT>;
391 clock-names = "mclk";
392 #sound-dai-cells = <0>;
393 assigned-clocks = <&cru I2S0_8CH_MCLKOUT>;
394 assigned-clock-rates = <12288000>;
395
396 port {
397 rt5616_p0_0: endpoint {
398 remote-endpoint = <&i2s0_8ch_p0_0>;
399 };
400 };
401 };
402
403 /* connected with MIPI-CSI1 */
404 };
405
406 &i2c8 {
407 pinctrl-0 = <&i2c8m2_xfer>;
408 };
409
410 &i2s0_8ch {
411 pinctrl-names = "default";
412 pinctrl-0 = <&i2s0_lrck
413 &i2s0_mclk
414 &i2s0_sclk
415 &i2s0_sdi0
416 &i2s0_sdo0>;
417 status = "okay";
418
419 i2s0_8ch_p0: port {
420 i2s0_8ch_p0_0: endpoint {
421 dai-format = "i2s";
422 mclk-fs = <256>;
423 remote-endpoint = <&rt5616_p0_0>;
424 };
425 };
426 };
427
428 &pcie2x1l0 {
429 reset-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>;
430 vpcie3v3-supply = <&vcc_3v3_pcie20>;
431 pinctrl-names = "default";
432 pinctrl-0 = <&pcie2_0_rst>;
433 status = "okay";
434 };
435
436 &pcie2x1l1 {
437 reset-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>;
438 vpcie3v3-supply = <&vcc3v3_pcie2x1l0>;
439 pinctrl-names = "default";
440 pinctrl-0 = <&pcie2_1_rst>;
441 status = "okay";
442 };
443
444 &pcie2x1l2 {
445 reset-gpios = <&gpio4 RK_PA4 GPIO_ACTIVE_HIGH>;
446 vpcie3v3-supply = <&vcc_3v3_pcie20>;
447 pinctrl-names = "default";
448 pinctrl-0 = <&pcie2_2_rst>;
449 status = "okay";
450 };
451
452 &pcie30phy {
453 status = "okay";
454 };
455
456 &pcie3x4 {
457 reset-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>;
458 vpcie3v3-supply = <&vcc3v3_pcie30>;
459 status = "okay";
460 };
461
462 &pinctrl {
463 gpio-leds {
464 sys_led_pin: sys-led-pin {
465 rockchip,pins = <2 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
466 };
467
468 usr_led_pin: usr-led-pin {
469 rockchip,pins = <2 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>;
470 };
471 };
472
473 headphone {
474 hp_det: hp-det {
475 rockchip,pins = <1 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>;
476 };
477 };
478
479 hym8563 {
480 hym8563_int: hym8563-int {
481 rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>;
482 };
483 };
484
485 pcie {
486 pcie2_0_rst: pcie2-0-rst {
487 rockchip,pins = <4 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
488 };
489
490 pcie2_1_rst: pcie2-1-rst {
491 rockchip,pins = <4 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
492 };
493
494 pcie2_2_rst: pcie2-2-rst {
495 rockchip,pins = <4 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
496 };
497
498 pcie_m2_0_pwren: pcie-m20-pwren {
499 rockchip,pins = <2 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>;
500 };
501
502 pcie_m2_1_pwren: pcie-m21-pwren {
503 rockchip,pins = <4 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;
504 };
505 };
506
507 usb {
508 typec5v_pwren: typec5v-pwren {
509 rockchip,pins = <1 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
510 };
511
512 usbc0_int: usbc0-int {
513 rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>;
514 };
515 };
516 };
517
518 &pwm1 {
519 pinctrl-0 = <&pwm1m1_pins>;
520 status = "okay";
521 };
522
523 &saradc {
524 vref-supply = <&avcc_1v8_s0>;
525 status = "okay";
526 };
527
528 &sdhci {
529 bus-width = <8>;
530 no-sdio;
531 no-sd;
532 non-removable;
533 max-frequency = <200000000>;
534 mmc-hs400-1_8v;
535 mmc-hs400-enhanced-strobe;
536 status = "okay";
537 };
538
539 &sdmmc {
540 max-frequency = <200000000>;
541 no-sdio;
542 no-mmc;
543 bus-width = <4>;
544 cap-mmc-highspeed;
545 cap-sd-highspeed;
546 disable-wp;
547 sd-uhs-sdr104;
548 vmmc-supply = <&vcc_3v3_s3>;
549 vqmmc-supply = <&vccio_sd_s0>;
550 status = "okay";
551 };
552
553 &spi2 {
554 status = "okay";
555 assigned-clocks = <&cru CLK_SPI2>;
556 assigned-clock-rates = <200000000>;
557 pinctrl-names = "default";
558 pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>;
559 num-cs = <1>;
560
561 pmic@0 {
562 compatible = "rockchip,rk806";
563 spi-max-frequency = <1000000>;
564 reg = <0x0>;
565
566 interrupt-parent = <&gpio0>;
567 interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
568
569 pinctrl-names = "default";
570 pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
571 <&rk806_dvs2_null>, <&rk806_dvs3_null>;
572
573 vcc1-supply = <&vcc4v0_sys>;
574 vcc2-supply = <&vcc4v0_sys>;
575 vcc3-supply = <&vcc4v0_sys>;
576 vcc4-supply = <&vcc4v0_sys>;
577 vcc5-supply = <&vcc4v0_sys>;
578 vcc6-supply = <&vcc4v0_sys>;
579 vcc7-supply = <&vcc4v0_sys>;
580 vcc8-supply = <&vcc4v0_sys>;
581 vcc9-supply = <&vcc4v0_sys>;
582 vcc10-supply = <&vcc4v0_sys>;
583 vcc11-supply = <&vcc_2v0_pldo_s3>;
584 vcc12-supply = <&vcc4v0_sys>;
585 vcc13-supply = <&vcc_1v1_nldo_s3>;
586 vcc14-supply = <&vcc_1v1_nldo_s3>;
587 vcca-supply = <&vcc4v0_sys>;
588
589 gpio-controller;
590 #gpio-cells = <2>;
591
592 rk806_dvs1_null: dvs1-null-pins {
593 pins = "gpio_pwrctrl2";
594 function = "pin_fun0";
595 };
596
597 rk806_dvs2_null: dvs2-null-pins {
598 pins = "gpio_pwrctrl2";
599 function = "pin_fun0";
600 };
601
602 rk806_dvs3_null: dvs3-null-pins {
603 pins = "gpio_pwrctrl3";
604 function = "pin_fun0";
605 };
606
607 regulators {
608 vdd_gpu_s0: vdd_gpu_mem_s0: dcdc-reg1 {
609 regulator-boot-on;
610 regulator-min-microvolt = <550000>;
611 regulator-max-microvolt = <950000>;
612 regulator-ramp-delay = <12500>;
613 regulator-name = "vdd_gpu_s0";
614 regulator-enable-ramp-delay = <400>;
615
616 regulator-state-mem {
617 regulator-off-in-suspend;
618 };
619 };
620
621 vdd_cpu_lit_s0: vdd_cpu_lit_mem_s0: dcdc-reg2 {
622 regulator-always-on;
623 regulator-boot-on;
624 regulator-min-microvolt = <550000>;
625 regulator-max-microvolt = <950000>;
626 regulator-ramp-delay = <12500>;
627 regulator-name = "vdd_cpu_lit_s0";
628
629 regulator-state-mem {
630 regulator-off-in-suspend;
631 };
632 };
633
634 vdd_log_s0: dcdc-reg3 {
635 regulator-always-on;
636 regulator-boot-on;
637 regulator-min-microvolt = <675000>;
638 regulator-max-microvolt = <750000>;
639 regulator-ramp-delay = <12500>;
640 regulator-name = "vdd_log_s0";
641
642 regulator-state-mem {
643 regulator-off-in-suspend;
644 regulator-suspend-microvolt = <750000>;
645 };
646 };
647
648 vdd_vdenc_s0: vdd_vdenc_mem_s0: dcdc-reg4 {
649 regulator-always-on;
650 regulator-boot-on;
651 regulator-min-microvolt = <550000>;
652 regulator-max-microvolt = <950000>;
653 regulator-init-microvolt = <750000>;
654 regulator-ramp-delay = <12500>;
655 regulator-name = "vdd_vdenc_s0";
656
657 regulator-state-mem {
658 regulator-off-in-suspend;
659 };
660 };
661
662 vdd_ddr_s0: dcdc-reg5 {
663 regulator-always-on;
664 regulator-boot-on;
665 regulator-min-microvolt = <675000>;
666 regulator-max-microvolt = <900000>;
667 regulator-ramp-delay = <12500>;
668 regulator-name = "vdd_ddr_s0";
669
670 regulator-state-mem {
671 regulator-off-in-suspend;
672 regulator-suspend-microvolt = <850000>;
673 };
674 };
675
676 vdd2_ddr_s3: dcdc-reg6 {
677 regulator-always-on;
678 regulator-boot-on;
679 regulator-name = "vdd2_ddr_s3";
680
681 regulator-state-mem {
682 regulator-on-in-suspend;
683 };
684 };
685
686 vcc_2v0_pldo_s3: dcdc-reg7 {
687 regulator-always-on;
688 regulator-boot-on;
689 regulator-min-microvolt = <2000000>;
690 regulator-max-microvolt = <2000000>;
691 regulator-ramp-delay = <12500>;
692 regulator-name = "vdd_2v0_pldo_s3";
693
694 regulator-state-mem {
695 regulator-on-in-suspend;
696 regulator-suspend-microvolt = <2000000>;
697 };
698 };
699
700 vcc_3v3_s3: dcdc-reg8 {
701 regulator-always-on;
702 regulator-boot-on;
703 regulator-min-microvolt = <3300000>;
704 regulator-max-microvolt = <3300000>;
705 regulator-name = "vcc_3v3_s3";
706
707 regulator-state-mem {
708 regulator-on-in-suspend;
709 regulator-suspend-microvolt = <3300000>;
710 };
711 };
712
713 vddq_ddr_s0: dcdc-reg9 {
714 regulator-always-on;
715 regulator-boot-on;
716 regulator-name = "vddq_ddr_s0";
717
718 regulator-state-mem {
719 regulator-off-in-suspend;
720 };
721 };
722
723 vcc_1v8_s3: dcdc-reg10 {
724 regulator-always-on;
725 regulator-boot-on;
726 regulator-min-microvolt = <1800000>;
727 regulator-max-microvolt = <1800000>;
728 regulator-name = "vcc_1v8_s3";
729
730 regulator-state-mem {
731 regulator-on-in-suspend;
732 regulator-suspend-microvolt = <1800000>;
733 };
734 };
735
736 avcc_1v8_s0: pldo-reg1 {
737 regulator-always-on;
738 regulator-boot-on;
739 regulator-min-microvolt = <1800000>;
740 regulator-max-microvolt = <1800000>;
741 regulator-name = "avcc_1v8_s0";
742
743 regulator-state-mem {
744 regulator-off-in-suspend;
745 };
746 };
747
748 vcc_1v8_s0: pldo-reg2 {
749 regulator-always-on;
750 regulator-boot-on;
751 regulator-min-microvolt = <1800000>;
752 regulator-max-microvolt = <1800000>;
753 regulator-name = "vcc_1v8_s0";
754
755 regulator-state-mem {
756 regulator-off-in-suspend;
757 regulator-suspend-microvolt = <1800000>;
758 };
759 };
760
761 avdd_1v2_s0: pldo-reg3 {
762 regulator-always-on;
763 regulator-boot-on;
764 regulator-min-microvolt = <1200000>;
765 regulator-max-microvolt = <1200000>;
766 regulator-name = "avdd_1v2_s0";
767
768 regulator-state-mem {
769 regulator-off-in-suspend;
770 };
771 };
772
773 vcc_3v3_s0: pldo-reg4 {
774 regulator-always-on;
775 regulator-boot-on;
776 regulator-min-microvolt = <3300000>;
777 regulator-max-microvolt = <3300000>;
778 regulator-ramp-delay = <12500>;
779 regulator-name = "vcc_3v3_s0";
780
781 regulator-state-mem {
782 regulator-off-in-suspend;
783 };
784 };
785
786 vccio_sd_s0: pldo-reg5 {
787 regulator-always-on;
788 regulator-boot-on;
789 regulator-min-microvolt = <1800000>;
790 regulator-max-microvolt = <3300000>;
791 regulator-ramp-delay = <12500>;
792 regulator-name = "vccio_sd_s0";
793
794 regulator-state-mem {
795 regulator-off-in-suspend;
796 };
797 };
798
799 pldo6_s3: pldo-reg6 {
800 regulator-always-on;
801 regulator-boot-on;
802 regulator-min-microvolt = <1800000>;
803 regulator-max-microvolt = <1800000>;
804 regulator-name = "pldo6_s3";
805
806 regulator-state-mem {
807 regulator-on-in-suspend;
808 regulator-suspend-microvolt = <1800000>;
809 };
810 };
811
812 vdd_0v75_s3: nldo-reg1 {
813 regulator-always-on;
814 regulator-boot-on;
815 regulator-min-microvolt = <750000>;
816 regulator-max-microvolt = <750000>;
817 regulator-name = "vdd_0v75_s3";
818
819 regulator-state-mem {
820 regulator-on-in-suspend;
821 regulator-suspend-microvolt = <750000>;
822 };
823 };
824
825 vdd_ddr_pll_s0: nldo-reg2 {
826 regulator-always-on;
827 regulator-boot-on;
828 regulator-min-microvolt = <850000>;
829 regulator-max-microvolt = <850000>;
830 regulator-name = "vdd_ddr_pll_s0";
831
832 regulator-state-mem {
833 regulator-off-in-suspend;
834 regulator-suspend-microvolt = <850000>;
835 };
836 };
837
838 avdd_0v75_s0: nldo-reg3 {
839 regulator-always-on;
840 regulator-boot-on;
841 regulator-min-microvolt = <750000>;
842 regulator-max-microvolt = <750000>;
843 regulator-name = "avdd_0v75_s0";
844
845 regulator-state-mem {
846 regulator-off-in-suspend;
847 };
848 };
849
850 vdd_0v85_s0: nldo-reg4 {
851 regulator-always-on;
852 regulator-boot-on;
853 regulator-min-microvolt = <850000>;
854 regulator-max-microvolt = <850000>;
855 regulator-name = "vdd_0v85_s0";
856
857 regulator-state-mem {
858 regulator-off-in-suspend;
859 };
860 };
861
862 vdd_0v75_s0: nldo-reg5 {
863 regulator-always-on;
864 regulator-boot-on;
865 regulator-min-microvolt = <750000>;
866 regulator-max-microvolt = <750000>;
867 regulator-name = "vdd_0v75_s0";
868
869 regulator-state-mem {
870 regulator-off-in-suspend;
871 };
872 };
873 };
874 };
875 };
876
877 &tsadc {
878 status = "okay";
879 };
880
881 &uart2 {
882 pinctrl-0 = <&uart2m0_xfer>;
883 status = "okay";
884 };
885
886 &u2phy2_host {
887 status = "okay";
888 };
889
890 &u2phy3_host {
891 status = "okay";
892 };
893
894 &u2phy2 {
895 status = "okay";
896 };
897
898 &u2phy3 {
899 status = "okay";
900 };
901
902 &usb_host0_ehci {
903 status = "okay";
904 };
905
906 &usb_host0_ohci {
907 status = "okay";
908 };
909
910 &usb_host1_ehci {
911 status = "okay";
912 };
913
914 &usb_host1_ohci {
915 status = "okay";
916 };