From 2371ecf0a0ad37cb775d4c09e89a1e70ab8f347a Mon Sep 17 00:00:00 2001 From: Nathan Rossi Date: Thu, 8 Jun 2017 18:20:58 +1000 Subject: zybo-linux-bd-zynq7: Change gem0 phy to match kernel definition Change the device tree for the gem0 phy to match that of the kernel device tree for ZYBO. This removes the compatible string and uses the phy address of 0 (broadcast). This lets the kernel auto detect the phy since there are no other devices on the MDIO bus for gem0. Signed-off-by: Nathan Rossi --- .../device-tree/files/zybo-linux-bd-zynq7/zybo-linux-bd-zynq7.dts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/recipes-bsp/device-tree/files/zybo-linux-bd-zynq7/zybo-linux-bd-zynq7.dts b/recipes-bsp/device-tree/files/zybo-linux-bd-zynq7/zybo-linux-bd-zynq7.dts index 79deba49..19654392 100644 --- a/recipes-bsp/device-tree/files/zybo-linux-bd-zynq7/zybo-linux-bd-zynq7.dts +++ b/recipes-bsp/device-tree/files/zybo-linux-bd-zynq7/zybo-linux-bd-zynq7.dts @@ -127,10 +127,9 @@ phy-handle = <&phy0>; phy-mode = "rgmii-id"; local-mac-address = []; - phy0: phy@1 { - compatible = "realtek,rtl8211e"; + phy0: phy@0 { device_type = "ethernet-phy"; - reg = <1>; + reg = <0>; }; }; -- cgit v1.2.3-54-g00ecf