From: Linus Walleij Date: Sun, 25 Feb 2018 10:18:51 +0000 (+0100) Subject: ARM: dtd: Set DNS-313 LEDs to use better triggers X-Git-Tag: v4.18-rc1~50^2~44^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2bd2bbffb7d4f41564e5a894e435c0b4b668c5f5;p=thirdparty%2Fkernel%2Flinux.git ARM: dtd: Set DNS-313 LEDs to use better triggers 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 --- diff --git a/arch/arm/boot/dts/gemini-dlink-dns-313.dts b/arch/arm/boot/dts/gemini-dlink-dns-313.dts index 55b294f1675cc..2d9aa5ba8320a 100644 --- a/arch/arm/boot/dts/gemini-dlink-dns-313.dts +++ b/arch/arm/boot/dts/gemini-dlink-dns-313.dts @@ -59,14 +59,13 @@ 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"; }; };