kernel: bump 5.4 to 5.4.48
[oweals/openwrt.git] / target / linux / bcm27xx / patches-5.4 / 950-0353-arm-dts-Correct-Pi-4B-LED-values.patch
1 From 4768e4d0e87e5814d3f315f7a575cad123fc2e36 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Fri, 22 Nov 2019 15:08:25 +0000
4 Subject: [PATCH] arm/dts: Correct Pi 4B LED values
5
6 The initial PHY LED settings are wrong Pi 4B (the correct values got
7 dropped somewhere along the way). The PHY declaration should arguably
8 go in a separate file included by bcm2711-rpi-4-b.dts, but we can
9 fix that as we switch over to using more of the upstream BCM2711
10 support in 5.4 and later.
11
12 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
13 ---
14  arch/arm/boot/dts/bcm2838.dtsi    | 2 +-
15  arch/arm/boot/dts/overlays/README | 2 +-
16  2 files changed, 2 insertions(+), 2 deletions(-)
17
18 --- a/arch/arm/boot/dts/bcm2838.dtsi
19 +++ b/arch/arm/boot/dts/bcm2838.dtsi
20 @@ -380,7 +380,7 @@
21                                         /* No interrupts - use PHY_POLL */
22                                         max-speed = <1000>;
23                                         reg = <0x1>;
24 -                                       led-modes = <0x02 0x02>;
25 +                                       led-modes = <0x00 0x08>; /* link/activity link */
26                                 };
27                         };
28                 };
29 --- a/arch/arm/boot/dts/overlays/README
30 +++ b/arch/arm/boot/dts/overlays/README
31 @@ -128,7 +128,7 @@ Params:
32                                  8=Link                   9=Activity
33  
34          eth_led1                Set mode of LED1 (usually green) (Pi3B+ default
35 -                                "6", Pi4 default "0"). See eth_led0 for legal
36 +                                "6", Pi4 default "8"). See eth_led0 for legal
37                                  values.
38  
39          eth_max_speed           Set the maximum speed a link is allowed