kernel: bump 5.4 to 5.4.58
[openwrt/openwrt.git] / target / linux / rockchip / patches-5.4 / 103-arm64-rockchip-add-OF-node-for-USB-eth-on-NanoPi-R2S.patch
1 From 2795c8b31a686bdb8338f9404d18ef7a154f0d75 Mon Sep 17 00:00:00 2001
2 From: David Bauer <mail@david-bauer.net>
3 Date: Sun, 26 Jul 2020 13:32:59 +0200
4 Subject: [PATCH] arm64: rockchip: add OF node for USB eth on NanoPi R2S
5
6 This adds the OF node for the USB3 ethernet adapter on the FriendlyARM
7 NanoPi R2S. Add the correct value for the RTL8153 LED configuration
8 register to match the blink behavior of the other port on the device.
9
10 Signed-off-by: David Bauer <mail@david-bauer.net>
11 ---
12 arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts | 7 +++++++
13 1 file changed, 7 insertions(+)
14
15 --- a/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts
16 +++ b/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts
17 @@ -365,4 +365,11 @@
18 &usbdrd_dwc3 {
19 dr_mode = "host";
20 status = "okay";
21 +
22 + usb-eth@2 {
23 + compatible = "realtek,rtl8153";
24 + reg = <2>;
25 +
26 + realtek,led-data = <0x87>;
27 + };
28 };