generic: ar8216: fix unknown packet flooding for ar8229/ar8236
[oweals/openwrt.git] / target / linux / ath79 / dts / ar7240.dtsi
index d32960a49867eba6cdd7227409b1d21d4eeec65d..5382a710f941e832f48b5db7ac172b844159ff80 100644 (file)
        builtin-switch;
 
        builtin_switch: switch0@1f {
-               compatible = "qca,ar8216-builtin";
+               compatible = "qca,ar7240sw";
 
                reg = <0x1f>;
                resets = <&rst 8>;
                reset-names = "switch";
+               qca,mib-poll-interval = <500>;
 
                mdio-bus {
                        #address-cells = <1>;
@@ -64,7 +65,6 @@
 
        resets = <&rst 9>;
        reset-names = "mac";
-       phy-mode = "mii";
        phy-handle = <&swphy4>;
 };