sunxi: Nanopi R1S H5: enable LAN LED configuration
[openwrt/openwrt.git] / target / linux / sunxi / patches-5.4 / 102-sunxi-add-OF-node-for-USB-eth-on-NanoPi-R1S-H5.patch
1 From a896bc1d79e3c00f0aacfe225499d811775616f3 Mon Sep 17 00:00:00 2001
2 From: Chukun Pan <amadeus@jmu.edu.cn>
3 Date: Sun, 10 Oct 2021 21:50:17 +0800
4 Subject: [PATCH] arm64: allwinner: add OF node for USB eth on NanoPi R1S H5
5
6 This adds the OF node for the USB3 ethernet adapter on the FriendlyARM
7 NanoPi R1S H5. 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: Chukun Pan <amadeus@jmu.edu.cn>
11 ---
12 arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dts | 7 +++++++
13 1 file changed, 7 insertions(+)
14
15 --- a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dts
16 +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dts
17 @@ -111,6 +111,13 @@
18
19 &ehci1 {
20 status = "okay";
21 +
22 + usb-eth@1 {
23 + compatible = "realtek,rtl8153";
24 + reg = <1>;
25 +
26 + realtek,led-data = <0x78>;
27 + };
28 };
29
30 &ehci2 {