xref: /freebsd/sys/contrib/device-tree/src/arm64/rockchip/rk3328-nanopi-r2.dtsi (revision 2846c90520eb4cc74e24d586a0ea0f4a0006bc73)
1*5f62a964SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*5f62a964SEmmanuel Vadot/*
3*5f62a964SEmmanuel Vadot * Copyright (c) 2020 David Bauer <mail@david-bauer.net>
4*5f62a964SEmmanuel Vadot */
5*5f62a964SEmmanuel Vadot
6*5f62a964SEmmanuel Vadot/dts-v1/;
7*5f62a964SEmmanuel Vadot
8*5f62a964SEmmanuel Vadot#include <dt-bindings/input/input.h>
9*5f62a964SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
10*5f62a964SEmmanuel Vadot#include "rk3328.dtsi"
11*5f62a964SEmmanuel Vadot
12*5f62a964SEmmanuel Vadot/ {
13*5f62a964SEmmanuel Vadot	aliases {
14*5f62a964SEmmanuel Vadot		ethernet0 = &gmac2io;
15*5f62a964SEmmanuel Vadot		ethernet1 = &rtl8153;
16*5f62a964SEmmanuel Vadot		mmc0 = &sdmmc;
17*5f62a964SEmmanuel Vadot	};
18*5f62a964SEmmanuel Vadot
19*5f62a964SEmmanuel Vadot	chosen {
20*5f62a964SEmmanuel Vadot		stdout-path = "serial2:1500000n8";
21*5f62a964SEmmanuel Vadot	};
22*5f62a964SEmmanuel Vadot
23*5f62a964SEmmanuel Vadot	gmac_clk: gmac-clock {
24*5f62a964SEmmanuel Vadot		compatible = "fixed-clock";
25*5f62a964SEmmanuel Vadot		clock-frequency = <125000000>;
26*5f62a964SEmmanuel Vadot		clock-output-names = "gmac_clkin";
27*5f62a964SEmmanuel Vadot		#clock-cells = <0>;
28*5f62a964SEmmanuel Vadot	};
29*5f62a964SEmmanuel Vadot
30*5f62a964SEmmanuel Vadot	keys {
31*5f62a964SEmmanuel Vadot		compatible = "gpio-keys";
32*5f62a964SEmmanuel Vadot		pinctrl-0 = <&reset_button_pin>;
33*5f62a964SEmmanuel Vadot		pinctrl-names = "default";
34*5f62a964SEmmanuel Vadot
35*5f62a964SEmmanuel Vadot		key-reset {
36*5f62a964SEmmanuel Vadot			label = "reset";
37*5f62a964SEmmanuel Vadot			gpios = <&gpio0 RK_PA0 GPIO_ACTIVE_LOW>;
38*5f62a964SEmmanuel Vadot			linux,code = <KEY_RESTART>;
39*5f62a964SEmmanuel Vadot			debounce-interval = <50>;
40*5f62a964SEmmanuel Vadot		};
41*5f62a964SEmmanuel Vadot	};
42*5f62a964SEmmanuel Vadot
43*5f62a964SEmmanuel Vadot	leds {
44*5f62a964SEmmanuel Vadot		compatible = "gpio-leds";
45*5f62a964SEmmanuel Vadot		pinctrl-0 = <&lan_led_pin>,  <&sys_led_pin>, <&wan_led_pin>;
46*5f62a964SEmmanuel Vadot		pinctrl-names = "default";
47*5f62a964SEmmanuel Vadot
48*5f62a964SEmmanuel Vadot		lan_led: led-0 {
49*5f62a964SEmmanuel Vadot			gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>;
50*5f62a964SEmmanuel Vadot			label = "nanopi-r2s:green:lan";
51*5f62a964SEmmanuel Vadot		};
52*5f62a964SEmmanuel Vadot
53*5f62a964SEmmanuel Vadot		sys_led: led-1 {
54*5f62a964SEmmanuel Vadot			gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_HIGH>;
55*5f62a964SEmmanuel Vadot			label = "nanopi-r2s:red:sys";
56*5f62a964SEmmanuel Vadot			default-state = "on";
57*5f62a964SEmmanuel Vadot		};
58*5f62a964SEmmanuel Vadot
59*5f62a964SEmmanuel Vadot		wan_led: led-2 {
60*5f62a964SEmmanuel Vadot			gpios = <&gpio2 RK_PC2 GPIO_ACTIVE_HIGH>;
61*5f62a964SEmmanuel Vadot			label = "nanopi-r2s:green:wan";
62*5f62a964SEmmanuel Vadot		};
63*5f62a964SEmmanuel Vadot	};
64*5f62a964SEmmanuel Vadot
65*5f62a964SEmmanuel Vadot	vcc_io_sdio: regulator-sdmmcio {
66*5f62a964SEmmanuel Vadot		compatible = "regulator-gpio";
67*5f62a964SEmmanuel Vadot		enable-active-high;
68*5f62a964SEmmanuel Vadot		gpios = <&gpio1 RK_PD4 GPIO_ACTIVE_HIGH>;
69*5f62a964SEmmanuel Vadot		pinctrl-0 = <&sdio_vcc_pin>;
70*5f62a964SEmmanuel Vadot		pinctrl-names = "default";
71*5f62a964SEmmanuel Vadot		regulator-name = "vcc_io_sdio";
72*5f62a964SEmmanuel Vadot		regulator-always-on;
73*5f62a964SEmmanuel Vadot		regulator-min-microvolt = <1800000>;
74*5f62a964SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
75*5f62a964SEmmanuel Vadot		regulator-settling-time-us = <5000>;
76*5f62a964SEmmanuel Vadot		regulator-type = "voltage";
77*5f62a964SEmmanuel Vadot		startup-delay-us = <2000>;
78*5f62a964SEmmanuel Vadot		states = <1800000 0x1>,
79*5f62a964SEmmanuel Vadot			 <3300000 0x0>;
80*5f62a964SEmmanuel Vadot		vin-supply = <&vcc_io_33>;
81*5f62a964SEmmanuel Vadot	};
82*5f62a964SEmmanuel Vadot
83*5f62a964SEmmanuel Vadot	vcc_sd: regulator-sdmmc {
84*5f62a964SEmmanuel Vadot		compatible = "regulator-fixed";
85*5f62a964SEmmanuel Vadot		gpio = <&gpio0 RK_PD6 GPIO_ACTIVE_LOW>;
86*5f62a964SEmmanuel Vadot		pinctrl-0 = <&sdmmc0m1_pin>;
87*5f62a964SEmmanuel Vadot		pinctrl-names = "default";
88*5f62a964SEmmanuel Vadot		regulator-name = "vcc_sd";
89*5f62a964SEmmanuel Vadot		regulator-boot-on;
90*5f62a964SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
91*5f62a964SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
92*5f62a964SEmmanuel Vadot		vin-supply = <&vcc_io_33>;
93*5f62a964SEmmanuel Vadot	};
94*5f62a964SEmmanuel Vadot
95*5f62a964SEmmanuel Vadot	vdd_5v: regulator-vdd-5v {
96*5f62a964SEmmanuel Vadot		compatible = "regulator-fixed";
97*5f62a964SEmmanuel Vadot		regulator-name = "vdd_5v";
98*5f62a964SEmmanuel Vadot		regulator-always-on;
99*5f62a964SEmmanuel Vadot		regulator-boot-on;
100*5f62a964SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
101*5f62a964SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
102*5f62a964SEmmanuel Vadot	};
103*5f62a964SEmmanuel Vadot
104*5f62a964SEmmanuel Vadot	vdd_5v_lan: regulator-vdd-5v-lan {
105*5f62a964SEmmanuel Vadot		compatible = "regulator-fixed";
106*5f62a964SEmmanuel Vadot		enable-active-high;
107*5f62a964SEmmanuel Vadot		gpio = <&gpio2 RK_PC6 GPIO_ACTIVE_HIGH>;
108*5f62a964SEmmanuel Vadot		pinctrl-0 = <&lan_vdd_pin>;
109*5f62a964SEmmanuel Vadot		pinctrl-names = "default";
110*5f62a964SEmmanuel Vadot		regulator-name = "vdd_5v_lan";
111*5f62a964SEmmanuel Vadot		regulator-always-on;
112*5f62a964SEmmanuel Vadot		regulator-boot-on;
113*5f62a964SEmmanuel Vadot		vin-supply = <&vdd_5v>;
114*5f62a964SEmmanuel Vadot	};
115*5f62a964SEmmanuel Vadot};
116*5f62a964SEmmanuel Vadot
117*5f62a964SEmmanuel Vadot&cpu0 {
118*5f62a964SEmmanuel Vadot	cpu-supply = <&vdd_arm>;
119*5f62a964SEmmanuel Vadot};
120*5f62a964SEmmanuel Vadot
121*5f62a964SEmmanuel Vadot&cpu1 {
122*5f62a964SEmmanuel Vadot	cpu-supply = <&vdd_arm>;
123*5f62a964SEmmanuel Vadot};
124*5f62a964SEmmanuel Vadot
125*5f62a964SEmmanuel Vadot&cpu2 {
126*5f62a964SEmmanuel Vadot	cpu-supply = <&vdd_arm>;
127*5f62a964SEmmanuel Vadot};
128*5f62a964SEmmanuel Vadot
129*5f62a964SEmmanuel Vadot&cpu3 {
130*5f62a964SEmmanuel Vadot	cpu-supply = <&vdd_arm>;
131*5f62a964SEmmanuel Vadot};
132*5f62a964SEmmanuel Vadot
133*5f62a964SEmmanuel Vadot&display_subsystem {
134*5f62a964SEmmanuel Vadot	status = "disabled";
135*5f62a964SEmmanuel Vadot};
136*5f62a964SEmmanuel Vadot
137*5f62a964SEmmanuel Vadot&gmac2io {
138*5f62a964SEmmanuel Vadot	assigned-clocks = <&cru SCLK_MAC2IO>, <&cru SCLK_MAC2IO_EXT>;
139*5f62a964SEmmanuel Vadot	assigned-clock-parents = <&gmac_clk>, <&gmac_clk>;
140*5f62a964SEmmanuel Vadot	clock_in_out = "input";
141*5f62a964SEmmanuel Vadot	phy-mode = "rgmii";
142*5f62a964SEmmanuel Vadot	phy-supply = <&vcc_io_33>;
143*5f62a964SEmmanuel Vadot	pinctrl-0 = <&rgmiim1_pins>;
144*5f62a964SEmmanuel Vadot	pinctrl-names = "default";
145*5f62a964SEmmanuel Vadot
146*5f62a964SEmmanuel Vadot	mdio {
147*5f62a964SEmmanuel Vadot		compatible = "snps,dwmac-mdio";
148*5f62a964SEmmanuel Vadot		#address-cells = <1>;
149*5f62a964SEmmanuel Vadot		#size-cells = <0>;
150*5f62a964SEmmanuel Vadot	};
151*5f62a964SEmmanuel Vadot};
152*5f62a964SEmmanuel Vadot
153*5f62a964SEmmanuel Vadot&i2c1 {
154*5f62a964SEmmanuel Vadot	status = "okay";
155*5f62a964SEmmanuel Vadot
156*5f62a964SEmmanuel Vadot	rk805: pmic@18 {
157*5f62a964SEmmanuel Vadot		compatible = "rockchip,rk805";
158*5f62a964SEmmanuel Vadot		reg = <0x18>;
159*5f62a964SEmmanuel Vadot		interrupt-parent = <&gpio1>;
160*5f62a964SEmmanuel Vadot		interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
161*5f62a964SEmmanuel Vadot		#clock-cells = <1>;
162*5f62a964SEmmanuel Vadot		clock-output-names = "xin32k", "rk805-clkout2";
163*5f62a964SEmmanuel Vadot		gpio-controller;
164*5f62a964SEmmanuel Vadot		#gpio-cells = <2>;
165*5f62a964SEmmanuel Vadot		pinctrl-0 = <&pmic_int_l>;
166*5f62a964SEmmanuel Vadot		pinctrl-names = "default";
167*5f62a964SEmmanuel Vadot		system-power-controller;
168*5f62a964SEmmanuel Vadot		wakeup-source;
169*5f62a964SEmmanuel Vadot
170*5f62a964SEmmanuel Vadot		vcc1-supply = <&vdd_5v>;
171*5f62a964SEmmanuel Vadot		vcc2-supply = <&vdd_5v>;
172*5f62a964SEmmanuel Vadot		vcc3-supply = <&vdd_5v>;
173*5f62a964SEmmanuel Vadot		vcc4-supply = <&vdd_5v>;
174*5f62a964SEmmanuel Vadot		vcc5-supply = <&vcc_io_33>;
175*5f62a964SEmmanuel Vadot		vcc6-supply = <&vdd_5v>;
176*5f62a964SEmmanuel Vadot
177*5f62a964SEmmanuel Vadot		regulators {
178*5f62a964SEmmanuel Vadot			vdd_log: DCDC_REG1 {
179*5f62a964SEmmanuel Vadot				regulator-name = "vdd_log";
180*5f62a964SEmmanuel Vadot				regulator-always-on;
181*5f62a964SEmmanuel Vadot				regulator-boot-on;
182*5f62a964SEmmanuel Vadot				regulator-min-microvolt = <712500>;
183*5f62a964SEmmanuel Vadot				regulator-max-microvolt = <1450000>;
184*5f62a964SEmmanuel Vadot				regulator-ramp-delay = <12500>;
185*5f62a964SEmmanuel Vadot
186*5f62a964SEmmanuel Vadot				regulator-state-mem {
187*5f62a964SEmmanuel Vadot					regulator-on-in-suspend;
188*5f62a964SEmmanuel Vadot					regulator-suspend-microvolt = <1000000>;
189*5f62a964SEmmanuel Vadot				};
190*5f62a964SEmmanuel Vadot			};
191*5f62a964SEmmanuel Vadot
192*5f62a964SEmmanuel Vadot			vdd_arm: DCDC_REG2 {
193*5f62a964SEmmanuel Vadot				regulator-name = "vdd_arm";
194*5f62a964SEmmanuel Vadot				regulator-always-on;
195*5f62a964SEmmanuel Vadot				regulator-boot-on;
196*5f62a964SEmmanuel Vadot				regulator-min-microvolt = <712500>;
197*5f62a964SEmmanuel Vadot				regulator-max-microvolt = <1450000>;
198*5f62a964SEmmanuel Vadot				regulator-ramp-delay = <12500>;
199*5f62a964SEmmanuel Vadot
200*5f62a964SEmmanuel Vadot				regulator-state-mem {
201*5f62a964SEmmanuel Vadot					regulator-on-in-suspend;
202*5f62a964SEmmanuel Vadot					regulator-suspend-microvolt = <950000>;
203*5f62a964SEmmanuel Vadot				};
204*5f62a964SEmmanuel Vadot			};
205*5f62a964SEmmanuel Vadot
206*5f62a964SEmmanuel Vadot			vcc_ddr: DCDC_REG3 {
207*5f62a964SEmmanuel Vadot				regulator-name = "vcc_ddr";
208*5f62a964SEmmanuel Vadot				regulator-always-on;
209*5f62a964SEmmanuel Vadot				regulator-boot-on;
210*5f62a964SEmmanuel Vadot
211*5f62a964SEmmanuel Vadot				regulator-state-mem {
212*5f62a964SEmmanuel Vadot					regulator-on-in-suspend;
213*5f62a964SEmmanuel Vadot				};
214*5f62a964SEmmanuel Vadot			};
215*5f62a964SEmmanuel Vadot
216*5f62a964SEmmanuel Vadot			vcc_io_33: DCDC_REG4 {
217*5f62a964SEmmanuel Vadot				regulator-name = "vcc_io_33";
218*5f62a964SEmmanuel Vadot				regulator-always-on;
219*5f62a964SEmmanuel Vadot				regulator-boot-on;
220*5f62a964SEmmanuel Vadot				regulator-min-microvolt = <3300000>;
221*5f62a964SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
222*5f62a964SEmmanuel Vadot
223*5f62a964SEmmanuel Vadot				regulator-state-mem {
224*5f62a964SEmmanuel Vadot					regulator-on-in-suspend;
225*5f62a964SEmmanuel Vadot					regulator-suspend-microvolt = <3300000>;
226*5f62a964SEmmanuel Vadot				};
227*5f62a964SEmmanuel Vadot			};
228*5f62a964SEmmanuel Vadot
229*5f62a964SEmmanuel Vadot			vcc_18: LDO_REG1 {
230*5f62a964SEmmanuel Vadot				regulator-name = "vcc_18";
231*5f62a964SEmmanuel Vadot				regulator-always-on;
232*5f62a964SEmmanuel Vadot				regulator-boot-on;
233*5f62a964SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
234*5f62a964SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
235*5f62a964SEmmanuel Vadot
236*5f62a964SEmmanuel Vadot				regulator-state-mem {
237*5f62a964SEmmanuel Vadot					regulator-on-in-suspend;
238*5f62a964SEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
239*5f62a964SEmmanuel Vadot				};
240*5f62a964SEmmanuel Vadot			};
241*5f62a964SEmmanuel Vadot
242*5f62a964SEmmanuel Vadot			vcc18_emmc: LDO_REG2 {
243*5f62a964SEmmanuel Vadot				regulator-name = "vcc18_emmc";
244*5f62a964SEmmanuel Vadot				regulator-always-on;
245*5f62a964SEmmanuel Vadot				regulator-boot-on;
246*5f62a964SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
247*5f62a964SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
248*5f62a964SEmmanuel Vadot
249*5f62a964SEmmanuel Vadot				regulator-state-mem {
250*5f62a964SEmmanuel Vadot					regulator-on-in-suspend;
251*5f62a964SEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
252*5f62a964SEmmanuel Vadot				};
253*5f62a964SEmmanuel Vadot			};
254*5f62a964SEmmanuel Vadot
255*5f62a964SEmmanuel Vadot			vdd_10: LDO_REG3 {
256*5f62a964SEmmanuel Vadot				regulator-name = "vdd_10";
257*5f62a964SEmmanuel Vadot				regulator-always-on;
258*5f62a964SEmmanuel Vadot				regulator-boot-on;
259*5f62a964SEmmanuel Vadot				regulator-min-microvolt = <1000000>;
260*5f62a964SEmmanuel Vadot				regulator-max-microvolt = <1000000>;
261*5f62a964SEmmanuel Vadot
262*5f62a964SEmmanuel Vadot				regulator-state-mem {
263*5f62a964SEmmanuel Vadot					regulator-on-in-suspend;
264*5f62a964SEmmanuel Vadot					regulator-suspend-microvolt = <1000000>;
265*5f62a964SEmmanuel Vadot				};
266*5f62a964SEmmanuel Vadot			};
267*5f62a964SEmmanuel Vadot		};
268*5f62a964SEmmanuel Vadot	};
269*5f62a964SEmmanuel Vadot};
270*5f62a964SEmmanuel Vadot
271*5f62a964SEmmanuel Vadot&io_domains {
272*5f62a964SEmmanuel Vadot	pmuio-supply = <&vcc_io_33>;
273*5f62a964SEmmanuel Vadot	vccio1-supply = <&vcc_io_33>;
274*5f62a964SEmmanuel Vadot	vccio2-supply = <&vcc18_emmc>;
275*5f62a964SEmmanuel Vadot	vccio3-supply = <&vcc_io_sdio>;
276*5f62a964SEmmanuel Vadot	vccio4-supply = <&vcc_18>;
277*5f62a964SEmmanuel Vadot	vccio5-supply = <&vcc_io_33>;
278*5f62a964SEmmanuel Vadot	vccio6-supply = <&vcc_io_33>;
279*5f62a964SEmmanuel Vadot	status = "okay";
280*5f62a964SEmmanuel Vadot};
281*5f62a964SEmmanuel Vadot
282*5f62a964SEmmanuel Vadot&pinctrl {
283*5f62a964SEmmanuel Vadot	button {
284*5f62a964SEmmanuel Vadot		reset_button_pin: reset-button-pin {
285*5f62a964SEmmanuel Vadot			rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>;
286*5f62a964SEmmanuel Vadot		};
287*5f62a964SEmmanuel Vadot	};
288*5f62a964SEmmanuel Vadot
289*5f62a964SEmmanuel Vadot	gmac2io {
290*5f62a964SEmmanuel Vadot		eth_phy_reset_pin: eth-phy-reset-pin {
291*5f62a964SEmmanuel Vadot			rockchip,pins = <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_down>;
292*5f62a964SEmmanuel Vadot		};
293*5f62a964SEmmanuel Vadot	};
294*5f62a964SEmmanuel Vadot
295*5f62a964SEmmanuel Vadot	leds {
296*5f62a964SEmmanuel Vadot		lan_led_pin: lan-led-pin {
297*5f62a964SEmmanuel Vadot			rockchip,pins = <2 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
298*5f62a964SEmmanuel Vadot		};
299*5f62a964SEmmanuel Vadot
300*5f62a964SEmmanuel Vadot		sys_led_pin: sys-led-pin {
301*5f62a964SEmmanuel Vadot			rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
302*5f62a964SEmmanuel Vadot		};
303*5f62a964SEmmanuel Vadot
304*5f62a964SEmmanuel Vadot		wan_led_pin: wan-led-pin {
305*5f62a964SEmmanuel Vadot			rockchip,pins = <2 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;
306*5f62a964SEmmanuel Vadot		};
307*5f62a964SEmmanuel Vadot	};
308*5f62a964SEmmanuel Vadot
309*5f62a964SEmmanuel Vadot	lan {
310*5f62a964SEmmanuel Vadot		lan_vdd_pin: lan-vdd-pin {
311*5f62a964SEmmanuel Vadot			rockchip,pins = <2 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
312*5f62a964SEmmanuel Vadot		};
313*5f62a964SEmmanuel Vadot	};
314*5f62a964SEmmanuel Vadot
315*5f62a964SEmmanuel Vadot	pmic {
316*5f62a964SEmmanuel Vadot		pmic_int_l: pmic-int-l {
317*5f62a964SEmmanuel Vadot			rockchip,pins = <1 RK_PD0 RK_FUNC_GPIO &pcfg_pull_up>;
318*5f62a964SEmmanuel Vadot		};
319*5f62a964SEmmanuel Vadot	};
320*5f62a964SEmmanuel Vadot
321*5f62a964SEmmanuel Vadot	sd {
322*5f62a964SEmmanuel Vadot		sdio_vcc_pin: sdio-vcc-pin {
323*5f62a964SEmmanuel Vadot			rockchip,pins = <1 RK_PD4 RK_FUNC_GPIO &pcfg_pull_up>;
324*5f62a964SEmmanuel Vadot		};
325*5f62a964SEmmanuel Vadot	};
326*5f62a964SEmmanuel Vadot};
327*5f62a964SEmmanuel Vadot
328*5f62a964SEmmanuel Vadot&pwm2 {
329*5f62a964SEmmanuel Vadot	status = "okay";
330*5f62a964SEmmanuel Vadot};
331*5f62a964SEmmanuel Vadot
332*5f62a964SEmmanuel Vadot&sdmmc {
333*5f62a964SEmmanuel Vadot	bus-width = <4>;
334*5f62a964SEmmanuel Vadot	cap-sd-highspeed;
335*5f62a964SEmmanuel Vadot	disable-wp;
336*5f62a964SEmmanuel Vadot	pinctrl-0 = <&sdmmc0_clk>, <&sdmmc0_cmd>, <&sdmmc0_dectn>, <&sdmmc0_bus4>;
337*5f62a964SEmmanuel Vadot	pinctrl-names = "default";
338*5f62a964SEmmanuel Vadot	sd-uhs-sdr12;
339*5f62a964SEmmanuel Vadot	sd-uhs-sdr25;
340*5f62a964SEmmanuel Vadot	sd-uhs-sdr50;
341*5f62a964SEmmanuel Vadot	sd-uhs-sdr104;
342*5f62a964SEmmanuel Vadot	vmmc-supply = <&vcc_sd>;
343*5f62a964SEmmanuel Vadot	vqmmc-supply = <&vcc_io_sdio>;
344*5f62a964SEmmanuel Vadot	status = "okay";
345*5f62a964SEmmanuel Vadot};
346*5f62a964SEmmanuel Vadot
347*5f62a964SEmmanuel Vadot&tsadc {
348*5f62a964SEmmanuel Vadot	rockchip,hw-tshut-mode = <0>;
349*5f62a964SEmmanuel Vadot	rockchip,hw-tshut-polarity = <0>;
350*5f62a964SEmmanuel Vadot	status = "okay";
351*5f62a964SEmmanuel Vadot};
352*5f62a964SEmmanuel Vadot
353*5f62a964SEmmanuel Vadot&u2phy {
354*5f62a964SEmmanuel Vadot	status = "okay";
355*5f62a964SEmmanuel Vadot};
356*5f62a964SEmmanuel Vadot
357*5f62a964SEmmanuel Vadot&u2phy_host {
358*5f62a964SEmmanuel Vadot	status = "okay";
359*5f62a964SEmmanuel Vadot};
360*5f62a964SEmmanuel Vadot
361*5f62a964SEmmanuel Vadot&u2phy_otg {
362*5f62a964SEmmanuel Vadot	status = "okay";
363*5f62a964SEmmanuel Vadot};
364*5f62a964SEmmanuel Vadot
365*5f62a964SEmmanuel Vadot&uart2 {
366*5f62a964SEmmanuel Vadot	status = "okay";
367*5f62a964SEmmanuel Vadot};
368*5f62a964SEmmanuel Vadot
369*5f62a964SEmmanuel Vadot&usb20_otg {
370*5f62a964SEmmanuel Vadot	status = "okay";
371*5f62a964SEmmanuel Vadot	dr_mode = "host";
372*5f62a964SEmmanuel Vadot};
373*5f62a964SEmmanuel Vadot
374*5f62a964SEmmanuel Vadot&usbdrd3 {
375*5f62a964SEmmanuel Vadot	dr_mode = "host";
376*5f62a964SEmmanuel Vadot	status = "okay";
377*5f62a964SEmmanuel Vadot	#address-cells = <1>;
378*5f62a964SEmmanuel Vadot	#size-cells = <0>;
379*5f62a964SEmmanuel Vadot
380*5f62a964SEmmanuel Vadot	/* Second port is for USB 3.0 */
381*5f62a964SEmmanuel Vadot	rtl8153: device@2 {
382*5f62a964SEmmanuel Vadot		compatible = "usbbda,8153";
383*5f62a964SEmmanuel Vadot		reg = <2>;
384*5f62a964SEmmanuel Vadot	};
385*5f62a964SEmmanuel Vadot};
386*5f62a964SEmmanuel Vadot
387*5f62a964SEmmanuel Vadot&usb_host0_ehci {
388*5f62a964SEmmanuel Vadot	status = "okay";
389*5f62a964SEmmanuel Vadot};
390*5f62a964SEmmanuel Vadot
391*5f62a964SEmmanuel Vadot&usb_host0_ohci {
392*5f62a964SEmmanuel Vadot	status = "okay";
393*5f62a964SEmmanuel Vadot};
394