[openwrt/openwrt] ath79: apply Engenius EAP600 style to OpenMesh MR600 RGMII cfg

LEDE Commits lede-commits at lists.infradead.org
Tue Jan 19 09:40:13 EST 2021


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/7b772e07ea0cf637994a2c5631c1f28756c6b5a3

commit 7b772e07ea0cf637994a2c5631c1f28756c6b5a3
Author: Sven Eckelmann <sven at narfation.org>
AuthorDate: Wed Dec 30 21:56:55 2020 +0100

    ath79: apply Engenius EAP600 style to OpenMesh MR600 RGMII cfg
    
    The OpenMesh MR600 is a modified version of the EAP600 family. These
    devices are shipped with an AR803x PHY and had various problems with the
    delay configuration in ar71xx. These problems are now in the past [1] and
    parts of the delay configuration should now be done in the PHY only.
    
    Just switch to the configuration of the EAP600 to have an already well
    tested configuration for ath79 with the newer kernel versions.
    
    [1] https://github.com/openwrt/openwrt/pull/3505#issuecomment-716050292
    
    Reported-by: Michael Pratt <mcpratt at pm.me>
    Signed-off-by: Sven Eckelmann <sven at narfation.org>
---
 target/linux/ath79/dts/ar9344_openmesh_mr600.dtsi | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/target/linux/ath79/dts/ar9344_openmesh_mr600.dtsi b/target/linux/ath79/dts/ar9344_openmesh_mr600.dtsi
index 987a32e344..8517576787 100644
--- a/target/linux/ath79/dts/ar9344_openmesh_mr600.dtsi
+++ b/target/linux/ath79/dts/ar9344_openmesh_mr600.dtsi
@@ -99,16 +99,18 @@
 &eth0 {
 	status = "okay";
 
-	pll-data = <0x06000000 0x00000101 0x00001313>;
+	pll-data = <0x02000000 0x00000101 0x00001313>;
 
 	mtd-mac-address = <&art 0x0>;
 
-	phy-mode = "rgmii";
+	phy-mode = "rgmii-id";
 	phy-handle = <&phy0>;
 
 	gmac-config {
 		device = <&gmac>;
 		rgmii-gmac0 = <1>;
+		rxdv-delay = <3>;
+		rxd-delay = <3>;
 	};
 };
 



More information about the lede-commits mailing list