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