With the recent changes in the Marvel mvneta network driver, the MDIO
bus is not connected any more. This patch updates the DT nodes to use
the nodes from the dtsi files instead of creating ad-hoc nodes.

Signed-off-by: Stefan Roese <s...@denx.de>
---
 arch/arm/dts/armada-xp-theadorable.dts | 27 ++++++++++++--------------
 1 file changed, 12 insertions(+), 15 deletions(-)

diff --git a/arch/arm/dts/armada-xp-theadorable.dts 
b/arch/arm/dts/armada-xp-theadorable.dts
index ba73386d4f0a..7d833640b6d6 100644
--- a/arch/arm/dts/armada-xp-theadorable.dts
+++ b/arch/arm/dts/armada-xp-theadorable.dts
@@ -107,20 +107,6 @@
                                status = "okay";
                        };
 
-                       mdio {
-                               #address-cells = <1>;
-                               #size-cells = <0>;
-                               phy0: ethernet-phy@0 {
-                                       reg = <0>;
-                               };
-                       };
-
-                       ethernet@70000 {
-                               status = "okay";
-                               phy = <&phy0>;
-                               phy-mode = "sgmii";
-                       };
-
                        usb@50000 {
                                status = "okay";
                        };
@@ -166,6 +152,18 @@
        clock-frequency = <100000>;
 };
 
+&mdio {
+       phy0: ethernet-phy@0 {
+               reg = <0>;
+       };
+};
+
+&eth0 {
+       status = "okay";
+       phy = <&phy0>;
+       phy-mode = "sgmii";
+};
+
 &spi0 {
        status = "okay";
 
@@ -198,7 +196,6 @@
        };
 };
 
-
 &pciec {
        status = "okay";
 
-- 
2.37.3

Reply via email to