kirkwood: set default state for status LEDs in device tree
[openwrt/staging/blogic.git] / target / linux / kirkwood / patches-4.19 / 109-pogoplug_v4.patch
index 6967a0c815ec145f43359ec65446da0642755636..813650124cc52c1eab91944aabdc71bc690a26d6 100644 (file)
@@ -32,7 +32,7 @@
                        gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
                };
        };
-@@ -48,12 +56,11 @@
+@@ -48,12 +56,12 @@
                pinctrl-0 = <&pmx_led_green &pmx_led_red>;
                pinctrl-names = "default";
  
 +              led_health: health {
                        label = "pogoplugv4:green:health";
                        gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
--                      default-state = "on";
+                       default-state = "on";
                };
 -              fault {
 +              led_fault: fault {
                        label = "pogoplugv4:red:fault";
                        gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
                };
-@@ -137,29 +144,19 @@
+@@ -137,29 +145,19 @@
                #size-cells = <1>;
  
                partition@0 {