aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2020-04-27 12:18:12 +0200
committerDavid Bauer <mail@david-bauer.net>2020-04-27 12:22:02 +0200
commit654eec5a2d5d7c70385020e6a4c6ee12ae24f7ba (patch)
tree564769de6ca88f0f31340b54654c9b678820235c
parentc76046991830ee6d61594acb51884bd2ef8bebc8 (diff)
downloadupstream-654eec5a2d5d7c70385020e6a4c6ee12ae24f7ba.tar.gz
upstream-654eec5a2d5d7c70385020e6a4c6ee12ae24f7ba.tar.bz2
upstream-654eec5a2d5d7c70385020e6a4c6ee12ae24f7ba.zip
ath79: enable SGMII workaround for affected boards
These boards suffer from a sudden inability to establish a link on the SGMII. Enable the workaround to fix the link when it dies. Signed-off-by: David Bauer <mail@david-bauer.net>
-rw-r--r--target/linux/ath79/dts/qca9556_avm_fritz-repeater.dtsi3
-rw-r--r--target/linux/ath79/dts/qca9558_devolo_dvl1xxx.dtsi3
-rw-r--r--target/linux/ath79/dts/qca9558_ocedo_ursus.dts2
3 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/qca9556_avm_fritz-repeater.dtsi b/target/linux/ath79/dts/qca9556_avm_fritz-repeater.dtsi
index 34b47b15f7..13e0b3371a 100644
--- a/target/linux/ath79/dts/qca9556_avm_fritz-repeater.dtsi
+++ b/target/linux/ath79/dts/qca9556_avm_fritz-repeater.dtsi
@@ -78,6 +78,8 @@
phy-handle = <&phy0>;
pll-data = <0x3000000 0x101 0x1313>;
+ qca955x-sgmii-fixup;
+
gmac-config {
device = <&gmac>;
ge0-sgmii = <0>;
@@ -89,5 +91,6 @@
phy0: ethernet-phy@0 {
reg = <0>;
+ at803x-override-sgmii-link-check;
};
};
diff --git a/target/linux/ath79/dts/qca9558_devolo_dvl1xxx.dtsi b/target/linux/ath79/dts/qca9558_devolo_dvl1xxx.dtsi
index 25e0fee3bd..fc15dd4416 100644
--- a/target/linux/ath79/dts/qca9558_devolo_dvl1xxx.dtsi
+++ b/target/linux/ath79/dts/qca9558_devolo_dvl1xxx.dtsi
@@ -132,6 +132,7 @@
&mdio1 {
phy1: ethernet-phy@1 {
reg = <1>;
+ at803x-override-sgmii-link-check;
};
};
@@ -141,6 +142,8 @@
phy-handle = <&phy1>;
pll-data = <0x03000101 0x00000101 0x00001313>;
+
+ qca955x-sgmii-fixup;
};
&wmac {
diff --git a/target/linux/ath79/dts/qca9558_ocedo_ursus.dts b/target/linux/ath79/dts/qca9558_ocedo_ursus.dts
index b790ed11a2..d629f5b6ba 100644
--- a/target/linux/ath79/dts/qca9558_ocedo_ursus.dts
+++ b/target/linux/ath79/dts/qca9558_ocedo_ursus.dts
@@ -117,6 +117,7 @@
phy2: ethernet-phy@2 {
reg = <2>;
+ at803x-override-sgmii-link-check;
};
};
@@ -144,4 +145,5 @@
mtd-mac-address = <&art 0x12>;
phy-handle = <&phy2>;
pll-data = <0x3000101 0x101 0x1313>;
+ qca955x-sgmii-fixup;
};