ar71xx: Use PHY fixups for Open Mesh MR900
authorJohn Crispin <john@openwrt.org>
Wed, 16 Mar 2016 09:27:11 +0000 (09:27 +0000)
committerJohn Crispin <john@openwrt.org>
Wed, 16 Mar 2016 09:27:11 +0000 (09:27 +0000)
commit50a56cc6ed0d9de0e0cd673b732c1e827c65cf96
tree3c81d9478fc1b7a8cdd26d592ad57c3446ee1f8d
parent9bacceb5811f458872a03740b4c4324de1a4e9f3
ar71xx: Use PHY fixups for Open Mesh MR900

The delays of PHY/MAC on the MR900 are done by u-boot and OpenWrt in
different ways. u-boot only modifies the ETH_CFG of the QCA955x based on
the link speed. But OpenWrt can only modify the PHY delays based on the
link speed.

This can lead to communication problems when u-boot initializes the ETH_CFG
for a specific link speed (e.g. 10BASE-T) but then OpenWrt the sets the PHY
delays to an incompatible value.

Instead reset the ETH_CFG delay bits of the QCA955x to a specific value and
only rely on the AT803x PHY settings.

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