From 965b8e54c45b60e9d346178c8285552c3d70c28d Mon Sep 17 00:00:00 2001 From: Nathan Rossi Date: Tue, 21 Apr 2015 14:12:42 +1000 Subject: zynq7-base.dtsi: Update bindings for PHYs attached to ethernet nodes * Update the bindings to match upstream definitions for the PHY * The macb driver does not follow the phy-handle property and relies on the PHY being located as the first child node of the ethernet device * Remove the MDIO node and update all boards to nest the PHY as the first child node of the ethernet device, this change is backward compatible with the bindings for the linux-xlnx xemacps driver which follows the phy-handle definition Signed-off-by: Nathan Rossi --- conf/machine/boards/qemu/qemuzynq-base.dtsi | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'conf/machine/boards/qemu') diff --git a/conf/machine/boards/qemu/qemuzynq-base.dtsi b/conf/machine/boards/qemu/qemuzynq-base.dtsi index a2f06657..9d6b8c75 100644 --- a/conf/machine/boards/qemu/qemuzynq-base.dtsi +++ b/conf/machine/boards/qemu/qemuzynq-base.dtsi @@ -19,11 +19,9 @@ clocks = <&clkc 30>, <&clkc 30>, <&clk125mhz>, <&clk125mhz>, <&clkc 30>; phy-handle = <&phy0>; phy-mode = "gmii"; - mdio { - phy0: phy@23 { - device_type = "ethernet-phy"; - reg = <23>; - } ; + phy0: phy@23 { + device_type = "ethernet-phy"; + reg = <23>; } ; } ; ps7_qspi_0: ps7-qspi@e000d000 { -- cgit v1.2.3-54-g00ecf