kirkwood: set default state for status LEDs in device tree
[openwrt/staging/stintel.git] / target / linux / kirkwood / patches-4.14 / 107-02-nsa310b.patch
index 2da8f4f0d1b1eabc2c56f925fe4dc35918afff1f..1f2718fb80cc5bec6c0bfca79c0481f913218fa0 100644 (file)
@@ -20,7 +20,7 @@ NOTE: this patch can be upstreamed as-is, LEDE-specific
        kirkwood-openblocks_a6.dtb \
 --- /dev/null
 +++ b/arch/arm/boot/dts/kirkwood-nsa310b.dts
-@@ -0,0 +1,131 @@
+@@ -0,0 +1,132 @@
 +/dts-v1/;
 +
 +#include "kirkwood-nsa3x0-common.dtsi"
@@ -113,6 +113,7 @@ NOTE: this patch can be upstreamed as-is, LEDE-specific
 +              led_green_sys: green-sys {
 +                      label = "nsa310:green:sys";
 +                      gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
++                      default-state = "on";
 +              };
 +              led_red_sys: red-sys {
 +                      label = "nsa310:red:sys";