ath79: fix MAC address setup for TP-Link TL-WDR3600/TL-WDR4300
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar7240.dtsi
index 13112e44a5e80f9707e714c91f265a962d3e3737..268c8780f4a339170a9336908957b8d9b3f6c1a3 100644 (file)
        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";