ath79: ubnt-bullet-m-xw: fix Ethernet PHY traffic
authorLech Perczak <lech.perczak@gmail.com>
Sun, 21 Jan 2024 23:14:16 +0000 (00:14 +0100)
committerDavid Bauer <mail@david-bauer.net>
Tue, 30 Jan 2024 14:39:28 +0000 (15:39 +0100)
commite5af19e955a2a265abf7b7e9470443e8b82890c7
treeec3c76ebf41dd7764e1752b41dae180e702c1d0c
parent58c9308400849c8a29cc401991b5d9c64286ac3f
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@gmail.com>
(cherry picked from commit a9b2ba4d7ba06e1ac4ff7da3eb9b4038b94d9fbb)
target/linux/ath79/dts/ar9342_ubnt_bullet-m-xw.dts