blob: d7722772ecd8a0afb7e844ffb168fa9a7462cb03 [file] [log] [blame]
John Clarkd88366e2023-10-13 01:19:22 +00001// 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;
John Clarkd88366e2023-10-13 01:19:22 +000022 };
23
24 chosen {
25 stdout-path = "serial2:1500000n8";
26 };
27
28 leds {
29 compatible = "gpio-leds";
30
31 sys_led: led-0 {
32 gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>;
33 label = "system-led";
34 linux,default-trigger = "heartbeat";
35 pinctrl-names = "default";
36 pinctrl-0 = <&sys_led_pin>;
37 };
38
39 usr_led: led-1 {
40 gpios = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>;
41 label = "user-led";
42 pinctrl-names = "default";
43 pinctrl-0 = <&usr_led_pin>;
44 };
45 };
46
47 sound {
48 compatible = "simple-audio-card";
49 pinctrl-names = "default";
50 pinctrl-0 = <&hp_det>;
51
52 simple-audio-card,name = "realtek,rt5616-codec";
53 simple-audio-card,format = "i2s";
54 simple-audio-card,mclk-fs = <256>;
55
56 simple-audio-card,hp-det-gpio = <&gpio1 RK_PC4 GPIO_ACTIVE_LOW>;
57 simple-audio-card,hp-pin-name = "Headphones";
58
59 simple-audio-card,widgets =
60 "Headphone", "Headphones",
61 "Microphone", "Microphone Jack";
62 simple-audio-card,routing =
63 "Headphones", "HPOL",
64 "Headphones", "HPOR",
65 "MIC1", "Microphone Jack",
66 "Microphone Jack", "micbias1";
67
68 simple-audio-card,cpu {
69 sound-dai = <&i2s0_8ch>;
70 };
71 simple-audio-card,codec {
72 sound-dai = <&rt5616>;
73 };
74 };
75
76 vcc12v_dcin: vcc12v-dcin-regulator {
77 compatible = "regulator-fixed";
78 regulator-name = "vcc12v_dcin";
79 regulator-always-on;
80 regulator-boot-on;
81 regulator-min-microvolt = <12000000>;
82 regulator-max-microvolt = <12000000>;
83 };
84
85 /* vcc5v0_sys powers peripherals */
86 vcc5v0_sys: vcc5v0-sys-regulator {
87 compatible = "regulator-fixed";
88 regulator-name = "vcc5v0_sys";
89 regulator-always-on;
90 regulator-boot-on;
91 regulator-min-microvolt = <5000000>;
92 regulator-max-microvolt = <5000000>;
93 vin-supply = <&vcc12v_dcin>;
94 };
95
96 /* vcc4v0_sys powers the RK806, RK860's */
97 vcc4v0_sys: vcc4v0-sys-regulator {
98 compatible = "regulator-fixed";
99 regulator-name = "vcc4v0_sys";
100 regulator-always-on;
101 regulator-boot-on;
102 regulator-min-microvolt = <4000000>;
103 regulator-max-microvolt = <4000000>;
104 vin-supply = <&vcc12v_dcin>;
105 };
106
107 vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator {
108 compatible = "regulator-fixed";
109 regulator-name = "vcc-1v1-nldo-s3";
110 regulator-always-on;
111 regulator-boot-on;
112 regulator-min-microvolt = <1100000>;
113 regulator-max-microvolt = <1100000>;
114 vin-supply = <&vcc4v0_sys>;
115 };
116
117 vcc_3v3_pcie20: vcc3v3-pcie20-regulator {
118 compatible = "regulator-fixed";
119 regulator-name = "vcc_3v3_pcie20";
120 regulator-always-on;
121 regulator-boot-on;
122 regulator-min-microvolt = <3300000>;
123 regulator-max-microvolt = <3300000>;
124 vin-supply = <&vcc_3v3_s3>;
125 };
126
127 vbus5v0_typec: vbus5v0-typec-regulator {
128 compatible = "regulator-fixed";
129 enable-active-high;
130 gpio = <&gpio1 RK_PD2 GPIO_ACTIVE_HIGH>;
131 pinctrl-names = "default";
132 pinctrl-0 = <&typec5v_pwren>;
133 regulator-name = "vbus5v0_typec";
134 regulator-min-microvolt = <5000000>;
135 regulator-max-microvolt = <5000000>;
136 vin-supply = <&vcc5v0_sys>;
137 };
138
139 vcc3v3_pcie2x1l0: vcc3v3-pcie2x1l0-regulator {
140 compatible = "regulator-fixed";
141 enable-active-high;
142 gpio = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>;
143 pinctrl-names = "default";
144 pinctrl-0 = <&pcie_m2_1_pwren>;
145 regulator-name = "vcc3v3_pcie2x1l0";
146 regulator-min-microvolt = <3300000>;
147 regulator-max-microvolt = <3300000>;
148 vin-supply = <&vcc5v0_sys>;
149 };
150
151 vcc3v3_pcie30: vcc3v3-pcie30-regulator {
152 compatible = "regulator-fixed";
153 enable-active-high;
154 gpios = <&gpio2 RK_PC5 GPIO_ACTIVE_HIGH>;
155 pinctrl-names = "default";
156 pinctrl-0 = <&pcie_m2_0_pwren>;
157 regulator-name = "vcc3v3_pcie30";
158 regulator-min-microvolt = <3300000>;
159 regulator-max-microvolt = <3300000>;
160 vin-supply = <&vcc5v0_sys>;
161 };
162};
163
164&combphy0_ps {
165 status = "okay";
166};
167
168&combphy1_ps {
169 status = "okay";
170};
171
172&combphy2_psu {
173 status = "okay";
174};
175
176&cpu_l0 {
177 cpu-supply = <&vdd_cpu_lit_s0>;
178};
179
180&cpu_l1 {
181 cpu-supply = <&vdd_cpu_lit_s0>;
182};
183
184&cpu_l2 {
185 cpu-supply = <&vdd_cpu_lit_s0>;
186};
187
188&cpu_l3 {
189 cpu-supply = <&vdd_cpu_lit_s0>;
190};
191
192&cpu_b0{
193 cpu-supply = <&vdd_cpu_big0_s0>;
194};
195
196&cpu_b1{
197 cpu-supply = <&vdd_cpu_big0_s0>;
198};
199
200&cpu_b2{
201 cpu-supply = <&vdd_cpu_big1_s0>;
202};
203
204&cpu_b3{
205 cpu-supply = <&vdd_cpu_big1_s0>;
206};
207
208&gpio0 {
209 gpio-line-names = /* GPIO0 A0-A7 */
210 "", "", "", "",
211 "", "", "", "",
212 /* GPIO0 B0-B7 */
213 "", "", "", "",
214 "", "", "", "",
215 /* GPIO0 C0-C7 */
216 "", "", "", "",
217 "HEADER_10", "HEADER_08", "HEADER_32", "",
218 /* GPIO0 D0-D7 */
219 "", "", "", "",
220 "", "", "", "";
221};
222
223&gpio1 {
224 gpio-line-names = /* GPIO1 A0-A7 */
225 "HEADER_27", "HEADER_28", "", "",
226 "", "", "", "HEADER_15",
227 /* GPIO1 B0-B7 */
228 "HEADER_26", "HEADER_21", "HEADER_19", "HEADER_23",
229 "HEADER_24", "HEADER_22", "", "",
230 /* GPIO1 C0-C7 */
231 "", "", "", "",
232 "", "", "", "",
233 /* GPIO1 D0-D7 */
234 "", "", "", "",
235 "", "", "HEADER_05", "HEADER_03";
236};
237
238&gpio2 {
239 gpio-line-names = /* GPIO2 A0-A7 */
240 "", "", "", "",
241 "", "", "", "",
242 /* GPIO2 B0-B7 */
243 "", "", "", "",
244 "", "", "", "",
245 /* GPIO2 C0-C7 */
246 "", "CSI1_11", "CSI1_12", "",
247 "", "", "", "",
248 /* GPIO2 D0-D7 */
249 "", "", "", "",
250 "", "", "", "";
251};
252
253&gpio3 {
254 gpio-line-names = /* GPIO3 A0-A7 */
255 "HEADER_35", "HEADER_38", "HEADER_40", "HEADER_36",
256 "HEADER_37", "", "DSI0_12", "",
257 /* GPIO3 B0-B7 */
258 "HEADER_33", "DSI0_10", "HEADER_07", "HEADER_16",
259 "HEADER_18", "HEADER_29", "HEADER_31", "HEADER_12",
260 /* GPIO3 C0-C7 */
261 "DSI0_08", "DSI0_14", "HEADER_11", "HEADER_13",
262 "", "", "", "",
263 /* GPIO3 D0-D7 */
264 "", "", "", "",
265 "", "DSI1_10", "", "";
266};
267
268&gpio4 {
269 gpio-line-names = /* GPIO4 A0-A7 */
270 "DSI1_08", "DSI1_14", "", "DSI1_12",
271 "", "", "", "",
272 /* GPIO4 B0-B7 */
273 "", "", "", "",
274 "", "", "", "",
275 /* GPIO4 C0-C7 */
276 "", "", "", "",
277 "CSI0_11", "CSI0_12", "", "",
278 /* GPIO4 D0-D7 */
279 "", "", "", "",
280 "", "", "", "";
281};
282
283&i2c0 {
284 pinctrl-names = "default";
285 pinctrl-0 = <&i2c0m2_xfer>;
286 status = "okay";
287
288 vdd_cpu_big0_s0: regulator@42 {
289 compatible = "rockchip,rk8602";
290 reg = <0x42>;
291 fcs,suspend-voltage-selector = <1>;
292 regulator-name = "vdd_cpu_big0_s0";
293 regulator-always-on;
294 regulator-boot-on;
295 regulator-min-microvolt = <550000>;
296 regulator-max-microvolt = <1050000>;
297 regulator-ramp-delay = <2300>;
298 vin-supply = <&vcc4v0_sys>;
299
300 regulator-state-mem {
301 regulator-off-in-suspend;
302 };
303 };
304
305 vdd_cpu_big1_s0: regulator@43 {
306 compatible = "rockchip,rk8603", "rockchip,rk8602";
307 reg = <0x43>;
308 fcs,suspend-voltage-selector = <1>;
309 regulator-name = "vdd_cpu_big1_s0";
310 regulator-always-on;
311 regulator-boot-on;
312 regulator-min-microvolt = <550000>;
313 regulator-max-microvolt = <1050000>;
314 regulator-ramp-delay = <2300>;
315 vin-supply = <&vcc4v0_sys>;
316
317 regulator-state-mem {
318 regulator-off-in-suspend;
319 };
320 };
321};
322
323&i2c2 {
324 status = "okay";
325
326 vdd_npu_s0: regulator@42 {
327 compatible = "rockchip,rk8602";
328 reg = <0x42>;
329 rockchip,suspend-voltage-selector = <1>;
330 regulator-name = "vdd_npu_s0";
331 regulator-always-on;
332 regulator-boot-on;
333 regulator-min-microvolt = <550000>;
334 regulator-max-microvolt = <950000>;
335 regulator-ramp-delay = <2300>;
336 vin-supply = <&vcc4v0_sys>;
337
338 regulator-state-mem {
339 regulator-off-in-suspend;
340 };
341 };
342};
343
344&i2c6 {
345 clock-frequency = <200000>;
346 status = "okay";
347
348 fusb302: typec-portc@22 {
349 compatible = "fcs,fusb302";
350 reg = <0x22>;
351 interrupt-parent = <&gpio0>;
352 interrupts = <RK_PD3 IRQ_TYPE_LEVEL_LOW>;
353 pinctrl-0 = <&usbc0_int>;
354 pinctrl-names = "default";
355 vbus-supply = <&vbus5v0_typec>;
356
357 connector {
358 compatible = "usb-c-connector";
359 data-role = "dual";
360 label = "USB-C";
361 power-role = "dual";
362 try-power-role = "sink";
363 source-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)>;
364 sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
365 op-sink-microwatt = <1000000>;
366 };
367 };
368
369 hym8563: rtc@51 {
370 compatible = "haoyu,hym8563";
371 reg = <0x51>;
372 #clock-cells = <0>;
373 clock-output-names = "hym8563";
374 pinctrl-names = "default";
375 pinctrl-0 = <&hym8563_int>;
376 interrupt-parent = <&gpio0>;
377 interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>;
378 wakeup-source;
379 };
380};
381
382&i2c7 {
383 clock-frequency = <200000>;
384 status = "okay";
385
386 rt5616: codec@1b {
387 compatible = "realtek,rt5616";
388 reg = <0x1b>;
389 clocks = <&cru I2S0_8CH_MCLKOUT>;
390 clock-names = "mclk";
391 #sound-dai-cells = <0>;
392 assigned-clocks = <&cru I2S0_8CH_MCLKOUT>;
393 assigned-clock-rates = <12288000>;
394
395 port {
396 rt5616_p0_0: endpoint {
397 remote-endpoint = <&i2s0_8ch_p0_0>;
398 };
399 };
400 };
401
402 /* connected with MIPI-CSI1 */
403};
404
405&i2c8 {
406 pinctrl-0 = <&i2c8m2_xfer>;
407};
408
409&i2s0_8ch {
410 pinctrl-names = "default";
411 pinctrl-0 = <&i2s0_lrck
412 &i2s0_mclk
413 &i2s0_sclk
414 &i2s0_sdi0
415 &i2s0_sdo0>;
416 status = "okay";
417
418 i2s0_8ch_p0: port {
419 i2s0_8ch_p0_0: endpoint {
420 dai-format = "i2s";
421 mclk-fs = <256>;
422 remote-endpoint = <&rt5616_p0_0>;
423 };
424 };
425};
426
427&pcie2x1l0 {
428 reset-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>;
429 vpcie3v3-supply = <&vcc_3v3_pcie20>;
430 pinctrl-names = "default";
431 pinctrl-0 = <&pcie2_0_rst>;
432 status = "okay";
433};
434
435&pcie2x1l1 {
436 reset-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>;
437 vpcie3v3-supply = <&vcc3v3_pcie2x1l0>;
438 pinctrl-names = "default";
439 pinctrl-0 = <&pcie2_1_rst>;
440 status = "okay";
441};
442
443&pcie2x1l2 {
444 reset-gpios = <&gpio4 RK_PA4 GPIO_ACTIVE_HIGH>;
445 vpcie3v3-supply = <&vcc_3v3_pcie20>;
446 pinctrl-names = "default";
447 pinctrl-0 = <&pcie2_2_rst>;
448 status = "okay";
449};
450
451&pcie30phy {
452 status = "okay";
453};
454
455&pcie3x4 {
456 reset-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>;
457 vpcie3v3-supply = <&vcc3v3_pcie30>;
458 status = "okay";
459};
460
461&pinctrl {
462 gpio-leds {
463 sys_led_pin: sys-led-pin {
464 rockchip,pins = <2 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
465 };
466
467 usr_led_pin: usr-led-pin {
468 rockchip,pins = <2 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>;
469 };
470 };
471
472 headphone {
473 hp_det: hp-det {
474 rockchip,pins = <1 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>;
475 };
476 };
477
478 hym8563 {
479 hym8563_int: hym8563-int {
480 rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>;
481 };
482 };
483
484 pcie {
485 pcie2_0_rst: pcie2-0-rst {
486 rockchip,pins = <4 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
487 };
488
489 pcie2_1_rst: pcie2-1-rst {
490 rockchip,pins = <4 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
491 };
492
493 pcie2_2_rst: pcie2-2-rst {
494 rockchip,pins = <4 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
495 };
496
497 pcie_m2_0_pwren: pcie-m20-pwren {
498 rockchip,pins = <2 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>;
499 };
500
501 pcie_m2_1_pwren: pcie-m21-pwren {
502 rockchip,pins = <4 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;
503 };
504 };
505
506 usb {
507 typec5v_pwren: typec5v-pwren {
508 rockchip,pins = <1 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
509 };
510
511 usbc0_int: usbc0-int {
512 rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>;
513 };
514 };
515};
516
517&pwm1 {
518 pinctrl-0 = <&pwm1m1_pins>;
519 status = "okay";
520};
521
522&saradc {
523 vref-supply = <&avcc_1v8_s0>;
524 status = "okay";
525};
526
527&sdhci {
528 bus-width = <8>;
529 no-sdio;
530 no-sd;
531 non-removable;
532 max-frequency = <200000000>;
533 mmc-hs400-1_8v;
534 mmc-hs400-enhanced-strobe;
535 status = "okay";
536};
537
538&sdmmc {
John Clarkd88366e2023-10-13 01:19:22 +0000539 bus-width = <4>;
540 cap-mmc-highspeed;
541 cap-sd-highspeed;
542 disable-wp;
Jonas Karlmanb468b152024-01-26 22:14:53 +0000543 no-mmc;
544 no-sdio;
John Clarkd88366e2023-10-13 01:19:22 +0000545 sd-uhs-sdr104;
546 vmmc-supply = <&vcc_3v3_s3>;
547 vqmmc-supply = <&vccio_sd_s0>;
548 status = "okay";
549};
550
551&spi2 {
552 status = "okay";
553 assigned-clocks = <&cru CLK_SPI2>;
554 assigned-clock-rates = <200000000>;
555 pinctrl-names = "default";
556 pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>;
557 num-cs = <1>;
558
559 pmic@0 {
560 compatible = "rockchip,rk806";
561 spi-max-frequency = <1000000>;
562 reg = <0x0>;
563
564 interrupt-parent = <&gpio0>;
565 interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
566
567 pinctrl-names = "default";
568 pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
569 <&rk806_dvs2_null>, <&rk806_dvs3_null>;
570
Jonas Karlmanb468b152024-01-26 22:14:53 +0000571 system-power-controller;
572
John Clarkd88366e2023-10-13 01:19:22 +0000573 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 {
Jonas Karlmanb468b152024-01-26 22:14:53 +0000593 pins = "gpio_pwrctrl1";
John Clarkd88366e2023-10-13 01:19:22 +0000594 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};