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:
parent
0c7f7a5150
commit
2ca48895ba
|
@ -91,19 +91,19 @@
|
||||||
|
|
||||||
blue {
|
blue {
|
||||||
label = "bpi-r2:pio:blue";
|
label = "bpi-r2:pio:blue";
|
||||||
gpios = <&pio 241 GPIO_ACTIVE_HIGH>;
|
gpios = <&pio 240 GPIO_ACTIVE_LOW>;
|
||||||
default-state = "off";
|
default-state = "off";
|
||||||
};
|
};
|
||||||
|
|
||||||
green {
|
green {
|
||||||
label = "bpi-r2:pio:green";
|
label = "bpi-r2:pio:green";
|
||||||
gpios = <&pio 240 GPIO_ACTIVE_HIGH>;
|
gpios = <&pio 241 GPIO_ACTIVE_LOW>;
|
||||||
default-state = "off";
|
default-state = "off";
|
||||||
};
|
};
|
||||||
|
|
||||||
red {
|
red {
|
||||||
label = "bpi-r2:pio:red";
|
label = "bpi-r2:pio:red";
|
||||||
gpios = <&pio 239 GPIO_ACTIVE_HIGH>;
|
gpios = <&pio 239 GPIO_ACTIVE_LOW>;
|
||||||
default-state = "off";
|
default-state = "off";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue