[PATCH 2/2] mvebu: LS421DE: improve the HDD leds

Daniel González Cabanelas dgcbueu at gmail.com
Wed Nov 11 17:25:17 EST 2020


Improve the HDD LEDs used for disk activity:
 - Use the labels of the casing for better identification
 - Use the trigger activity per ata channel

Signed-off-by: Daniel González Cabanelas <dgcbueu at gmail.com>
---
 .../arch/arm/boot/dts/armada-370-buffalo-ls421de.dts | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/target/linux/mvebu/files/arch/arm/boot/dts/armada-370-buffalo-ls421de.dts b/target/linux/mvebu/files/arch/arm/boot/dts/armada-370-buffalo-ls421de.dts
index 7e070f49dc..d05f290b9d 100644
--- a/target/linux/mvebu/files/arch/arm/boot/dts/armada-370-buffalo-ls421de.dts
+++ b/target/linux/mvebu/files/arch/arm/boot/dts/armada-370-buffalo-ls421de.dts
@@ -149,18 +149,18 @@
 			gpios = <&gpio1 27 GPIO_ACTIVE_HIGH>;
 		};
 
-		hdd1_red {
-			label = "ls421de:red:hdd1";
+		disk1_red {
+			label = "ls421de:red:disk1";
 			gpios = <&gpio1 29 GPIO_ACTIVE_HIGH>;
 			default-state = "off";
-			linux,default-trigger = "disk-activity";
+			linux,default-trigger = "ata1";
 		};
 
-		hdd2_red {
-			label = "ls421de:red:hdd2";
+		disk2_red {
+			label = "ls421de:red:disk2";
 			gpios = <&gpio1 30 GPIO_ACTIVE_HIGH>;
 			default-state = "off";
-			linux,default-trigger = "disk-activity";
+			linux,default-trigger = "ata2";
 		};
 	};
 
-- 
2.29.2







More information about the openwrt-devel mailing list