lantiq: xrx200: switch the subtarget to the mainline DSA driver
[openwrt/staging/mkresin.git] / target / linux / lantiq / files / arch / mips / boot / dts / lantiq / vr9_alphanetworks_asl56026.dts
index 84a2a9342835a86d5ca11a9397e3c7e47068a7d2..77fcff33920eea4c9fc7fe3dedc98b625640c65b 100644 (file)
        };
 };
 
-&eth0 {
-       interface@0 {
-               compatible = "lantiq,xrx200-pdi";
-               #address-cells = <1>;
-               #size-cells = <0>;
-               reg = <0>;
-               lantiq,switch;
-
-               ethernet@2 {
-                       compatible = "lantiq,xrx200-pdi-port";
-                       reg = <2>;
-                       phy-mode = "mii";
-                       phy-handle = <&phy11>;
-               };
-
-               ethernet@3 {
-                       compatible = "lantiq,xrx200-pdi-port";
-                       reg = <3>;
-                       phy-mode = "mii";
-                       phy-handle = <&phy14>;
-               };
-       };
+&gphy0 {
+       lantiq,gphy-mode = <GPHY_MODE_FE>;
+};
 
-       mdio {
-               #address-cells = <1>;
-               #size-cells = <0>;
-               compatible = "lantiq,xrx200-mdio";
+&gphy1 {
+       lantiq,gphy-mode = <GPHY_MODE_FE>;
+};
 
-               phy11: ethernet-phy@11 {
-                       reg = <0x11>;
-                       compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
-               };
+&gswip_mdio {
+       phy11: ethernet-phy@11 {
+               reg = <0x11>;
+       };
 
-               phy14: ethernet-phy@14 {
-                       reg = <0x14>;
-                       compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
-               };
+       phy14: ethernet-phy@14 {
+               reg = <0x14>;
        };
 };
 
-&gphy0 {
-       lantiq,gphy-mode = <GPHY_MODE_FE>;
-};
+&gswip_ports {
+       port@2 {
+               reg = <2>;
+               label = "lan1";
+               phy-mode = "internal";
+               phy-handle = <&phy11>;
+       };
 
-&gphy1 {
-       lantiq,gphy-mode = <GPHY_MODE_FE>;
+       port@3 {
+               reg = <3>;
+               label = "lan2";
+               phy-mode = "internal";
+               phy-handle = <&phy14>;
+       };
 };
 
 &localbus {