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: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
This commit is contained in:
Frank Wunderlich 2018-06-25 11:57:13 +02:00 committed by Matthias Brugger
parent 0c7f7a5150
commit 2ca48895ba
1 changed files with 3 additions and 3 deletions

View File

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