ar71xx: Allow to set the RXDV, RXD, TXD, TXE delays for QCA955x
authorJohn Crispin <[email protected]>
Wed, 16 Mar 2016 09:27:08 +0000 (09:27 +0000)
committerJohn Crispin <[email protected]>
Wed, 16 Mar 2016 09:27:08 +0000 (09:27 +0000)
commit22c5f96c6bb37b3368ca0f0c828cbe760f5c7f58
treefc06efb752654b730a9a6750baec0fecaa2f919a
parentbe68f34708db920a46d0dd6013b8bdae51685238
ar71xx: Allow to set the RXDV, RXD, TXD, TXE delays for QCA955x

Some u-boot versions for QCA955x change the delays based on the link speed
during boot. This usually breaks the support of other linkspeeds when
OpenWrt is booted. It also conflicts with the
at803x_platform_data::fixup_rgmii_tx_delay. OpenWrt has to set its own
values in QCA955X_GMAC_REG_ETH_CFG.

The default RGMII values from the Atheros u-boot are currently used to
preset the existing mach files. These may have to be adjusted for boards
using different values but which are not currently set them explicitely in
OpenWrt.

Signed-off-by: Sven Eckelmann <[email protected]>
Cc: Gabor Juhos <[email protected]>
Cc: Imre Kaloz <[email protected]>
Cc: Christian Beier <[email protected]>
Cc: Chris R Blake <[email protected]>
Cc: Benjamin Berg <[email protected]>
Cc: Heiner Kallweit <[email protected]>
Cc: Cezary Jackiewicz <[email protected]>
Cc: Matthias Schiffer <[email protected]>
Cc: Dirk Neukirchen <[email protected]>
Cc: Christian Mehlis <[email protected]>
Cc: Luka Perkov <[email protected]>
Cc: Felix Fietkau <[email protected]>
SVN-Revision: 49029
19 files changed:
target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
target/linux/ar71xx/files/arch/mips/ath79/dev-eth.h
target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7.c
target/linux/ar71xx/files/arch/mips/ath79/mach-epg5000.c
target/linux/ar71xx/files/arch/mips/ath79/mach-esr1750.c
target/linux/ar71xx/files/arch/mips/ath79/mach-esr900.c
target/linux/ar71xx/files/arch/mips/ath79/mach-f9k1115v2.c
target/linux/ar71xx/files/arch/mips/ath79/mach-mr1750.c
target/linux/ar71xx/files/arch/mips/ath79/mach-mr18.c
target/linux/ar71xx/files/arch/mips/ath79/mach-mr900.c
target/linux/ar71xx/files/arch/mips/ath79/mach-nbg6716.c
target/linux/ar71xx/files/arch/mips/ath79/mach-rb922.c
target/linux/ar71xx/files/arch/mips/ath79/mach-tew-823dru.c
target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr1043nd-v2.c
target/linux/ar71xx/files/arch/mips/ath79/mach-wlr8100.c
target/linux/ar71xx/files/arch/mips/ath79/mach-wpj558.c
target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-450hp2.c
target/linux/ar71xx/patches-4.1/609-MIPS-ath79-ap136-fixes.patch
target/linux/ar71xx/patches-4.4/609-MIPS-ath79-ap136-fixes.patch