ar71xx: fix ethernet packet loss issues on OM5P-AN
authorJohn Crispin <john@openwrt.org>
Tue, 14 Apr 2015 19:00:51 +0000 (19:00 +0000)
committerJohn Crispin <john@openwrt.org>
Tue, 14 Apr 2015 19:00:51 +0000 (19:00 +0000)
commitefbdc168ff03335f811a5660b832f33d8fda2743
tree62b9d809fd3d1a6c3ce2330544cf850659394d7c
parentcc9a392e4975dc25a0fab1c6f008ff03b025c426
ar71xx: fix ethernet packet loss issues on OM5P-AN

The OM5P-AN boards are suffering from ethernet packet loss when booting with
some active POE setups or when switching to Fast Ethernet when previously
booted with Gigabit ethernet attached.

The cause of the problem is that the AR8035 PHYs requires special register
settings to work reliably on these boards. Enable the RGMII TX, RX delays and
disable SmartEE functionality of the AR8035 PHYs. Also enable the RXD and RDV
delay in the ETH_CFG register to fix the issue.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 45438
target/linux/ar71xx/files/arch/mips/ath79/mach-om5p.c