Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: bcm283x-rpi-lan7515: Enable Ethernet LEDs

Since the LAN7515 on Raspberry Pi 3B+ doesn't have an EEPROM and the OTP
is empty, we need to enable the Ethernet LEDs via Device Tree.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>

+14
+14
arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 + #include <dt-bindings/net/microchip-lan78xx.h> 3 + 2 4 / { 3 5 aliases { 4 6 ethernet0 = &ethernet; ··· 23 21 ethernet: ethernet@1 { 24 22 compatible = "usb424,7800"; 25 23 reg = <1>; 24 + 25 + mdio { 26 + #address-cells = <0x1>; 27 + #size-cells = <0x0>; 28 + eth_phy: ethernet-phy@1 { 29 + reg = <1>; 30 + microchip,led-modes = < 31 + LAN78XX_LINK_1000_ACTIVITY 32 + LAN78XX_LINK_10_100_ACTIVITY 33 + >; 34 + }; 35 + }; 26 36 }; 27 37 }; 28 38 };