bcm27xx: update patches from RPi foundation
[oweals/openwrt.git] / target / linux / bcm27xx / patches-5.4 / 950-0410-overlays-Correct-the-eth_led-colour-assignments.patch
1 From b058c3c898472ad8799bba29365c3295fdd24970 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Wed, 29 Jan 2020 14:32:51 +0000
4 Subject: [PATCH] overlays: Correct the eth_led* colour assignments
5
6 See: https://github.com/raspberrypi/firmware/issues/1311
7
8 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
9 ---
10  arch/arm/boot/dts/overlays/README | 17 +++++++++--------
11  1 file changed, 9 insertions(+), 8 deletions(-)
12
13 --- a/arch/arm/boot/dts/overlays/README
14 +++ b/arch/arm/boot/dts/overlays/README
15 @@ -109,27 +109,28 @@ Params:
16                                  Legal values are 2, 3, 4, 5 and 0, where
17                                  0 means never downshift (default 2). Pi3B+ only.
18  
19 -        eth_led0                Set mode of LED0 (usually orange). The legal
20 -                                values are:
21 +        eth_led0                Set mode of LED0 - amber on Pi3B+ (default "1"),
22 +                                green on Pi4 (default "0").
23 +                                The legal values are:
24  
25                                  Pi3B+
26  
27 -                                0=link/activity    1=link1000/activity (default)
28 +                                0=link/activity          1=link1000/activity
29                                  2=link100/activity       3=link10/activity
30                                  4=link100/1000/activity  5=link10/1000/activity
31                                  6=link10/100/activity    14=off    15=on
32  
33                                  Pi4
34  
35 -                                0=Speed/Activity (default)       1=Speed
36 -                                2=Speed/Flash activity   3=FDX
37 +                                0=Speed/Activity         1=Speed
38 +                                2=Flash activity         3=FDX
39                                  4=Off                    5=On
40                                  6=Alt                    7=Speed/Flash
41                                  8=Link                   9=Activity
42  
43 -        eth_led1                Set mode of LED1 (usually green) (Pi3B+ default
44 -                                "6", Pi4 default "8"). See eth_led0 for legal
45 -                                values.
46 +        eth_led1                Set mode of LED1 - green on Pi3B (default "6"),
47 +                                amber on Pi4 (default "8"). See eth_led0 for
48 +                                legal values.
49  
50          eth_max_speed           Set the maximum speed a link is allowed
51                                  to negotiate. Legal values are 10, 100 and