ramips: fix power LED DTB for wt3020
authorEmil Muratov <gpm@hotplug.ru>
Fri, 14 Sep 2018 09:12:32 +0000 (12:12 +0300)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:47:59 +0000 (17:47 +0100)
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>
(backported from 8e6bc1a5beec6a9829ad77e0b8ace2ab106772ee)

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>;
                };
        };
 };