ath79: add Embedded Wireless Balin Platform
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar7242.dtsi
index 189e768e9f254cf441bc4a6bdb6ff476fcb9e39b..be28ae783859981080281fc1e2ba14af08ee22cf 100644 (file)
 };
 
 &eth0 {
-       compatible = "qca,ar7242-eth", "syscon", "simple-mfd";
+       compatible = "qca,ar7242-eth", "syscon";
 
        pll-data = <0x16000000 0x00000101 0x00001616>;
        pll-reg = <0x4 0x2c 17>;
        pll-handle = <&pll>;
 
-       resets = <&rst 8>, <&rst 9>;
-       reset-names = "mac", "phy";
+       resets = <&rst 9>;
+       reset-names = "mac";
 };
 
 &mdio1 {
        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 12>, <&rst 13>;
-       reset-names = "mac", "phy";
+       resets = <&rst 13>;
+       reset-names = "mac";
 
        phy-mode = "gmii";