kirkwood: set default state for status LEDs in device tree
[openwrt/staging/stintel.git] / target / linux / kirkwood / patches-4.19 / 108-on100.patch
index fa92509e2e055f22a679afb6ca42084287b32411..bc0916f1617ac71d34bd564672aa9aa49131b7a7 100644 (file)
@@ -1,6 +1,6 @@
 --- /dev/null
 +++ b/arch/arm/boot/dts/kirkwood-on100.dts
-@@ -0,0 +1,162 @@
+@@ -0,0 +1,163 @@
 +/dts-v1/;
 +
 +#include "kirkwood.dtsi"
@@ -48,6 +48,7 @@
 +              led_health_green: health_green {
 +                      label = "on100:green:health";
 +                      gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
++                      default-state = "on";
 +              };
 +
 +              led_health_red: health_red {