mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-11 15:03:01 +01:00
gemini: set disk activity on orange LED
Set the disk activity LED to the intended trigger.
Link: https://github.com/openwrt/openwrt/pull/21750
(cherry picked from commit f52f1a85d1)
Link: https://github.com/openwrt/openwrt/pull/21973
Signed-off-by: Linus Walleij <linusw@kernel.org>
This commit is contained in:
parent
b7cee916ed
commit
f034005f95
1 changed files with 23 additions and 0 deletions
|
|
@ -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";
|
||||
Loading…
Add table
Reference in a new issue