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