kirkwood: set default state for status LEDs in device tree
[openwrt/staging/blogic.git] / target / linux / kirkwood / patches-4.14 / 105-goflexhome.patch
index 8f181ac4722d0874426d14e64ba4ee9dfeab1d54..fcccbf7f39363aaa094a186d8221ae9304e0addb 100644 (file)
@@ -10,7 +10,7 @@
        kirkwood-ib62x0.dtb \
 --- /dev/null
 +++ b/arch/arm/boot/dts/kirkwood-goflexhome.dts
-@@ -0,0 +1,123 @@
+@@ -0,0 +1,124 @@
 +/dts-v1/;
 +
 +#include "kirkwood.dtsi"
@@ -72,6 +72,7 @@
 +              led_health: health {
 +                      label = "status:green:health";
 +                      gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
++                      default-state = "on";
 +              };
 +              led_fault: fault {
 +                      label = "status:orange:fault";