ramips: mt7621-dts: mux phy0/4 to gmac1
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7621_netgear_wac104.dts
index 61ab0574a7d0f2f34fd50f769e37bc9a4cf3bdbc..3b5d6ae2d99bb5a1c698a85c3f9541cc5131b966 100644 (file)
        };
 };
 
+&gmac1 {
+       status = "okay";
+       label = "lan4";
+       phy-handle = <&ethphy0>;
+
+       nvmem-cells = <&macaddr_factory_4>;
+       nvmem-cell-names = "mac-address";
+};
+
+&mdio {
+       ethphy0: ethernet-phy@0 {
+               reg = <0>;
+       };
+};
+
 &switch0 {
        ports {
-               port@0 {
-                       status = "okay";
-                       label = "lan4";
-               };
-
                port@1 {
                        status = "okay";
                        label = "lan3";