mvebu: LS421DE: improve the HDD leds
authorDaniel González Cabanelas <dgcbueu@gmail.com>
Fri, 13 Nov 2020 19:23:00 +0000 (20:23 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Mon, 16 Nov 2020 12:43:39 +0000 (13:43 +0100)
Improve the HDD LEDs used for disk activity:
 - Use the trigger activity per ata channel

Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
target/linux/mvebu/files/arch/arm/boot/dts/armada-370-buffalo-ls421de.dts

index 458988619034c5c64da40ddcc7a779112ee655aa..ebcc4692d53cee32faa3e8c7b282d5eb5f049d6d 100644 (file)
                        label = "ls421de:red:hdd1";
                        gpios = <&gpio1 29 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
-                       linux,default-trigger = "disk-activity";
+                       linux,default-trigger = "ata1";
                };
 
                hdd2_red {
                        label = "ls421de:red:hdd2";
                        gpios = <&gpio1 30 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
-                       linux,default-trigger = "disk-activity";
+                       linux,default-trigger = "ata2";
                };
        };