diff options
author | Lech Perczak <lech.perczak@gmail.com> | 2024-01-22 00:14:16 +0100 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2024-01-30 15:44:36 +0100 |
commit | c1a3174c0828ee0634b8d9fd351228882d5714bb (patch) | |
tree | 7893ae69bd385db82dd6a8bc361bd7c52e223230 | |
parent | 294301c0878f52c0edaf1220e555c4c95cc9b6a4 (diff) | |
download | openwrt-c1a3174c0828ee0634b8d9fd351228882d5714bb.tar.gz openwrt-c1a3174c0828ee0634b8d9fd351228882d5714bb.tar.bz2 openwrt-c1a3174c0828ee0634b8d9fd351228882d5714bb.zip |
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 ð0, 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)
-rw-r--r-- | target/linux/ath79/dts/ar9342_ubnt_bullet-m-xw.dts | 3 |
1 files changed, 1 insertions, 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 73cc977985..97d787abba 100644 --- a/target/linux/ath79/dts/ar9342_ubnt_bullet-m-xw.dts +++ b/target/linux/ath79/dts/ar9342_ubnt_bullet-m-xw.dts @@ -12,7 +12,6 @@ phy-mask = <4>; phy4: ethernet-phy@4 { - phy-mode = "rgmii"; reg = <4>; max-speed = <100>; }; @@ -21,7 +20,7 @@ ð0 { status = "okay"; - phy-mode = "rgmii"; + phy-mode = "rgmii-txid"; phy-handle = <&phy4>; gmac-config { |