diff options
author | Vincent Donnefort <vdonnefort@gmail.com> | 2015-07-02 20:56:41 +0300 |
---|---|---|
committer | Jacek Anaszewski <j.anaszewski@samsung.com> | 2015-08-28 15:06:16 +0300 |
commit | 4fc5af86837d983d7b1dd4edad245454e1874fa0 (patch) | |
tree | 2d954ae8a904c7df8825a332746baf540e705c20 /arch/arm/boot/dts/kirkwood-ns2mini.dts | |
parent | f3a2a097a37acfb7c28da171248d15b9bb2e657b (diff) | |
download | linux-4fc5af86837d983d7b1dd4edad245454e1874fa0.tar.xz |
ARM: Kirkwood: add modes-map property to ns2-leds nodes
Since the LED modes mapping is no longer hardcoded inside the leds-ns2
driver, then it must be provided through the modes-map property in the
ns2-leds nodes.
Signed-off-by: Vincent Donnefort <vdonnefort@gmail.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Diffstat (limited to 'arch/arm/boot/dts/kirkwood-ns2mini.dts')
-rw-r--r-- | arch/arm/boot/dts/kirkwood-ns2mini.dts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/kirkwood-ns2mini.dts b/arch/arm/boot/dts/kirkwood-ns2mini.dts index c441bf62c09f..9935f3ec29b4 100644 --- a/arch/arm/boot/dts/kirkwood-ns2mini.dts +++ b/arch/arm/boot/dts/kirkwood-ns2mini.dts @@ -1,5 +1,6 @@ /dts-v1/; +#include <dt-bindings/leds/leds-ns2.h> #include "kirkwood-ns2-common.dtsi" / { @@ -47,6 +48,10 @@ label = "ns2:blue:sata"; slow-gpio = <&gpio0 29 0>; cmd-gpio = <&gpio0 30 0>; + modes-map = <NS_V2_LED_OFF 1 0 + NS_V2_LED_ON 0 1 + NS_V2_LED_ON 1 1 + NS_V2_LED_SATA 0 0>; }; }; }; |