]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: mvebu: theadorable: Update eth & mdio DT nodes
authorStefan Roese <sr@denx.de>
Thu, 15 Sep 2022 13:21:22 +0000 (15:21 +0200)
committerStefan Roese <sr@denx.de>
Tue, 20 Sep 2022 04:39:43 +0000 (06:39 +0200)
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 <sr@denx.de>
arch/arm/dts/armada-xp-theadorable.dts

index ba73386d4f0a99b76a33729caa6e38e8a50a6f8e..7d833640b6d676691cb050b584a73f3b0edbfaa6 100644 (file)
                                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";
                        };
        clock-frequency = <100000>;
 };
 
+&mdio {
+       phy0: ethernet-phy@0 {
+               reg = <0>;
+       };
+};
+
+&eth0 {
+       status = "okay";
+       phy = <&phy0>;
+       phy-mode = "sgmii";
+};
+
 &spi0 {
        status = "okay";
 
        };
 };
 
-
 &pciec {
        status = "okay";