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