summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorVincent Stehlé <vincent.stehle@laposte.net>2020-04-18 15:35:22 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-03 09:18:00 +0300
commit017a3806aa47233062b6a9e842a45970c5ee5efc (patch)
tree77fb50b9703b625c1421dee4d8ae7d7fb9f5cffa /arch/arm
parentcf2b1761347e7deeab581f9a6d104e19e35ae74b (diff)
downloadlinux-017a3806aa47233062b6a9e842a45970c5ee5efc.tar.xz
ARM: dts: bcm2835-rpi-zero-w: Fix led polarity
[ Upstream commit 58bb90ab415562eededb932455046924e65df342 ] The status "ACT" led on the Raspberry Pi Zero W is on when GPIO 47 is low. This has been verified on a board and somewhat confirmed by both the GPIO name ("STATUS_LED_N") and the reduced schematics [1]. [1]: https://www.raspberrypi.org/documentation/hardware/raspberrypi/schematics/rpi_SCH_ZeroW_1p1_reduced.pdf Fixes: 2c7c040c73e9 ("ARM: dts: bcm2835: Add Raspberry Pi Zero W") Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net> Cc: Stefan Wahren <stefan.wahren@i2se.com> Cc: Florian Fainelli <f.fainelli@gmail.com> Tested-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/bcm2835-rpi-zero-w.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/bcm2835-rpi-zero-w.dts b/arch/arm/boot/dts/bcm2835-rpi-zero-w.dts
index e5f2cca86f04..120776d45441 100644
--- a/arch/arm/boot/dts/bcm2835-rpi-zero-w.dts
+++ b/arch/arm/boot/dts/bcm2835-rpi-zero-w.dts
@@ -25,7 +25,7 @@
leds {
act {
- gpios = <&gpio 47 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
};
};