ath79: enable SGMII workaround for affected boards
authorDavid Bauer <mail@david-bauer.net>
Mon, 27 Apr 2020 10:18:12 +0000 (12:18 +0200)
committerDavid Bauer <mail@david-bauer.net>
Mon, 27 Apr 2020 10:22:02 +0000 (12:22 +0200)
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>
target/linux/ath79/dts/qca9556_avm_fritz-repeater.dtsi
target/linux/ath79/dts/qca9558_devolo_dvl1xxx.dtsi
target/linux/ath79/dts/qca9558_ocedo_ursus.dts

index 34b47b15f7d1a0afb17f5ab019293ca281f4a4d0..13e0b3371a693ddbec22285df5952dd19ceb6bd9 100644 (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;
        };
 };
index 25e0fee3bdfe1c17218dddb033cd6159a5be2813..fc15dd44163891be2b0f9d86a90646c5aea6662d 100644 (file)
 &mdio1 {
        phy1: ethernet-phy@1 {
                reg = <1>;
+               at803x-override-sgmii-link-check;
        };
 };
 
 
        phy-handle = <&phy1>;
        pll-data = <0x03000101 0x00000101 0x00001313>;
+
+       qca955x-sgmii-fixup;
 };
 
 &wmac {
index b790ed11a28a93657d8816d3139c5d329e200062..d629f5b6bafb1b816766126c75cf2371b1fc8a16 100644 (file)
 
        phy2: ethernet-phy@2 {
                reg = <2>;
+               at803x-override-sgmii-link-check;
        };
 };
 
        mtd-mac-address = <&art 0x12>;
        phy-handle = <&phy2>;
        pll-data = <0x3000101 0x101 0x1313>;
+       qca955x-sgmii-fixup;
 };