ARM: dts: bcm283x: The lan7515 PHY node has moved

The DT node describing the LAN7800s PHY has now moved inside an "mdio"
node. Update the DT declarations accordingly.

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
This commit is contained in:
Phil Elwell
2018-11-27 16:33:31 +00:00
committed by popcornmix
parent 508e7dc0ac
commit 6664ab6817

View File

@@ -1,4 +1,6 @@
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0
#include <dt-bindings/net/microchip-lan78xx.h>
/ { / {
aliases { aliases {
ethernet0 = &ethernet; ethernet0 = &ethernet;
@@ -21,13 +23,20 @@
ethernet: ethernet@1 { ethernet: ethernet@1 {
compatible = "usb424,7800"; compatible = "usb424,7800";
reg = <1>; reg = <1>;
mdio {
#address-cells = <0x1>;
#size-cells = <0x0>;
eth_phy: ethernet-phy@1 {
reg = <1>;
microchip,eee-enabled; microchip,eee-enabled;
microchip,tx-lpi-timer = <600>; /* non-aggressive*/ microchip,tx-lpi-timer = <600>; /* non-aggressive*/
/* microchip,led-modes = <
* led0 = 1:link1000/activity LAN78XX_LINK_1000_ACTIVITY
* led1 = 6:link10/100/activity LAN78XX_LINK_10_100_ACTIVITY
*/ >;
microchip,led-modes = <1 6>; };
};
}; };
}; };
}; };
@@ -36,9 +45,9 @@
/ { / {
__overrides__ { __overrides__ {
eee = <&ethernet>,"microchip,eee-enabled?"; eee = <&eth_phy>,"microchip,eee-enabled?";
tx_lpi_timer = <&ethernet>,"microchip,tx-lpi-timer:0"; tx_lpi_timer = <&eth_phy>,"microchip,tx-lpi-timer:0";
eth_led0 = <&ethernet>,"microchip,led-modes:0"; eth_led0 = <&eth_phy>,"microchip,led-modes:0";
eth_led1 = <&ethernet>,"microchip,led-modes:4"; eth_led1 = <&eth_phy>,"microchip,led-modes:4";
}; };
}; };