generic: ar8216: fix unknown packet flooding for ar8229/ar8236
[oweals/openwrt.git] / target / linux / ath79 / dts / ar7242.dtsi
index 7828c9fadc486553931764e0fae4e8b8da929727..be28ae783859981080281fc1e2ba14af08ee22cf 100644 (file)
@@ -45,7 +45,7 @@
 };
 
 &eth0 {
-       compatible = "qca,ar7242-eth", "syscon", "simple-mfd";
+       compatible = "qca,ar7242-eth", "syscon";
 
        pll-data = <0x16000000 0x00000101 0x00001616>;
        pll-reg = <0x4 0x2c 17>;
        builtin-switch;
 
        builtin_switch: switch0@1f {
-               compatible = "qca,ar8216-builtin";
+               compatible = "qca,ar7240sw";
                #address-cells = <1>;
                #size-cells = <0>;
                reg = <0x1f>;
+               resets = <&rst 8>;
+               reset-names = "switch";
+               qca,mib-poll-interval = <500>;
        };
 };
 
 &eth1 {
-       compatible = "qca,ar7242-eth", "syscon", "simple-mfd";
+       compatible = "qca,ar7242-eth", "syscon";
 
        resets = <&rst 13>;
        reset-names = "mac";