1 From 0fc3b9b7619c4878f73a6a7989863f0d1a3fd392 Mon Sep 17 00:00:00 2001
2 From: David Bauer <mail@david-bauer.net>
3 Date: Fri, 10 Jul 2020 21:12:16 +0200
4 Subject: [PATCH] rockchip: enabled LAN port on NanoPi R2S
6 Enable the USB3 port on the FriendlyARM NanoPi R2S.
7 This is required for the USB3 attached LAN port to work.
9 Signed-off-by: David Bauer <mail@david-bauer.net>
11 .../boot/dts/rockchip/rk3328-nanopi-r2s.dts | 27 +++++++++++++++++++
12 1 file changed, 27 insertions(+)
14 --- a/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts
15 +++ b/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts
17 regulator-max-microvolt = <5000000>;
20 + vcc_rtl8153: vcc-rtl8153-regulator {
21 + compatible = "regulator-fixed";
22 + gpio = <&gpio2 RK_PC6 GPIO_ACTIVE_HIGH>;
23 + pinctrl-names = "default";
24 + pinctrl-0 = <&rtl8153_en_drv>;
25 + regulator-always-on;
26 + regulator-name = "vcc_rtl8153";
27 + regulator-min-microvolt = <5000000>;
28 + regulator-max-microvolt = <5000000>;
33 compatible = "gpio-leds";
36 rockchip,pins = <1 RK_PD4 RK_FUNC_GPIO &pcfg_pull_up>;
41 + rtl8153_en_drv: rtl8153-en-drv {
42 + rockchip,pins = <2 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;