summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
diff options
context:
space:
mode:
authorFrank Wunderlich <frank-w@public-files.de>2018-06-25 11:57:13 +0200
committerMatthias Brugger <matthias.bgg@gmail.com>2018-07-16 11:13:28 +0200
commit2ca48895ba984c9b1fa0e725064decfed527811b (patch)
tree489e2d72058e8770d3c5876dd2364c834f3f02ca /arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
parentarm: dts: mediatek: Add missing cooling device properties for CPUs (diff)
downloadlinux-2ca48895ba984c9b1fa0e725064decfed527811b.tar.xz
linux-2ca48895ba984c9b1fa0e725064decfed527811b.zip
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>
Diffstat (limited to 'arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts')
-rw-r--r--arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
index 531d905d924f..2b760f90f38c 100644
--- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
+++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
@@ -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";
};
};