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
118*a721e28dSJohn Clark	vcc_3v3_pcie20: vcc3v3-pcie20-regulator {
119*a721e28dSJohn Clark		compatible = "regulator-fixed";
120*a721e28dSJohn Clark		regulator-name = "vcc_3v3_pcie20";
121*a721e28dSJohn Clark		regulator-always-on;
122*a721e28dSJohn Clark		regulator-boot-on;
123*a721e28dSJohn Clark		regulator-min-microvolt = <3300000>;
124*a721e28dSJohn Clark		regulator-max-microvolt = <3300000>;
125*a721e28dSJohn Clark		vin-supply = <&vcc_3v3_s3>;
126*a721e28dSJohn Clark	};
127*a721e28dSJohn 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
140893c1771SThomas McKahan	vcc3v3_pcie30: vcc3v3-pcie30-regulator {
141893c1771SThomas McKahan		compatible = "regulator-fixed";
142893c1771SThomas McKahan		enable-active-high;
143893c1771SThomas McKahan		gpios = <&gpio2 RK_PC5 GPIO_ACTIVE_HIGH>;
144893c1771SThomas McKahan		pinctrl-names = "default";
145893c1771SThomas McKahan		pinctrl-0 = <&pcie_m2_0_pwren>;
146893c1771SThomas McKahan		regulator-name = "vcc3v3_pcie30";
147893c1771SThomas McKahan		regulator-min-microvolt = <3300000>;
148893c1771SThomas McKahan		regulator-max-microvolt = <3300000>;
149893c1771SThomas McKahan		vin-supply = <&vcc5v0_sys>;
150893c1771SThomas McKahan	};
151893c1771SThomas McKahan};
152893c1771SThomas McKahan
153*a721e28dSJohn Clark&combphy0_ps {
154*a721e28dSJohn Clark	status = "okay";
155*a721e28dSJohn Clark};
156*a721e28dSJohn Clark
157*a721e28dSJohn Clark&combphy1_ps {
158*a721e28dSJohn Clark	status = "okay";
159*a721e28dSJohn Clark};
160*a721e28dSJohn Clark
161*a721e28dSJohn Clark&combphy2_psu {
162*a721e28dSJohn Clark	status = "okay";
163*a721e28dSJohn Clark};
164*a721e28dSJohn Clark
165893c1771SThomas McKahan&cpu_l0 {
166893c1771SThomas McKahan	cpu-supply = <&vdd_cpu_lit_s0>;
167893c1771SThomas McKahan};
168893c1771SThomas McKahan
169893c1771SThomas McKahan&cpu_l1 {
170893c1771SThomas McKahan	cpu-supply = <&vdd_cpu_lit_s0>;
171893c1771SThomas McKahan};
172893c1771SThomas McKahan
173893c1771SThomas McKahan&cpu_l2 {
174893c1771SThomas McKahan	cpu-supply = <&vdd_cpu_lit_s0>;
175893c1771SThomas McKahan};
176893c1771SThomas McKahan
177893c1771SThomas McKahan&cpu_l3 {
178893c1771SThomas McKahan	cpu-supply = <&vdd_cpu_lit_s0>;
179893c1771SThomas McKahan};
180893c1771SThomas McKahan
181893c1771SThomas McKahan&cpu_b0{
182893c1771SThomas McKahan	cpu-supply = <&vdd_cpu_big0_s0>;
183893c1771SThomas McKahan};
184893c1771SThomas McKahan
185893c1771SThomas McKahan&cpu_b1{
186893c1771SThomas McKahan	cpu-supply = <&vdd_cpu_big0_s0>;
187893c1771SThomas McKahan};
188893c1771SThomas McKahan
189893c1771SThomas McKahan&cpu_b2{
190893c1771SThomas McKahan	cpu-supply = <&vdd_cpu_big1_s0>;
191893c1771SThomas McKahan};
192893c1771SThomas McKahan
193893c1771SThomas McKahan&cpu_b3{
194893c1771SThomas McKahan	cpu-supply = <&vdd_cpu_big1_s0>;
195893c1771SThomas McKahan};
196893c1771SThomas McKahan
197893c1771SThomas McKahan&gpio0 {
198893c1771SThomas McKahan	gpio-line-names = /* GPIO0 A0-A7 */
199893c1771SThomas McKahan			  "", "", "", "",
200893c1771SThomas McKahan			  "", "", "", "",
201893c1771SThomas McKahan			  /* GPIO0 B0-B7 */
202893c1771SThomas McKahan			  "", "", "", "",
203893c1771SThomas McKahan			  "", "", "", "",
204893c1771SThomas McKahan			  /* GPIO0 C0-C7 */
205893c1771SThomas McKahan			  "", "", "", "",
206893c1771SThomas McKahan			  "HEADER_10", "HEADER_08", "HEADER_32", "",
207893c1771SThomas McKahan			  /* GPIO0 D0-D7 */
208893c1771SThomas McKahan			  "", "", "", "",
209893c1771SThomas McKahan			  "", "", "", "";
210893c1771SThomas McKahan};
211893c1771SThomas McKahan
212893c1771SThomas McKahan&gpio1 {
213893c1771SThomas McKahan	gpio-line-names = /* GPIO1 A0-A7 */
214893c1771SThomas McKahan			  "HEADER_27", "HEADER_28", "", "",
215893c1771SThomas McKahan			  "", "", "", "HEADER_15",
216893c1771SThomas McKahan			  /* GPIO1 B0-B7 */
217893c1771SThomas McKahan			  "HEADER_26", "HEADER_21", "HEADER_19", "HEADER_23",
218893c1771SThomas McKahan			  "HEADER_24", "HEADER_22", "", "",
219893c1771SThomas McKahan			  /* GPIO1 C0-C7 */
220893c1771SThomas McKahan			  "", "", "", "",
221893c1771SThomas McKahan			  "", "", "", "",
222893c1771SThomas McKahan			  /* GPIO1 D0-D7 */
223893c1771SThomas McKahan			  "", "", "", "",
224893c1771SThomas McKahan			  "", "", "HEADER_05", "HEADER_03";
225893c1771SThomas McKahan};
226893c1771SThomas McKahan
227893c1771SThomas McKahan&gpio2 {
228893c1771SThomas McKahan	gpio-line-names = /* GPIO2 A0-A7 */
229893c1771SThomas McKahan			  "", "", "", "",
230893c1771SThomas McKahan			  "", "", "", "",
231893c1771SThomas McKahan			  /* GPIO2 B0-B7 */
232893c1771SThomas McKahan			  "", "", "", "",
233893c1771SThomas McKahan			  "", "", "", "",
234893c1771SThomas McKahan			  /* GPIO2 C0-C7 */
235893c1771SThomas McKahan			  "", "CSI1_11", "CSI1_12", "",
236893c1771SThomas McKahan			  "", "", "", "",
237893c1771SThomas McKahan			  /* GPIO2 D0-D7 */
238893c1771SThomas McKahan			  "", "", "", "",
239893c1771SThomas McKahan			  "", "", "", "";
240893c1771SThomas McKahan};
241893c1771SThomas McKahan
242893c1771SThomas McKahan&gpio3 {
243893c1771SThomas McKahan	gpio-line-names = /* GPIO3 A0-A7 */
244893c1771SThomas McKahan			  "HEADER_35", "HEADER_38", "HEADER_40", "HEADER_36",
245893c1771SThomas McKahan			  "HEADER_37", "", "DSI0_12", "",
246893c1771SThomas McKahan			  /* GPIO3 B0-B7 */
247893c1771SThomas McKahan			  "HEADER_33", "DSI0_10", "HEADER_07", "HEADER_16",
248893c1771SThomas McKahan			  "HEADER_18", "HEADER_29", "HEADER_31", "HEADER_12",
249893c1771SThomas McKahan			  /* GPIO3 C0-C7 */
250893c1771SThomas McKahan			  "DSI0_08", "DSI0_14", "HEADER_11", "HEADER_13",
251893c1771SThomas McKahan			  "", "", "", "",
252893c1771SThomas McKahan			  /* GPIO3 D0-D7 */
253893c1771SThomas McKahan			  "", "", "", "",
254893c1771SThomas McKahan			  "", "DSI1_10", "", "";
255893c1771SThomas McKahan};
256893c1771SThomas McKahan
257893c1771SThomas McKahan&gpio4 {
258893c1771SThomas McKahan	gpio-line-names = /* GPIO4 A0-A7 */
259893c1771SThomas McKahan			  "DSI1_08", "DSI1_14", "", "DSI1_12",
260893c1771SThomas McKahan			  "", "", "", "",
261893c1771SThomas McKahan			  /* GPIO4 B0-B7 */
262893c1771SThomas McKahan			  "", "", "", "",
263893c1771SThomas McKahan			  "", "", "", "",
264893c1771SThomas McKahan			  /* GPIO4 C0-C7 */
265893c1771SThomas McKahan			  "", "", "", "",
266893c1771SThomas McKahan			  "CSI0_11", "CSI0_12", "", "",
267893c1771SThomas McKahan			  /* GPIO4 D0-D7 */
268893c1771SThomas McKahan			  "", "", "", "",
269893c1771SThomas McKahan			  "", "", "", "";
270893c1771SThomas McKahan};
271893c1771SThomas McKahan
272893c1771SThomas McKahan&i2c0 {
273893c1771SThomas McKahan	pinctrl-names = "default";
274893c1771SThomas McKahan	pinctrl-0 = <&i2c0m2_xfer>;
275893c1771SThomas McKahan	status = "okay";
276893c1771SThomas McKahan
277893c1771SThomas McKahan	vdd_cpu_big0_s0: regulator@42 {
278893c1771SThomas McKahan		compatible = "rockchip,rk8602";
279893c1771SThomas McKahan		reg = <0x42>;
280893c1771SThomas McKahan		fcs,suspend-voltage-selector = <1>;
281893c1771SThomas McKahan		regulator-name = "vdd_cpu_big0_s0";
282893c1771SThomas McKahan		regulator-always-on;
283893c1771SThomas McKahan		regulator-boot-on;
284893c1771SThomas McKahan		regulator-min-microvolt = <550000>;
285893c1771SThomas McKahan		regulator-max-microvolt = <1050000>;
286893c1771SThomas McKahan		regulator-ramp-delay = <2300>;
287893c1771SThomas McKahan		vin-supply = <&vcc4v0_sys>;
288893c1771SThomas McKahan
289893c1771SThomas McKahan		regulator-state-mem {
290893c1771SThomas McKahan			regulator-off-in-suspend;
291893c1771SThomas McKahan		};
292893c1771SThomas McKahan	};
293893c1771SThomas McKahan
294893c1771SThomas McKahan	vdd_cpu_big1_s0: regulator@43 {
295893c1771SThomas McKahan		compatible = "rockchip,rk8603", "rockchip,rk8602";
296893c1771SThomas McKahan		reg = <0x43>;
297893c1771SThomas McKahan		fcs,suspend-voltage-selector = <1>;
298893c1771SThomas McKahan		regulator-name = "vdd_cpu_big1_s0";
299893c1771SThomas McKahan		regulator-always-on;
300893c1771SThomas McKahan		regulator-boot-on;
301893c1771SThomas McKahan		regulator-min-microvolt = <550000>;
302893c1771SThomas McKahan		regulator-max-microvolt = <1050000>;
303893c1771SThomas McKahan		regulator-ramp-delay = <2300>;
304893c1771SThomas McKahan		vin-supply = <&vcc4v0_sys>;
305893c1771SThomas McKahan
306893c1771SThomas McKahan		regulator-state-mem {
307893c1771SThomas McKahan			regulator-off-in-suspend;
308893c1771SThomas McKahan		};
309893c1771SThomas McKahan	};
310893c1771SThomas McKahan};
311893c1771SThomas McKahan
312893c1771SThomas McKahan&i2c2 {
313893c1771SThomas McKahan	status = "okay";
314893c1771SThomas McKahan
315893c1771SThomas McKahan	vdd_npu_s0: regulator@42 {
316893c1771SThomas McKahan		compatible = "rockchip,rk8602";
317893c1771SThomas McKahan		reg = <0x42>;
318893c1771SThomas McKahan		rockchip,suspend-voltage-selector = <1>;
319893c1771SThomas McKahan		regulator-name = "vdd_npu_s0";
320893c1771SThomas McKahan		regulator-always-on;
321893c1771SThomas McKahan		regulator-boot-on;
322893c1771SThomas McKahan		regulator-min-microvolt = <550000>;
323893c1771SThomas McKahan		regulator-max-microvolt = <950000>;
324893c1771SThomas McKahan		regulator-ramp-delay = <2300>;
325893c1771SThomas McKahan		vin-supply = <&vcc4v0_sys>;
326893c1771SThomas McKahan
327893c1771SThomas McKahan		regulator-state-mem {
328893c1771SThomas McKahan			regulator-off-in-suspend;
329893c1771SThomas McKahan		};
330893c1771SThomas McKahan	};
331893c1771SThomas McKahan};
332893c1771SThomas McKahan
333893c1771SThomas McKahan&i2c6 {
334893c1771SThomas McKahan	clock-frequency = <200000>;
335893c1771SThomas McKahan	status = "okay";
336893c1771SThomas McKahan
337893c1771SThomas McKahan	fusb302: typec-portc@22 {
338893c1771SThomas McKahan		compatible = "fcs,fusb302";
339893c1771SThomas McKahan		reg = <0x22>;
340893c1771SThomas McKahan		interrupt-parent = <&gpio0>;
341893c1771SThomas McKahan		interrupts = <RK_PD3 IRQ_TYPE_LEVEL_LOW>;
342893c1771SThomas McKahan		pinctrl-0 = <&usbc0_int>;
343893c1771SThomas McKahan		pinctrl-names = "default";
344893c1771SThomas McKahan		vbus-supply = <&vbus5v0_typec>;
345893c1771SThomas McKahan
346893c1771SThomas McKahan		connector {
347893c1771SThomas McKahan			compatible = "usb-c-connector";
348893c1771SThomas McKahan			data-role = "dual";
349893c1771SThomas McKahan			label = "USB-C";
350893c1771SThomas McKahan			power-role = "dual";
351893c1771SThomas McKahan			try-power-role = "sink";
352893c1771SThomas McKahan			source-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)>;
353893c1771SThomas McKahan			sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
354893c1771SThomas McKahan			op-sink-microwatt = <1000000>;
355893c1771SThomas McKahan		};
356893c1771SThomas McKahan	};
357893c1771SThomas McKahan
358893c1771SThomas McKahan	hym8563: rtc@51 {
359893c1771SThomas McKahan		compatible = "haoyu,hym8563";
360893c1771SThomas McKahan		reg = <0x51>;
361893c1771SThomas McKahan		#clock-cells = <0>;
362893c1771SThomas McKahan		clock-output-names = "hym8563";
363893c1771SThomas McKahan		pinctrl-names = "default";
364893c1771SThomas McKahan		pinctrl-0 = <&hym8563_int>;
365893c1771SThomas McKahan		interrupt-parent = <&gpio0>;
366893c1771SThomas McKahan		interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>;
367893c1771SThomas McKahan		wakeup-source;
368893c1771SThomas McKahan	};
369893c1771SThomas McKahan};
370893c1771SThomas McKahan
371893c1771SThomas McKahan&i2c7 {
372893c1771SThomas McKahan	clock-frequency = <200000>;
373893c1771SThomas McKahan	status = "okay";
374893c1771SThomas McKahan
375893c1771SThomas McKahan	rt5616: codec@1b {
376893c1771SThomas McKahan		compatible = "realtek,rt5616";
377893c1771SThomas McKahan		reg = <0x1b>;
378893c1771SThomas McKahan		clocks = <&cru I2S0_8CH_MCLKOUT>;
379893c1771SThomas McKahan		clock-names = "mclk";
380893c1771SThomas McKahan		#sound-dai-cells = <0>;
381893c1771SThomas McKahan		assigned-clocks = <&cru I2S0_8CH_MCLKOUT>;
382893c1771SThomas McKahan		assigned-clock-rates = <12288000>;
383893c1771SThomas McKahan
384893c1771SThomas McKahan		port {
385893c1771SThomas McKahan			rt5616_p0_0: endpoint {
386893c1771SThomas McKahan				remote-endpoint = <&i2s0_8ch_p0_0>;
387893c1771SThomas McKahan			};
388893c1771SThomas McKahan		};
389893c1771SThomas McKahan	};
390893c1771SThomas McKahan
391893c1771SThomas McKahan	/* connected with MIPI-CSI1 */
392893c1771SThomas McKahan};
393893c1771SThomas McKahan
394893c1771SThomas McKahan&i2c8 {
395893c1771SThomas McKahan	pinctrl-0 = <&i2c8m2_xfer>;
396893c1771SThomas McKahan};
397893c1771SThomas McKahan
398893c1771SThomas McKahan&i2s0_8ch {
399893c1771SThomas McKahan	pinctrl-names = "default";
400893c1771SThomas McKahan	pinctrl-0 = <&i2s0_lrck
401893c1771SThomas McKahan		     &i2s0_mclk
402893c1771SThomas McKahan		     &i2s0_sclk
403893c1771SThomas McKahan		     &i2s0_sdi0
404893c1771SThomas McKahan		     &i2s0_sdo0>;
405893c1771SThomas McKahan	status = "okay";
406893c1771SThomas McKahan
407893c1771SThomas McKahan	i2s0_8ch_p0: port {
408893c1771SThomas McKahan		i2s0_8ch_p0_0: endpoint {
409893c1771SThomas McKahan			dai-format = "i2s";
410893c1771SThomas McKahan			mclk-fs = <256>;
411893c1771SThomas McKahan			remote-endpoint = <&rt5616_p0_0>;
412893c1771SThomas McKahan		};
413893c1771SThomas McKahan	};
414893c1771SThomas McKahan};
415893c1771SThomas McKahan
416*a721e28dSJohn Clark&pcie2x1l0 {
417*a721e28dSJohn Clark	reset-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>;
418*a721e28dSJohn Clark	vpcie3v3-supply = <&vcc_3v3_pcie20>;
419*a721e28dSJohn Clark	pinctrl-names = "default";
420*a721e28dSJohn Clark	pinctrl-0 = <&pcie2_0_rst>;
421*a721e28dSJohn Clark	status = "okay";
422*a721e28dSJohn Clark};
423*a721e28dSJohn Clark
424*a721e28dSJohn Clark&pcie2x1l2 {
425*a721e28dSJohn Clark	reset-gpios = <&gpio4 RK_PA4 GPIO_ACTIVE_HIGH>;
426*a721e28dSJohn Clark	vpcie3v3-supply = <&vcc_3v3_pcie20>;
427*a721e28dSJohn Clark	pinctrl-names = "default";
428*a721e28dSJohn Clark	pinctrl-0 = <&pcie2_2_rst>;
429*a721e28dSJohn Clark	status = "okay";
430*a721e28dSJohn Clark};
431*a721e28dSJohn Clark
432893c1771SThomas McKahan&pcie30phy {
433893c1771SThomas McKahan	status = "okay";
434893c1771SThomas McKahan};
435893c1771SThomas McKahan
436893c1771SThomas McKahan&pcie3x4 {
437893c1771SThomas McKahan	reset-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>;
438893c1771SThomas McKahan	vpcie3v3-supply = <&vcc3v3_pcie30>;
439893c1771SThomas McKahan	status = "okay";
440893c1771SThomas McKahan};
441893c1771SThomas McKahan
442893c1771SThomas McKahan&pinctrl {
443893c1771SThomas McKahan	gpio-leds {
444893c1771SThomas McKahan		sys_led_pin: sys-led-pin {
445893c1771SThomas McKahan			rockchip,pins = <2 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
446893c1771SThomas McKahan		};
447893c1771SThomas McKahan
448893c1771SThomas McKahan		usr_led_pin: usr-led-pin {
449893c1771SThomas McKahan			rockchip,pins = <2 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>;
450893c1771SThomas McKahan		};
451893c1771SThomas McKahan	};
452893c1771SThomas McKahan
453893c1771SThomas McKahan	headphone {
454893c1771SThomas McKahan		hp_det: hp-det {
455893c1771SThomas McKahan			rockchip,pins = <1 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>;
456893c1771SThomas McKahan		};
457893c1771SThomas McKahan	};
458893c1771SThomas McKahan
459893c1771SThomas McKahan	hym8563 {
460893c1771SThomas McKahan		hym8563_int: hym8563-int {
461893c1771SThomas McKahan			rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>;
462893c1771SThomas McKahan		};
463893c1771SThomas McKahan	};
464893c1771SThomas McKahan
465893c1771SThomas McKahan	pcie {
466*a721e28dSJohn Clark		pcie2_0_rst: pcie2-0-rst {
467*a721e28dSJohn Clark			rockchip,pins = <4 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
468*a721e28dSJohn Clark		};
469*a721e28dSJohn Clark
470*a721e28dSJohn Clark		pcie2_2_rst: pcie2-2-rst {
471*a721e28dSJohn Clark			rockchip,pins = <4 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
472*a721e28dSJohn Clark		};
473*a721e28dSJohn Clark
474893c1771SThomas McKahan		pcie_m2_0_pwren: pcie-m20-pwren {
475893c1771SThomas McKahan			rockchip,pins = <2 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>;
476893c1771SThomas McKahan		};
477893c1771SThomas McKahan	};
478893c1771SThomas McKahan
479893c1771SThomas McKahan	usb {
480893c1771SThomas McKahan		typec5v_pwren: typec5v-pwren {
481893c1771SThomas McKahan			rockchip,pins = <1 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
482893c1771SThomas McKahan		};
483893c1771SThomas McKahan
484893c1771SThomas McKahan		usbc0_int: usbc0-int {
485893c1771SThomas McKahan			rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>;
486893c1771SThomas McKahan		};
487893c1771SThomas McKahan	};
488893c1771SThomas McKahan};
489893c1771SThomas McKahan
490893c1771SThomas McKahan&pwm1 {
491893c1771SThomas McKahan	pinctrl-0 = <&pwm1m1_pins>;
492893c1771SThomas McKahan	status = "okay";
493893c1771SThomas McKahan};
494893c1771SThomas McKahan
495893c1771SThomas McKahan&saradc {
496893c1771SThomas McKahan	vref-supply = <&avcc_1v8_s0>;
497893c1771SThomas McKahan	status = "okay";
498893c1771SThomas McKahan};
499893c1771SThomas McKahan
500893c1771SThomas McKahan&sdhci {
501893c1771SThomas McKahan	bus-width = <8>;
502893c1771SThomas McKahan	no-sdio;
503893c1771SThomas McKahan	no-sd;
504893c1771SThomas McKahan	non-removable;
505893c1771SThomas McKahan	max-frequency = <200000000>;
506893c1771SThomas McKahan	mmc-hs400-1_8v;
507893c1771SThomas McKahan	mmc-hs400-enhanced-strobe;
508893c1771SThomas McKahan	status = "okay";
509893c1771SThomas McKahan};
510893c1771SThomas McKahan
511893c1771SThomas McKahan&sdmmc {
512893c1771SThomas McKahan	max-frequency = <200000000>;
513893c1771SThomas McKahan	no-sdio;
514893c1771SThomas McKahan	no-mmc;
515893c1771SThomas McKahan	bus-width = <4>;
516893c1771SThomas McKahan	cap-mmc-highspeed;
517893c1771SThomas McKahan	cap-sd-highspeed;
518893c1771SThomas McKahan	disable-wp;
519893c1771SThomas McKahan	sd-uhs-sdr104;
520893c1771SThomas McKahan	vmmc-supply = <&vcc_3v3_s3>;
521893c1771SThomas McKahan	vqmmc-supply = <&vccio_sd_s0>;
522893c1771SThomas McKahan	status = "okay";
523893c1771SThomas McKahan};
524893c1771SThomas McKahan
525893c1771SThomas McKahan&spi2 {
526893c1771SThomas McKahan	status = "okay";
527893c1771SThomas McKahan	assigned-clocks = <&cru CLK_SPI2>;
528893c1771SThomas McKahan	assigned-clock-rates = <200000000>;
529893c1771SThomas McKahan	pinctrl-names = "default";
530893c1771SThomas McKahan	pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>;
531893c1771SThomas McKahan	num-cs = <1>;
532893c1771SThomas McKahan
533893c1771SThomas McKahan	pmic@0 {
534893c1771SThomas McKahan		compatible = "rockchip,rk806";
535893c1771SThomas McKahan		spi-max-frequency = <1000000>;
536893c1771SThomas McKahan		reg = <0x0>;
537893c1771SThomas McKahan
538893c1771SThomas McKahan		interrupt-parent = <&gpio0>;
539893c1771SThomas McKahan		interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
540893c1771SThomas McKahan
541893c1771SThomas McKahan		pinctrl-names = "default";
542893c1771SThomas McKahan		pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
543893c1771SThomas McKahan			    <&rk806_dvs2_null>, <&rk806_dvs3_null>;
544893c1771SThomas McKahan
545893c1771SThomas McKahan		vcc1-supply = <&vcc4v0_sys>;
546893c1771SThomas McKahan		vcc2-supply = <&vcc4v0_sys>;
547893c1771SThomas McKahan		vcc3-supply = <&vcc4v0_sys>;
548893c1771SThomas McKahan		vcc4-supply = <&vcc4v0_sys>;
549893c1771SThomas McKahan		vcc5-supply = <&vcc4v0_sys>;
550893c1771SThomas McKahan		vcc6-supply = <&vcc4v0_sys>;
551893c1771SThomas McKahan		vcc7-supply = <&vcc4v0_sys>;
552893c1771SThomas McKahan		vcc8-supply = <&vcc4v0_sys>;
553893c1771SThomas McKahan		vcc9-supply = <&vcc4v0_sys>;
554893c1771SThomas McKahan		vcc10-supply = <&vcc4v0_sys>;
555893c1771SThomas McKahan		vcc11-supply = <&vcc_2v0_pldo_s3>;
556893c1771SThomas McKahan		vcc12-supply = <&vcc4v0_sys>;
557893c1771SThomas McKahan		vcc13-supply = <&vcc_1v1_nldo_s3>;
558893c1771SThomas McKahan		vcc14-supply = <&vcc_1v1_nldo_s3>;
559893c1771SThomas McKahan		vcca-supply = <&vcc4v0_sys>;
560893c1771SThomas McKahan
561893c1771SThomas McKahan		gpio-controller;
562893c1771SThomas McKahan		#gpio-cells = <2>;
563893c1771SThomas McKahan
564893c1771SThomas McKahan		rk806_dvs1_null: dvs1-null-pins {
565893c1771SThomas McKahan			pins = "gpio_pwrctrl2";
566893c1771SThomas McKahan			function = "pin_fun0";
567893c1771SThomas McKahan		};
568893c1771SThomas McKahan
569893c1771SThomas McKahan		rk806_dvs2_null: dvs2-null-pins {
570893c1771SThomas McKahan			pins = "gpio_pwrctrl2";
571893c1771SThomas McKahan			function = "pin_fun0";
572893c1771SThomas McKahan		};
573893c1771SThomas McKahan
574893c1771SThomas McKahan		rk806_dvs3_null: dvs3-null-pins {
575893c1771SThomas McKahan			pins = "gpio_pwrctrl3";
576893c1771SThomas McKahan			function = "pin_fun0";
577893c1771SThomas McKahan		};
578893c1771SThomas McKahan
579893c1771SThomas McKahan		regulators {
580893c1771SThomas McKahan			vdd_gpu_s0: vdd_gpu_mem_s0: dcdc-reg1 {
581893c1771SThomas McKahan				regulator-boot-on;
582893c1771SThomas McKahan				regulator-min-microvolt = <550000>;
583893c1771SThomas McKahan				regulator-max-microvolt = <950000>;
584893c1771SThomas McKahan				regulator-ramp-delay = <12500>;
585893c1771SThomas McKahan				regulator-name = "vdd_gpu_s0";
586893c1771SThomas McKahan				regulator-enable-ramp-delay = <400>;
587893c1771SThomas McKahan
588893c1771SThomas McKahan				regulator-state-mem {
589893c1771SThomas McKahan					regulator-off-in-suspend;
590893c1771SThomas McKahan				};
591893c1771SThomas McKahan			};
592893c1771SThomas McKahan
593893c1771SThomas McKahan			vdd_cpu_lit_s0: vdd_cpu_lit_mem_s0: dcdc-reg2 {
594893c1771SThomas McKahan				regulator-always-on;
595893c1771SThomas McKahan				regulator-boot-on;
596893c1771SThomas McKahan				regulator-min-microvolt = <550000>;
597893c1771SThomas McKahan				regulator-max-microvolt = <950000>;
598893c1771SThomas McKahan				regulator-ramp-delay = <12500>;
599893c1771SThomas McKahan				regulator-name = "vdd_cpu_lit_s0";
600893c1771SThomas McKahan
601893c1771SThomas McKahan				regulator-state-mem {
602893c1771SThomas McKahan					regulator-off-in-suspend;
603893c1771SThomas McKahan				};
604893c1771SThomas McKahan			};
605893c1771SThomas McKahan
606893c1771SThomas McKahan			vdd_log_s0: dcdc-reg3 {
607893c1771SThomas McKahan				regulator-always-on;
608893c1771SThomas McKahan				regulator-boot-on;
609893c1771SThomas McKahan				regulator-min-microvolt = <675000>;
610893c1771SThomas McKahan				regulator-max-microvolt = <750000>;
611893c1771SThomas McKahan				regulator-ramp-delay = <12500>;
612893c1771SThomas McKahan				regulator-name = "vdd_log_s0";
613893c1771SThomas McKahan
614893c1771SThomas McKahan				regulator-state-mem {
615893c1771SThomas McKahan					regulator-off-in-suspend;
616893c1771SThomas McKahan					regulator-suspend-microvolt = <750000>;
617893c1771SThomas McKahan				};
618893c1771SThomas McKahan			};
619893c1771SThomas McKahan
620893c1771SThomas McKahan			vdd_vdenc_s0: vdd_vdenc_mem_s0: dcdc-reg4 {
621893c1771SThomas McKahan				regulator-always-on;
622893c1771SThomas McKahan				regulator-boot-on;
623893c1771SThomas McKahan				regulator-min-microvolt = <550000>;
624893c1771SThomas McKahan				regulator-max-microvolt = <950000>;
625893c1771SThomas McKahan				regulator-init-microvolt = <750000>;
626893c1771SThomas McKahan				regulator-ramp-delay = <12500>;
627893c1771SThomas McKahan				regulator-name = "vdd_vdenc_s0";
628893c1771SThomas McKahan
629893c1771SThomas McKahan				regulator-state-mem {
630893c1771SThomas McKahan					regulator-off-in-suspend;
631893c1771SThomas McKahan				};
632893c1771SThomas McKahan			};
633893c1771SThomas McKahan
634893c1771SThomas McKahan			vdd_ddr_s0: dcdc-reg5 {
635893c1771SThomas McKahan				regulator-always-on;
636893c1771SThomas McKahan				regulator-boot-on;
637893c1771SThomas McKahan				regulator-min-microvolt = <675000>;
638893c1771SThomas McKahan				regulator-max-microvolt = <900000>;
639893c1771SThomas McKahan				regulator-ramp-delay = <12500>;
640893c1771SThomas McKahan				regulator-name = "vdd_ddr_s0";
641893c1771SThomas McKahan
642893c1771SThomas McKahan				regulator-state-mem {
643893c1771SThomas McKahan					regulator-off-in-suspend;
644893c1771SThomas McKahan					regulator-suspend-microvolt = <850000>;
645893c1771SThomas McKahan				};
646893c1771SThomas McKahan			};
647893c1771SThomas McKahan
648893c1771SThomas McKahan			vdd2_ddr_s3: dcdc-reg6 {
649893c1771SThomas McKahan				regulator-always-on;
650893c1771SThomas McKahan				regulator-boot-on;
651893c1771SThomas McKahan				regulator-name = "vdd2_ddr_s3";
652893c1771SThomas McKahan
653893c1771SThomas McKahan				regulator-state-mem {
654893c1771SThomas McKahan					regulator-on-in-suspend;
655893c1771SThomas McKahan				};
656893c1771SThomas McKahan			};
657893c1771SThomas McKahan
658893c1771SThomas McKahan			vcc_2v0_pldo_s3: dcdc-reg7 {
659893c1771SThomas McKahan				regulator-always-on;
660893c1771SThomas McKahan				regulator-boot-on;
661893c1771SThomas McKahan				regulator-min-microvolt = <2000000>;
662893c1771SThomas McKahan				regulator-max-microvolt = <2000000>;
663893c1771SThomas McKahan				regulator-ramp-delay = <12500>;
664893c1771SThomas McKahan				regulator-name = "vdd_2v0_pldo_s3";
665893c1771SThomas McKahan
666893c1771SThomas McKahan				regulator-state-mem {
667893c1771SThomas McKahan					regulator-on-in-suspend;
668893c1771SThomas McKahan					regulator-suspend-microvolt = <2000000>;
669893c1771SThomas McKahan				};
670893c1771SThomas McKahan			};
671893c1771SThomas McKahan
672893c1771SThomas McKahan			vcc_3v3_s3: dcdc-reg8 {
673893c1771SThomas McKahan				regulator-always-on;
674893c1771SThomas McKahan				regulator-boot-on;
675893c1771SThomas McKahan				regulator-min-microvolt = <3300000>;
676893c1771SThomas McKahan				regulator-max-microvolt = <3300000>;
677893c1771SThomas McKahan				regulator-name = "vcc_3v3_s3";
678893c1771SThomas McKahan
679893c1771SThomas McKahan				regulator-state-mem {
680893c1771SThomas McKahan					regulator-on-in-suspend;
681893c1771SThomas McKahan					regulator-suspend-microvolt = <3300000>;
682893c1771SThomas McKahan				};
683893c1771SThomas McKahan			};
684893c1771SThomas McKahan
685893c1771SThomas McKahan			vddq_ddr_s0: dcdc-reg9 {
686893c1771SThomas McKahan				regulator-always-on;
687893c1771SThomas McKahan				regulator-boot-on;
688893c1771SThomas McKahan				regulator-name = "vddq_ddr_s0";
689893c1771SThomas McKahan
690893c1771SThomas McKahan				regulator-state-mem {
691893c1771SThomas McKahan					regulator-off-in-suspend;
692893c1771SThomas McKahan				};
693893c1771SThomas McKahan			};
694893c1771SThomas McKahan
695893c1771SThomas McKahan			vcc_1v8_s3: dcdc-reg10 {
696893c1771SThomas McKahan				regulator-always-on;
697893c1771SThomas McKahan				regulator-boot-on;
698893c1771SThomas McKahan				regulator-min-microvolt = <1800000>;
699893c1771SThomas McKahan				regulator-max-microvolt = <1800000>;
700893c1771SThomas McKahan				regulator-name = "vcc_1v8_s3";
701893c1771SThomas McKahan
702893c1771SThomas McKahan				regulator-state-mem {
703893c1771SThomas McKahan					regulator-on-in-suspend;
704893c1771SThomas McKahan					regulator-suspend-microvolt = <1800000>;
705893c1771SThomas McKahan				};
706893c1771SThomas McKahan			};
707893c1771SThomas McKahan
708893c1771SThomas McKahan			avcc_1v8_s0: pldo-reg1 {
709893c1771SThomas McKahan				regulator-always-on;
710893c1771SThomas McKahan				regulator-boot-on;
711893c1771SThomas McKahan				regulator-min-microvolt = <1800000>;
712893c1771SThomas McKahan				regulator-max-microvolt = <1800000>;
713893c1771SThomas McKahan				regulator-name = "avcc_1v8_s0";
714893c1771SThomas McKahan
715893c1771SThomas McKahan				regulator-state-mem {
716893c1771SThomas McKahan					regulator-off-in-suspend;
717893c1771SThomas McKahan				};
718893c1771SThomas McKahan			};
719893c1771SThomas McKahan
720893c1771SThomas McKahan			vcc_1v8_s0: pldo-reg2 {
721893c1771SThomas McKahan				regulator-always-on;
722893c1771SThomas McKahan				regulator-boot-on;
723893c1771SThomas McKahan				regulator-min-microvolt = <1800000>;
724893c1771SThomas McKahan				regulator-max-microvolt = <1800000>;
725893c1771SThomas McKahan				regulator-name = "vcc_1v8_s0";
726893c1771SThomas McKahan
727893c1771SThomas McKahan				regulator-state-mem {
728893c1771SThomas McKahan					regulator-off-in-suspend;
729893c1771SThomas McKahan					regulator-suspend-microvolt = <1800000>;
730893c1771SThomas McKahan				};
731893c1771SThomas McKahan			};
732893c1771SThomas McKahan
733893c1771SThomas McKahan			avdd_1v2_s0: pldo-reg3 {
734893c1771SThomas McKahan				regulator-always-on;
735893c1771SThomas McKahan				regulator-boot-on;
736893c1771SThomas McKahan				regulator-min-microvolt = <1200000>;
737893c1771SThomas McKahan				regulator-max-microvolt = <1200000>;
738893c1771SThomas McKahan				regulator-name = "avdd_1v2_s0";
739893c1771SThomas McKahan
740893c1771SThomas McKahan				regulator-state-mem {
741893c1771SThomas McKahan					regulator-off-in-suspend;
742893c1771SThomas McKahan				};
743893c1771SThomas McKahan			};
744893c1771SThomas McKahan
745893c1771SThomas McKahan			vcc_3v3_s0: pldo-reg4 {
746893c1771SThomas McKahan				regulator-always-on;
747893c1771SThomas McKahan				regulator-boot-on;
748893c1771SThomas McKahan				regulator-min-microvolt = <3300000>;
749893c1771SThomas McKahan				regulator-max-microvolt = <3300000>;
750893c1771SThomas McKahan				regulator-ramp-delay = <12500>;
751893c1771SThomas McKahan				regulator-name = "vcc_3v3_s0";
752893c1771SThomas McKahan
753893c1771SThomas McKahan				regulator-state-mem {
754893c1771SThomas McKahan					regulator-off-in-suspend;
755893c1771SThomas McKahan				};
756893c1771SThomas McKahan			};
757893c1771SThomas McKahan
758893c1771SThomas McKahan			vccio_sd_s0: pldo-reg5 {
759893c1771SThomas McKahan				regulator-always-on;
760893c1771SThomas McKahan				regulator-boot-on;
761893c1771SThomas McKahan				regulator-min-microvolt = <1800000>;
762893c1771SThomas McKahan				regulator-max-microvolt = <3300000>;
763893c1771SThomas McKahan				regulator-ramp-delay = <12500>;
764893c1771SThomas McKahan				regulator-name = "vccio_sd_s0";
765893c1771SThomas McKahan
766893c1771SThomas McKahan				regulator-state-mem {
767893c1771SThomas McKahan					regulator-off-in-suspend;
768893c1771SThomas McKahan				};
769893c1771SThomas McKahan			};
770893c1771SThomas McKahan
771893c1771SThomas McKahan			pldo6_s3: pldo-reg6 {
772893c1771SThomas McKahan				regulator-always-on;
773893c1771SThomas McKahan				regulator-boot-on;
774893c1771SThomas McKahan				regulator-min-microvolt = <1800000>;
775893c1771SThomas McKahan				regulator-max-microvolt = <1800000>;
776893c1771SThomas McKahan				regulator-name = "pldo6_s3";
777893c1771SThomas McKahan
778893c1771SThomas McKahan				regulator-state-mem {
779893c1771SThomas McKahan					regulator-on-in-suspend;
780893c1771SThomas McKahan					regulator-suspend-microvolt = <1800000>;
781893c1771SThomas McKahan				};
782893c1771SThomas McKahan			};
783893c1771SThomas McKahan
784893c1771SThomas McKahan			vdd_0v75_s3: nldo-reg1 {
785893c1771SThomas McKahan				regulator-always-on;
786893c1771SThomas McKahan				regulator-boot-on;
787893c1771SThomas McKahan				regulator-min-microvolt = <750000>;
788893c1771SThomas McKahan				regulator-max-microvolt = <750000>;
789893c1771SThomas McKahan				regulator-name = "vdd_0v75_s3";
790893c1771SThomas McKahan
791893c1771SThomas McKahan				regulator-state-mem {
792893c1771SThomas McKahan					regulator-on-in-suspend;
793893c1771SThomas McKahan					regulator-suspend-microvolt = <750000>;
794893c1771SThomas McKahan				};
795893c1771SThomas McKahan			};
796893c1771SThomas McKahan
797893c1771SThomas McKahan			vdd_ddr_pll_s0: nldo-reg2 {
798893c1771SThomas McKahan				regulator-always-on;
799893c1771SThomas McKahan				regulator-boot-on;
800893c1771SThomas McKahan				regulator-min-microvolt = <850000>;
801893c1771SThomas McKahan				regulator-max-microvolt = <850000>;
802893c1771SThomas McKahan				regulator-name = "vdd_ddr_pll_s0";
803893c1771SThomas McKahan
804893c1771SThomas McKahan				regulator-state-mem {
805893c1771SThomas McKahan					regulator-off-in-suspend;
806893c1771SThomas McKahan					regulator-suspend-microvolt = <850000>;
807893c1771SThomas McKahan				};
808893c1771SThomas McKahan			};
809893c1771SThomas McKahan
810893c1771SThomas McKahan			avdd_0v75_s0: nldo-reg3 {
811893c1771SThomas McKahan				regulator-always-on;
812893c1771SThomas McKahan				regulator-boot-on;
813893c1771SThomas McKahan				regulator-min-microvolt = <750000>;
814893c1771SThomas McKahan				regulator-max-microvolt = <750000>;
815893c1771SThomas McKahan				regulator-name = "avdd_0v75_s0";
816893c1771SThomas McKahan
817893c1771SThomas McKahan				regulator-state-mem {
818893c1771SThomas McKahan					regulator-off-in-suspend;
819893c1771SThomas McKahan				};
820893c1771SThomas McKahan			};
821893c1771SThomas McKahan
822893c1771SThomas McKahan			vdd_0v85_s0: nldo-reg4 {
823893c1771SThomas McKahan				regulator-always-on;
824893c1771SThomas McKahan				regulator-boot-on;
825893c1771SThomas McKahan				regulator-min-microvolt = <850000>;
826893c1771SThomas McKahan				regulator-max-microvolt = <850000>;
827893c1771SThomas McKahan				regulator-name = "vdd_0v85_s0";
828893c1771SThomas McKahan
829893c1771SThomas McKahan				regulator-state-mem {
830893c1771SThomas McKahan					regulator-off-in-suspend;
831893c1771SThomas McKahan				};
832893c1771SThomas McKahan			};
833893c1771SThomas McKahan
834893c1771SThomas McKahan			vdd_0v75_s0: nldo-reg5 {
835893c1771SThomas McKahan				regulator-always-on;
836893c1771SThomas McKahan				regulator-boot-on;
837893c1771SThomas McKahan				regulator-min-microvolt = <750000>;
838893c1771SThomas McKahan				regulator-max-microvolt = <750000>;
839893c1771SThomas McKahan				regulator-name = "vdd_0v75_s0";
840893c1771SThomas McKahan
841893c1771SThomas McKahan				regulator-state-mem {
842893c1771SThomas McKahan					regulator-off-in-suspend;
843893c1771SThomas McKahan				};
844893c1771SThomas McKahan			};
845893c1771SThomas McKahan		};
846893c1771SThomas McKahan	};
847893c1771SThomas McKahan};
848893c1771SThomas McKahan
849893c1771SThomas McKahan&tsadc {
850893c1771SThomas McKahan	status = "okay";
851893c1771SThomas McKahan};
852893c1771SThomas McKahan
853893c1771SThomas McKahan&uart2 {
854893c1771SThomas McKahan	pinctrl-0 = <&uart2m0_xfer>;
855893c1771SThomas McKahan	status = "okay";
856893c1771SThomas McKahan};
857893c1771SThomas McKahan
858893c1771SThomas McKahan&u2phy2_host {
859893c1771SThomas McKahan	status = "okay";
860893c1771SThomas McKahan};
861893c1771SThomas McKahan
862893c1771SThomas McKahan&u2phy3_host {
863893c1771SThomas McKahan	status = "okay";
864893c1771SThomas McKahan};
865893c1771SThomas McKahan
866893c1771SThomas McKahan&u2phy2 {
867893c1771SThomas McKahan	status = "okay";
868893c1771SThomas McKahan};
869893c1771SThomas McKahan
870893c1771SThomas McKahan&u2phy3 {
871893c1771SThomas McKahan	status = "okay";
872893c1771SThomas McKahan};
873893c1771SThomas McKahan
874893c1771SThomas McKahan&usb_host0_ehci {
875893c1771SThomas McKahan	status = "okay";
876893c1771SThomas McKahan};
877893c1771SThomas McKahan
878893c1771SThomas McKahan&usb_host0_ohci {
879893c1771SThomas McKahan	status = "okay";
880893c1771SThomas McKahan};
881893c1771SThomas McKahan
882893c1771SThomas McKahan&usb_host1_ehci {
883893c1771SThomas McKahan	status = "okay";
884893c1771SThomas McKahan};
885893c1771SThomas McKahan
886893c1771SThomas McKahan&usb_host1_ohci {
887893c1771SThomas McKahan	status = "okay";
888893c1771SThomas McKahan};
889