rockchip: fix led-data of NanoPi R2C

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2022-02-11 02:00:06 +08:00
parent 53343e0c9c
commit 1c9c6ec230
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
2 changed files with 6 additions and 2 deletions

View File

@ -19,7 +19,7 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
dr_mode = "host";
status = "okay";
+
+ usb-eth@2 {
+ usb_eth: usb-eth@2 {
+ compatible = "realtek,rtl8153";
+ reg = <2>;
+

View File

@ -10,7 +10,7 @@
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3328-rock64.dtb
--- /dev/null
+++ b/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2c.dts
@@ -0,0 +1,47 @@
@@ -0,0 +1,51 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2021 FriendlyElec Computer Tech. Co., Ltd.
@ -55,6 +55,10 @@
+ label = "nanopi-r2c:red:sys";
+};
+
+&usb_eth {
+ realtek,led-data = <0x78>;
+};
+
+&wan_led {
+ label = "nanopi-r2c:green:wan";
+};