102-sunxi-add-OF-node-for-USB-eth-on-NanoPi-R1S-H5.patch 891 B

123456789101112131415161718192021222324252627282930
  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. This adds the OF node for the USB3 ethernet adapter on the FriendlyARM
  6. NanoPi R1S H5. Add the correct value for the RTL8153 LED configuration
  7. register to match the blink behavior of the other port on the device.
  8. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
  9. ---
  10. arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dts | 7 +++++++
  11. 1 file changed, 7 insertions(+)
  12. --- a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dts
  13. +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dts
  14. @@ -116,6 +116,13 @@
  15. &ehci1 {
  16. status = "okay";
  17. +
  18. + usb-eth@1 {
  19. + compatible = "realtek,rtl8153";
  20. + reg = <1>;
  21. +
  22. + realtek,led-data = <0x78>;
  23. + };
  24. };
  25. &ehci2 {