[openwrt/openwrt] ath79: ubnt-bullet-m-xw: fix Ethernet PHY traffic

LEDE Commits lede-commits at lists.infradead.org
Tue Jan 30 06:41:28 PST 2024


blocktrron pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/e5af19e955a2a265abf7b7e9470443e8b82890c7

commit e5af19e955a2a265abf7b7e9470443e8b82890c7
Author: Lech Perczak <lech.perczak at gmail.com>
AuthorDate: Mon Jan 22 00:14:16 2024 +0100

    ath79: ubnt-bullet-m-xw: fix Ethernet PHY traffic
    
    Since commit 6f2e1b7485f0 ("ath79: disable delays on AT803X config init")
    Ubiquiti XW boards equipped with AR8035 PHY suffered from lack of
    outbound traffic on the Ethernet port. This was caused by the fact, the
    U-boot has set this during boot and it wasn't reset by the PHY driver,
    and the corresponding setting in device tree was wrong.
    
    Set the 'phy-mode = "rgmii-txid"' at the &eth0, and drop this property
    from PHY node, as it is not parsed there. This causes the device to
    connect using Ethernet once again.
    
    Fixes: db4b6535f837 ("ath79: Add support for Ubiquity Bullet M (XW)")
    Fixes: 6f2e1b7485f0 ("ath79: disable delays on AT803X config init")
    Signed-off-by: Lech Perczak <lech.perczak at gmail.com>
    (cherry picked from commit a9b2ba4d7ba06e1ac4ff7da3eb9b4038b94d9fbb)
---
 target/linux/ath79/dts/ar9342_ubnt_bullet-m-xw.dts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/target/linux/ath79/dts/ar9342_ubnt_bullet-m-xw.dts b/target/linux/ath79/dts/ar9342_ubnt_bullet-m-xw.dts
index a008b51130..80d9e2d394 100644
--- a/target/linux/ath79/dts/ar9342_ubnt_bullet-m-xw.dts
+++ b/target/linux/ath79/dts/ar9342_ubnt_bullet-m-xw.dts
@@ -11,7 +11,6 @@
 	status = "okay";
 
 	phy4: ethernet-phy at 4 {
-		phy-mode = "rgmii";
 		reg = <4>;
 		max-speed = <100>;
 	};
@@ -20,7 +19,7 @@
 &eth0 {
 	status = "okay";
 
-	phy-mode = "rgmii";
+	phy-mode = "rgmii-txid";
 	phy-handle = <&phy4>;
 
 	gmac-config {




More information about the lede-commits mailing list