kernel/arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi
.. .. @@ -1,4 +1,6 @@ 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 = ðernet; .. .. @@ -21,6 +23,18 @@ 21 23 ethernet: ethernet@1 { 22 24 compatible = "usb424,7800"; 23 25 reg = <1>; 26 +27 + mdio {28 + #address-cells = <0x1>;29 + #size-cells = <0x0>;30 + eth_phy: ethernet-phy@1 {31 + reg = <1>;32 + microchip,led-modes = <33 + LAN78XX_LINK_1000_ACTIVITY34 + LAN78XX_LINK_10_100_ACTIVITY35 + >;36 + };37 + };24 38 }; 25 39 }; 26 40 };