Skip to content

Commit 866f6fa

Browse files
pelwellpopcornmix
authored andcommitted
ARM: dts: bcm2712-rpi-5-b: Add eth_ledx parameters
Include the dtparams controlling the Ethernet jack LEDs, as used on other Pis. See: #5825 Signed-off-by: Phil Elwell <[email protected]>
1 parent 46b82c2 commit 866f6fa

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

arch/arm/boot/dts/broadcom/bcm2712-rpi-5-b.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -830,6 +830,8 @@ spi10_cs_pins: &spi10_cs_gpio1 {};
830830
act_led_trigger = <&led_act>, "linux,default-trigger";
831831
pwr_led_activelow = <&led_pwr>, "gpios:8";
832832
pwr_led_trigger = <&led_pwr>, "linux,default-trigger";
833+
eth_led0 = <&phy1>,"led-modes:0";
834+
eth_led1 = <&phy1>,"led-modes:4";
833835
drm_fb0_rp1_dsi0 = <&aliases>, "drm-fb0=",&dsi0;
834836
drm_fb0_rp1_dsi1 = <&aliases>, "drm-fb0=",&dsi1;
835837
drm_fb0_rp1_dpi = <&aliases>, "drm-fb0=",&dpi;

arch/arm/boot/dts/overlays/README

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ Params:
207207
0 means never downshift (default 2). Pi3B+ only.
208208

209209
eth_led0 Set mode of LED0 - amber on Pi3B+ (default "1"),
210-
green on Pi4 (default "0").
210+
green on Pi4/5 (default "0").
211211
The legal values are:
212212

213213
Pi3B+
@@ -217,7 +217,7 @@ Params:
217217
4=link100/1000/activity 5=link10/1000/activity
218218
6=link10/100/activity 14=off 15=on
219219

220-
Pi4
220+
Pi4/5
221221

222222
0=Speed/Activity 1=Speed
223223
2=Flash activity 3=FDX
@@ -226,7 +226,7 @@ Params:
226226
8=Link 9=Activity
227227

228228
eth_led1 Set mode of LED1 - green on Pi3B+ (default "6"),
229-
amber on Pi4 (default "8"). See eth_led0 for
229+
amber on Pi4/5 (default "8"). See eth_led0 for
230230
legal values.
231231

232232
eth_max_speed Set the maximum speed a link is allowed

0 commit comments

Comments
 (0)