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)
commitd4edbdd4fc431a353619ed78a58c98c9354a8c39
treeab8f4c56f97d5998d9929854605b564a28960faa
parent26b56db59289a5030296b1a7d406835a1ae94027
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>
SVN-Revision: 40509
target/linux/ar71xx/files/arch/mips/ath79/mach-rb91x.c