generic: ar8216: fix unknown packet flooding for ar8229/ar8236
[oweals/openwrt.git] / target / linux / ath79 / dts / ar7241.dtsi
index baf34e28a661e6a9d181745e305cbc237f90594d..59fcd05f5ea625afcc1b3b70c857747854f3da74 100644 (file)
@@ -44,9 +44,8 @@
 
        pll-data = <0x00110000 0x00001099 0x00991099>;
 
-       resets = <&rst 8>, <&rst 9>;
-       reset-names = "mac", "phy";
-       phy-mode = "mii";
+       resets = <&rst 9>;
+       reset-names = "mac";
        phy-handle = <&swphy4>;
 };
 
        builtin-switch;
 
        builtin_switch: switch0@1f {
-               compatible = "qca,ar8216-builtin";
-               #address-cells = <1>;
-               #size-cells = <0>;
+               compatible = "qca,ar7240sw";
 
                reg = <0x1f>;
+               resets = <&rst 8>;
+               reset-names = "switch";
+               qca,mib-poll-interval = <500>;
 
                mdio-bus {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
                        swphy4: ethernet-phy@4 {
                                reg = <4>;
                                phy-mode = "mii";
 };
 
 &eth1 {
-       compatible = "qca,ar7241-eth", "syscon", "simple-mfd";
+       compatible = "qca,ar7241-eth", "syscon";
 
        pll-data = <0x00110000 0x00001099 0x00991099>;
 
-       resets = <&rst 12>, <&rst 13>;
-       reset-names = "mac", "phy";
+       resets = <&rst 13>;
+       reset-names = "mac";
 
        phy-mode = "gmii";