ath79: use ar8216 for builtin switch
authorChuanhong Guo <gch981213@gmail.com>
Fri, 11 Jan 2019 05:58:28 +0000 (13:58 +0800)
committerPetr Štetiar <ynezz@true.cz>
Sun, 24 Mar 2019 00:44:27 +0000 (01:44 +0100)
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
target/linux/ath79/dts/ar7240.dtsi
target/linux/ath79/dts/ar7241.dtsi
target/linux/ath79/dts/ar7242.dtsi
target/linux/ath79/dts/ar9330.dtsi
target/linux/ath79/dts/ar934x.dtsi
target/linux/ath79/dts/qca953x.dtsi
target/linux/ath79/dts/qca956x.dtsi

index d32960a49867eba6cdd7227409b1d21d4eeec65d..268c8780f4a339170a9336908957b8d9b3f6c1a3 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>;
index 2e7c26b8e7a3343e2316aacaa232ad7d06aeb62a..155826610f9e9acc784f96ea2250029321173ab1 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>;
index dd5417e570268cb6bf1c9b671bf14f2bf1884e9b..44eb0edfdcbd4599e6657447daa6a2bd6e2fc28b 100644 (file)
        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>;
        };
 };
 
index 01116ff45a5fad2ba070e04bbd4611f95ee2bff1..49c6f698597692356fb9bdb75220c39a462be692 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>;
index b8c3e5af53dcd5484b975f4aed90a5f39bd240a6..691cbe13e9f338852fb0b360019465c4d17746a9 100644 (file)
        builtin-switch;
 
        builtin_switch: switch0@1f {
-               compatible = "qca,ar8229-builtin";
+               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>;
index 669e3fb851ff56d999cb0594296cde4af4c02f74..44f05a5f47b8fade82d36f98a3eaae59626019b7 100644 (file)
        builtin-switch;
 
        builtin_switch: switch0@1f {
-               compatible = "qca,ar8229-builtin";
+               compatible = "qca,ar8229";
 
                reg = <0x1f>;
                resets = <&rst 8>;
                reset-names = "switch";
                phy-mode = "gmii";
-               phy4-mii-enable;
+               qca,phy4-mii-enable;
+               qca,mib-poll-interval = <500>;
 
                mdio-bus {
                        #address-cells = <1>;
index b6f7dcaff3546d5445892b9e04031feb85deb5d7..a9437fce0ee8cad6e2228162ec876995b1dd82c3 100644 (file)
        builtin-switch;
 
        builtin_switch: switch0@1f {
-               compatible = "qca,ar8229-builtin";
+               compatible = "qca,ar8229";
                reg = <0x1f>;
                resets = <&rst 8>;
                reset-names = "switch";
                phy-mode = "gmii";
-               phy4-mii-enable;
+               qca,phy4-mii-enable;
+               qca,mib-poll-interval = <500>;
 
                mdio-bus {
                        #address-cells = <1>;