ramips: mt7621-dts: mux phy0/4 to gmac1
[openwrt/staging/dedeckeh.git] / target / linux / ramips / dts / mt7621_linksys_e5600.dts
index 91db315914e4988ed0b7ba344a41e3c97a821373..3b23a25f8b5163da6975d810b9193cfd722634e6 100644 (file)
        };
 };
 
+&gmac1 {
+       status = "okay";
+       label = "wan";
+       phy-handle = <&ethphy4>;
+};
+
+&mdio {
+       ethphy4: ethernet-phy@4 {
+               reg = <4>;
+       };
+};
+
 &switch0 {
        ports {
                port@0 {
                        status = "okay";
                        label = "lan4";
                };
-
-               port@4 {
-                       status = "okay";
-                       label = "wan";
-               };
        };
 };