ARM: dts: bcm2835-rpi-zero-w: Fix led polarity
authorVincent Stehlé <vincent.stehle@laposte.net>
Sat, 18 Apr 2020 12:35:22 +0000 (14:35 +0200)
committerFlorian Fainelli <f.fainelli@gmail.com>
Thu, 21 May 2020 00:09:35 +0000 (17:09 -0700)
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>
arch/arm/boot/dts/bcm2835-rpi-zero-w.dts

index 4c3f606e5b8d8ebae250daef6d3a26c0f8488ff3..f65448c01e317ba00ad30dfcfd8137e7dc1cb798 100644 (file)
@@ -24,7 +24,7 @@
 
        leds {
                act {
-                       gpios = <&gpio 47 GPIO_ACTIVE_HIGH>;
+                       gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
                };
        };