ARM: dts: sun8i-h2-plus-bananapi-m2-zero: Fix led polarity
authorVincent Stehlé <vincent.stehle@laposte.net>
Sat, 11 Apr 2020 17:48:43 +0000 (19:48 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 14 Apr 2020 07:29:59 +0000 (09:29 +0200)
The PWR-LED on the bananapi m2 zero board is on when gpio PL10 is low.
This has been verified on a board and in the schematics [1].

[1]: http://wiki.banana-pi.org/Banana_Pi_BPI-M2_ZERO#Documents

Fixes: 8b8061fcbfae ("ARM: dts: sun8i: h2+: add support for Banana Pi M2 Zero board")
Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Cc: Icenowy Zheng <icenowy@aosc.io>
Cc: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts

index d277d04..4c6704e 100644 (file)
@@ -31,7 +31,7 @@
 
                pwr_led {
                        label = "bananapi-m2-zero:red:pwr";
-                       gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; /* PL10 */
+                       gpios = <&r_pio 0 10 GPIO_ACTIVE_LOW>; /* PL10 */
                        default-state = "on";
                };
        };