Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: bcm2835-rpi-zero-w: Fix led polarity

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>

authored by

Vincent Stehlé and committed by
Florian Fainelli
58bb90ab b9bbe6ed

+1 -1
+1 -1
arch/arm/boot/dts/bcm2835-rpi-zero-w.dts
··· 24 24 25 25 leds { 26 26 act { 27 - gpios = <&gpio 47 GPIO_ACTIVE_HIGH>; 27 + gpios = <&gpio 47 GPIO_ACTIVE_LOW>; 28 28 }; 29 29 }; 30 30