ath79: Add missing reset button for TP-Link CPE210 v2 and v3
[openwrt/staging/dedeckeh.git] / target / linux / ath79 / dts / ar934x.dtsi
index a93739ceed87a33019adf715b1ae05c43f316a83..691cbe13e9f338852fb0b360019465c4d17746a9 100644 (file)
 
 &mdio0 {
        compatible = "qca,ar9340-mdio";
-       resets = <&rst 22>;
-       reset-names = "mdio";
 };
 
 &eth0 {
-       compatible = "qca,ar9340-eth", "syscon", "simple-mfd";
+       compatible = "qca,ar9340-eth", "syscon";
 
        pll-data = <0x16000000 0x00000101 0x00001616>;
        pll-reg = <0x4 0x2c 17>;
        pll-handle = <&pll>;
-
-       resets = <&rst 9>;
-       reset-names = "mac";
+       resets = <&rst 9>, <&rst 22>;
+       reset-names = "mac", "mdio";
 };
 
 &mdio1 {
        builtin-switch;
 
        builtin_switch: switch0@1f {
-               compatible = "qca,ar8229-builtin";
-               #address-cells = <1>;
-               #size-cells = <0>;
+               compatible = "qca,ar8229";
 
                reg = <0x1f>;
+               resets = <&rst 8>;
+               reset-names = "switch";
                phy-mode = "gmii";
-               phy4-mii-enable;
+               qca,mib-poll-interval = <500>;
+               qca,phy4-mii-enable;
 
                mdio-bus {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
                        swphy0: ethernet-phy@0 {
                                reg = <0>;
                                phy-mode = "mii";