xref: /freebsd/sys/contrib/device-tree/src/arm64/rockchip/rk3588s-coolpi-4b.dts (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1*8d13bc63SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*8d13bc63SEmmanuel Vadot/*
3*8d13bc63SEmmanuel Vadot * Copyright (c) 2023 Rockchip Electronics Co., Ltd.
4*8d13bc63SEmmanuel Vadot *
5*8d13bc63SEmmanuel Vadot * https://cool-pi.com/topic/130/coolpi-4b-product-spec-introduction
6*8d13bc63SEmmanuel Vadot *
7*8d13bc63SEmmanuel Vadot */
8*8d13bc63SEmmanuel Vadot
9*8d13bc63SEmmanuel Vadot/dts-v1/;
10*8d13bc63SEmmanuel Vadot
11*8d13bc63SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
12*8d13bc63SEmmanuel Vadot#include <dt-bindings/leds/common.h>
13*8d13bc63SEmmanuel Vadot#include <dt-bindings/pinctrl/rockchip.h>
14*8d13bc63SEmmanuel Vadot#include "rk3588s.dtsi"
15*8d13bc63SEmmanuel Vadot
16*8d13bc63SEmmanuel Vadot/ {
17*8d13bc63SEmmanuel Vadot	model = "RK3588S CoolPi 4 Model B";
18*8d13bc63SEmmanuel Vadot	compatible = "coolpi,pi-4b", "rockchip,rk3588s";
19*8d13bc63SEmmanuel Vadot
20*8d13bc63SEmmanuel Vadot	aliases {
21*8d13bc63SEmmanuel Vadot		mmc0 = &sdhci;
22*8d13bc63SEmmanuel Vadot		mmc1 = &sdmmc;
23*8d13bc63SEmmanuel Vadot		mmc2 = &sdio;
24*8d13bc63SEmmanuel Vadot	};
25*8d13bc63SEmmanuel Vadot
26*8d13bc63SEmmanuel Vadot	analog-sound {
27*8d13bc63SEmmanuel Vadot		compatible = "audio-graph-card";
28*8d13bc63SEmmanuel Vadot		dais = <&i2s0_8ch_p0>;
29*8d13bc63SEmmanuel Vadot		label = "rk3588-es8316";
30*8d13bc63SEmmanuel Vadot		routing = "MIC2", "Mic Jack",
31*8d13bc63SEmmanuel Vadot			  "Headphones", "HPOL",
32*8d13bc63SEmmanuel Vadot			  "Headphones", "HPOR";
33*8d13bc63SEmmanuel Vadot		widgets = "Microphone", "Mic Jack",
34*8d13bc63SEmmanuel Vadot			  "Headphone", "Headphones";
35*8d13bc63SEmmanuel Vadot	};
36*8d13bc63SEmmanuel Vadot
37*8d13bc63SEmmanuel Vadot	chosen {
38*8d13bc63SEmmanuel Vadot		stdout-path = "serial2:1500000n8";
39*8d13bc63SEmmanuel Vadot	};
40*8d13bc63SEmmanuel Vadot
41*8d13bc63SEmmanuel Vadot	leds: leds {
42*8d13bc63SEmmanuel Vadot		compatible = "gpio-leds";
43*8d13bc63SEmmanuel Vadot		pinctrl-names = "default";
44*8d13bc63SEmmanuel Vadot		pinctrl-0 = <&gpio_leds>;
45*8d13bc63SEmmanuel Vadot
46*8d13bc63SEmmanuel Vadot		led0: led-green {
47*8d13bc63SEmmanuel Vadot			color = <LED_COLOR_ID_GREEN>;
48*8d13bc63SEmmanuel Vadot			function = LED_FUNCTION_STATUS;
49*8d13bc63SEmmanuel Vadot			gpios = <&gpio0 RK_PD0 GPIO_ACTIVE_HIGH>;
50*8d13bc63SEmmanuel Vadot			linux,default-trigger = "heartbeat";
51*8d13bc63SEmmanuel Vadot		};
52*8d13bc63SEmmanuel Vadot
53*8d13bc63SEmmanuel Vadot		led1: led-red {
54*8d13bc63SEmmanuel Vadot			color = <LED_COLOR_ID_RED>;
55*8d13bc63SEmmanuel Vadot			default-state = "off";
56*8d13bc63SEmmanuel Vadot			function = LED_FUNCTION_WLAN;
57*8d13bc63SEmmanuel Vadot			gpios = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>;
58*8d13bc63SEmmanuel Vadot			linux,default-trigger = "phy0tx";
59*8d13bc63SEmmanuel Vadot		};
60*8d13bc63SEmmanuel Vadot	};
61*8d13bc63SEmmanuel Vadot
62*8d13bc63SEmmanuel Vadot	sdio_pwrseq: sdio-pwrseq {
63*8d13bc63SEmmanuel Vadot		compatible = "mmc-pwrseq-simple";
64*8d13bc63SEmmanuel Vadot		clocks = <&hym8563>;
65*8d13bc63SEmmanuel Vadot		clock-names = "ext_clock";
66*8d13bc63SEmmanuel Vadot		pinctrl-names = "default";
67*8d13bc63SEmmanuel Vadot		pinctrl-0 = <&wifi_enable_h>;
68*8d13bc63SEmmanuel Vadot		/*
69*8d13bc63SEmmanuel Vadot		 * On the module itself this is one of these (depending
70*8d13bc63SEmmanuel Vadot		 * on the actual card populated):
71*8d13bc63SEmmanuel Vadot		 * - SDIO_RESET_L_WL_REG_ON
72*8d13bc63SEmmanuel Vadot		 * - PDN (power down when low)
73*8d13bc63SEmmanuel Vadot		 */
74*8d13bc63SEmmanuel Vadot		post-power-on-delay-ms = <200>;
75*8d13bc63SEmmanuel Vadot		reset-gpios = <&gpio0 RK_PC7 GPIO_ACTIVE_LOW>;
76*8d13bc63SEmmanuel Vadot	};
77*8d13bc63SEmmanuel Vadot
78*8d13bc63SEmmanuel Vadot	vcc12v_dcin: vcc12v-dcin-regulator {
79*8d13bc63SEmmanuel Vadot		compatible = "regulator-fixed";
80*8d13bc63SEmmanuel Vadot		regulator-name = "vcc12v_dcin";
81*8d13bc63SEmmanuel Vadot		regulator-always-on;
82*8d13bc63SEmmanuel Vadot		regulator-boot-on;
83*8d13bc63SEmmanuel Vadot		regulator-min-microvolt = <12000000>;
84*8d13bc63SEmmanuel Vadot		regulator-max-microvolt = <12000000>;
85*8d13bc63SEmmanuel Vadot	};
86*8d13bc63SEmmanuel Vadot
87*8d13bc63SEmmanuel Vadot	vcc5v0_sys: vcc5v0-sys-regulator {
88*8d13bc63SEmmanuel Vadot		compatible = "regulator-fixed";
89*8d13bc63SEmmanuel Vadot		regulator-name = "vcc5v0_sys";
90*8d13bc63SEmmanuel Vadot		regulator-always-on;
91*8d13bc63SEmmanuel Vadot		regulator-boot-on;
92*8d13bc63SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
93*8d13bc63SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
94*8d13bc63SEmmanuel Vadot		vin-supply = <&vcc12v_dcin>;
95*8d13bc63SEmmanuel Vadot	};
96*8d13bc63SEmmanuel Vadot
97*8d13bc63SEmmanuel Vadot	vcc5v0_usbdcin: vcc5v0-usbdcin-regulator {
98*8d13bc63SEmmanuel Vadot		compatible = "regulator-fixed";
99*8d13bc63SEmmanuel Vadot		regulator-name = "vcc5v0_usbdcin";
100*8d13bc63SEmmanuel Vadot		regulator-always-on;
101*8d13bc63SEmmanuel Vadot		regulator-boot-on;
102*8d13bc63SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
103*8d13bc63SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
104*8d13bc63SEmmanuel Vadot		vin-supply = <&vcc12v_dcin>;
105*8d13bc63SEmmanuel Vadot	};
106*8d13bc63SEmmanuel Vadot
107*8d13bc63SEmmanuel Vadot	vcc5v0_usb: vcc5v0-usb-regulator {
108*8d13bc63SEmmanuel Vadot		compatible = "regulator-fixed";
109*8d13bc63SEmmanuel Vadot		regulator-name = "vcc5v0_usb";
110*8d13bc63SEmmanuel Vadot		regulator-always-on;
111*8d13bc63SEmmanuel Vadot		regulator-boot-on;
112*8d13bc63SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
113*8d13bc63SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
114*8d13bc63SEmmanuel Vadot		vin-supply = <&vcc5v0_usbdcin>;
115*8d13bc63SEmmanuel Vadot	};
116*8d13bc63SEmmanuel Vadot
117*8d13bc63SEmmanuel Vadot	avdd0v85_pcie20: avdd0v85-pcie20-regulator {
118*8d13bc63SEmmanuel Vadot		compatible = "regulator-fixed";
119*8d13bc63SEmmanuel Vadot		regulator-name = "avdd0v85_pcie20";
120*8d13bc63SEmmanuel Vadot		regulator-boot-on;
121*8d13bc63SEmmanuel Vadot		regulator-always-on;
122*8d13bc63SEmmanuel Vadot		regulator-min-microvolt = <850000>;
123*8d13bc63SEmmanuel Vadot		regulator-max-microvolt = <850000>;
124*8d13bc63SEmmanuel Vadot		vin-supply = <&vdd_0v85_s0>;
125*8d13bc63SEmmanuel Vadot	};
126*8d13bc63SEmmanuel Vadot
127*8d13bc63SEmmanuel Vadot	avdd1v8_pcie20: avdd1v8-pcie20-regulator {
128*8d13bc63SEmmanuel Vadot		compatible = "regulator-fixed";
129*8d13bc63SEmmanuel Vadot		regulator-name = "avdd1v8_pcie20";
130*8d13bc63SEmmanuel Vadot		regulator-boot-on;
131*8d13bc63SEmmanuel Vadot		regulator-always-on;
132*8d13bc63SEmmanuel Vadot		regulator-min-microvolt = <1800000>;
133*8d13bc63SEmmanuel Vadot		regulator-max-microvolt = <1800000>;
134*8d13bc63SEmmanuel Vadot		vin-supply = <&avcc_1v8_s0>;
135*8d13bc63SEmmanuel Vadot	};
136*8d13bc63SEmmanuel Vadot
137*8d13bc63SEmmanuel Vadot	vcc3v3_mipi: vcc3v3-mipi-regulator {
138*8d13bc63SEmmanuel Vadot		compatible = "regulator-fixed";
139*8d13bc63SEmmanuel Vadot		enable-active-high;
140*8d13bc63SEmmanuel Vadot		gpio = <&gpio3 RK_PC2 GPIO_ACTIVE_HIGH>;
141*8d13bc63SEmmanuel Vadot		regulator-name = "vcc3v3_mipi";
142*8d13bc63SEmmanuel Vadot		regulator-boot-on;
143*8d13bc63SEmmanuel Vadot		regulator-always-on;
144*8d13bc63SEmmanuel Vadot		vin-supply = <&vcc_3v3_s3>;
145*8d13bc63SEmmanuel Vadot	};
146*8d13bc63SEmmanuel Vadot
147*8d13bc63SEmmanuel Vadot	vcc5v0_host: vcc5v0-host-regulator {
148*8d13bc63SEmmanuel Vadot		compatible = "regulator-fixed";
149*8d13bc63SEmmanuel Vadot		enable-active-high;
150*8d13bc63SEmmanuel Vadot		gpio = <&gpio3 RK_PC0 GPIO_ACTIVE_HIGH>;
151*8d13bc63SEmmanuel Vadot		pinctrl-names = "default";
152*8d13bc63SEmmanuel Vadot		pinctrl-0 = <&vcc5v0_host_en>;
153*8d13bc63SEmmanuel Vadot		regulator-name = "vcc5v0_host";
154*8d13bc63SEmmanuel Vadot		regulator-boot-on;
155*8d13bc63SEmmanuel Vadot		regulator-always-on;
156*8d13bc63SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
157*8d13bc63SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
158*8d13bc63SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
159*8d13bc63SEmmanuel Vadot	};
160*8d13bc63SEmmanuel Vadot
161*8d13bc63SEmmanuel Vadot	vcc5v0_otg: vcc5v0-otg-regulator {
162*8d13bc63SEmmanuel Vadot		compatible = "regulator-fixed";
163*8d13bc63SEmmanuel Vadot		enable-active-high;
164*8d13bc63SEmmanuel Vadot		gpio = <&gpio3 RK_PC1 GPIO_ACTIVE_HIGH>;
165*8d13bc63SEmmanuel Vadot		pinctrl-names = "default";
166*8d13bc63SEmmanuel Vadot		pinctrl-0 = <&vcc5v0_u3host_en>;
167*8d13bc63SEmmanuel Vadot		regulator-name = "vcc5v0_otg";
168*8d13bc63SEmmanuel Vadot		regulator-boot-on;
169*8d13bc63SEmmanuel Vadot		regulator-always-on;
170*8d13bc63SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
171*8d13bc63SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
172*8d13bc63SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
173*8d13bc63SEmmanuel Vadot	};
174*8d13bc63SEmmanuel Vadot
175*8d13bc63SEmmanuel Vadot	vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator {
176*8d13bc63SEmmanuel Vadot		compatible = "regulator-fixed";
177*8d13bc63SEmmanuel Vadot		regulator-name = "vcc_1v1_nldo_s3";
178*8d13bc63SEmmanuel Vadot		regulator-always-on;
179*8d13bc63SEmmanuel Vadot		regulator-boot-on;
180*8d13bc63SEmmanuel Vadot		regulator-min-microvolt = <1100000>;
181*8d13bc63SEmmanuel Vadot		regulator-max-microvolt = <1100000>;
182*8d13bc63SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
183*8d13bc63SEmmanuel Vadot	};
184*8d13bc63SEmmanuel Vadot};
185*8d13bc63SEmmanuel Vadot
186*8d13bc63SEmmanuel Vadot&combphy0_ps {
187*8d13bc63SEmmanuel Vadot	status = "okay";
188*8d13bc63SEmmanuel Vadot};
189*8d13bc63SEmmanuel Vadot
190*8d13bc63SEmmanuel Vadot&combphy2_psu {
191*8d13bc63SEmmanuel Vadot	status = "okay";
192*8d13bc63SEmmanuel Vadot};
193*8d13bc63SEmmanuel Vadot
194*8d13bc63SEmmanuel Vadot&cpu_l0 {
195*8d13bc63SEmmanuel Vadot	cpu-supply = <&vdd_cpu_lit_s0>;
196*8d13bc63SEmmanuel Vadot};
197*8d13bc63SEmmanuel Vadot
198*8d13bc63SEmmanuel Vadot&cpu_b0 {
199*8d13bc63SEmmanuel Vadot	cpu-supply = <&vdd_cpu_big0_s0>;
200*8d13bc63SEmmanuel Vadot};
201*8d13bc63SEmmanuel Vadot
202*8d13bc63SEmmanuel Vadot&cpu_b2 {
203*8d13bc63SEmmanuel Vadot	cpu-supply = <&vdd_cpu_big1_s0>;
204*8d13bc63SEmmanuel Vadot};
205*8d13bc63SEmmanuel Vadot
206*8d13bc63SEmmanuel Vadot&i2c0 {
207*8d13bc63SEmmanuel Vadot	pinctrl-0 = <&i2c0m2_xfer>;
208*8d13bc63SEmmanuel Vadot	status = "okay";
209*8d13bc63SEmmanuel Vadot
210*8d13bc63SEmmanuel Vadot	vdd_cpu_big0_s0: regulator@42 {
211*8d13bc63SEmmanuel Vadot		compatible = "rockchip,rk8602";
212*8d13bc63SEmmanuel Vadot		reg = <0x42>;
213*8d13bc63SEmmanuel Vadot		fcs,suspend-voltage-selector = <1>;
214*8d13bc63SEmmanuel Vadot		regulator-name = "vdd_cpu_big0_s0";
215*8d13bc63SEmmanuel Vadot		regulator-always-on;
216*8d13bc63SEmmanuel Vadot		regulator-boot-on;
217*8d13bc63SEmmanuel Vadot		regulator-min-microvolt = <550000>;
218*8d13bc63SEmmanuel Vadot		regulator-max-microvolt = <1050000>;
219*8d13bc63SEmmanuel Vadot		regulator-ramp-delay = <2300>;
220*8d13bc63SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
221*8d13bc63SEmmanuel Vadot
222*8d13bc63SEmmanuel Vadot		regulator-state-mem {
223*8d13bc63SEmmanuel Vadot			regulator-off-in-suspend;
224*8d13bc63SEmmanuel Vadot		};
225*8d13bc63SEmmanuel Vadot	};
226*8d13bc63SEmmanuel Vadot
227*8d13bc63SEmmanuel Vadot	vdd_cpu_big1_s0: regulator@43 {
228*8d13bc63SEmmanuel Vadot		compatible = "rockchip,rk8603", "rockchip,rk8602";
229*8d13bc63SEmmanuel Vadot		reg = <0x43>;
230*8d13bc63SEmmanuel Vadot		fcs,suspend-voltage-selector = <1>;
231*8d13bc63SEmmanuel Vadot		regulator-name = "vdd_cpu_big1_s0";
232*8d13bc63SEmmanuel Vadot		regulator-always-on;
233*8d13bc63SEmmanuel Vadot		regulator-boot-on;
234*8d13bc63SEmmanuel Vadot		regulator-min-microvolt = <550000>;
235*8d13bc63SEmmanuel Vadot		regulator-max-microvolt = <1050000>;
236*8d13bc63SEmmanuel Vadot		regulator-ramp-delay = <2300>;
237*8d13bc63SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
238*8d13bc63SEmmanuel Vadot
239*8d13bc63SEmmanuel Vadot		regulator-state-mem {
240*8d13bc63SEmmanuel Vadot			regulator-off-in-suspend;
241*8d13bc63SEmmanuel Vadot		};
242*8d13bc63SEmmanuel Vadot	};
243*8d13bc63SEmmanuel Vadot};
244*8d13bc63SEmmanuel Vadot
245*8d13bc63SEmmanuel Vadot&i2c2 {
246*8d13bc63SEmmanuel Vadot	status = "okay";
247*8d13bc63SEmmanuel Vadot
248*8d13bc63SEmmanuel Vadot	vdd_npu_s0: regulator@42 {
249*8d13bc63SEmmanuel Vadot		compatible = "rockchip,rk8602";
250*8d13bc63SEmmanuel Vadot		reg = <0x42>;
251*8d13bc63SEmmanuel Vadot		fcs,suspend-voltage-selector = <1>;
252*8d13bc63SEmmanuel Vadot		regulator-name = "vdd_npu_s0";
253*8d13bc63SEmmanuel Vadot		regulator-always-on;
254*8d13bc63SEmmanuel Vadot		regulator-boot-on;
255*8d13bc63SEmmanuel Vadot		regulator-min-microvolt = <550000>;
256*8d13bc63SEmmanuel Vadot		regulator-max-microvolt = <950000>;
257*8d13bc63SEmmanuel Vadot		regulator-ramp-delay = <2300>;
258*8d13bc63SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
259*8d13bc63SEmmanuel Vadot
260*8d13bc63SEmmanuel Vadot		regulator-state-mem {
261*8d13bc63SEmmanuel Vadot			regulator-off-in-suspend;
262*8d13bc63SEmmanuel Vadot		};
263*8d13bc63SEmmanuel Vadot	};
264*8d13bc63SEmmanuel Vadot};
265*8d13bc63SEmmanuel Vadot
266*8d13bc63SEmmanuel Vadot&i2c6 {
267*8d13bc63SEmmanuel Vadot	pinctrl-0 = <&i2c6m3_xfer>;
268*8d13bc63SEmmanuel Vadot	status = "okay";
269*8d13bc63SEmmanuel Vadot
270*8d13bc63SEmmanuel Vadot	hym8563: rtc@51 {
271*8d13bc63SEmmanuel Vadot		compatible = "haoyu,hym8563";
272*8d13bc63SEmmanuel Vadot		reg = <0x51>;
273*8d13bc63SEmmanuel Vadot		interrupt-parent = <&gpio0>;
274*8d13bc63SEmmanuel Vadot		interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>;
275*8d13bc63SEmmanuel Vadot		#clock-cells = <0>;
276*8d13bc63SEmmanuel Vadot		clock-output-names = "hym8563";
277*8d13bc63SEmmanuel Vadot		pinctrl-names = "default";
278*8d13bc63SEmmanuel Vadot		pinctrl-0 = <&hym8563_int>;
279*8d13bc63SEmmanuel Vadot	};
280*8d13bc63SEmmanuel Vadot};
281*8d13bc63SEmmanuel Vadot
282*8d13bc63SEmmanuel Vadot&i2c7 {
283*8d13bc63SEmmanuel Vadot	pinctrl-0 = <&i2c7m0_xfer>;
284*8d13bc63SEmmanuel Vadot	status = "okay";
285*8d13bc63SEmmanuel Vadot
286*8d13bc63SEmmanuel Vadot	es8316: audio-codec@11 {
287*8d13bc63SEmmanuel Vadot		compatible = "everest,es8316";
288*8d13bc63SEmmanuel Vadot		reg = <0x11>;
289*8d13bc63SEmmanuel Vadot		assigned-clocks = <&cru I2S0_8CH_MCLKOUT>;
290*8d13bc63SEmmanuel Vadot		assigned-clock-rates = <12288000>;
291*8d13bc63SEmmanuel Vadot		clocks = <&cru I2S0_8CH_MCLKOUT>;
292*8d13bc63SEmmanuel Vadot		clock-names = "mclk";
293*8d13bc63SEmmanuel Vadot		#sound-dai-cells = <0>;
294*8d13bc63SEmmanuel Vadot
295*8d13bc63SEmmanuel Vadot		port {
296*8d13bc63SEmmanuel Vadot			es8316_p0_0: endpoint {
297*8d13bc63SEmmanuel Vadot				remote-endpoint = <&i2s0_8ch_p0_0>;
298*8d13bc63SEmmanuel Vadot			};
299*8d13bc63SEmmanuel Vadot		};
300*8d13bc63SEmmanuel Vadot	};
301*8d13bc63SEmmanuel Vadot};
302*8d13bc63SEmmanuel Vadot
303*8d13bc63SEmmanuel Vadot&i2s0_8ch {
304*8d13bc63SEmmanuel Vadot	pinctrl-0 = <&i2s0_lrck
305*8d13bc63SEmmanuel Vadot		     &i2s0_mclk
306*8d13bc63SEmmanuel Vadot		     &i2s0_sclk
307*8d13bc63SEmmanuel Vadot		     &i2s0_sdi0
308*8d13bc63SEmmanuel Vadot		     &i2s0_sdo0>;
309*8d13bc63SEmmanuel Vadot	status = "okay";
310*8d13bc63SEmmanuel Vadot
311*8d13bc63SEmmanuel Vadot	i2s0_8ch_p0: port {
312*8d13bc63SEmmanuel Vadot		i2s0_8ch_p0_0: endpoint {
313*8d13bc63SEmmanuel Vadot			dai-format = "i2s";
314*8d13bc63SEmmanuel Vadot			mclk-fs = <256>;
315*8d13bc63SEmmanuel Vadot			remote-endpoint = <&es8316_p0_0>;
316*8d13bc63SEmmanuel Vadot		};
317*8d13bc63SEmmanuel Vadot	};
318*8d13bc63SEmmanuel Vadot};
319*8d13bc63SEmmanuel Vadot
320*8d13bc63SEmmanuel Vadot&pcie2x1l2 {
321*8d13bc63SEmmanuel Vadot	pinctrl-names = "default";
322*8d13bc63SEmmanuel Vadot	pinctrl-0 = <&rtl8111_isolate>;
323*8d13bc63SEmmanuel Vadot	reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>;
324*8d13bc63SEmmanuel Vadot	status = "okay";
325*8d13bc63SEmmanuel Vadot};
326*8d13bc63SEmmanuel Vadot
327*8d13bc63SEmmanuel Vadot&pinctrl {
328*8d13bc63SEmmanuel Vadot	hym8563 {
329*8d13bc63SEmmanuel Vadot		hym8563_int: hym8563-int {
330*8d13bc63SEmmanuel Vadot			rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>;
331*8d13bc63SEmmanuel Vadot		};
332*8d13bc63SEmmanuel Vadot	};
333*8d13bc63SEmmanuel Vadot
334*8d13bc63SEmmanuel Vadot	led {
335*8d13bc63SEmmanuel Vadot		gpio_leds: gpio-leds {
336*8d13bc63SEmmanuel Vadot			rockchip,pins = <0 RK_PC4 RK_FUNC_GPIO &pcfg_pull_down>,
337*8d13bc63SEmmanuel Vadot					<0 RK_PD0 RK_FUNC_GPIO &pcfg_pull_down>;
338*8d13bc63SEmmanuel Vadot		};
339*8d13bc63SEmmanuel Vadot	};
340*8d13bc63SEmmanuel Vadot
341*8d13bc63SEmmanuel Vadot	rtl8111 {
342*8d13bc63SEmmanuel Vadot		rtl8111_isolate: rtl8111-isolate {
343*8d13bc63SEmmanuel Vadot			rockchip,pins = <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>;
344*8d13bc63SEmmanuel Vadot		};
345*8d13bc63SEmmanuel Vadot	};
346*8d13bc63SEmmanuel Vadot
347*8d13bc63SEmmanuel Vadot	sdio-pwrseq {
348*8d13bc63SEmmanuel Vadot		wifi_enable_h: wifi-enable-h {
349*8d13bc63SEmmanuel Vadot			rockchip,pins = <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_up>;
350*8d13bc63SEmmanuel Vadot		};
351*8d13bc63SEmmanuel Vadot	};
352*8d13bc63SEmmanuel Vadot
353*8d13bc63SEmmanuel Vadot	usb {
354*8d13bc63SEmmanuel Vadot		vcc5v0_host_en: vcc5v0-host-en {
355*8d13bc63SEmmanuel Vadot			rockchip,pins = <3 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>,
356*8d13bc63SEmmanuel Vadot					<4 RK_PB5 RK_FUNC_GPIO &pcfg_pull_up>;
357*8d13bc63SEmmanuel Vadot		};
358*8d13bc63SEmmanuel Vadot
359*8d13bc63SEmmanuel Vadot		vcc5v0_u3host_en: vcc5v0-u3host-en {
360*8d13bc63SEmmanuel Vadot			rockchip,pins = <3 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>;
361*8d13bc63SEmmanuel Vadot		};
362*8d13bc63SEmmanuel Vadot	};
363*8d13bc63SEmmanuel Vadot
364*8d13bc63SEmmanuel Vadot	wireless-bluetooth {
365*8d13bc63SEmmanuel Vadot		bt_reset_gpio: bt-reset-pin {
366*8d13bc63SEmmanuel Vadot			rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
367*8d13bc63SEmmanuel Vadot		};
368*8d13bc63SEmmanuel Vadot
369*8d13bc63SEmmanuel Vadot		bt_wake_gpio: bt-wake-pin {
370*8d13bc63SEmmanuel Vadot			rockchip,pins = <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
371*8d13bc63SEmmanuel Vadot		};
372*8d13bc63SEmmanuel Vadot
373*8d13bc63SEmmanuel Vadot		bt_wake_host_irq: bt-wake-host-irq {
374*8d13bc63SEmmanuel Vadot			rockchip,pins = <0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_down>;
375*8d13bc63SEmmanuel Vadot		};
376*8d13bc63SEmmanuel Vadot	};
377*8d13bc63SEmmanuel Vadot
378*8d13bc63SEmmanuel Vadot	wireless-wlan {
379*8d13bc63SEmmanuel Vadot		wifi_host_wake_irq: wifi-host-wake-irq {
380*8d13bc63SEmmanuel Vadot			rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_down>;
381*8d13bc63SEmmanuel Vadot		};
382*8d13bc63SEmmanuel Vadot
383*8d13bc63SEmmanuel Vadot		wifi_poweren_pin: wifi-poweren-pin {
384*8d13bc63SEmmanuel Vadot			rockchip,pins = <1 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>;
385*8d13bc63SEmmanuel Vadot		};
386*8d13bc63SEmmanuel Vadot	};
387*8d13bc63SEmmanuel Vadot};
388*8d13bc63SEmmanuel Vadot
389*8d13bc63SEmmanuel Vadot&pwm2 {
390*8d13bc63SEmmanuel Vadot	pinctrl-0 = <&pwm2m1_pins>;
391*8d13bc63SEmmanuel Vadot	status = "okay";
392*8d13bc63SEmmanuel Vadot};
393*8d13bc63SEmmanuel Vadot
394*8d13bc63SEmmanuel Vadot&pwm13 {
395*8d13bc63SEmmanuel Vadot	pinctrl-names = "active";
396*8d13bc63SEmmanuel Vadot	pinctrl-0 = <&pwm13m2_pins>;
397*8d13bc63SEmmanuel Vadot	status = "okay";
398*8d13bc63SEmmanuel Vadot};
399*8d13bc63SEmmanuel Vadot
400*8d13bc63SEmmanuel Vadot&saradc {
401*8d13bc63SEmmanuel Vadot	vref-supply = <&vcc_1v8_s0>;
402*8d13bc63SEmmanuel Vadot	status = "okay";
403*8d13bc63SEmmanuel Vadot};
404*8d13bc63SEmmanuel Vadot
405*8d13bc63SEmmanuel Vadot&sdhci {
406*8d13bc63SEmmanuel Vadot	bus-width = <8>;
407*8d13bc63SEmmanuel Vadot	max-frequency = <200000000>;
408*8d13bc63SEmmanuel Vadot	mmc-hs400-1_8v;
409*8d13bc63SEmmanuel Vadot	mmc-hs400-enhanced-strobe;
410*8d13bc63SEmmanuel Vadot	no-sdio;
411*8d13bc63SEmmanuel Vadot	no-sd;
412*8d13bc63SEmmanuel Vadot	non-removable;
413*8d13bc63SEmmanuel Vadot	status = "okay";
414*8d13bc63SEmmanuel Vadot};
415*8d13bc63SEmmanuel Vadot
416*8d13bc63SEmmanuel Vadot&sdio {
417*8d13bc63SEmmanuel Vadot	bus-width = <4>;
418*8d13bc63SEmmanuel Vadot	cap-sd-highspeed;
419*8d13bc63SEmmanuel Vadot	cap-sdio-irq;
420*8d13bc63SEmmanuel Vadot	disable-wp;
421*8d13bc63SEmmanuel Vadot	keep-power-in-suspend;
422*8d13bc63SEmmanuel Vadot	max-frequency = <150000000>;
423*8d13bc63SEmmanuel Vadot	mmc-pwrseq = <&sdio_pwrseq>;
424*8d13bc63SEmmanuel Vadot	no-sd;
425*8d13bc63SEmmanuel Vadot	no-mmc;
426*8d13bc63SEmmanuel Vadot	non-removable;
427*8d13bc63SEmmanuel Vadot	pinctrl-names = "default";
428*8d13bc63SEmmanuel Vadot	pinctrl-0 = <&sdiom1_pins>,<&wifi_poweren_pin>;
429*8d13bc63SEmmanuel Vadot	status = "okay";
430*8d13bc63SEmmanuel Vadot};
431*8d13bc63SEmmanuel Vadot
432*8d13bc63SEmmanuel Vadot&sdmmc {
433*8d13bc63SEmmanuel Vadot	bus-width = <4>;
434*8d13bc63SEmmanuel Vadot	cap-mmc-highspeed;
435*8d13bc63SEmmanuel Vadot	cap-sd-highspeed;
436*8d13bc63SEmmanuel Vadot	disable-wp;
437*8d13bc63SEmmanuel Vadot	max-frequency = <150000000>;
438*8d13bc63SEmmanuel Vadot	no-sdio;
439*8d13bc63SEmmanuel Vadot	no-mmc;
440*8d13bc63SEmmanuel Vadot	sd-uhs-sdr104;
441*8d13bc63SEmmanuel Vadot	vmmc-supply = <&vcc_3v3_s3>;
442*8d13bc63SEmmanuel Vadot	vqmmc-supply = <&vccio_sd_s0>;
443*8d13bc63SEmmanuel Vadot	status = "okay";
444*8d13bc63SEmmanuel Vadot};
445*8d13bc63SEmmanuel Vadot
446*8d13bc63SEmmanuel Vadot&spi2 {
447*8d13bc63SEmmanuel Vadot	assigned-clocks = <&cru CLK_SPI2>;
448*8d13bc63SEmmanuel Vadot	assigned-clock-rates = <200000000>;
449*8d13bc63SEmmanuel Vadot	num-cs = <1>;
450*8d13bc63SEmmanuel Vadot	pinctrl-names = "default";
451*8d13bc63SEmmanuel Vadot	pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>;
452*8d13bc63SEmmanuel Vadot	status = "okay";
453*8d13bc63SEmmanuel Vadot
454*8d13bc63SEmmanuel Vadot	pmic@0 {
455*8d13bc63SEmmanuel Vadot		compatible = "rockchip,rk806";
456*8d13bc63SEmmanuel Vadot		reg = <0x0>;
457*8d13bc63SEmmanuel Vadot		interrupt-parent = <&gpio0>;
458*8d13bc63SEmmanuel Vadot		interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
459*8d13bc63SEmmanuel Vadot		gpio-controller;
460*8d13bc63SEmmanuel Vadot		#gpio-cells = <2>;
461*8d13bc63SEmmanuel Vadot		pinctrl-names = "default";
462*8d13bc63SEmmanuel Vadot		pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
463*8d13bc63SEmmanuel Vadot			    <&rk806_dvs2_null>, <&rk806_dvs3_null>;
464*8d13bc63SEmmanuel Vadot		spi-max-frequency = <1000000>;
465*8d13bc63SEmmanuel Vadot		vcc1-supply = <&vcc5v0_sys>;
466*8d13bc63SEmmanuel Vadot		vcc2-supply = <&vcc5v0_sys>;
467*8d13bc63SEmmanuel Vadot		vcc3-supply = <&vcc5v0_sys>;
468*8d13bc63SEmmanuel Vadot		vcc4-supply = <&vcc5v0_sys>;
469*8d13bc63SEmmanuel Vadot		vcc5-supply = <&vcc5v0_sys>;
470*8d13bc63SEmmanuel Vadot		vcc6-supply = <&vcc5v0_sys>;
471*8d13bc63SEmmanuel Vadot		vcc7-supply = <&vcc5v0_sys>;
472*8d13bc63SEmmanuel Vadot		vcc8-supply = <&vcc5v0_sys>;
473*8d13bc63SEmmanuel Vadot		vcc9-supply = <&vcc5v0_sys>;
474*8d13bc63SEmmanuel Vadot		vcc10-supply = <&vcc5v0_sys>;
475*8d13bc63SEmmanuel Vadot		vcc11-supply = <&vcc_2v0_pldo_s3>;
476*8d13bc63SEmmanuel Vadot		vcc12-supply = <&vcc5v0_sys>;
477*8d13bc63SEmmanuel Vadot		vcc13-supply = <&vcc_1v1_nldo_s3>;
478*8d13bc63SEmmanuel Vadot		vcc14-supply = <&vcc_1v1_nldo_s3>;
479*8d13bc63SEmmanuel Vadot		vcca-supply = <&vcc5v0_sys>;
480*8d13bc63SEmmanuel Vadot
481*8d13bc63SEmmanuel Vadot		rk806_dvs1_null: dvs1-null-pins {
482*8d13bc63SEmmanuel Vadot			pins = "gpio_pwrctrl2";
483*8d13bc63SEmmanuel Vadot			function = "pin_fun0";
484*8d13bc63SEmmanuel Vadot		};
485*8d13bc63SEmmanuel Vadot
486*8d13bc63SEmmanuel Vadot		rk806_dvs2_null: dvs2-null-pins {
487*8d13bc63SEmmanuel Vadot			pins = "gpio_pwrctrl2";
488*8d13bc63SEmmanuel Vadot			function = "pin_fun0";
489*8d13bc63SEmmanuel Vadot		};
490*8d13bc63SEmmanuel Vadot
491*8d13bc63SEmmanuel Vadot		rk806_dvs3_null: dvs3-null-pins {
492*8d13bc63SEmmanuel Vadot			pins = "gpio_pwrctrl3";
493*8d13bc63SEmmanuel Vadot			function = "pin_fun0";
494*8d13bc63SEmmanuel Vadot		};
495*8d13bc63SEmmanuel Vadot
496*8d13bc63SEmmanuel Vadot		regulators {
497*8d13bc63SEmmanuel Vadot			vdd_gpu_s0: vdd_gpu_mem_s0: dcdc-reg1 {
498*8d13bc63SEmmanuel Vadot				regulator-name = "vdd_gpu_s0";
499*8d13bc63SEmmanuel Vadot				regulator-boot-on;
500*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <550000>;
501*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <950000>;
502*8d13bc63SEmmanuel Vadot				regulator-ramp-delay = <12500>;
503*8d13bc63SEmmanuel Vadot				regulator-enable-ramp-delay = <400>;
504*8d13bc63SEmmanuel Vadot
505*8d13bc63SEmmanuel Vadot				regulator-state-mem {
506*8d13bc63SEmmanuel Vadot					regulator-off-in-suspend;
507*8d13bc63SEmmanuel Vadot				};
508*8d13bc63SEmmanuel Vadot			};
509*8d13bc63SEmmanuel Vadot
510*8d13bc63SEmmanuel Vadot			vdd_cpu_lit_s0: vdd_cpu_lit_mem_s0: dcdc-reg2 {
511*8d13bc63SEmmanuel Vadot				regulator-name = "vdd_cpu_lit_s0";
512*8d13bc63SEmmanuel Vadot				regulator-always-on;
513*8d13bc63SEmmanuel Vadot				regulator-boot-on;
514*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <550000>;
515*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <950000>;
516*8d13bc63SEmmanuel Vadot				regulator-ramp-delay = <12500>;
517*8d13bc63SEmmanuel Vadot
518*8d13bc63SEmmanuel Vadot				regulator-state-mem {
519*8d13bc63SEmmanuel Vadot					regulator-off-in-suspend;
520*8d13bc63SEmmanuel Vadot				};
521*8d13bc63SEmmanuel Vadot			};
522*8d13bc63SEmmanuel Vadot
523*8d13bc63SEmmanuel Vadot			vdd_log_s0: dcdc-reg3 {
524*8d13bc63SEmmanuel Vadot				regulator-name = "vdd_log_s0";
525*8d13bc63SEmmanuel Vadot				regulator-always-on;
526*8d13bc63SEmmanuel Vadot				regulator-boot-on;
527*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <675000>;
528*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <750000>;
529*8d13bc63SEmmanuel Vadot				regulator-ramp-delay = <12500>;
530*8d13bc63SEmmanuel Vadot
531*8d13bc63SEmmanuel Vadot				regulator-state-mem {
532*8d13bc63SEmmanuel Vadot					regulator-off-in-suspend;
533*8d13bc63SEmmanuel Vadot					regulator-suspend-microvolt = <750000>;
534*8d13bc63SEmmanuel Vadot				};
535*8d13bc63SEmmanuel Vadot			};
536*8d13bc63SEmmanuel Vadot
537*8d13bc63SEmmanuel Vadot			vdd_vdenc_s0: vdd_vdenc_mem_s0: dcdc-reg4 {
538*8d13bc63SEmmanuel Vadot				regulator-name = "vdd_vdenc_s0";
539*8d13bc63SEmmanuel Vadot				regulator-always-on;
540*8d13bc63SEmmanuel Vadot				regulator-boot-on;
541*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <550000>;
542*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <950000>;
543*8d13bc63SEmmanuel Vadot				regulator-ramp-delay = <12500>;
544*8d13bc63SEmmanuel Vadot
545*8d13bc63SEmmanuel Vadot				regulator-state-mem {
546*8d13bc63SEmmanuel Vadot					regulator-off-in-suspend;
547*8d13bc63SEmmanuel Vadot				};
548*8d13bc63SEmmanuel Vadot			};
549*8d13bc63SEmmanuel Vadot
550*8d13bc63SEmmanuel Vadot			vdd_ddr_s0: dcdc-reg5 {
551*8d13bc63SEmmanuel Vadot				regulator-name = "vdd_ddr_s0";
552*8d13bc63SEmmanuel Vadot				regulator-always-on;
553*8d13bc63SEmmanuel Vadot				regulator-boot-on;
554*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <675000>;
555*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <900000>;
556*8d13bc63SEmmanuel Vadot				regulator-ramp-delay = <12500>;
557*8d13bc63SEmmanuel Vadot
558*8d13bc63SEmmanuel Vadot				regulator-state-mem {
559*8d13bc63SEmmanuel Vadot					regulator-off-in-suspend;
560*8d13bc63SEmmanuel Vadot					regulator-suspend-microvolt = <850000>;
561*8d13bc63SEmmanuel Vadot				};
562*8d13bc63SEmmanuel Vadot			};
563*8d13bc63SEmmanuel Vadot
564*8d13bc63SEmmanuel Vadot			vdd2_ddr_s3: dcdc-reg6 {
565*8d13bc63SEmmanuel Vadot				regulator-name = "vdd2_ddr_s3";
566*8d13bc63SEmmanuel Vadot				regulator-always-on;
567*8d13bc63SEmmanuel Vadot				regulator-boot-on;
568*8d13bc63SEmmanuel Vadot
569*8d13bc63SEmmanuel Vadot				regulator-state-mem {
570*8d13bc63SEmmanuel Vadot					regulator-on-in-suspend;
571*8d13bc63SEmmanuel Vadot				};
572*8d13bc63SEmmanuel Vadot			};
573*8d13bc63SEmmanuel Vadot
574*8d13bc63SEmmanuel Vadot			vcc_2v0_pldo_s3: dcdc-reg7 {
575*8d13bc63SEmmanuel Vadot				regulator-name = "vdd_2v0_pldo_s3";
576*8d13bc63SEmmanuel Vadot				regulator-always-on;
577*8d13bc63SEmmanuel Vadot				regulator-boot-on;
578*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <2000000>;
579*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <2000000>;
580*8d13bc63SEmmanuel Vadot				regulator-ramp-delay = <12500>;
581*8d13bc63SEmmanuel Vadot
582*8d13bc63SEmmanuel Vadot				regulator-state-mem {
583*8d13bc63SEmmanuel Vadot					regulator-on-in-suspend;
584*8d13bc63SEmmanuel Vadot					regulator-suspend-microvolt = <2000000>;
585*8d13bc63SEmmanuel Vadot				};
586*8d13bc63SEmmanuel Vadot			};
587*8d13bc63SEmmanuel Vadot
588*8d13bc63SEmmanuel Vadot			vcc_3v3_s3: dcdc-reg8 {
589*8d13bc63SEmmanuel Vadot				regulator-name = "vcc_3v3_s3";
590*8d13bc63SEmmanuel Vadot				regulator-always-on;
591*8d13bc63SEmmanuel Vadot				regulator-boot-on;
592*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <3300000>;
593*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
594*8d13bc63SEmmanuel Vadot
595*8d13bc63SEmmanuel Vadot				regulator-state-mem {
596*8d13bc63SEmmanuel Vadot					regulator-on-in-suspend;
597*8d13bc63SEmmanuel Vadot					regulator-suspend-microvolt = <3300000>;
598*8d13bc63SEmmanuel Vadot				};
599*8d13bc63SEmmanuel Vadot			};
600*8d13bc63SEmmanuel Vadot
601*8d13bc63SEmmanuel Vadot			vddq_ddr_s0: dcdc-reg9 {
602*8d13bc63SEmmanuel Vadot				regulator-name = "vddq_ddr_s0";
603*8d13bc63SEmmanuel Vadot				regulator-always-on;
604*8d13bc63SEmmanuel Vadot				regulator-boot-on;
605*8d13bc63SEmmanuel Vadot
606*8d13bc63SEmmanuel Vadot				regulator-state-mem {
607*8d13bc63SEmmanuel Vadot					regulator-off-in-suspend;
608*8d13bc63SEmmanuel Vadot				};
609*8d13bc63SEmmanuel Vadot			};
610*8d13bc63SEmmanuel Vadot
611*8d13bc63SEmmanuel Vadot			vcc_1v8_s3: dcdc-reg10 {
612*8d13bc63SEmmanuel Vadot				regulator-name = "vcc_1v8_s3";
613*8d13bc63SEmmanuel Vadot				regulator-always-on;
614*8d13bc63SEmmanuel Vadot				regulator-boot-on;
615*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
616*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
617*8d13bc63SEmmanuel Vadot
618*8d13bc63SEmmanuel Vadot				regulator-state-mem {
619*8d13bc63SEmmanuel Vadot					regulator-on-in-suspend;
620*8d13bc63SEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
621*8d13bc63SEmmanuel Vadot				};
622*8d13bc63SEmmanuel Vadot			};
623*8d13bc63SEmmanuel Vadot
624*8d13bc63SEmmanuel Vadot			avcc_1v8_s0: pldo-reg1 {
625*8d13bc63SEmmanuel Vadot				regulator-name = "avcc_1v8_s0";
626*8d13bc63SEmmanuel Vadot				regulator-always-on;
627*8d13bc63SEmmanuel Vadot				regulator-boot-on;
628*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
629*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
630*8d13bc63SEmmanuel Vadot
631*8d13bc63SEmmanuel Vadot				regulator-state-mem {
632*8d13bc63SEmmanuel Vadot					regulator-off-in-suspend;
633*8d13bc63SEmmanuel Vadot				};
634*8d13bc63SEmmanuel Vadot			};
635*8d13bc63SEmmanuel Vadot
636*8d13bc63SEmmanuel Vadot			vcc_1v8_s0: pldo-reg2 {
637*8d13bc63SEmmanuel Vadot				regulator-name = "vcc_1v8_s0";
638*8d13bc63SEmmanuel Vadot				regulator-always-on;
639*8d13bc63SEmmanuel Vadot				regulator-boot-on;
640*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
641*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
642*8d13bc63SEmmanuel Vadot
643*8d13bc63SEmmanuel Vadot				regulator-state-mem {
644*8d13bc63SEmmanuel Vadot					regulator-off-in-suspend;
645*8d13bc63SEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
646*8d13bc63SEmmanuel Vadot				};
647*8d13bc63SEmmanuel Vadot			};
648*8d13bc63SEmmanuel Vadot
649*8d13bc63SEmmanuel Vadot			avdd_1v2_s0: pldo-reg3 {
650*8d13bc63SEmmanuel Vadot				regulator-name = "avdd_1v2_s0";
651*8d13bc63SEmmanuel Vadot				regulator-always-on;
652*8d13bc63SEmmanuel Vadot				regulator-boot-on;
653*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <1200000>;
654*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <1200000>;
655*8d13bc63SEmmanuel Vadot
656*8d13bc63SEmmanuel Vadot				regulator-state-mem {
657*8d13bc63SEmmanuel Vadot					regulator-off-in-suspend;
658*8d13bc63SEmmanuel Vadot				};
659*8d13bc63SEmmanuel Vadot			};
660*8d13bc63SEmmanuel Vadot
661*8d13bc63SEmmanuel Vadot			vcc_3v3_s0: pldo-reg4 {
662*8d13bc63SEmmanuel Vadot				regulator-name = "vcc_3v3_s0";
663*8d13bc63SEmmanuel Vadot				regulator-always-on;
664*8d13bc63SEmmanuel Vadot				regulator-boot-on;
665*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <3300000>;
666*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
667*8d13bc63SEmmanuel Vadot				regulator-ramp-delay = <12500>;
668*8d13bc63SEmmanuel Vadot
669*8d13bc63SEmmanuel Vadot				regulator-state-mem {
670*8d13bc63SEmmanuel Vadot					regulator-off-in-suspend;
671*8d13bc63SEmmanuel Vadot				};
672*8d13bc63SEmmanuel Vadot			};
673*8d13bc63SEmmanuel Vadot
674*8d13bc63SEmmanuel Vadot			vccio_sd_s0: pldo-reg5 {
675*8d13bc63SEmmanuel Vadot				regulator-name = "vccio_sd_s0";
676*8d13bc63SEmmanuel Vadot				regulator-always-on;
677*8d13bc63SEmmanuel Vadot				regulator-boot-on;
678*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
679*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
680*8d13bc63SEmmanuel Vadot				regulator-ramp-delay = <12500>;
681*8d13bc63SEmmanuel Vadot
682*8d13bc63SEmmanuel Vadot				regulator-state-mem {
683*8d13bc63SEmmanuel Vadot					regulator-off-in-suspend;
684*8d13bc63SEmmanuel Vadot				};
685*8d13bc63SEmmanuel Vadot			};
686*8d13bc63SEmmanuel Vadot
687*8d13bc63SEmmanuel Vadot			pldo6_s3: pldo-reg6 {
688*8d13bc63SEmmanuel Vadot				regulator-name = "pldo6_s3";
689*8d13bc63SEmmanuel Vadot				regulator-always-on;
690*8d13bc63SEmmanuel Vadot				regulator-boot-on;
691*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
692*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
693*8d13bc63SEmmanuel Vadot
694*8d13bc63SEmmanuel Vadot				regulator-state-mem {
695*8d13bc63SEmmanuel Vadot					regulator-on-in-suspend;
696*8d13bc63SEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
697*8d13bc63SEmmanuel Vadot				};
698*8d13bc63SEmmanuel Vadot			};
699*8d13bc63SEmmanuel Vadot
700*8d13bc63SEmmanuel Vadot			vdd_0v75_s3: nldo-reg1 {
701*8d13bc63SEmmanuel Vadot				regulator-name = "vdd_0v75_s3";
702*8d13bc63SEmmanuel Vadot				regulator-always-on;
703*8d13bc63SEmmanuel Vadot				regulator-boot-on;
704*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <750000>;
705*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <750000>;
706*8d13bc63SEmmanuel Vadot
707*8d13bc63SEmmanuel Vadot				regulator-state-mem {
708*8d13bc63SEmmanuel Vadot					regulator-on-in-suspend;
709*8d13bc63SEmmanuel Vadot					regulator-suspend-microvolt = <750000>;
710*8d13bc63SEmmanuel Vadot				};
711*8d13bc63SEmmanuel Vadot			};
712*8d13bc63SEmmanuel Vadot
713*8d13bc63SEmmanuel Vadot			vdd_ddr_pll_s0: nldo-reg2 {
714*8d13bc63SEmmanuel Vadot				regulator-name = "vdd_ddr_pll_s0";
715*8d13bc63SEmmanuel Vadot				regulator-always-on;
716*8d13bc63SEmmanuel Vadot				regulator-boot-on;
717*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <850000>;
718*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <850000>;
719*8d13bc63SEmmanuel Vadot
720*8d13bc63SEmmanuel Vadot				regulator-state-mem {
721*8d13bc63SEmmanuel Vadot					regulator-off-in-suspend;
722*8d13bc63SEmmanuel Vadot					regulator-suspend-microvolt = <850000>;
723*8d13bc63SEmmanuel Vadot				};
724*8d13bc63SEmmanuel Vadot			};
725*8d13bc63SEmmanuel Vadot
726*8d13bc63SEmmanuel Vadot			avdd_0v75_s0: nldo-reg3 {
727*8d13bc63SEmmanuel Vadot				regulator-name = "avdd_0v75_s0";
728*8d13bc63SEmmanuel Vadot				regulator-always-on;
729*8d13bc63SEmmanuel Vadot				regulator-boot-on;
730*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <750000>;
731*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <750000>;
732*8d13bc63SEmmanuel Vadot
733*8d13bc63SEmmanuel Vadot				regulator-state-mem {
734*8d13bc63SEmmanuel Vadot					regulator-off-in-suspend;
735*8d13bc63SEmmanuel Vadot				};
736*8d13bc63SEmmanuel Vadot			};
737*8d13bc63SEmmanuel Vadot
738*8d13bc63SEmmanuel Vadot			vdd_0v85_s0: nldo-reg4 {
739*8d13bc63SEmmanuel Vadot				regulator-name = "vdd_0v85_s0";
740*8d13bc63SEmmanuel Vadot				regulator-always-on;
741*8d13bc63SEmmanuel Vadot				regulator-boot-on;
742*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <850000>;
743*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <850000>;
744*8d13bc63SEmmanuel Vadot
745*8d13bc63SEmmanuel Vadot				regulator-state-mem {
746*8d13bc63SEmmanuel Vadot					regulator-off-in-suspend;
747*8d13bc63SEmmanuel Vadot				};
748*8d13bc63SEmmanuel Vadot			};
749*8d13bc63SEmmanuel Vadot
750*8d13bc63SEmmanuel Vadot			vdd_0v75_s0: nldo-reg5 {
751*8d13bc63SEmmanuel Vadot				regulator-name = "vdd_0v75_s0";
752*8d13bc63SEmmanuel Vadot				regulator-always-on;
753*8d13bc63SEmmanuel Vadot				regulator-boot-on;
754*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <750000>;
755*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <750000>;
756*8d13bc63SEmmanuel Vadot
757*8d13bc63SEmmanuel Vadot				regulator-state-mem {
758*8d13bc63SEmmanuel Vadot					regulator-off-in-suspend;
759*8d13bc63SEmmanuel Vadot				};
760*8d13bc63SEmmanuel Vadot			};
761*8d13bc63SEmmanuel Vadot		};
762*8d13bc63SEmmanuel Vadot	};
763*8d13bc63SEmmanuel Vadot};
764*8d13bc63SEmmanuel Vadot
765*8d13bc63SEmmanuel Vadot&tsadc {
766*8d13bc63SEmmanuel Vadot	status = "okay";
767*8d13bc63SEmmanuel Vadot};
768*8d13bc63SEmmanuel Vadot
769*8d13bc63SEmmanuel Vadot&u2phy2 {
770*8d13bc63SEmmanuel Vadot	status = "okay";
771*8d13bc63SEmmanuel Vadot};
772*8d13bc63SEmmanuel Vadot
773*8d13bc63SEmmanuel Vadot&u2phy3 {
774*8d13bc63SEmmanuel Vadot	status = "okay";
775*8d13bc63SEmmanuel Vadot};
776*8d13bc63SEmmanuel Vadot
777*8d13bc63SEmmanuel Vadot&u2phy2_host {
778*8d13bc63SEmmanuel Vadot	phy-supply = <&vcc5v0_host>;
779*8d13bc63SEmmanuel Vadot	status = "okay";
780*8d13bc63SEmmanuel Vadot};
781*8d13bc63SEmmanuel Vadot
782*8d13bc63SEmmanuel Vadot&u2phy3_host {
783*8d13bc63SEmmanuel Vadot	status = "okay";
784*8d13bc63SEmmanuel Vadot};
785*8d13bc63SEmmanuel Vadot
786*8d13bc63SEmmanuel Vadot&uart2 {
787*8d13bc63SEmmanuel Vadot	pinctrl-0 = <&uart2m0_xfer>;
788*8d13bc63SEmmanuel Vadot	status = "okay";
789*8d13bc63SEmmanuel Vadot};
790*8d13bc63SEmmanuel Vadot
791*8d13bc63SEmmanuel Vadot/* bt */
792*8d13bc63SEmmanuel Vadot&uart9 {
793*8d13bc63SEmmanuel Vadot	status = "okay";
794*8d13bc63SEmmanuel Vadot	pinctrl-names = "default";
795*8d13bc63SEmmanuel Vadot	pinctrl-0 = <&uart9m2_xfer &uart9m2_ctsn>;
796*8d13bc63SEmmanuel Vadot};
797*8d13bc63SEmmanuel Vadot
798*8d13bc63SEmmanuel Vadot&usb_host0_ehci {
799*8d13bc63SEmmanuel Vadot	status = "okay";
800*8d13bc63SEmmanuel Vadot};
801*8d13bc63SEmmanuel Vadot
802*8d13bc63SEmmanuel Vadot&usb_host0_ohci {
803*8d13bc63SEmmanuel Vadot	status = "okay";
804*8d13bc63SEmmanuel Vadot};
805*8d13bc63SEmmanuel Vadot
806*8d13bc63SEmmanuel Vadot&usb_host1_ehci {
807*8d13bc63SEmmanuel Vadot	status = "okay";
808*8d13bc63SEmmanuel Vadot};
809*8d13bc63SEmmanuel Vadot
810*8d13bc63SEmmanuel Vadot&usb_host1_ohci {
811*8d13bc63SEmmanuel Vadot	status = "okay";
812*8d13bc63SEmmanuel Vadot};
813