aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuanhong Guo <gch981213@gmail.com>2019-01-11 13:58:28 +0800
committerPetr Štetiar <ynezz@true.cz>2019-03-24 01:44:27 +0100
commit443fc9ac3530b5358b3ed65fa1abd99fdf2b0aca (patch)
treef05973eb44403b19c0c5428bca961edc9ba330b7
parent47eef3a5ce981c6754836c8c996b4cc724617604 (diff)
downloadupstream-443fc9ac3530b5358b3ed65fa1abd99fdf2b0aca.tar.gz
upstream-443fc9ac3530b5358b3ed65fa1abd99fdf2b0aca.tar.bz2
upstream-443fc9ac3530b5358b3ed65fa1abd99fdf2b0aca.zip
ath79: use ar8216 for builtin switch
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
-rw-r--r--target/linux/ath79/dts/ar7240.dtsi3
-rw-r--r--target/linux/ath79/dts/ar7241.dtsi3
-rw-r--r--target/linux/ath79/dts/ar7242.dtsi3
-rw-r--r--target/linux/ath79/dts/ar9330.dtsi3
-rw-r--r--target/linux/ath79/dts/ar934x.dtsi5
-rw-r--r--target/linux/ath79/dts/qca953x.dtsi5
-rw-r--r--target/linux/ath79/dts/qca956x.dtsi5
7 files changed, 17 insertions, 10 deletions
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>;