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>
This commit is contained in:
David Bauer 2020-04-27 12:18:12 +02:00
parent c760469918
commit 654eec5a2d
3 changed files with 8 additions and 0 deletions

View File

@ -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;
};
};

View File

@ -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 {

View File

@ -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;
};