ar71xx: rb91x: fix ethernet packet loss issues
authorGabor Juhos <juhosg@openwrt.org>
Sun, 13 Apr 2014 20:41:52 +0000 (20:41 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 13 Apr 2014 20:41:52 +0000 (20:41 +0000)
commitf5c08bb572cef2541da9b7e7377608221c021c89
treeab8f4c56f97d5998d9929854605b564a28960faa
parentbda46948beff6c3b9c0d1642b5cce0a2ef2f1502
ar71xx: rb91x: fix ethernet packet loss issues

The RB91x boards are suffering from ethernet packet loss after a cold
boot. 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 delay in the ETH_CFG register
to fix the issue.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40509 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ar71xx/files/arch/mips/ath79/mach-rb91x.c