diff options
author | Vincent Stehlé <vincent.stehle@laposte.net> | 2020-04-11 19:48:43 +0200 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2020-04-14 09:29:59 +0200 |
commit | 34b6826df7462c541752cf8b1de2691b26d78ae0 (patch) | |
tree | 5a49f4425be772e904ff1004f33bb40edae6cee3 /arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts | |
parent | e7d5260e2b109c6da1023e37d18f5a9adf9ae0ca (diff) | |
download | lwn-34b6826df7462c541752cf8b1de2691b26d78ae0.tar.gz lwn-34b6826df7462c541752cf8b1de2691b26d78ae0.zip |
ARM: dts: sun8i-h2-plus-bananapi-m2-zero: Fix led polarity
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>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts')
-rw-r--r-- | arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts index d277d043031b..4c6704e4c57e 100644 --- a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts +++ b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts @@ -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"; }; }; |