2020-07-26 17:12:03 +00:00
|
|
|
From 2795c8b31a686bdb8338f9404d18ef7a154f0d75 Mon Sep 17 00:00:00 2001
|
|
|
|
From: David Bauer <mail@david-bauer.net>
|
|
|
|
Date: Sun, 26 Jul 2020 13:32:59 +0200
|
|
|
|
Subject: [PATCH] arm64: rockchip: add OF node for USB eth on NanoPi R2S
|
|
|
|
|
|
|
|
This adds the OF node for the USB3 ethernet adapter on the FriendlyARM
|
|
|
|
NanoPi R2S. Add the correct value for the RTL8153 LED configuration
|
|
|
|
register to match the blink behavior of the other port on the device.
|
|
|
|
|
|
|
|
Signed-off-by: David Bauer <mail@david-bauer.net>
|
|
|
|
---
|
|
|
|
arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts | 7 +++++++
|
|
|
|
1 file changed, 7 insertions(+)
|
|
|
|
|
|
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts
|
|
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts
|
2020-08-11 16:13:19 +00:00
|
|
|
@@ -365,4 +365,11 @@
|
2020-07-26 17:12:03 +00:00
|
|
|
&usbdrd_dwc3 {
|
|
|
|
dr_mode = "host";
|
|
|
|
status = "okay";
|
|
|
|
+
|
|
|
|
+ usb-eth@2 {
|
|
|
|
+ compatible = "realtek,rtl8153";
|
|
|
|
+ reg = <2>;
|
|
|
|
+
|
|
|
|
+ realtek,led-data = <0x87>;
|
|
|
|
+ };
|
|
|
|
};
|