xref: /freebsd/sys/contrib/device-tree/src/arm64/rockchip/rk3562-evb2-v10.dts (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
1*ae5de77eSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*ae5de77eSEmmanuel Vadot/*
3*ae5de77eSEmmanuel Vadot * Copyright (c) 2024-2025 Rockchip Electronics Co., Ltd.
4*ae5de77eSEmmanuel Vadot *
5*ae5de77eSEmmanuel Vadot */
6*ae5de77eSEmmanuel Vadot
7*ae5de77eSEmmanuel Vadot/dts-v1/;
8*ae5de77eSEmmanuel Vadot
9*ae5de77eSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
10*ae5de77eSEmmanuel Vadot#include <dt-bindings/input/input.h>
11*ae5de77eSEmmanuel Vadot#include <dt-bindings/leds/common.h>
12*ae5de77eSEmmanuel Vadot#include <dt-bindings/pinctrl/rockchip.h>
13*ae5de77eSEmmanuel Vadot#include "rk3562.dtsi"
14*ae5de77eSEmmanuel Vadot
15*ae5de77eSEmmanuel Vadot/ {
16*ae5de77eSEmmanuel Vadot	model = "Rockchip RK3562 EVB V20 Board";
17*ae5de77eSEmmanuel Vadot	compatible = "rockchip,rk3562-evb2-v10", "rockchip,rk3562";
18*ae5de77eSEmmanuel Vadot
19*ae5de77eSEmmanuel Vadot	chosen: chosen {
20*ae5de77eSEmmanuel Vadot		stdout-path = "serial0:1500000n8";
21*ae5de77eSEmmanuel Vadot	};
22*ae5de77eSEmmanuel Vadot
23*ae5de77eSEmmanuel Vadot	adc_keys: adc-keys {
24*ae5de77eSEmmanuel Vadot		compatible = "adc-keys";
25*ae5de77eSEmmanuel Vadot		io-channels = <&saradc0 1>;
26*ae5de77eSEmmanuel Vadot		io-channel-names = "buttons";
27*ae5de77eSEmmanuel Vadot		keyup-threshold-microvolt = <1800000>;
28*ae5de77eSEmmanuel Vadot		poll-interval = <100>;
29*ae5de77eSEmmanuel Vadot
30*ae5de77eSEmmanuel Vadot		button-vol-up {
31*ae5de77eSEmmanuel Vadot			linux,code = <KEY_VOLUMEUP>;
32*ae5de77eSEmmanuel Vadot			label = "volume up";
33*ae5de77eSEmmanuel Vadot			press-threshold-microvolt = <17000>;
34*ae5de77eSEmmanuel Vadot		};
35*ae5de77eSEmmanuel Vadot
36*ae5de77eSEmmanuel Vadot		button-vol-down {
37*ae5de77eSEmmanuel Vadot			linux,code = <KEY_VOLUMEDOWN>;
38*ae5de77eSEmmanuel Vadot			label = "volume down";
39*ae5de77eSEmmanuel Vadot			press-threshold-microvolt = <414000>;
40*ae5de77eSEmmanuel Vadot		};
41*ae5de77eSEmmanuel Vadot
42*ae5de77eSEmmanuel Vadot		button-menu {
43*ae5de77eSEmmanuel Vadot			linux,code = <KEY_MENU>;
44*ae5de77eSEmmanuel Vadot			label = "menu";
45*ae5de77eSEmmanuel Vadot			press-threshold-microvolt = <800000>;
46*ae5de77eSEmmanuel Vadot		};
47*ae5de77eSEmmanuel Vadot
48*ae5de77eSEmmanuel Vadot		button-back {
49*ae5de77eSEmmanuel Vadot			linux,code = <KEY_BACK>;
50*ae5de77eSEmmanuel Vadot			label = "back";
51*ae5de77eSEmmanuel Vadot			press-threshold-microvolt = <1200000>;
52*ae5de77eSEmmanuel Vadot		};
53*ae5de77eSEmmanuel Vadot	};
54*ae5de77eSEmmanuel Vadot
55*ae5de77eSEmmanuel Vadot	leds: leds {
56*ae5de77eSEmmanuel Vadot		compatible = "gpio-leds";
57*ae5de77eSEmmanuel Vadot
58*ae5de77eSEmmanuel Vadot		work_led: led-0 {
59*ae5de77eSEmmanuel Vadot			gpios = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
60*ae5de77eSEmmanuel Vadot			linux,default-trigger = "heartbeat";
61*ae5de77eSEmmanuel Vadot		};
62*ae5de77eSEmmanuel Vadot	};
63*ae5de77eSEmmanuel Vadot
64*ae5de77eSEmmanuel Vadot	sdio_pwrseq: sdio-pwrseq {
65*ae5de77eSEmmanuel Vadot		compatible = "mmc-pwrseq-simple";
66*ae5de77eSEmmanuel Vadot		clocks = <&rk809 1>;
67*ae5de77eSEmmanuel Vadot		clock-names = "ext_clock";
68*ae5de77eSEmmanuel Vadot		pinctrl-names = "default";
69*ae5de77eSEmmanuel Vadot		pinctrl-0 = <&wifi_enable_h>;
70*ae5de77eSEmmanuel Vadot
71*ae5de77eSEmmanuel Vadot		/*
72*ae5de77eSEmmanuel Vadot		 * On the module itself this is one of these (depending
73*ae5de77eSEmmanuel Vadot		 * on the actual card populated):
74*ae5de77eSEmmanuel Vadot		 * - SDIO_RESET_L_WL_REG_ON
75*ae5de77eSEmmanuel Vadot		 * - PDN (power down when low)
76*ae5de77eSEmmanuel Vadot		 */
77*ae5de77eSEmmanuel Vadot		post-power-on-delay-ms = <200>;
78*ae5de77eSEmmanuel Vadot		reset-gpios = <&gpio0 RK_PB3 GPIO_ACTIVE_LOW>;
79*ae5de77eSEmmanuel Vadot	};
80*ae5de77eSEmmanuel Vadot
81*ae5de77eSEmmanuel Vadot	vcc12v_dcin: regulator-vcc12v-dcin {
82*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
83*ae5de77eSEmmanuel Vadot		regulator-name = "vcc12v_dcin";
84*ae5de77eSEmmanuel Vadot		regulator-always-on;
85*ae5de77eSEmmanuel Vadot		regulator-boot-on;
86*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <12000000>;
87*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <12000000>;
88*ae5de77eSEmmanuel Vadot	};
89*ae5de77eSEmmanuel Vadot
90*ae5de77eSEmmanuel Vadot	vcc3v3_pcie20: regulator-vcc3v3-pcie20 {
91*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
92*ae5de77eSEmmanuel Vadot		regulator-name = "vcc3v3_pcie20";
93*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
94*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
95*ae5de77eSEmmanuel Vadot		enable-active-high;
96*ae5de77eSEmmanuel Vadot		gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>;
97*ae5de77eSEmmanuel Vadot		startup-delay-us = <5000>;
98*ae5de77eSEmmanuel Vadot		vin-supply = <&vcc12v_dcin>;
99*ae5de77eSEmmanuel Vadot	};
100*ae5de77eSEmmanuel Vadot
101*ae5de77eSEmmanuel Vadot	vcc5v0_sys: regulator-vcc5v0-sys {
102*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
103*ae5de77eSEmmanuel Vadot		regulator-name = "vcc5v0_sys";
104*ae5de77eSEmmanuel Vadot		regulator-always-on;
105*ae5de77eSEmmanuel Vadot		regulator-boot-on;
106*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
107*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
108*ae5de77eSEmmanuel Vadot		vin-supply = <&vcc12v_dcin>;
109*ae5de77eSEmmanuel Vadot	};
110*ae5de77eSEmmanuel Vadot
111*ae5de77eSEmmanuel Vadot	vcc5v0_usb: regulator-vcc5v0-usb {
112*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
113*ae5de77eSEmmanuel Vadot		regulator-name = "vcc5v0_usb";
114*ae5de77eSEmmanuel Vadot		regulator-always-on;
115*ae5de77eSEmmanuel Vadot		regulator-boot-on;
116*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
117*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
118*ae5de77eSEmmanuel Vadot		vin-supply = <&vcc12v_dcin>;
119*ae5de77eSEmmanuel Vadot	};
120*ae5de77eSEmmanuel Vadot
121*ae5de77eSEmmanuel Vadot	vcc5v0_usb_host: regulator-vcc5v0-usb-host {
122*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
123*ae5de77eSEmmanuel Vadot		regulator-name = "vcc5v0_usb_host";
124*ae5de77eSEmmanuel Vadot		regulator-boot-on;
125*ae5de77eSEmmanuel Vadot		regulator-always-on;
126*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
127*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
128*ae5de77eSEmmanuel Vadot		enable-active-high;
129*ae5de77eSEmmanuel Vadot		gpio = <&gpio4 RK_PB0 GPIO_ACTIVE_HIGH>;
130*ae5de77eSEmmanuel Vadot		vin-supply = <&vcc5v0_usb>;
131*ae5de77eSEmmanuel Vadot		pinctrl-names = "default";
132*ae5de77eSEmmanuel Vadot		pinctrl-0 = <&usb_host_pwren>;
133*ae5de77eSEmmanuel Vadot	};
134*ae5de77eSEmmanuel Vadot
135*ae5de77eSEmmanuel Vadot	vcc5v0_usb_otg: regulator-vcc5v0-usb-otg {
136*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
137*ae5de77eSEmmanuel Vadot		regulator-name = "vcc5v0_usb_otg";
138*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
139*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
140*ae5de77eSEmmanuel Vadot		enable-active-high;
141*ae5de77eSEmmanuel Vadot		gpio = <&gpio0 RK_PC0 GPIO_ACTIVE_HIGH>;
142*ae5de77eSEmmanuel Vadot		vin-supply = <&vcc5v0_usb>;
143*ae5de77eSEmmanuel Vadot		pinctrl-names = "default";
144*ae5de77eSEmmanuel Vadot		pinctrl-0 = <&usb_otg_pwren>;
145*ae5de77eSEmmanuel Vadot	};
146*ae5de77eSEmmanuel Vadot
147*ae5de77eSEmmanuel Vadot	vcc3v3_clk: regulator-vcc3v3-clk {
148*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
149*ae5de77eSEmmanuel Vadot		regulator-name = "vcc3v3_clk";
150*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
151*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
152*ae5de77eSEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
153*ae5de77eSEmmanuel Vadot	};
154*ae5de77eSEmmanuel Vadot
155*ae5de77eSEmmanuel Vadot	vcc3v3_sys: regulator-vcc-sys {
156*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
157*ae5de77eSEmmanuel Vadot		regulator-name = "vcc3v3_sys";
158*ae5de77eSEmmanuel Vadot		regulator-always-on;
159*ae5de77eSEmmanuel Vadot		regulator-boot-on;
160*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
161*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
162*ae5de77eSEmmanuel Vadot		vin-supply = <&vcc12v_dcin>;
163*ae5de77eSEmmanuel Vadot	};
164*ae5de77eSEmmanuel Vadot};
165*ae5de77eSEmmanuel Vadot
166*ae5de77eSEmmanuel Vadot&combphy {
167*ae5de77eSEmmanuel Vadot	status = "okay";
168*ae5de77eSEmmanuel Vadot};
169*ae5de77eSEmmanuel Vadot
170*ae5de77eSEmmanuel Vadot&i2c0 {
171*ae5de77eSEmmanuel Vadot	status = "okay";
172*ae5de77eSEmmanuel Vadot
173*ae5de77eSEmmanuel Vadot	rk809: pmic@20 {
174*ae5de77eSEmmanuel Vadot		compatible = "rockchip,rk809";
175*ae5de77eSEmmanuel Vadot		reg = <0x20>;
176*ae5de77eSEmmanuel Vadot		interrupt-parent = <&gpio0>;
177*ae5de77eSEmmanuel Vadot		interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
178*ae5de77eSEmmanuel Vadot
179*ae5de77eSEmmanuel Vadot		pinctrl-names = "default", "pmic-sleep",
180*ae5de77eSEmmanuel Vadot			"pmic-power-off", "pmic-reset";
181*ae5de77eSEmmanuel Vadot		pinctrl-0 = <&pmic_int>;
182*ae5de77eSEmmanuel Vadot		rockchip,system-power-controller;
183*ae5de77eSEmmanuel Vadot		wakeup-source;
184*ae5de77eSEmmanuel Vadot		#clock-cells = <1>;
185*ae5de77eSEmmanuel Vadot		clock-output-names = "rk808-clkout1", "rk808-clkout2";
186*ae5de77eSEmmanuel Vadot
187*ae5de77eSEmmanuel Vadot		vcc1-supply = <&vcc3v3_sys>;
188*ae5de77eSEmmanuel Vadot		vcc2-supply = <&vcc3v3_sys>;
189*ae5de77eSEmmanuel Vadot		vcc3-supply = <&vcc3v3_sys>;
190*ae5de77eSEmmanuel Vadot		vcc4-supply = <&vcc3v3_sys>;
191*ae5de77eSEmmanuel Vadot		vcc5-supply = <&vcc3v3_sys>;
192*ae5de77eSEmmanuel Vadot		vcc6-supply = <&vcc3v3_sys>;
193*ae5de77eSEmmanuel Vadot		vcc7-supply = <&vcc3v3_sys>;
194*ae5de77eSEmmanuel Vadot		vcc8-supply = <&vcc3v3_sys>;
195*ae5de77eSEmmanuel Vadot		vcc9-supply = <&vcc3v3_sys>;
196*ae5de77eSEmmanuel Vadot
197*ae5de77eSEmmanuel Vadot		regulators {
198*ae5de77eSEmmanuel Vadot			vdd_logic: DCDC_REG1 {
199*ae5de77eSEmmanuel Vadot				regulator-always-on;
200*ae5de77eSEmmanuel Vadot				regulator-boot-on;
201*ae5de77eSEmmanuel Vadot				regulator-min-microvolt = <500000>;
202*ae5de77eSEmmanuel Vadot				regulator-max-microvolt = <1350000>;
203*ae5de77eSEmmanuel Vadot				regulator-ramp-delay = <6001>;
204*ae5de77eSEmmanuel Vadot				regulator-initial-mode = <0x2>;
205*ae5de77eSEmmanuel Vadot				regulator-name = "vdd_logic";
206*ae5de77eSEmmanuel Vadot				regulator-state-mem {
207*ae5de77eSEmmanuel Vadot					regulator-off-in-suspend;
208*ae5de77eSEmmanuel Vadot				};
209*ae5de77eSEmmanuel Vadot			};
210*ae5de77eSEmmanuel Vadot
211*ae5de77eSEmmanuel Vadot			vdd_cpu: DCDC_REG2 {
212*ae5de77eSEmmanuel Vadot				regulator-always-on;
213*ae5de77eSEmmanuel Vadot				regulator-boot-on;
214*ae5de77eSEmmanuel Vadot				regulator-min-microvolt = <500000>;
215*ae5de77eSEmmanuel Vadot				regulator-max-microvolt = <1350000>;
216*ae5de77eSEmmanuel Vadot				regulator-ramp-delay = <6001>;
217*ae5de77eSEmmanuel Vadot				regulator-initial-mode = <0x2>;
218*ae5de77eSEmmanuel Vadot				regulator-name = "vdd_cpu";
219*ae5de77eSEmmanuel Vadot				regulator-state-mem {
220*ae5de77eSEmmanuel Vadot					regulator-off-in-suspend;
221*ae5de77eSEmmanuel Vadot				};
222*ae5de77eSEmmanuel Vadot			};
223*ae5de77eSEmmanuel Vadot
224*ae5de77eSEmmanuel Vadot			vcc_ddr: DCDC_REG3 {
225*ae5de77eSEmmanuel Vadot				regulator-always-on;
226*ae5de77eSEmmanuel Vadot				regulator-boot-on;
227*ae5de77eSEmmanuel Vadot				regulator-initial-mode = <0x2>;
228*ae5de77eSEmmanuel Vadot				regulator-name = "vcc_ddr";
229*ae5de77eSEmmanuel Vadot				regulator-state-mem {
230*ae5de77eSEmmanuel Vadot					regulator-on-in-suspend;
231*ae5de77eSEmmanuel Vadot				};
232*ae5de77eSEmmanuel Vadot			};
233*ae5de77eSEmmanuel Vadot
234*ae5de77eSEmmanuel Vadot			vdd_gpu: DCDC_REG4 {
235*ae5de77eSEmmanuel Vadot				regulator-always-on;
236*ae5de77eSEmmanuel Vadot				regulator-boot-on;
237*ae5de77eSEmmanuel Vadot				regulator-min-microvolt = <500000>;
238*ae5de77eSEmmanuel Vadot				regulator-max-microvolt = <1350000>;
239*ae5de77eSEmmanuel Vadot				regulator-ramp-delay = <6001>;
240*ae5de77eSEmmanuel Vadot				regulator-initial-mode = <0x2>;
241*ae5de77eSEmmanuel Vadot				regulator-name = "vdd_gpu";
242*ae5de77eSEmmanuel Vadot				regulator-state-mem {
243*ae5de77eSEmmanuel Vadot					regulator-off-in-suspend;
244*ae5de77eSEmmanuel Vadot				};
245*ae5de77eSEmmanuel Vadot			};
246*ae5de77eSEmmanuel Vadot
247*ae5de77eSEmmanuel Vadot			vcc2v8_dvp: LDO_REG1 {
248*ae5de77eSEmmanuel Vadot				regulator-min-microvolt = <2800000>;
249*ae5de77eSEmmanuel Vadot				regulator-max-microvolt = <2800000>;
250*ae5de77eSEmmanuel Vadot				regulator-name = "vcc2v8_dvp";
251*ae5de77eSEmmanuel Vadot				regulator-state-mem {
252*ae5de77eSEmmanuel Vadot					regulator-off-in-suspend;
253*ae5de77eSEmmanuel Vadot				};
254*ae5de77eSEmmanuel Vadot			};
255*ae5de77eSEmmanuel Vadot
256*ae5de77eSEmmanuel Vadot			vdda_0v9: LDO_REG2 {
257*ae5de77eSEmmanuel Vadot				regulator-always-on;
258*ae5de77eSEmmanuel Vadot				regulator-boot-on;
259*ae5de77eSEmmanuel Vadot				regulator-min-microvolt = <900000>;
260*ae5de77eSEmmanuel Vadot				regulator-max-microvolt = <900000>;
261*ae5de77eSEmmanuel Vadot				regulator-name = "vdda_0v9";
262*ae5de77eSEmmanuel Vadot				regulator-state-mem {
263*ae5de77eSEmmanuel Vadot					regulator-off-in-suspend;
264*ae5de77eSEmmanuel Vadot				};
265*ae5de77eSEmmanuel Vadot			};
266*ae5de77eSEmmanuel Vadot
267*ae5de77eSEmmanuel Vadot			vdda0v9_pmu: LDO_REG3 {
268*ae5de77eSEmmanuel Vadot				regulator-always-on;
269*ae5de77eSEmmanuel Vadot				regulator-boot-on;
270*ae5de77eSEmmanuel Vadot				regulator-min-microvolt = <900000>;
271*ae5de77eSEmmanuel Vadot				regulator-max-microvolt = <900000>;
272*ae5de77eSEmmanuel Vadot				regulator-name = "vdda0v9_pmu";
273*ae5de77eSEmmanuel Vadot				regulator-state-mem {
274*ae5de77eSEmmanuel Vadot				regulator-on-in-suspend;
275*ae5de77eSEmmanuel Vadot					regulator-suspend-microvolt = <900000>;
276*ae5de77eSEmmanuel Vadot				};
277*ae5de77eSEmmanuel Vadot			};
278*ae5de77eSEmmanuel Vadot
279*ae5de77eSEmmanuel Vadot			vccio_acodec: LDO_REG4 {
280*ae5de77eSEmmanuel Vadot				regulator-always-on;
281*ae5de77eSEmmanuel Vadot				regulator-boot-on;
282*ae5de77eSEmmanuel Vadot				regulator-min-microvolt = <3000000>;
283*ae5de77eSEmmanuel Vadot				regulator-max-microvolt = <3000000>;
284*ae5de77eSEmmanuel Vadot				regulator-name = "vccio_acodec";
285*ae5de77eSEmmanuel Vadot				regulator-state-mem {
286*ae5de77eSEmmanuel Vadot					regulator-off-in-suspend;
287*ae5de77eSEmmanuel Vadot				};
288*ae5de77eSEmmanuel Vadot			};
289*ae5de77eSEmmanuel Vadot
290*ae5de77eSEmmanuel Vadot			vccio_sd: LDO_REG5 {
291*ae5de77eSEmmanuel Vadot				regulator-always-on;
292*ae5de77eSEmmanuel Vadot				regulator-boot-on;
293*ae5de77eSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
294*ae5de77eSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
295*ae5de77eSEmmanuel Vadot				regulator-name = "vccio_sd";
296*ae5de77eSEmmanuel Vadot				regulator-state-mem {
297*ae5de77eSEmmanuel Vadot					regulator-off-in-suspend;
298*ae5de77eSEmmanuel Vadot				};
299*ae5de77eSEmmanuel Vadot			};
300*ae5de77eSEmmanuel Vadot
301*ae5de77eSEmmanuel Vadot			vcc3v3_pmu: LDO_REG6 {
302*ae5de77eSEmmanuel Vadot				regulator-always-on;
303*ae5de77eSEmmanuel Vadot				regulator-boot-on;
304*ae5de77eSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
305*ae5de77eSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
306*ae5de77eSEmmanuel Vadot				regulator-name = "vcc3v3_pmu";
307*ae5de77eSEmmanuel Vadot				regulator-state-mem {
308*ae5de77eSEmmanuel Vadot					regulator-on-in-suspend;
309*ae5de77eSEmmanuel Vadot					regulator-suspend-microvolt = <3300000>;
310*ae5de77eSEmmanuel Vadot				};
311*ae5de77eSEmmanuel Vadot			};
312*ae5de77eSEmmanuel Vadot
313*ae5de77eSEmmanuel Vadot			vcca_1v8: LDO_REG7 {
314*ae5de77eSEmmanuel Vadot				regulator-always-on;
315*ae5de77eSEmmanuel Vadot				regulator-boot-on;
316*ae5de77eSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
317*ae5de77eSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
318*ae5de77eSEmmanuel Vadot				regulator-name = "vcca_1v8";
319*ae5de77eSEmmanuel Vadot				regulator-state-mem {
320*ae5de77eSEmmanuel Vadot					regulator-off-in-suspend;
321*ae5de77eSEmmanuel Vadot				};
322*ae5de77eSEmmanuel Vadot			};
323*ae5de77eSEmmanuel Vadot
324*ae5de77eSEmmanuel Vadot			vcca1v8_pmu: LDO_REG8 {
325*ae5de77eSEmmanuel Vadot				regulator-always-on;
326*ae5de77eSEmmanuel Vadot				regulator-boot-on;
327*ae5de77eSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
328*ae5de77eSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
329*ae5de77eSEmmanuel Vadot				regulator-name = "vcca1v8_pmu";
330*ae5de77eSEmmanuel Vadot				regulator-state-mem {
331*ae5de77eSEmmanuel Vadot				regulator-on-in-suspend;
332*ae5de77eSEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
333*ae5de77eSEmmanuel Vadot				};
334*ae5de77eSEmmanuel Vadot			};
335*ae5de77eSEmmanuel Vadot
336*ae5de77eSEmmanuel Vadot			vcc1v8_dvp: LDO_REG9 {
337*ae5de77eSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
338*ae5de77eSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
339*ae5de77eSEmmanuel Vadot				regulator-name = "vcc1v8_dvp";
340*ae5de77eSEmmanuel Vadot				regulator-state-mem {
341*ae5de77eSEmmanuel Vadot					regulator-off-in-suspend;
342*ae5de77eSEmmanuel Vadot				};
343*ae5de77eSEmmanuel Vadot			};
344*ae5de77eSEmmanuel Vadot
345*ae5de77eSEmmanuel Vadot			vcc_1v8: DCDC_REG5 {
346*ae5de77eSEmmanuel Vadot				regulator-always-on;
347*ae5de77eSEmmanuel Vadot				regulator-boot-on;
348*ae5de77eSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
349*ae5de77eSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
350*ae5de77eSEmmanuel Vadot				regulator-name = "vcc_1v8";
351*ae5de77eSEmmanuel Vadot				regulator-state-mem {
352*ae5de77eSEmmanuel Vadot					regulator-off-in-suspend;
353*ae5de77eSEmmanuel Vadot				};
354*ae5de77eSEmmanuel Vadot			};
355*ae5de77eSEmmanuel Vadot
356*ae5de77eSEmmanuel Vadot			vcc_3v3: SWITCH_REG1 {
357*ae5de77eSEmmanuel Vadot				regulator-always-on;
358*ae5de77eSEmmanuel Vadot				regulator-boot-on;
359*ae5de77eSEmmanuel Vadot				regulator-name = "vcc_3v3";
360*ae5de77eSEmmanuel Vadot				regulator-state-mem {
361*ae5de77eSEmmanuel Vadot					regulator-off-in-suspend;
362*ae5de77eSEmmanuel Vadot				};
363*ae5de77eSEmmanuel Vadot			};
364*ae5de77eSEmmanuel Vadot
365*ae5de77eSEmmanuel Vadot			vcc3v3_sd: SWITCH_REG2 {
366*ae5de77eSEmmanuel Vadot				regulator-always-on;
367*ae5de77eSEmmanuel Vadot				regulator-boot-on;
368*ae5de77eSEmmanuel Vadot				regulator-name = "vcc3v3_sd";
369*ae5de77eSEmmanuel Vadot				regulator-state-mem {
370*ae5de77eSEmmanuel Vadot					regulator-off-in-suspend;
371*ae5de77eSEmmanuel Vadot				};
372*ae5de77eSEmmanuel Vadot			};
373*ae5de77eSEmmanuel Vadot		};
374*ae5de77eSEmmanuel Vadot	};
375*ae5de77eSEmmanuel Vadot};
376*ae5de77eSEmmanuel Vadot
377*ae5de77eSEmmanuel Vadot&pcie2x1 {
378*ae5de77eSEmmanuel Vadot	reset-gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_HIGH>;
379*ae5de77eSEmmanuel Vadot	vpcie3v3-supply = <&vcc3v3_pcie20>;
380*ae5de77eSEmmanuel Vadot	status = "okay";
381*ae5de77eSEmmanuel Vadot};
382*ae5de77eSEmmanuel Vadot
383*ae5de77eSEmmanuel Vadot&pinctrl {
384*ae5de77eSEmmanuel Vadot	sdio-pwrseq {
385*ae5de77eSEmmanuel Vadot		wifi_enable_h: wifi-enable-h {
386*ae5de77eSEmmanuel Vadot			rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
387*ae5de77eSEmmanuel Vadot		};
388*ae5de77eSEmmanuel Vadot	};
389*ae5de77eSEmmanuel Vadot
390*ae5de77eSEmmanuel Vadot	usb {
391*ae5de77eSEmmanuel Vadot		usb_host_pwren: usb-host-pwren {
392*ae5de77eSEmmanuel Vadot			rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
393*ae5de77eSEmmanuel Vadot		};
394*ae5de77eSEmmanuel Vadot
395*ae5de77eSEmmanuel Vadot		usb_otg_pwren: usb-otg-pwren {
396*ae5de77eSEmmanuel Vadot			rockchip,pins = <0 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>;
397*ae5de77eSEmmanuel Vadot		};
398*ae5de77eSEmmanuel Vadot	};
399*ae5de77eSEmmanuel Vadot};
400*ae5de77eSEmmanuel Vadot
401*ae5de77eSEmmanuel Vadot&saradc0 {
402*ae5de77eSEmmanuel Vadot	vref-supply = <&vcc_1v8>;
403*ae5de77eSEmmanuel Vadot	status = "okay";
404*ae5de77eSEmmanuel Vadot};
405*ae5de77eSEmmanuel Vadot
406*ae5de77eSEmmanuel Vadot&sdhci {
407*ae5de77eSEmmanuel Vadot	bus-width = <8>;
408*ae5de77eSEmmanuel Vadot	no-sdio;
409*ae5de77eSEmmanuel Vadot	no-sd;
410*ae5de77eSEmmanuel Vadot	non-removable;
411*ae5de77eSEmmanuel Vadot	mmc-hs400-1_8v;
412*ae5de77eSEmmanuel Vadot	mmc-hs400-enhanced-strobe;
413*ae5de77eSEmmanuel Vadot	full-pwr-cycle-in-suspend;
414*ae5de77eSEmmanuel Vadot	status = "okay";
415*ae5de77eSEmmanuel Vadot};
416*ae5de77eSEmmanuel Vadot
417*ae5de77eSEmmanuel Vadot&sdmmc0 {
418*ae5de77eSEmmanuel Vadot	no-sdio;
419*ae5de77eSEmmanuel Vadot	no-mmc;
420*ae5de77eSEmmanuel Vadot	bus-width = <4>;
421*ae5de77eSEmmanuel Vadot	cap-mmc-highspeed;
422*ae5de77eSEmmanuel Vadot	cap-sd-highspeed;
423*ae5de77eSEmmanuel Vadot	disable-wp;
424*ae5de77eSEmmanuel Vadot	pinctrl-names = "default";
425*ae5de77eSEmmanuel Vadot	pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
426*ae5de77eSEmmanuel Vadot	sd-uhs-sdr104;
427*ae5de77eSEmmanuel Vadot	vmmc-supply = <&vcc3v3_sd>;
428*ae5de77eSEmmanuel Vadot	vqmmc-supply = <&vccio_sd>;
429*ae5de77eSEmmanuel Vadot	status = "okay";
430*ae5de77eSEmmanuel Vadot};
431*ae5de77eSEmmanuel Vadot
432*ae5de77eSEmmanuel Vadot&sdmmc1 {
433*ae5de77eSEmmanuel Vadot	no-sd;
434*ae5de77eSEmmanuel Vadot	no-mmc;
435*ae5de77eSEmmanuel Vadot	bus-width = <4>;
436*ae5de77eSEmmanuel Vadot	disable-wp;
437*ae5de77eSEmmanuel Vadot	cap-sd-highspeed;
438*ae5de77eSEmmanuel Vadot	cap-sdio-irq;
439*ae5de77eSEmmanuel Vadot	keep-power-in-suspend;
440*ae5de77eSEmmanuel Vadot	mmc-pwrseq = <&sdio_pwrseq>;
441*ae5de77eSEmmanuel Vadot	non-removable;
442*ae5de77eSEmmanuel Vadot	pinctrl-names = "default";
443*ae5de77eSEmmanuel Vadot	pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk>;
444*ae5de77eSEmmanuel Vadot	sd-uhs-sdr104;
445*ae5de77eSEmmanuel Vadot	status = "okay";
446*ae5de77eSEmmanuel Vadot};
447*ae5de77eSEmmanuel Vadot
448*ae5de77eSEmmanuel Vadot&uart0 {
449*ae5de77eSEmmanuel Vadot	status = "okay";
450*ae5de77eSEmmanuel Vadot};
451*ae5de77eSEmmanuel Vadot
452*ae5de77eSEmmanuel Vadot&uart1 {
453*ae5de77eSEmmanuel Vadot	pinctrl-names = "default";
454*ae5de77eSEmmanuel Vadot	pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn>;
455*ae5de77eSEmmanuel Vadot	status = "okay";
456*ae5de77eSEmmanuel Vadot};
457