1 From eb6864f9dc059e86d057822b493feb8b4a9684ba Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Tue, 27 Nov 2018 16:33:31 +0000
4 Subject: [PATCH 217/806] ARM: dts: bcm283x: The lan7515 PHY node has moved
6 The DT node describing the LAN7800s PHY has now moved inside an "mdio"
7 node. Update the DT declarations accordingly.
9 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
11 arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi | 31 ++++++++++++++--------
12 1 file changed, 20 insertions(+), 11 deletions(-)
14 --- a/arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi
15 +++ b/arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi
17 // SPDX-License-Identifier: GPL-2.0
18 +#include <dt-bindings/net/microchip-lan78xx.h>
22 ethernet0 = ðernet;
24 ethernet: ethernet@1 {
25 compatible = "usb424,7800";
27 - microchip,eee-enabled;
28 - microchip,tx-lpi-timer = <600>; /* non-aggressive*/
30 - * led0 = 1:link1000/activity
31 - * led1 = 6:link10/100/activity
33 - microchip,led-modes = <1 6>;
36 + #address-cells = <0x1>;
37 + #size-cells = <0x0>;
38 + eth_phy: ethernet-phy@1 {
40 + microchip,eee-enabled;
41 + microchip,tx-lpi-timer = <600>; /* non-aggressive*/
42 + microchip,led-modes = <
43 + LAN78XX_LINK_1000_ACTIVITY
44 + LAN78XX_LINK_10_100_ACTIVITY
55 - eee = <ðernet>,"microchip,eee-enabled?";
56 - tx_lpi_timer = <ðernet>,"microchip,tx-lpi-timer:0";
57 - eth_led0 = <ðernet>,"microchip,led-modes:0";
58 - eth_led1 = <ðernet>,"microchip,led-modes:4";
59 + eee = <ð_phy>,"microchip,eee-enabled?";
60 + tx_lpi_timer = <ð_phy>,"microchip,tx-lpi-timer:0";
61 + eth_led0 = <ð_phy>,"microchip,led-modes:0";
62 + eth_led1 = <ð_phy>,"microchip,led-modes:4";