kirkwood: set default state for status LEDs in device tree
[openwrt/staging/wigyori.git] / target / linux / kirkwood / patches-4.19 / 107-02-nsa310b.patch
index 5e2b1d8d9c3bc238a361c1caeac13e00d4b817ba..ba2ae7d2de8a204b399586b8d1f66d2f7285ede0 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";