[openwrt/openwrt] ipq40xx: fix FRITZRepeater 1200 RGMII delay

LEDE Commits lede-commits at lists.infradead.org
Sat Jul 17 11:07:30 PDT 2021


blocktrron pushed a commit to openwrt/openwrt.git, branch openwrt-21.02:
https://git.openwrt.org/df4feb165591fca2c8c16601f31896189af9f636

commit df4feb165591fca2c8c16601f31896189af9f636
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Sat Jul 17 20:04:29 2021 +0200

    ipq40xx: fix FRITZRepeater 1200 RGMII delay
    
    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 at david-bauer.net>
    (cherry picked from commit f9d18281051c894eacd40f10c10b430c6c9082ad)
---
 .../ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-1200.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-1200.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-1200.dts
index fd6c5d9aa0..2d20d5928a 100644
--- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-1200.dts
+++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-1200.dts
@@ -68,7 +68,7 @@
 
 		edma at c080000 {
 			status = "okay";
-			phy-mode = "rgmii-rxid";
+			phy-mode = "rgmii-id";
 			qcom,num_gmac = <1>;
 			qcom,single-phy;
 		};



More information about the lede-commits mailing list