mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
e405b96fe7
Since commit6f2e1b7485
("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:db4b6535f8
("ath79: Add support for Ubiquity Bullet M (XW)") Fixes:6f2e1b7485
("ath79: disable delays on AT803X config init") Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
31 lines
448 B
Plaintext
31 lines
448 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
#include "ar9342_ubnt_xw_rssileds.dtsi"
|
|
|
|
/ {
|
|
compatible = "ubnt,bullet-m-xw", "ubnt,xw", "qca,ar9342";
|
|
model = "Ubiquiti Bullet M (XW)";
|
|
};
|
|
|
|
&mdio0 {
|
|
status = "okay";
|
|
|
|
phy4: ethernet-phy@4 {
|
|
reg = <4>;
|
|
max-speed = <100>;
|
|
};
|
|
};
|
|
|
|
ð0 {
|
|
status = "okay";
|
|
|
|
phy-mode = "rgmii-txid";
|
|
phy-handle = <&phy4>;
|
|
|
|
gmac-config {
|
|
device = <&gmac>;
|
|
rxd-delay = <3>;
|
|
rxdv-delay = <3>;
|
|
};
|
|
};
|