ipq40xx: fix FRITZRepeater 1200 RGMII delay
authorDavid Bauer <mail@david-bauer.net>
Sat, 17 Jul 2021 18:04:29 +0000 (20:04 +0200)
committerDavid Bauer <mail@david-bauer.net>
Sat, 17 Jul 2021 18:07:55 +0000 (20:07 +0200)
When the AVM FRITZ!Repeater 1200 was introduced on Kernel 4.19, the
at803x PHY driver incorrectly set up the delays, not disabling delays
set by the bootloader.

The PHY was always operating with RX as well as TX delays enabled, but
with kernel 5.4 and later, the required TX delay is disabled, breaking
ethernet operation.

Correct the PHY mode, so the driver enables both delays.

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit f9d18281051c894eacd40f10c10b430c6c9082ad)

target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-1200.dts

index fd6c5d9aa06f5df33501767681cc9bbdd651f755..2d20d5928aeacb16c3c4d1df8de275ee09d8090f 100644 (file)
@@ -68,7 +68,7 @@
 
                edma@c080000 {
                        status = "okay";
-                       phy-mode = "rgmii-rxid";
+                       phy-mode = "rgmii-id";
                        qcom,num_gmac = <1>;
                        qcom,single-phy;
                };