ath79: fix dsa binding for TP-Link TL-WR941ND v2
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9132_tplink_tl-wr941-v2.dts
index 1be4d6183ac2901d3cec1e7f200a9f0f4012e267..11de522ae2259fd79d0f748163f4cca5d3460423 100644 (file)
                        linux,default-trigger = "phy0tpt";
                };
        };
+};
 
-       dsa {
-               compatible = "marvell,dsa";
-               #address-cells = <1>;
-               #size-cells = <0>;
+&mdio0 {
+       status = "okay";
 
-               dsa,mii-bus = <&mdio0>;
-               dsa,ethernet = <&eth0>;
+       switch@0 {
+               compatible = "marvell,mv88e6060";
+               reg = <0>;
 
-               switch@0 {
+               ports {
                        #address-cells = <1>;
                        #size-cells = <0>;
-                       reg = <0>;
 
                        port@0 {
                                reg = <0>;
                        port@5 {
                                reg = <5>;
                                label = "cpu";
+                               ethernet = <&eth0>;
                        };
                };
        };
        };
 };
 
-&mdio0 {
-       status = "okay";
-};
-
 &eth0 {
        status = "okay";