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)
commitb44b2602d56ca76bde328897548d9c937a2fea69
treec46a1408d8e720a312e7efeece8de93be1432195
parentd2f5474e6e8e0a0f4f55665684dde2f6cf807d11
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