ramips: fix power LED DTB for wt3020
authorEmil Muratov <gpm@hotplug.ru>
Fri, 14 Sep 2018 09:12:32 +0000 (12:12 +0300)
committerMathias Kresin <dev@kresin.me>
Wed, 26 Sep 2018 18:35:07 +0000 (20:35 +0200)
Since c134210 power LED is no longer lights after boot-up.
Reversing gpio polarity makes it work as it should be.

Signed-off-by: Emil Muratov <gpm@hotplug.ru>
target/linux/ramips/dts/WT3020.dtsi

index 615dcf38100bdbb2c1358ac93a946b919ef21258..2b227ed9b69352bab6c42383ba16a1809167ddf6 100644 (file)
@@ -26,7 +26,7 @@
 
                led_power: power {
                        label = "wt3020:blue:power";
-                       gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>;
+                       gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };
 };