Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2ca48895 authored by Frank Wunderlich's avatar Frank Wunderlich Committed by Matthias Brugger
Browse files

arm: dts: mediatek: Fix pio-leds for Bananapi-R2



Pio-leds (near GPIO-Header) are swapped and LOW-active.
This patch restores the expected behaviour.

Signed-off-by: default avatarFrank Wunderlich <frank-w@public-files.de>
Reviewed-by: default avatarSean Wang <sean.wang@mediatek.com>
Signed-off-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
parent 0c7f7a51
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -91,19 +91,19 @@

		blue {
			label = "bpi-r2:pio:blue";
			gpios = <&pio 241 GPIO_ACTIVE_HIGH>;
			gpios = <&pio 240 GPIO_ACTIVE_LOW>;
			default-state = "off";
		};

		green {
			label = "bpi-r2:pio:green";
			gpios = <&pio 240 GPIO_ACTIVE_HIGH>;
			gpios = <&pio 241 GPIO_ACTIVE_LOW>;
			default-state = "off";
		};

		red {
			label = "bpi-r2:pio:red";
			gpios = <&pio 239 GPIO_ACTIVE_HIGH>;
			gpios = <&pio 239 GPIO_ACTIVE_LOW>;
			default-state = "off";
		};
	};