ramips: use fixed layout cell "mac-base" for Ubiquiti EdgeRouter X
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_buffalo_wsr-1166dhp.dts
index f9211463f85971c7ae6de26107a887ffccad60ad..a8d76b544e2576e2b67330e89866d1fa4595330c 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";
-               };
        };
 };
 
 &state_default {
        gpio {
-               groups = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
+               groups = "i2c", "uart2", "uart3", "sdhci";
                function = "gpio";
        };
 };