]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
gemini: set disk activity on orange LED
authorLinus Walleij <linusw@kernel.org>
Mon, 26 Jan 2026 09:18:57 +0000 (10:18 +0100)
committerLinus Walleij <linusw@kernel.org>
Thu, 29 Jan 2026 09:16:35 +0000 (10:16 +0100)
Set the disk activity LED to the intended trigger.

Link: https://github.com/openwrt/openwrt/pull/21750
Signed-off-by: Linus Walleij <linusw@kernel.org>
target/linux/gemini/patches-6.12/302-ARM-dts-gemini-Tag-disk-led-for-disk-activity.patch [new file with mode: 0644]

diff --git a/target/linux/gemini/patches-6.12/302-ARM-dts-gemini-Tag-disk-led-for-disk-activity.patch b/target/linux/gemini/patches-6.12/302-ARM-dts-gemini-Tag-disk-led-for-disk-activity.patch
new file mode 100644 (file)
index 0000000..05caa1f
--- /dev/null
@@ -0,0 +1,23 @@
+From a4ea0ccf0f630b5fb0ccd2ddbb237c37ef0fc5a9 Mon Sep 17 00:00:00 2001
+From: Linus Walleij <linusw@kernel.org>
+Date: Mon, 26 Jan 2026 08:14:22 +0100
+Subject: [PATCH] ARM: dts: gemini: Tag disk led for disk-activity
+
+Linux now has a trigger specifically for all disk activity
+and this is what the LED is used for so tag it like such.
+
+Signed-off-by: Linus Walleij <linusw@kernel.org>
+---
+ arch/arm/boot/dts/gemini/gemini-nas4220b.dts | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/arch/arm/boot/dts/gemini/gemini-nas4220b.dts
++++ b/arch/arm/boot/dts/gemini/gemini-nas4220b.dts
+@@ -52,6 +52,7 @@
+                       /* Conflict with TVC */
+                       gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
+                       default-state = "on";
++                      linux,default-trigger = "disk-activity";
+               };
+               led-green-os {
+                       label = "nas4220b:green:os";