Skip to content

net: phy: broadcom: Make LEDs 3+4 shadow LEDs 1+2 [REVPI-3119]

Ghost User requested to merge github/fork/nbuchwitz/devel/cm4-eth-leds into revpi-5.10

Created by: nbuchwitz

commit 326dea65f88e75d25960ecce49df23a0d76bbac0 upstream (rpi)

CM4 uses BCM54210PE, which supports 2 additional LEDs, choosing LED3 for the amber LED because it shows activity by default (LED4 is not connected). However, this makes it uncontrollable by the eth_led dtparams which target LEDs 1+2.

Solve the problem by making LEDs 3+4 mirror LEDs 1+2 (which is much simpler than adding baseboard-specific overrides, but comes with a risk of making one of the LEDs redundant).

See: https://github.com/raspberrypi/linux/issues/5289

Merge request reports