ARM: dts: imx6-sr-som: increase at8035 PHY gigabit Tw parameter
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 15 Jan 2021 23:36:44 +0000 (23:36 +0000)
committerShawn Guo <shawnguo@kernel.org>
Fri, 29 Jan 2021 07:04:37 +0000 (15:04 +0800)
Increase the SmartEEE Tw parameter for Atheros PHYs to stop gigabit
links from sporadically dropping. Jon Nettleton found that a value
of 23 was the minimum to give a stable link, but testing with the
Com Express 7 module shows 24 is the minimum - so 23 may still be on
the margins. Use 24 instead for consistency across SolidRun platforms.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-sr-som.dtsi

index 7e4e5fd..0ad8ccd 100644 (file)
                ethernet-phy@0 {
                        reg = <0>;
                        qca,clk-out-frequency = <125000000>;
+                       qca,smarteee-tw-us-1g = <24>;
                };
 
                ethernet-phy@4 {
                        reg = <4>;
                        qca,clk-out-frequency = <125000000>;
+                       qca,smarteee-tw-us-1g = <24>;
                };
        };
 };