aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2022-09-09 23:35:49 +0200
committerDavid Bauer <mail@david-bauer.net>2022-09-10 13:03:20 +0200
commitfff797d26e758c596f6602ded82e81746d8f1aa4 (patch)
tree678aa2d82748c8969f594c2ab013217c85d1e83f /target
parent18f77ef2d6ee2d3b28f686cbbfff2d7b8c37fb7e (diff)
downloadupstream-fff797d26e758c596f6602ded82e81746d8f1aa4.tar.gz
upstream-fff797d26e758c596f6602ded82e81746d8f1aa4.tar.bz2
upstream-fff797d26e758c596f6602ded82e81746d8f1aa4.zip
rockchip: add system-LED aliases specific to OpenWrt
Add the aliases sections required to detect LEDs specific to OpenWrt boot / update indication for the NanoPi R4S. Signed-off-by: David Bauer <mail@david-bauer.net> (cherry picked from commit 1588069612f5db0720cbb942a6f8787878c223c3)
Diffstat (limited to 'target')
-rw-r--r--target/linux/rockchip/patches-5.10/106-r4s-openwrt-leds.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/rockchip/patches-5.10/106-r4s-openwrt-leds.patch b/target/linux/rockchip/patches-5.10/106-r4s-openwrt-leds.patch
new file mode 100644
index 0000000000..d7579d61e9
--- /dev/null
+++ b/target/linux/rockchip/patches-5.10/106-r4s-openwrt-leds.patch
@@ -0,0 +1,16 @@
+--- a/arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dts
++++ b/arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dts
+@@ -19,6 +19,13 @@
+ model = "FriendlyElec NanoPi R4S";
+ compatible = "friendlyarm,nanopi-r4s", "rockchip,rk3399";
+
++ aliases {
++ led-boot = &sys_led;
++ led-failsafe = &sys_led;
++ led-running = &sys_led;
++ led-upgrade = &sys_led;
++ };
++
+ /delete-node/ display-subsystem;
+
+ gpio-leds {