ramips: mt7621-dts: mux phy0/4 to gmac1
[openwrt/staging/dedeckeh.git] / target / linux / ramips / dts / mt7621_dlink_dir-8xx.dtsi
index 556ca8b0037df189cfbd39dc87112c74dbc33572..b570d074c6f7e8b30eefeee0ab0b29a740a7eea7 100644 (file)
        };
 };
 
+&gmac1 {
+       status = "okay";
+       label = "wan";
+       phy-handle = <&ethphy4>;
+};
+
+&mdio {
+       ethphy4: ethernet-phy@4 {
+               reg = <4>;
+       };
+};
+
 &switch0 {
        ports {
                port@0 {
                        status = "okay";
                        label = "lan1";
                };
-
-               wan: port@4 {
-                       status = "okay";
-                       label = "wan";
-               };
        };
 };