[openwrt/openwrt] ath79: fix RGMII delay for ar9344 Senao APs

LEDE Commits lede-commits at lists.infradead.org
Sun Sep 11 12:55:43 PDT 2022


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/c10750688366d14146cf6d2f0b73fd9480b29537

commit c10750688366d14146cf6d2f0b73fd9480b29537
Author: Michael Pratt <mcpratt at pm.me>
AuthorDate: Sat Jun 12 15:37:38 2021 -0400

    ath79: fix RGMII delay for ar9344 Senao APs
    
    after some trial and error, it was discovered
    that by setting TX only delay on the AR8035 PHY
    that setting GMAC registers is no longer necessary.
    
    Signed-off-by: Michael Pratt <mcpratt at pm.me>
---
 target/linux/ath79/dts/ar9344_senao_ap-dual.dtsi | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/target/linux/ath79/dts/ar9344_senao_ap-dual.dtsi b/target/linux/ath79/dts/ar9344_senao_ap-dual.dtsi
index 09dc5806d7..c963138f6a 100644
--- a/target/linux/ath79/dts/ar9344_senao_ap-dual.dtsi
+++ b/target/linux/ath79/dts/ar9344_senao_ap-dual.dtsi
@@ -51,16 +51,9 @@
 	status = "okay";
 
 	phy-handle = <&phy0>;
-	phy-mode = "rgmii-id";
+	phy-mode = "rgmii-txid";
 
 	pll-data = <0x02000000 0x00000101 0x00001313>;
-
-	gmac-config {
-		device = <&gmac>;
-		rgmii-gmac0 = <1>;
-		rxdv-delay = <3>;
-		rxd-delay = <3>;
-	};
 };
 
 &pcie {




More information about the lede-commits mailing list