ipq40xx: convert some boards to DSA
[openwrt/staging/noltari.git] / target / linux / ipq40xx / files / arch / arm / boot / dts / qcom-ipq4029-aruba-glenmorangie.dtsi
index 0925561ed0fc9799e072d2bca6a4b9caa1ffe5a1..41de6bb218b925a73e3aeb5e2298194d24153d73 100644 (file)
@@ -21,7 +21,7 @@
                        pinctrl-0 = <&mdio_pins>;
                        pinctrl-names = "default";
 
-                       ethernet-phy@5 {
+                       ethphy: ethernet-phy@5 {
                                reg = <0x5>;
                        };
                };
        };
 };
 
+&gmac {
+       status = "okay";
+};
+
+&switch {
+       status = "okay";
+
+       /delete-property/ psgmii-ethphy;
+};
+
+&swport5 {
+       status = "okay";
+
+       label = "lan";
+       phy-handle = <&ethphy>;
+       phy-mode = "rgmii-id";
+};
+
 &ethphy0 {
        status = "disabled";
 };