brcm2708: rename target to bcm27xx
[openwrt/staging/jow.git] / target / linux / bcm27xx / patches-4.19 / 950-0577-arm-dts-Fix-Pi4-PWR-LED-configuration.patch
1 From 4d4d714061ee6f54dc5feeaeda4389e2346386aa Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Mon, 17 Jun 2019 10:06:55 +0100
4 Subject: [PATCH] arm: dts: Fix Pi4 PWR LED configuration
5
6 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
7 ---
8 arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 6 +++---
9 1 file changed, 3 insertions(+), 3 deletions(-)
10
11 --- a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts
12 +++ b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts
13 @@ -126,13 +126,13 @@
14 act_led: act {
15 label = "led0";
16 linux,default-trigger = "mmc0";
17 - gpios = <&gpio 42 0>;
18 + gpios = <&gpio 42 GPIO_ACTIVE_HIGH>;
19 };
20
21 pwr_led: pwr {
22 label = "led1";
23 - linux,default-trigger = "input";
24 - gpios = <&expgpio 2 0>;
25 + linux,default-trigger = "default-on";
26 + gpios = <&expgpio 2 GPIO_ACTIVE_LOW>;
27 };
28 };
29