mediatek: add v4.19 support
[openwrt/staging/lynxis.git] / target / linux / brcm2708 / patches-4.19 / 950-0665-arm-dts-Fix-Pi4-PWR-LED-configuration.patch
1 From 119a795378e218aef556999cdeb7ebb44e5fa106 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 665/703] 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