1893c1771SThomas McKahan// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2893c1771SThomas McKahan/*
3893c1771SThomas McKahan * Copyright (c) 2021 Rockchip Electronics Co., Ltd.
4893c1771SThomas McKahan * Copyright (c) 2023 Thomas McKahan
5893c1771SThomas McKahan *
6893c1771SThomas McKahan */
7893c1771SThomas McKahan
8893c1771SThomas McKahan/dts-v1/;
9893c1771SThomas McKahan
10893c1771SThomas McKahan#include <dt-bindings/gpio/gpio.h>
11893c1771SThomas McKahan#include <dt-bindings/pinctrl/rockchip.h>
12893c1771SThomas McKahan#include <dt-bindings/usb/pd.h>
13893c1771SThomas McKahan#include "rk3588.dtsi"
14893c1771SThomas McKahan
15893c1771SThomas McKahan/ {
16893c1771SThomas McKahan	model = "FriendlyElec NanoPC-T6";
17893c1771SThomas McKahan	compatible = "friendlyarm,nanopc-t6", "rockchip,rk3588";
18893c1771SThomas McKahan
19893c1771SThomas McKahan	aliases {
20893c1771SThomas McKahan		mmc0 = &sdhci;
21893c1771SThomas McKahan		mmc1 = &sdmmc;
22893c1771SThomas McKahan		serial2 = &uart2;
23893c1771SThomas McKahan	};
24893c1771SThomas McKahan
25893c1771SThomas McKahan	chosen {
26893c1771SThomas McKahan		stdout-path = "serial2:1500000n8";
27893c1771SThomas McKahan	};
28893c1771SThomas McKahan
29893c1771SThomas McKahan	leds {
30893c1771SThomas McKahan		compatible = "gpio-leds";
31893c1771SThomas McKahan
32893c1771SThomas McKahan		sys_led: led-0 {
33893c1771SThomas McKahan			gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>;
34893c1771SThomas McKahan			label = "system-led";
35893c1771SThomas McKahan			linux,default-trigger = "heartbeat";
36893c1771SThomas McKahan			pinctrl-names = "default";
37893c1771SThomas McKahan			pinctrl-0 = <&sys_led_pin>;
38893c1771SThomas McKahan		};
39893c1771SThomas McKahan
40893c1771SThomas McKahan		usr_led: led-1 {
41893c1771SThomas McKahan			gpios = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>;
42893c1771SThomas McKahan			label = "user-led";
43893c1771SThomas McKahan			pinctrl-names = "default";
44893c1771SThomas McKahan			pinctrl-0 = <&usr_led_pin>;
45893c1771SThomas McKahan		};
46893c1771SThomas McKahan	};
47893c1771SThomas McKahan
48893c1771SThomas McKahan	sound {
49893c1771SThomas McKahan		compatible = "simple-audio-card";
50893c1771SThomas McKahan		pinctrl-names = "default";
51893c1771SThomas McKahan		pinctrl-0 = <&hp_det>;
52893c1771SThomas McKahan
53893c1771SThomas McKahan		simple-audio-card,name = "realtek,rt5616-codec";
54893c1771SThomas McKahan		simple-audio-card,format = "i2s";
55893c1771SThomas McKahan		simple-audio-card,mclk-fs = <256>;
56893c1771SThomas McKahan
57893c1771SThomas McKahan		simple-audio-card,hp-det-gpio = <&gpio1 RK_PC4 GPIO_ACTIVE_LOW>;
58893c1771SThomas McKahan		simple-audio-card,hp-pin-name = "Headphones";
59893c1771SThomas McKahan
60893c1771SThomas McKahan		simple-audio-card,widgets =
61893c1771SThomas McKahan			"Headphone", "Headphones",
62893c1771SThomas McKahan			"Microphone", "Microphone Jack";
63893c1771SThomas McKahan		simple-audio-card,routing =
64893c1771SThomas McKahan			"Headphones", "HPOL",
65893c1771SThomas McKahan			"Headphones", "HPOR",
66893c1771SThomas McKahan			"MIC1", "Microphone Jack",
67893c1771SThomas McKahan			"Microphone Jack", "micbias1";
68893c1771SThomas McKahan
69893c1771SThomas McKahan		simple-audio-card,cpu {
70893c1771SThomas McKahan			sound-dai = <&i2s0_8ch>;
71893c1771SThomas McKahan		};
72893c1771SThomas McKahan		simple-audio-card,codec {
73893c1771SThomas McKahan			sound-dai = <&rt5616>;
74893c1771SThomas McKahan		};
75893c1771SThomas McKahan	};
76893c1771SThomas McKahan
77893c1771SThomas McKahan	vcc12v_dcin: vcc12v-dcin-regulator {
78893c1771SThomas McKahan		compatible = "regulator-fixed";
79893c1771SThomas McKahan		regulator-name = "vcc12v_dcin";
80893c1771SThomas McKahan		regulator-always-on;
81893c1771SThomas McKahan		regulator-boot-on;
82893c1771SThomas McKahan		regulator-min-microvolt = <12000000>;
83893c1771SThomas McKahan		regulator-max-microvolt = <12000000>;
84893c1771SThomas McKahan	};
85893c1771SThomas McKahan
86893c1771SThomas McKahan	/* vcc5v0_sys powers peripherals */
87893c1771SThomas McKahan	vcc5v0_sys: vcc5v0-sys-regulator {
88893c1771SThomas McKahan		compatible = "regulator-fixed";
89893c1771SThomas McKahan		regulator-name = "vcc5v0_sys";
90893c1771SThomas McKahan		regulator-always-on;
91893c1771SThomas McKahan		regulator-boot-on;
92893c1771SThomas McKahan		regulator-min-microvolt = <5000000>;
93893c1771SThomas McKahan		regulator-max-microvolt = <5000000>;
94893c1771SThomas McKahan		vin-supply = <&vcc12v_dcin>;
95893c1771SThomas McKahan	};
96893c1771SThomas McKahan
97893c1771SThomas McKahan	/* vcc4v0_sys powers the RK806, RK860's */
98893c1771SThomas McKahan	vcc4v0_sys: vcc4v0-sys-regulator {
99893c1771SThomas McKahan		compatible = "regulator-fixed";
100893c1771SThomas McKahan		regulator-name = "vcc4v0_sys";
101893c1771SThomas McKahan		regulator-always-on;
102893c1771SThomas McKahan		regulator-boot-on;
103893c1771SThomas McKahan		regulator-min-microvolt = <4000000>;
104893c1771SThomas McKahan		regulator-max-microvolt = <4000000>;
105893c1771SThomas McKahan		vin-supply = <&vcc12v_dcin>;
106893c1771SThomas McKahan	};
107893c1771SThomas McKahan
108893c1771SThomas McKahan	vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator {
109893c1771SThomas McKahan		compatible = "regulator-fixed";
110893c1771SThomas McKahan		regulator-name = "vcc-1v1-nldo-s3";
111893c1771SThomas McKahan		regulator-always-on;
112893c1771SThomas McKahan		regulator-boot-on;
113893c1771SThomas McKahan		regulator-min-microvolt = <1100000>;
114893c1771SThomas McKahan		regulator-max-microvolt = <1100000>;
115893c1771SThomas McKahan		vin-supply = <&vcc4v0_sys>;
116893c1771SThomas McKahan	};
117893c1771SThomas McKahan
118a721e28dSJohn Clark	vcc_3v3_pcie20: vcc3v3-pcie20-regulator {
119a721e28dSJohn Clark		compatible = "regulator-fixed";
120a721e28dSJohn Clark		regulator-name = "vcc_3v3_pcie20";
121a721e28dSJohn Clark		regulator-always-on;
122a721e28dSJohn Clark		regulator-boot-on;
123a721e28dSJohn Clark		regulator-min-microvolt = <3300000>;
124a721e28dSJohn Clark		regulator-max-microvolt = <3300000>;
125a721e28dSJohn Clark		vin-supply = <&vcc_3v3_s3>;
126a721e28dSJohn Clark	};
127a721e28dSJohn Clark
128893c1771SThomas McKahan	vbus5v0_typec: vbus5v0-typec-regulator {
129893c1771SThomas McKahan		compatible = "regulator-fixed";
130893c1771SThomas McKahan		enable-active-high;
131893c1771SThomas McKahan		gpio = <&gpio1 RK_PD2 GPIO_ACTIVE_HIGH>;
132893c1771SThomas McKahan		pinctrl-names = "default";
133893c1771SThomas McKahan		pinctrl-0 = <&typec5v_pwren>;
134893c1771SThomas McKahan		regulator-name = "vbus5v0_typec";
135893c1771SThomas McKahan		regulator-min-microvolt = <5000000>;
136893c1771SThomas McKahan		regulator-max-microvolt = <5000000>;
137893c1771SThomas McKahan		vin-supply = <&vcc5v0_sys>;
138893c1771SThomas McKahan	};
139893c1771SThomas McKahan
140*e93c90f2SJohn Clark	vcc3v3_pcie2x1l0: vcc3v3-pcie2x1l0-regulator {
141*e93c90f2SJohn Clark		compatible = "regulator-fixed";
142*e93c90f2SJohn Clark		enable-active-high;
143*e93c90f2SJohn Clark		gpio = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>;
144*e93c90f2SJohn Clark		pinctrl-names = "default";
145*e93c90f2SJohn Clark		pinctrl-0 = <&pcie_m2_1_pwren>;
146*e93c90f2SJohn Clark		regulator-name = "vcc3v3_pcie2x1l0";
147*e93c90f2SJohn Clark		regulator-min-microvolt = <3300000>;
148*e93c90f2SJohn Clark		regulator-max-microvolt = <3300000>;
149*e93c90f2SJohn Clark		vin-supply = <&vcc5v0_sys>;
150*e93c90f2SJohn Clark	};
151*e93c90f2SJohn Clark
152893c1771SThomas McKahan	vcc3v3_pcie30: vcc3v3-pcie30-regulator {
153893c1771SThomas McKahan		compatible = "regulator-fixed";
154893c1771SThomas McKahan		enable-active-high;
155893c1771SThomas McKahan		gpios = <&gpio2 RK_PC5 GPIO_ACTIVE_HIGH>;
156893c1771SThomas McKahan		pinctrl-names = "default";
157893c1771SThomas McKahan		pinctrl-0 = <&pcie_m2_0_pwren>;
158893c1771SThomas McKahan		regulator-name = "vcc3v3_pcie30";
159893c1771SThomas McKahan		regulator-min-microvolt = <3300000>;
160893c1771SThomas McKahan		regulator-max-microvolt = <3300000>;
161893c1771SThomas McKahan		vin-supply = <&vcc5v0_sys>;
162893c1771SThomas McKahan	};
163893c1771SThomas McKahan};
164893c1771SThomas McKahan
165a721e28dSJohn Clark&combphy0_ps {
166a721e28dSJohn Clark	status = "okay";
167a721e28dSJohn Clark};
168a721e28dSJohn Clark
169a721e28dSJohn Clark&combphy1_ps {
170a721e28dSJohn Clark	status = "okay";
171a721e28dSJohn Clark};
172a721e28dSJohn Clark
173a721e28dSJohn Clark&combphy2_psu {
174a721e28dSJohn Clark	status = "okay";
175a721e28dSJohn Clark};
176a721e28dSJohn Clark
177893c1771SThomas McKahan&cpu_l0 {
178893c1771SThomas McKahan	cpu-supply = <&vdd_cpu_lit_s0>;
179893c1771SThomas McKahan};
180893c1771SThomas McKahan
181893c1771SThomas McKahan&cpu_l1 {
182893c1771SThomas McKahan	cpu-supply = <&vdd_cpu_lit_s0>;
183893c1771SThomas McKahan};
184893c1771SThomas McKahan
185893c1771SThomas McKahan&cpu_l2 {
186893c1771SThomas McKahan	cpu-supply = <&vdd_cpu_lit_s0>;
187893c1771SThomas McKahan};
188893c1771SThomas McKahan
189893c1771SThomas McKahan&cpu_l3 {
190893c1771SThomas McKahan	cpu-supply = <&vdd_cpu_lit_s0>;
191893c1771SThomas McKahan};
192893c1771SThomas McKahan
193893c1771SThomas McKahan&cpu_b0{
194893c1771SThomas McKahan	cpu-supply = <&vdd_cpu_big0_s0>;
195893c1771SThomas McKahan};
196893c1771SThomas McKahan
197893c1771SThomas McKahan&cpu_b1{
198893c1771SThomas McKahan	cpu-supply = <&vdd_cpu_big0_s0>;
199893c1771SThomas McKahan};
200893c1771SThomas McKahan
201893c1771SThomas McKahan&cpu_b2{
202893c1771SThomas McKahan	cpu-supply = <&vdd_cpu_big1_s0>;
203893c1771SThomas McKahan};
204893c1771SThomas McKahan
205893c1771SThomas McKahan&cpu_b3{
206893c1771SThomas McKahan	cpu-supply = <&vdd_cpu_big1_s0>;
207893c1771SThomas McKahan};
208893c1771SThomas McKahan
209893c1771SThomas McKahan&gpio0 {
210893c1771SThomas McKahan	gpio-line-names = /* GPIO0 A0-A7 */
211893c1771SThomas McKahan			  "", "", "", "",
212893c1771SThomas McKahan			  "", "", "", "",
213893c1771SThomas McKahan			  /* GPIO0 B0-B7 */
214893c1771SThomas McKahan			  "", "", "", "",
215893c1771SThomas McKahan			  "", "", "", "",
216893c1771SThomas McKahan			  /* GPIO0 C0-C7 */
217893c1771SThomas McKahan			  "", "", "", "",
218893c1771SThomas McKahan			  "HEADER_10", "HEADER_08", "HEADER_32", "",
219893c1771SThomas McKahan			  /* GPIO0 D0-D7 */
220893c1771SThomas McKahan			  "", "", "", "",
221893c1771SThomas McKahan			  "", "", "", "";
222893c1771SThomas McKahan};
223893c1771SThomas McKahan
224893c1771SThomas McKahan&gpio1 {
225893c1771SThomas McKahan	gpio-line-names = /* GPIO1 A0-A7 */
226893c1771SThomas McKahan			  "HEADER_27", "HEADER_28", "", "",
227893c1771SThomas McKahan			  "", "", "", "HEADER_15",
228893c1771SThomas McKahan			  /* GPIO1 B0-B7 */
229893c1771SThomas McKahan			  "HEADER_26", "HEADER_21", "HEADER_19", "HEADER_23",
230893c1771SThomas McKahan			  "HEADER_24", "HEADER_22", "", "",
231893c1771SThomas McKahan			  /* GPIO1 C0-C7 */
232893c1771SThomas McKahan			  "", "", "", "",
233893c1771SThomas McKahan			  "", "", "", "",
234893c1771SThomas McKahan			  /* GPIO1 D0-D7 */
235893c1771SThomas McKahan			  "", "", "", "",
236893c1771SThomas McKahan			  "", "", "HEADER_05", "HEADER_03";
237893c1771SThomas McKahan};
238893c1771SThomas McKahan
239893c1771SThomas McKahan&gpio2 {
240893c1771SThomas McKahan	gpio-line-names = /* GPIO2 A0-A7 */
241893c1771SThomas McKahan			  "", "", "", "",
242893c1771SThomas McKahan			  "", "", "", "",
243893c1771SThomas McKahan			  /* GPIO2 B0-B7 */
244893c1771SThomas McKahan			  "", "", "", "",
245893c1771SThomas McKahan			  "", "", "", "",
246893c1771SThomas McKahan			  /* GPIO2 C0-C7 */
247893c1771SThomas McKahan			  "", "CSI1_11", "CSI1_12", "",
248893c1771SThomas McKahan			  "", "", "", "",
249893c1771SThomas McKahan			  /* GPIO2 D0-D7 */
250893c1771SThomas McKahan			  "", "", "", "",
251893c1771SThomas McKahan			  "", "", "", "";
252893c1771SThomas McKahan};
253893c1771SThomas McKahan
254893c1771SThomas McKahan&gpio3 {
255893c1771SThomas McKahan	gpio-line-names = /* GPIO3 A0-A7 */
256893c1771SThomas McKahan			  "HEADER_35", "HEADER_38", "HEADER_40", "HEADER_36",
257893c1771SThomas McKahan			  "HEADER_37", "", "DSI0_12", "",
258893c1771SThomas McKahan			  /* GPIO3 B0-B7 */
259893c1771SThomas McKahan			  "HEADER_33", "DSI0_10", "HEADER_07", "HEADER_16",
260893c1771SThomas McKahan			  "HEADER_18", "HEADER_29", "HEADER_31", "HEADER_12",
261893c1771SThomas McKahan			  /* GPIO3 C0-C7 */
262893c1771SThomas McKahan			  "DSI0_08", "DSI0_14", "HEADER_11", "HEADER_13",
263893c1771SThomas McKahan			  "", "", "", "",
264893c1771SThomas McKahan			  /* GPIO3 D0-D7 */
265893c1771SThomas McKahan			  "", "", "", "",
266893c1771SThomas McKahan			  "", "DSI1_10", "", "";
267893c1771SThomas McKahan};
268893c1771SThomas McKahan
269893c1771SThomas McKahan&gpio4 {
270893c1771SThomas McKahan	gpio-line-names = /* GPIO4 A0-A7 */
271893c1771SThomas McKahan			  "DSI1_08", "DSI1_14", "", "DSI1_12",
272893c1771SThomas McKahan			  "", "", "", "",
273893c1771SThomas McKahan			  /* GPIO4 B0-B7 */
274893c1771SThomas McKahan			  "", "", "", "",
275893c1771SThomas McKahan			  "", "", "", "",
276893c1771SThomas McKahan			  /* GPIO4 C0-C7 */
277893c1771SThomas McKahan			  "", "", "", "",
278893c1771SThomas McKahan			  "CSI0_11", "CSI0_12", "", "",
279893c1771SThomas McKahan			  /* GPIO4 D0-D7 */
280893c1771SThomas McKahan			  "", "", "", "",
281893c1771SThomas McKahan			  "", "", "", "";
282893c1771SThomas McKahan};
283893c1771SThomas McKahan
284893c1771SThomas McKahan&i2c0 {
285893c1771SThomas McKahan	pinctrl-names = "default";
286893c1771SThomas McKahan	pinctrl-0 = <&i2c0m2_xfer>;
287893c1771SThomas McKahan	status = "okay";
288893c1771SThomas McKahan
289893c1771SThomas McKahan	vdd_cpu_big0_s0: regulator@42 {
290893c1771SThomas McKahan		compatible = "rockchip,rk8602";
291893c1771SThomas McKahan		reg = <0x42>;
292893c1771SThomas McKahan		fcs,suspend-voltage-selector = <1>;
293893c1771SThomas McKahan		regulator-name = "vdd_cpu_big0_s0";
294893c1771SThomas McKahan		regulator-always-on;
295893c1771SThomas McKahan		regulator-boot-on;
296893c1771SThomas McKahan		regulator-min-microvolt = <550000>;
297893c1771SThomas McKahan		regulator-max-microvolt = <1050000>;
298893c1771SThomas McKahan		regulator-ramp-delay = <2300>;
299893c1771SThomas McKahan		vin-supply = <&vcc4v0_sys>;
300893c1771SThomas McKahan
301893c1771SThomas McKahan		regulator-state-mem {
302893c1771SThomas McKahan			regulator-off-in-suspend;
303893c1771SThomas McKahan		};
304893c1771SThomas McKahan	};
305893c1771SThomas McKahan
306893c1771SThomas McKahan	vdd_cpu_big1_s0: regulator@43 {
307893c1771SThomas McKahan		compatible = "rockchip,rk8603", "rockchip,rk8602";
308893c1771SThomas McKahan		reg = <0x43>;
309893c1771SThomas McKahan		fcs,suspend-voltage-selector = <1>;
310893c1771SThomas McKahan		regulator-name = "vdd_cpu_big1_s0";
311893c1771SThomas McKahan		regulator-always-on;
312893c1771SThomas McKahan		regulator-boot-on;
313893c1771SThomas McKahan		regulator-min-microvolt = <550000>;
314893c1771SThomas McKahan		regulator-max-microvolt = <1050000>;
315893c1771SThomas McKahan		regulator-ramp-delay = <2300>;
316893c1771SThomas McKahan		vin-supply = <&vcc4v0_sys>;
317893c1771SThomas McKahan
318893c1771SThomas McKahan		regulator-state-mem {
319893c1771SThomas McKahan			regulator-off-in-suspend;
320893c1771SThomas McKahan		};
321893c1771SThomas McKahan	};
322893c1771SThomas McKahan};
323893c1771SThomas McKahan
324893c1771SThomas McKahan&i2c2 {
325893c1771SThomas McKahan	status = "okay";
326893c1771SThomas McKahan
327893c1771SThomas McKahan	vdd_npu_s0: regulator@42 {
328893c1771SThomas McKahan		compatible = "rockchip,rk8602";
329893c1771SThomas McKahan		reg = <0x42>;
330893c1771SThomas McKahan		rockchip,suspend-voltage-selector = <1>;
331893c1771SThomas McKahan		regulator-name = "vdd_npu_s0";
332893c1771SThomas McKahan		regulator-always-on;
333893c1771SThomas McKahan		regulator-boot-on;
334893c1771SThomas McKahan		regulator-min-microvolt = <550000>;
335893c1771SThomas McKahan		regulator-max-microvolt = <950000>;
336893c1771SThomas McKahan		regulator-ramp-delay = <2300>;
337893c1771SThomas McKahan		vin-supply = <&vcc4v0_sys>;
338893c1771SThomas McKahan
339893c1771SThomas McKahan		regulator-state-mem {
340893c1771SThomas McKahan			regulator-off-in-suspend;
341893c1771SThomas McKahan		};
342893c1771SThomas McKahan	};
343893c1771SThomas McKahan};
344893c1771SThomas McKahan
345893c1771SThomas McKahan&i2c6 {
346893c1771SThomas McKahan	clock-frequency = <200000>;
347893c1771SThomas McKahan	status = "okay";
348893c1771SThomas McKahan
349893c1771SThomas McKahan	fusb302: typec-portc@22 {
350893c1771SThomas McKahan		compatible = "fcs,fusb302";
351893c1771SThomas McKahan		reg = <0x22>;
352893c1771SThomas McKahan		interrupt-parent = <&gpio0>;
353893c1771SThomas McKahan		interrupts = <RK_PD3 IRQ_TYPE_LEVEL_LOW>;
354893c1771SThomas McKahan		pinctrl-0 = <&usbc0_int>;
355893c1771SThomas McKahan		pinctrl-names = "default";
356893c1771SThomas McKahan		vbus-supply = <&vbus5v0_typec>;
357893c1771SThomas McKahan
358893c1771SThomas McKahan		connector {
359893c1771SThomas McKahan			compatible = "usb-c-connector";
360893c1771SThomas McKahan			data-role = "dual";
361893c1771SThomas McKahan			label = "USB-C";
362893c1771SThomas McKahan			power-role = "dual";
363893c1771SThomas McKahan			try-power-role = "sink";
364893c1771SThomas McKahan			source-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)>;
365893c1771SThomas McKahan			sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
366893c1771SThomas McKahan			op-sink-microwatt = <1000000>;
367893c1771SThomas McKahan		};
368893c1771SThomas McKahan	};
369893c1771SThomas McKahan
370893c1771SThomas McKahan	hym8563: rtc@51 {
371893c1771SThomas McKahan		compatible = "haoyu,hym8563";
372893c1771SThomas McKahan		reg = <0x51>;
373893c1771SThomas McKahan		#clock-cells = <0>;
374893c1771SThomas McKahan		clock-output-names = "hym8563";
375893c1771SThomas McKahan		pinctrl-names = "default";
376893c1771SThomas McKahan		pinctrl-0 = <&hym8563_int>;
377893c1771SThomas McKahan		interrupt-parent = <&gpio0>;
378893c1771SThomas McKahan		interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>;
379893c1771SThomas McKahan		wakeup-source;
380893c1771SThomas McKahan	};
381893c1771SThomas McKahan};
382893c1771SThomas McKahan
383893c1771SThomas McKahan&i2c7 {
384893c1771SThomas McKahan	clock-frequency = <200000>;
385893c1771SThomas McKahan	status = "okay";
386893c1771SThomas McKahan
387893c1771SThomas McKahan	rt5616: codec@1b {
388893c1771SThomas McKahan		compatible = "realtek,rt5616";
389893c1771SThomas McKahan		reg = <0x1b>;
390893c1771SThomas McKahan		clocks = <&cru I2S0_8CH_MCLKOUT>;
391893c1771SThomas McKahan		clock-names = "mclk";
392893c1771SThomas McKahan		#sound-dai-cells = <0>;
393893c1771SThomas McKahan		assigned-clocks = <&cru I2S0_8CH_MCLKOUT>;
394893c1771SThomas McKahan		assigned-clock-rates = <12288000>;
395893c1771SThomas McKahan
396893c1771SThomas McKahan		port {
397893c1771SThomas McKahan			rt5616_p0_0: endpoint {
398893c1771SThomas McKahan				remote-endpoint = <&i2s0_8ch_p0_0>;
399893c1771SThomas McKahan			};
400893c1771SThomas McKahan		};
401893c1771SThomas McKahan	};
402893c1771SThomas McKahan
403893c1771SThomas McKahan	/* connected with MIPI-CSI1 */
404893c1771SThomas McKahan};
405893c1771SThomas McKahan
406893c1771SThomas McKahan&i2c8 {
407893c1771SThomas McKahan	pinctrl-0 = <&i2c8m2_xfer>;
408893c1771SThomas McKahan};
409893c1771SThomas McKahan
410893c1771SThomas McKahan&i2s0_8ch {
411893c1771SThomas McKahan	pinctrl-names = "default";
412893c1771SThomas McKahan	pinctrl-0 = <&i2s0_lrck
413893c1771SThomas McKahan		     &i2s0_mclk
414893c1771SThomas McKahan		     &i2s0_sclk
415893c1771SThomas McKahan		     &i2s0_sdi0
416893c1771SThomas McKahan		     &i2s0_sdo0>;
417893c1771SThomas McKahan	status = "okay";
418893c1771SThomas McKahan
419893c1771SThomas McKahan	i2s0_8ch_p0: port {
420893c1771SThomas McKahan		i2s0_8ch_p0_0: endpoint {
421893c1771SThomas McKahan			dai-format = "i2s";
422893c1771SThomas McKahan			mclk-fs = <256>;
423893c1771SThomas McKahan			remote-endpoint = <&rt5616_p0_0>;
424893c1771SThomas McKahan		};
425893c1771SThomas McKahan	};
426893c1771SThomas McKahan};
427893c1771SThomas McKahan
428a721e28dSJohn Clark&pcie2x1l0 {
429a721e28dSJohn Clark	reset-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>;
430a721e28dSJohn Clark	vpcie3v3-supply = <&vcc_3v3_pcie20>;
431a721e28dSJohn Clark	pinctrl-names = "default";
432a721e28dSJohn Clark	pinctrl-0 = <&pcie2_0_rst>;
433a721e28dSJohn Clark	status = "okay";
434a721e28dSJohn Clark};
435a721e28dSJohn Clark
436*e93c90f2SJohn Clark&pcie2x1l1 {
437*e93c90f2SJohn Clark	reset-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>;
438*e93c90f2SJohn Clark	vpcie3v3-supply = <&vcc3v3_pcie2x1l0>;
439*e93c90f2SJohn Clark	pinctrl-names = "default";
440*e93c90f2SJohn Clark	pinctrl-0 = <&pcie2_1_rst>;
441*e93c90f2SJohn Clark	status = "okay";
442*e93c90f2SJohn Clark};
443*e93c90f2SJohn Clark
444a721e28dSJohn Clark&pcie2x1l2 {
445a721e28dSJohn Clark	reset-gpios = <&gpio4 RK_PA4 GPIO_ACTIVE_HIGH>;
446a721e28dSJohn Clark	vpcie3v3-supply = <&vcc_3v3_pcie20>;
447a721e28dSJohn Clark	pinctrl-names = "default";
448a721e28dSJohn Clark	pinctrl-0 = <&pcie2_2_rst>;
449a721e28dSJohn Clark	status = "okay";
450a721e28dSJohn Clark};
451a721e28dSJohn Clark
452893c1771SThomas McKahan&pcie30phy {
453893c1771SThomas McKahan	status = "okay";
454893c1771SThomas McKahan};
455893c1771SThomas McKahan
456893c1771SThomas McKahan&pcie3x4 {
457893c1771SThomas McKahan	reset-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>;
458893c1771SThomas McKahan	vpcie3v3-supply = <&vcc3v3_pcie30>;
459893c1771SThomas McKahan	status = "okay";
460893c1771SThomas McKahan};
461893c1771SThomas McKahan
462893c1771SThomas McKahan&pinctrl {
463893c1771SThomas McKahan	gpio-leds {
464893c1771SThomas McKahan		sys_led_pin: sys-led-pin {
465893c1771SThomas McKahan			rockchip,pins = <2 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
466893c1771SThomas McKahan		};
467893c1771SThomas McKahan
468893c1771SThomas McKahan		usr_led_pin: usr-led-pin {
469893c1771SThomas McKahan			rockchip,pins = <2 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>;
470893c1771SThomas McKahan		};
471893c1771SThomas McKahan	};
472893c1771SThomas McKahan
473893c1771SThomas McKahan	headphone {
474893c1771SThomas McKahan		hp_det: hp-det {
475893c1771SThomas McKahan			rockchip,pins = <1 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>;
476893c1771SThomas McKahan		};
477893c1771SThomas McKahan	};
478893c1771SThomas McKahan
479893c1771SThomas McKahan	hym8563 {
480893c1771SThomas McKahan		hym8563_int: hym8563-int {
481893c1771SThomas McKahan			rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>;
482893c1771SThomas McKahan		};
483893c1771SThomas McKahan	};
484893c1771SThomas McKahan
485893c1771SThomas McKahan	pcie {
486a721e28dSJohn Clark		pcie2_0_rst: pcie2-0-rst {
487a721e28dSJohn Clark			rockchip,pins = <4 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
488a721e28dSJohn Clark		};
489a721e28dSJohn Clark
490*e93c90f2SJohn Clark		pcie2_1_rst: pcie2-1-rst {
491*e93c90f2SJohn Clark			rockchip,pins = <4 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
492*e93c90f2SJohn Clark		};
493*e93c90f2SJohn Clark
494a721e28dSJohn Clark		pcie2_2_rst: pcie2-2-rst {
495a721e28dSJohn Clark			rockchip,pins = <4 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
496a721e28dSJohn Clark		};
497a721e28dSJohn Clark
498893c1771SThomas McKahan		pcie_m2_0_pwren: pcie-m20-pwren {
499893c1771SThomas McKahan			rockchip,pins = <2 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>;
500893c1771SThomas McKahan		};
501*e93c90f2SJohn Clark
502*e93c90f2SJohn Clark		pcie_m2_1_pwren: pcie-m21-pwren {
503*e93c90f2SJohn Clark			rockchip,pins = <4 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;
504*e93c90f2SJohn Clark		};
505893c1771SThomas McKahan	};
506893c1771SThomas McKahan
507893c1771SThomas McKahan	usb {
508893c1771SThomas McKahan		typec5v_pwren: typec5v-pwren {
509893c1771SThomas McKahan			rockchip,pins = <1 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
510893c1771SThomas McKahan		};
511893c1771SThomas McKahan
512893c1771SThomas McKahan		usbc0_int: usbc0-int {
513893c1771SThomas McKahan			rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>;
514893c1771SThomas McKahan		};
515893c1771SThomas McKahan	};
516893c1771SThomas McKahan};
517893c1771SThomas McKahan
518893c1771SThomas McKahan&pwm1 {
519893c1771SThomas McKahan	pinctrl-0 = <&pwm1m1_pins>;
520893c1771SThomas McKahan	status = "okay";
521893c1771SThomas McKahan};
522893c1771SThomas McKahan
523893c1771SThomas McKahan&saradc {
524893c1771SThomas McKahan	vref-supply = <&avcc_1v8_s0>;
525893c1771SThomas McKahan	status = "okay";
526893c1771SThomas McKahan};
527893c1771SThomas McKahan
528893c1771SThomas McKahan&sdhci {
529893c1771SThomas McKahan	bus-width = <8>;
530893c1771SThomas McKahan	no-sdio;
531893c1771SThomas McKahan	no-sd;
532893c1771SThomas McKahan	non-removable;
533893c1771SThomas McKahan	max-frequency = <200000000>;
534893c1771SThomas McKahan	mmc-hs400-1_8v;
535893c1771SThomas McKahan	mmc-hs400-enhanced-strobe;
536893c1771SThomas McKahan	status = "okay";
537893c1771SThomas McKahan};
538893c1771SThomas McKahan
539893c1771SThomas McKahan&sdmmc {
540893c1771SThomas McKahan	max-frequency = <200000000>;
541893c1771SThomas McKahan	no-sdio;
542893c1771SThomas McKahan	no-mmc;
543893c1771SThomas McKahan	bus-width = <4>;
544893c1771SThomas McKahan	cap-mmc-highspeed;
545893c1771SThomas McKahan	cap-sd-highspeed;
546893c1771SThomas McKahan	disable-wp;
547893c1771SThomas McKahan	sd-uhs-sdr104;
548893c1771SThomas McKahan	vmmc-supply = <&vcc_3v3_s3>;
549893c1771SThomas McKahan	vqmmc-supply = <&vccio_sd_s0>;
550893c1771SThomas McKahan	status = "okay";
551893c1771SThomas McKahan};
552893c1771SThomas McKahan
553893c1771SThomas McKahan&spi2 {
554893c1771SThomas McKahan	status = "okay";
555893c1771SThomas McKahan	assigned-clocks = <&cru CLK_SPI2>;
556893c1771SThomas McKahan	assigned-clock-rates = <200000000>;
557893c1771SThomas McKahan	pinctrl-names = "default";
558893c1771SThomas McKahan	pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>;
559893c1771SThomas McKahan	num-cs = <1>;
560893c1771SThomas McKahan
561893c1771SThomas McKahan	pmic@0 {
562893c1771SThomas McKahan		compatible = "rockchip,rk806";
563893c1771SThomas McKahan		spi-max-frequency = <1000000>;
564893c1771SThomas McKahan		reg = <0x0>;
565893c1771SThomas McKahan
566893c1771SThomas McKahan		interrupt-parent = <&gpio0>;
567893c1771SThomas McKahan		interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
568893c1771SThomas McKahan
569893c1771SThomas McKahan		pinctrl-names = "default";
570893c1771SThomas McKahan		pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
571893c1771SThomas McKahan			    <&rk806_dvs2_null>, <&rk806_dvs3_null>;
572893c1771SThomas McKahan
573893c1771SThomas McKahan		vcc1-supply = <&vcc4v0_sys>;
574893c1771SThomas McKahan		vcc2-supply = <&vcc4v0_sys>;
575893c1771SThomas McKahan		vcc3-supply = <&vcc4v0_sys>;
576893c1771SThomas McKahan		vcc4-supply = <&vcc4v0_sys>;
577893c1771SThomas McKahan		vcc5-supply = <&vcc4v0_sys>;
578893c1771SThomas McKahan		vcc6-supply = <&vcc4v0_sys>;
579893c1771SThomas McKahan		vcc7-supply = <&vcc4v0_sys>;
580893c1771SThomas McKahan		vcc8-supply = <&vcc4v0_sys>;
581893c1771SThomas McKahan		vcc9-supply = <&vcc4v0_sys>;
582893c1771SThomas McKahan		vcc10-supply = <&vcc4v0_sys>;
583893c1771SThomas McKahan		vcc11-supply = <&vcc_2v0_pldo_s3>;
584893c1771SThomas McKahan		vcc12-supply = <&vcc4v0_sys>;
585893c1771SThomas McKahan		vcc13-supply = <&vcc_1v1_nldo_s3>;
586893c1771SThomas McKahan		vcc14-supply = <&vcc_1v1_nldo_s3>;
587893c1771SThomas McKahan		vcca-supply = <&vcc4v0_sys>;
588893c1771SThomas McKahan
589893c1771SThomas McKahan		gpio-controller;
590893c1771SThomas McKahan		#gpio-cells = <2>;
591893c1771SThomas McKahan
592893c1771SThomas McKahan		rk806_dvs1_null: dvs1-null-pins {
593893c1771SThomas McKahan			pins = "gpio_pwrctrl2";
594893c1771SThomas McKahan			function = "pin_fun0";
595893c1771SThomas McKahan		};
596893c1771SThomas McKahan
597893c1771SThomas McKahan		rk806_dvs2_null: dvs2-null-pins {
598893c1771SThomas McKahan			pins = "gpio_pwrctrl2";
599893c1771SThomas McKahan			function = "pin_fun0";
600893c1771SThomas McKahan		};
601893c1771SThomas McKahan
602893c1771SThomas McKahan		rk806_dvs3_null: dvs3-null-pins {
603893c1771SThomas McKahan			pins = "gpio_pwrctrl3";
604893c1771SThomas McKahan			function = "pin_fun0";
605893c1771SThomas McKahan		};
606893c1771SThomas McKahan
607893c1771SThomas McKahan		regulators {
608893c1771SThomas McKahan			vdd_gpu_s0: vdd_gpu_mem_s0: dcdc-reg1 {
609893c1771SThomas McKahan				regulator-boot-on;
610893c1771SThomas McKahan				regulator-min-microvolt = <550000>;
611893c1771SThomas McKahan				regulator-max-microvolt = <950000>;
612893c1771SThomas McKahan				regulator-ramp-delay = <12500>;
613893c1771SThomas McKahan				regulator-name = "vdd_gpu_s0";
614893c1771SThomas McKahan				regulator-enable-ramp-delay = <400>;
615893c1771SThomas McKahan
616893c1771SThomas McKahan				regulator-state-mem {
617893c1771SThomas McKahan					regulator-off-in-suspend;
618893c1771SThomas McKahan				};
619893c1771SThomas McKahan			};
620893c1771SThomas McKahan
621893c1771SThomas McKahan			vdd_cpu_lit_s0: vdd_cpu_lit_mem_s0: dcdc-reg2 {
622893c1771SThomas McKahan				regulator-always-on;
623893c1771SThomas McKahan				regulator-boot-on;
624893c1771SThomas McKahan				regulator-min-microvolt = <550000>;
625893c1771SThomas McKahan				regulator-max-microvolt = <950000>;
626893c1771SThomas McKahan				regulator-ramp-delay = <12500>;
627893c1771SThomas McKahan				regulator-name = "vdd_cpu_lit_s0";
628893c1771SThomas McKahan
629893c1771SThomas McKahan				regulator-state-mem {
630893c1771SThomas McKahan					regulator-off-in-suspend;
631893c1771SThomas McKahan				};
632893c1771SThomas McKahan			};
633893c1771SThomas McKahan
634893c1771SThomas McKahan			vdd_log_s0: dcdc-reg3 {
635893c1771SThomas McKahan				regulator-always-on;
636893c1771SThomas McKahan				regulator-boot-on;
637893c1771SThomas McKahan				regulator-min-microvolt = <675000>;
638893c1771SThomas McKahan				regulator-max-microvolt = <750000>;
639893c1771SThomas McKahan				regulator-ramp-delay = <12500>;
640893c1771SThomas McKahan				regulator-name = "vdd_log_s0";
641893c1771SThomas McKahan
642893c1771SThomas McKahan				regulator-state-mem {
643893c1771SThomas McKahan					regulator-off-in-suspend;
644893c1771SThomas McKahan					regulator-suspend-microvolt = <750000>;
645893c1771SThomas McKahan				};
646893c1771SThomas McKahan			};
647893c1771SThomas McKahan
648893c1771SThomas McKahan			vdd_vdenc_s0: vdd_vdenc_mem_s0: dcdc-reg4 {
649893c1771SThomas McKahan				regulator-always-on;
650893c1771SThomas McKahan				regulator-boot-on;
651893c1771SThomas McKahan				regulator-min-microvolt = <550000>;
652893c1771SThomas McKahan				regulator-max-microvolt = <950000>;
653893c1771SThomas McKahan				regulator-init-microvolt = <750000>;
654893c1771SThomas McKahan				regulator-ramp-delay = <12500>;
655893c1771SThomas McKahan				regulator-name = "vdd_vdenc_s0";
656893c1771SThomas McKahan
657893c1771SThomas McKahan				regulator-state-mem {
658893c1771SThomas McKahan					regulator-off-in-suspend;
659893c1771SThomas McKahan				};
660893c1771SThomas McKahan			};
661893c1771SThomas McKahan
662893c1771SThomas McKahan			vdd_ddr_s0: dcdc-reg5 {
663893c1771SThomas McKahan				regulator-always-on;
664893c1771SThomas McKahan				regulator-boot-on;
665893c1771SThomas McKahan				regulator-min-microvolt = <675000>;
666893c1771SThomas McKahan				regulator-max-microvolt = <900000>;
667893c1771SThomas McKahan				regulator-ramp-delay = <12500>;
668893c1771SThomas McKahan				regulator-name = "vdd_ddr_s0";
669893c1771SThomas McKahan
670893c1771SThomas McKahan				regulator-state-mem {
671893c1771SThomas McKahan					regulator-off-in-suspend;
672893c1771SThomas McKahan					regulator-suspend-microvolt = <850000>;
673893c1771SThomas McKahan				};
674893c1771SThomas McKahan			};
675893c1771SThomas McKahan
676893c1771SThomas McKahan			vdd2_ddr_s3: dcdc-reg6 {
677893c1771SThomas McKahan				regulator-always-on;
678893c1771SThomas McKahan				regulator-boot-on;
679893c1771SThomas McKahan				regulator-name = "vdd2_ddr_s3";
680893c1771SThomas McKahan
681893c1771SThomas McKahan				regulator-state-mem {
682893c1771SThomas McKahan					regulator-on-in-suspend;
683893c1771SThomas McKahan				};
684893c1771SThomas McKahan			};
685893c1771SThomas McKahan
686893c1771SThomas McKahan			vcc_2v0_pldo_s3: dcdc-reg7 {
687893c1771SThomas McKahan				regulator-always-on;
688893c1771SThomas McKahan				regulator-boot-on;
689893c1771SThomas McKahan				regulator-min-microvolt = <2000000>;
690893c1771SThomas McKahan				regulator-max-microvolt = <2000000>;
691893c1771SThomas McKahan				regulator-ramp-delay = <12500>;
692893c1771SThomas McKahan				regulator-name = "vdd_2v0_pldo_s3";
693893c1771SThomas McKahan
694893c1771SThomas McKahan				regulator-state-mem {
695893c1771SThomas McKahan					regulator-on-in-suspend;
696893c1771SThomas McKahan					regulator-suspend-microvolt = <2000000>;
697893c1771SThomas McKahan				};
698893c1771SThomas McKahan			};
699893c1771SThomas McKahan
700893c1771SThomas McKahan			vcc_3v3_s3: dcdc-reg8 {
701893c1771SThomas McKahan				regulator-always-on;
702893c1771SThomas McKahan				regulator-boot-on;
703893c1771SThomas McKahan				regulator-min-microvolt = <3300000>;
704893c1771SThomas McKahan				regulator-max-microvolt = <3300000>;
705893c1771SThomas McKahan				regulator-name = "vcc_3v3_s3";
706893c1771SThomas McKahan
707893c1771SThomas McKahan				regulator-state-mem {
708893c1771SThomas McKahan					regulator-on-in-suspend;
709893c1771SThomas McKahan					regulator-suspend-microvolt = <3300000>;
710893c1771SThomas McKahan				};
711893c1771SThomas McKahan			};
712893c1771SThomas McKahan
713893c1771SThomas McKahan			vddq_ddr_s0: dcdc-reg9 {
714893c1771SThomas McKahan				regulator-always-on;
715893c1771SThomas McKahan				regulator-boot-on;
716893c1771SThomas McKahan				regulator-name = "vddq_ddr_s0";
717893c1771SThomas McKahan
718893c1771SThomas McKahan				regulator-state-mem {
719893c1771SThomas McKahan					regulator-off-in-suspend;
720893c1771SThomas McKahan				};
721893c1771SThomas McKahan			};
722893c1771SThomas McKahan
723893c1771SThomas McKahan			vcc_1v8_s3: dcdc-reg10 {
724893c1771SThomas McKahan				regulator-always-on;
725893c1771SThomas McKahan				regulator-boot-on;
726893c1771SThomas McKahan				regulator-min-microvolt = <1800000>;
727893c1771SThomas McKahan				regulator-max-microvolt = <1800000>;
728893c1771SThomas McKahan				regulator-name = "vcc_1v8_s3";
729893c1771SThomas McKahan
730893c1771SThomas McKahan				regulator-state-mem {
731893c1771SThomas McKahan					regulator-on-in-suspend;
732893c1771SThomas McKahan					regulator-suspend-microvolt = <1800000>;
733893c1771SThomas McKahan				};
734893c1771SThomas McKahan			};
735893c1771SThomas McKahan
736893c1771SThomas McKahan			avcc_1v8_s0: pldo-reg1 {
737893c1771SThomas McKahan				regulator-always-on;
738893c1771SThomas McKahan				regulator-boot-on;
739893c1771SThomas McKahan				regulator-min-microvolt = <1800000>;
740893c1771SThomas McKahan				regulator-max-microvolt = <1800000>;
741893c1771SThomas McKahan				regulator-name = "avcc_1v8_s0";
742893c1771SThomas McKahan
743893c1771SThomas McKahan				regulator-state-mem {
744893c1771SThomas McKahan					regulator-off-in-suspend;
745893c1771SThomas McKahan				};
746893c1771SThomas McKahan			};
747893c1771SThomas McKahan
748893c1771SThomas McKahan			vcc_1v8_s0: pldo-reg2 {
749893c1771SThomas McKahan				regulator-always-on;
750893c1771SThomas McKahan				regulator-boot-on;
751893c1771SThomas McKahan				regulator-min-microvolt = <1800000>;
752893c1771SThomas McKahan				regulator-max-microvolt = <1800000>;
753893c1771SThomas McKahan				regulator-name = "vcc_1v8_s0";
754893c1771SThomas McKahan
755893c1771SThomas McKahan				regulator-state-mem {
756893c1771SThomas McKahan					regulator-off-in-suspend;
757893c1771SThomas McKahan					regulator-suspend-microvolt = <1800000>;
758893c1771SThomas McKahan				};
759893c1771SThomas McKahan			};
760893c1771SThomas McKahan
761893c1771SThomas McKahan			avdd_1v2_s0: pldo-reg3 {
762893c1771SThomas McKahan				regulator-always-on;
763893c1771SThomas McKahan				regulator-boot-on;
764893c1771SThomas McKahan				regulator-min-microvolt = <1200000>;
765893c1771SThomas McKahan				regulator-max-microvolt = <1200000>;
766893c1771SThomas McKahan				regulator-name = "avdd_1v2_s0";
767893c1771SThomas McKahan
768893c1771SThomas McKahan				regulator-state-mem {
769893c1771SThomas McKahan					regulator-off-in-suspend;
770893c1771SThomas McKahan				};
771893c1771SThomas McKahan			};
772893c1771SThomas McKahan
773893c1771SThomas McKahan			vcc_3v3_s0: pldo-reg4 {
774893c1771SThomas McKahan				regulator-always-on;
775893c1771SThomas McKahan				regulator-boot-on;
776893c1771SThomas McKahan				regulator-min-microvolt = <3300000>;
777893c1771SThomas McKahan				regulator-max-microvolt = <3300000>;
778893c1771SThomas McKahan				regulator-ramp-delay = <12500>;
779893c1771SThomas McKahan				regulator-name = "vcc_3v3_s0";
780893c1771SThomas McKahan
781893c1771SThomas McKahan				regulator-state-mem {
782893c1771SThomas McKahan					regulator-off-in-suspend;
783893c1771SThomas McKahan				};
784893c1771SThomas McKahan			};
785893c1771SThomas McKahan
786893c1771SThomas McKahan			vccio_sd_s0: pldo-reg5 {
787893c1771SThomas McKahan				regulator-always-on;
788893c1771SThomas McKahan				regulator-boot-on;
789893c1771SThomas McKahan				regulator-min-microvolt = <1800000>;
790893c1771SThomas McKahan				regulator-max-microvolt = <3300000>;
791893c1771SThomas McKahan				regulator-ramp-delay = <12500>;
792893c1771SThomas McKahan				regulator-name = "vccio_sd_s0";
793893c1771SThomas McKahan
794893c1771SThomas McKahan				regulator-state-mem {
795893c1771SThomas McKahan					regulator-off-in-suspend;
796893c1771SThomas McKahan				};
797893c1771SThomas McKahan			};
798893c1771SThomas McKahan
799893c1771SThomas McKahan			pldo6_s3: pldo-reg6 {
800893c1771SThomas McKahan				regulator-always-on;
801893c1771SThomas McKahan				regulator-boot-on;
802893c1771SThomas McKahan				regulator-min-microvolt = <1800000>;
803893c1771SThomas McKahan				regulator-max-microvolt = <1800000>;
804893c1771SThomas McKahan				regulator-name = "pldo6_s3";
805893c1771SThomas McKahan
806893c1771SThomas McKahan				regulator-state-mem {
807893c1771SThomas McKahan					regulator-on-in-suspend;
808893c1771SThomas McKahan					regulator-suspend-microvolt = <1800000>;
809893c1771SThomas McKahan				};
810893c1771SThomas McKahan			};
811893c1771SThomas McKahan
812893c1771SThomas McKahan			vdd_0v75_s3: nldo-reg1 {
813893c1771SThomas McKahan				regulator-always-on;
814893c1771SThomas McKahan				regulator-boot-on;
815893c1771SThomas McKahan				regulator-min-microvolt = <750000>;
816893c1771SThomas McKahan				regulator-max-microvolt = <750000>;
817893c1771SThomas McKahan				regulator-name = "vdd_0v75_s3";
818893c1771SThomas McKahan
819893c1771SThomas McKahan				regulator-state-mem {
820893c1771SThomas McKahan					regulator-on-in-suspend;
821893c1771SThomas McKahan					regulator-suspend-microvolt = <750000>;
822893c1771SThomas McKahan				};
823893c1771SThomas McKahan			};
824893c1771SThomas McKahan
825893c1771SThomas McKahan			vdd_ddr_pll_s0: nldo-reg2 {
826893c1771SThomas McKahan				regulator-always-on;
827893c1771SThomas McKahan				regulator-boot-on;
828893c1771SThomas McKahan				regulator-min-microvolt = <850000>;
829893c1771SThomas McKahan				regulator-max-microvolt = <850000>;
830893c1771SThomas McKahan				regulator-name = "vdd_ddr_pll_s0";
831893c1771SThomas McKahan
832893c1771SThomas McKahan				regulator-state-mem {
833893c1771SThomas McKahan					regulator-off-in-suspend;
834893c1771SThomas McKahan					regulator-suspend-microvolt = <850000>;
835893c1771SThomas McKahan				};
836893c1771SThomas McKahan			};
837893c1771SThomas McKahan
838893c1771SThomas McKahan			avdd_0v75_s0: nldo-reg3 {
839893c1771SThomas McKahan				regulator-always-on;
840893c1771SThomas McKahan				regulator-boot-on;
841893c1771SThomas McKahan				regulator-min-microvolt = <750000>;
842893c1771SThomas McKahan				regulator-max-microvolt = <750000>;
843893c1771SThomas McKahan				regulator-name = "avdd_0v75_s0";
844893c1771SThomas McKahan
845893c1771SThomas McKahan				regulator-state-mem {
846893c1771SThomas McKahan					regulator-off-in-suspend;
847893c1771SThomas McKahan				};
848893c1771SThomas McKahan			};
849893c1771SThomas McKahan
850893c1771SThomas McKahan			vdd_0v85_s0: nldo-reg4 {
851893c1771SThomas McKahan				regulator-always-on;
852893c1771SThomas McKahan				regulator-boot-on;
853893c1771SThomas McKahan				regulator-min-microvolt = <850000>;
854893c1771SThomas McKahan				regulator-max-microvolt = <850000>;
855893c1771SThomas McKahan				regulator-name = "vdd_0v85_s0";
856893c1771SThomas McKahan
857893c1771SThomas McKahan				regulator-state-mem {
858893c1771SThomas McKahan					regulator-off-in-suspend;
859893c1771SThomas McKahan				};
860893c1771SThomas McKahan			};
861893c1771SThomas McKahan
862893c1771SThomas McKahan			vdd_0v75_s0: nldo-reg5 {
863893c1771SThomas McKahan				regulator-always-on;
864893c1771SThomas McKahan				regulator-boot-on;
865893c1771SThomas McKahan				regulator-min-microvolt = <750000>;
866893c1771SThomas McKahan				regulator-max-microvolt = <750000>;
867893c1771SThomas McKahan				regulator-name = "vdd_0v75_s0";
868893c1771SThomas McKahan
869893c1771SThomas McKahan				regulator-state-mem {
870893c1771SThomas McKahan					regulator-off-in-suspend;
871893c1771SThomas McKahan				};
872893c1771SThomas McKahan			};
873893c1771SThomas McKahan		};
874893c1771SThomas McKahan	};
875893c1771SThomas McKahan};
876893c1771SThomas McKahan
877893c1771SThomas McKahan&tsadc {
878893c1771SThomas McKahan	status = "okay";
879893c1771SThomas McKahan};
880893c1771SThomas McKahan
881893c1771SThomas McKahan&uart2 {
882893c1771SThomas McKahan	pinctrl-0 = <&uart2m0_xfer>;
883893c1771SThomas McKahan	status = "okay";
884893c1771SThomas McKahan};
885893c1771SThomas McKahan
886893c1771SThomas McKahan&u2phy2_host {
887893c1771SThomas McKahan	status = "okay";
888893c1771SThomas McKahan};
889893c1771SThomas McKahan
890893c1771SThomas McKahan&u2phy3_host {
891893c1771SThomas McKahan	status = "okay";
892893c1771SThomas McKahan};
893893c1771SThomas McKahan
894893c1771SThomas McKahan&u2phy2 {
895893c1771SThomas McKahan	status = "okay";
896893c1771SThomas McKahan};
897893c1771SThomas McKahan
898893c1771SThomas McKahan&u2phy3 {
899893c1771SThomas McKahan	status = "okay";
900893c1771SThomas McKahan};
901893c1771SThomas McKahan
902893c1771SThomas McKahan&usb_host0_ehci {
903893c1771SThomas McKahan	status = "okay";
904893c1771SThomas McKahan};
905893c1771SThomas McKahan
906893c1771SThomas McKahan&usb_host0_ohci {
907893c1771SThomas McKahan	status = "okay";
908893c1771SThomas McKahan};
909893c1771SThomas McKahan
910893c1771SThomas McKahan&usb_host1_ehci {
911893c1771SThomas McKahan	status = "okay";
912893c1771SThomas McKahan};
913893c1771SThomas McKahan
914893c1771SThomas McKahan&usb_host1_ohci {
915893c1771SThomas McKahan	status = "okay";
916893c1771SThomas McKahan};
917