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