firmware-utils: bump to git HEAD
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.4 / 950-0917-ARM-dts-Select-the-actpwr-LED-trigger-on-Zeroes.patch
1 From 990bc7c8a234a0f446a7d56067b1a9f8348e0f35 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Thu, 16 Jul 2020 18:19:58 +0100
4 Subject: [PATCH] ARM: dts: Select the actpwr LED trigger on Zeroes
5
6 The new "actpwr" LED trigger guarantees that the combined PWR and ACT
7 LED is on for at least half of every second. Under heavy SD card
8 load it emits a steady 1Hz square wave.
9
10 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
11 ---
12 arch/arm/boot/dts/bcm2708-rpi-zero-w.dts | 4 ++--
13 arch/arm/boot/dts/bcm2708-rpi-zero.dts | 4 ++--
14 2 files changed, 4 insertions(+), 4 deletions(-)
15
16 --- a/arch/arm/boot/dts/bcm2708-rpi-zero-w.dts
17 +++ b/arch/arm/boot/dts/bcm2708-rpi-zero-w.dts
18 @@ -144,8 +144,8 @@
19 &leds {
20 act_led: act {
21 label = "led0";
22 - linux,default-trigger = "mmc0";
23 - gpios = <&gpio 47 0>;
24 + linux,default-trigger = "actpwr";
25 + gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
26 };
27 };
28
29 --- a/arch/arm/boot/dts/bcm2708-rpi-zero.dts
30 +++ b/arch/arm/boot/dts/bcm2708-rpi-zero.dts
31 @@ -98,8 +98,8 @@
32 &leds {
33 act_led: act {
34 label = "led0";
35 - linux,default-trigger = "mmc0";
36 - gpios = <&gpio 47 0>;
37 + linux,default-trigger = "actpwr";
38 + gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
39 };
40 };
41