Commit 8cb24590 authored by Linus Walleij's avatar Linus Walleij

ARM: dts: Set DNS-685 LEDs to use better triggers

Using the blue LED for disk read and the orange LED for
disk write gives a better user experience.
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 2bd2bbff
...@@ -98,7 +98,7 @@ led-wps { ...@@ -98,7 +98,7 @@ led-wps {
/* /*
* These two LEDs are on the side of the device. * These two LEDs are on the side of the device.
* For electrical reasons, both LEDs cannot be active * For electrical reasons, both LEDs cannot be active
* at the same time so only blue or orange can on at * at the same time so only blue or orange can be on at
* one time. Enabling both makes the LED go dark. * one time. Enabling both makes the LED go dark.
* The LEDs both sit inside the unmount button and the * The LEDs both sit inside the unmount button and the
* label on the case says "unmount". * label on the case says "unmount".
...@@ -108,12 +108,14 @@ led-blue-hd { ...@@ -108,12 +108,14 @@ led-blue-hd {
/* Collides with LPC_SERIRQ, UART DTR, SSP FSC pins */ /* Collides with LPC_SERIRQ, UART DTR, SSP FSC pins */
gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>; gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
linux,default-trigger = "disk-read";
}; };
led-orange-hd { led-orange-hd {
label = "dir685:orange:HD"; label = "dir685:orange:HD";
/* Collides with LPC_LAD[2], UART DSR, SSP ECLK pins */ /* Collides with LPC_LAD[2], UART DSR, SSP ECLK pins */
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
linux,default-trigger = "disk-write";
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment