ramips: mt7621-dts: mux phy0/4 to gmac1
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_ampedwireless_ally-r1900k.dts
index cd2536e179069f951c267141e2388aa0b9ce935c..07e0d23788d7f651b1bc8ae27fe0e418e4d51cc0 100644 (file)
@@ -7,6 +7,18 @@
        model = "Amped Wireless ALLY-R1900K";
 };
 
+&gmac1 {
+       status = "okay";
+       label = "lan3";
+       phy-handle = <&ethphy4>;
+};
+
+&mdio {
+       ethphy4: ethernet-phy@4 {
+               reg = <4>;
+       };
+};
+
 &switch0 {
        ports {
                port@1 {
                        status = "okay";
                        label = "lan2";
                };
-
-               port@4 {
-                       status = "okay";
-                       label = "lan3";
-               };
        };
 };