ARM: dtd: Set DNS-313 LEDs to use better triggers
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 25 Feb 2018 10:18:51 +0000 (11:18 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 12 May 2018 11:27:17 +0000 (13:27 +0200)
We just used one LED for "disk activity" but using the green
LED for disk read and the red LED for disk write gives a way
better user experience.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/gemini-dlink-dns-313.dts

index 55b294f1675cc28d7a59c141c1c5be5cec843ab2..2d9aa5ba8320a70387f6a8f9eafc9e6120b498a0 100644 (file)
                        label = "dns313:green:disk";
                        gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
-                       linux,default-trigger = "ide-disk";
-                       /* Ideally should activate while reading */
+                       linux,default-trigger = "disk-read";
                };
                led-disk-red {
                        label = "dns313:red:disk";
                        gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
-                       /* Ideally should activate while writing */
+                       linux,default-trigger = "disk-write";
                };
        };