kirkwood: set default state for status LEDs in device tree
[openwrt/staging/wigyori.git] / target / linux / kirkwood / patches-4.14 / 101-iconnect.patch
index f36f50eae408057a365d2017dbd9a90f2060476b..9fd14a955b50f0290e7038cb976695c5f6f63dc2 100644 (file)
@@ -23,7 +23,7 @@
        };
  
        ocp@f1000000 {
-@@ -89,12 +94,11 @@
+@@ -89,12 +94,12 @@
                        gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
                        default-state = "on";
                };
                        label = "power:blue";
                        gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
 -                      default-state = "keep";
++                      default-state = "on";
                };
 -              power-red {
 +              led_power_red: power-red {
                        label = "power:red";
                        gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
                };
-@@ -146,28 +150,23 @@
+@@ -146,28 +151,23 @@
        status = "okay";
  
        partition@0 {