summaryrefslogtreecommitdiffstats
path: root/kernel/arch/arm/boot/dts/kirkwood-d2net.dts
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/arm/boot/dts/kirkwood-d2net.dts')
-rw-r--r--kernel/arch/arm/boot/dts/kirkwood-d2net.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/arch/arm/boot/dts/kirkwood-d2net.dts b/kernel/arch/arm/boot/dts/kirkwood-d2net.dts
index 6b7856025..e1c25c35e 100644
--- a/kernel/arch/arm/boot/dts/kirkwood-d2net.dts
+++ b/kernel/arch/arm/boot/dts/kirkwood-d2net.dts
@@ -10,6 +10,7 @@
/dts-v1/;
+#include <dt-bindings/leds/leds-ns2.h>
#include "kirkwood-netxbig.dtsi"
/ {
@@ -28,6 +29,10 @@
label = "d2net_v2:blue:sata";
slow-gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>;
cmd-gpio = <&gpio0 30 GPIO_ACTIVE_HIGH>;
+ 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>;
};
};