ramips: mt7621-dts: mux phy0/4 to gmac1
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7621_hiwifi_hc5962.dts
index 774fb93d9cd652134e0d8466859286ed8cebe57b..d9ca1012ceaf416b8c57274161f3563f266c5ef9 100644 (file)
        };
 };
 
+&gmac1 {
+       status = "okay";
+       label = "wan";
+       phy-handle = <&ethphy4>;
+};
+
+&mdio {
+       ethphy4: ethernet-phy@4 {
+               reg = <4>;
+       };
+};
+
 &switch0 {
        ports {
                port@1 {
                        status = "okay";
                        label = "lan3";
                };
-
-               port@4 {
-                       status = "okay";
-                       label = "wan";
-               };
        };
 };