[openwrt/openwrt] rockchip: Add LED aliases for FriendlyElec NanoPi R3S
LEDE Commits
lede-commits at lists.infradead.org
Sun Oct 27 07:03:32 PDT 2024
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/b5c7c67b8f10203253138ec35bb6aef213faae30
commit b5c7c67b8f10203253138ec35bb6aef213faae30
Author: Kevin Zhang <kevin at kevinzhang.me>
AuthorDate: Sun Oct 27 01:13:47 2024 -0400
rockchip: Add LED aliases for FriendlyElec NanoPi R3S
This commit adds OpenWRT's LED aliases to the board DTS
for showing system status on the NanoPi R3S.
Signed-off-by: Kevin Zhang <kevin at kevinzhang.me>
Link: https://github.com/openwrt/openwrt/pull/16738
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
...8-arm64-dts-rockchip-rk3566-Nanopi-R3S-update-LED.patch | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/target/linux/rockchip/patches-6.6/128-arm64-dts-rockchip-rk3566-Nanopi-R3S-update-LED.patch b/target/linux/rockchip/patches-6.6/128-arm64-dts-rockchip-rk3566-Nanopi-R3S-update-LED.patch
new file mode 100644
index 0000000000..a7e95291de
--- /dev/null
+++ b/target/linux/rockchip/patches-6.6/128-arm64-dts-rockchip-rk3566-Nanopi-R3S-update-LED.patch
@@ -0,0 +1,14 @@
+--- a/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts
++++ b/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts
+@@ -24,6 +24,11 @@
+ ethernet0 = &gmac1;
+ mmc0 = &sdhci;
+ mmc1 = &sdmmc0;
++
++ led-boot = &power_led;
++ led-failsafe = &power_led;
++ led-running = &power_led;
++ led-upgrade = &power_led;
+ };
+
+ chosen: chosen {
More information about the lede-commits
mailing list