From 443fc9ac3530b5358b3ed65fa1abd99fdf2b0aca Mon Sep 17 00:00:00 2001 From: Chuanhong Guo Date: Fri, 11 Jan 2019 13:58:28 +0800 Subject: ath79: use ar8216 for builtin switch Signed-off-by: Chuanhong Guo --- target/linux/ath79/dts/ar7240.dtsi | 3 ++- target/linux/ath79/dts/ar7241.dtsi | 3 ++- target/linux/ath79/dts/ar7242.dtsi | 3 ++- target/linux/ath79/dts/ar9330.dtsi | 3 ++- target/linux/ath79/dts/ar934x.dtsi | 5 +++-- target/linux/ath79/dts/qca953x.dtsi | 5 +++-- target/linux/ath79/dts/qca956x.dtsi | 5 +++-- 7 files changed, 17 insertions(+), 10 deletions(-) (limited to 'target/linux/ath79/dts') diff --git a/target/linux/ath79/dts/ar7240.dtsi b/target/linux/ath79/dts/ar7240.dtsi index d32960a498..268c8780f4 100644 --- a/target/linux/ath79/dts/ar7240.dtsi +++ b/target/linux/ath79/dts/ar7240.dtsi @@ -39,11 +39,12 @@ 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>; diff --git a/target/linux/ath79/dts/ar7241.dtsi b/target/linux/ath79/dts/ar7241.dtsi index 2e7c26b8e7..155826610f 100644 --- a/target/linux/ath79/dts/ar7241.dtsi +++ b/target/linux/ath79/dts/ar7241.dtsi @@ -58,11 +58,12 @@ 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>; diff --git a/target/linux/ath79/dts/ar7242.dtsi b/target/linux/ath79/dts/ar7242.dtsi index dd5417e570..44eb0edfdc 100644 --- a/target/linux/ath79/dts/ar7242.dtsi +++ b/target/linux/ath79/dts/ar7242.dtsi @@ -61,12 +61,13 @@ 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>; }; }; diff --git a/target/linux/ath79/dts/ar9330.dtsi b/target/linux/ath79/dts/ar9330.dtsi index 01116ff45a..49c6f69859 100644 --- a/target/linux/ath79/dts/ar9330.dtsi +++ b/target/linux/ath79/dts/ar9330.dtsi @@ -173,10 +173,11 @@ 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>; diff --git a/target/linux/ath79/dts/ar934x.dtsi b/target/linux/ath79/dts/ar934x.dtsi index b8c3e5af53..691cbe13e9 100644 --- a/target/linux/ath79/dts/ar934x.dtsi +++ b/target/linux/ath79/dts/ar934x.dtsi @@ -213,13 +213,14 @@ 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>; diff --git a/target/linux/ath79/dts/qca953x.dtsi b/target/linux/ath79/dts/qca953x.dtsi index 669e3fb851..44f05a5f47 100644 --- a/target/linux/ath79/dts/qca953x.dtsi +++ b/target/linux/ath79/dts/qca953x.dtsi @@ -245,13 +245,14 @@ 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>; diff --git a/target/linux/ath79/dts/qca956x.dtsi b/target/linux/ath79/dts/qca956x.dtsi index b6f7dcaff3..a9437fce0e 100644 --- a/target/linux/ath79/dts/qca956x.dtsi +++ b/target/linux/ath79/dts/qca956x.dtsi @@ -274,12 +274,13 @@ 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>; -- cgit v1.2.3