From b5c7c67b8f10203253138ec35bb6aef213faae30 Mon Sep 17 00:00:00 2001 From: Kevin Zhang Date: Sun, 27 Oct 2024 01:13:47 -0400 Subject: [PATCH] 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 Link: https://github.com/openwrt/openwrt/pull/16738 Signed-off-by: Hauke Mehrtens --- ...dts-rockchip-rk3566-Nanopi-R3S-update-LED.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 target/linux/rockchip/patches-6.6/128-arm64-dts-rockchip-rk3566-Nanopi-R3S-update-LED.patch 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 {