mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-14 15:41:15 +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 f52f1a85d187143f8f4f32441baa626b2a00762d) 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
@ -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…
x
Reference in New Issue
Block a user