0206f633a3c46071aa8f8b30b9547eaf6fba51ef
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.19 / 950-0659-arm-dts-Fix-Pi4-PWR-LED-configuration.patch
1 From d0e00483c95c2d67b42ac74a60cfc424cc75c089 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 659/773] 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