فهرست منبع

gemini: set disk activity on orange LED

Set the disk activity LED to the intended trigger.

Link: https://github.com/openwrt/openwrt/pull/21750
Signed-off-by: Linus Walleij <[email protected]>
Linus Walleij 2 هفته پیش
والد
کامیت
f52f1a85d1
1فایلهای تغییر یافته به همراه23 افزوده شده و 0 حذف شده
  1. 23 0
      target/linux/gemini/patches-6.12/302-ARM-dts-gemini-Tag-disk-led-for-disk-activity.patch

+ 23 - 0
target/linux/gemini/patches-6.12/302-ARM-dts-gemini-Tag-disk-led-for-disk-activity.patch

@@ -0,0 +1,23 @@
+From a4ea0ccf0f630b5fb0ccd2ddbb237c37ef0fc5a9 Mon Sep 17 00:00:00 2001
+From: Linus Walleij <[email protected]>
+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 <[email protected]>
+---
+ 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";