Skip to content

Commit

Permalink
ath79: ubnt-bullet-m-xw: fix Ethernet PHY traffic
Browse files Browse the repository at this point in the history
Since commit 6f2e1b7 ("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: db4b653 ("ath79: Add support for Ubiquity Bullet M (XW)")
Fixes: 6f2e1b7 ("ath79: disable delays on AT803X config init")
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
  • Loading branch information
Leo-PL authored and blocktrron committed Jan 25, 2024
1 parent 9f4708f commit e405b96
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions target/linux/ath79/dts/ar9342_ubnt_bullet-m-xw.dts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
status = "okay";

phy4: ethernet-phy@4 {
phy-mode = "rgmii";
reg = <4>;
max-speed = <100>;
};
Expand All @@ -20,7 +19,7 @@
&eth0 {
status = "okay";

phy-mode = "rgmii";
phy-mode = "rgmii-txid";
phy-handle = <&phy4>;

gmac-config {
Expand Down

0 comments on commit e405b96

Please sign in to comment.