aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2018-08-06 16:15:05 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2018-09-03 23:13:12 +0200
commit6a4f059ec83132af8c13d39921539b22f5ff8205 (patch)
treed9e0881e438a8a1801b8c339f3ec50b8d653e273 /target/linux/ar71xx/files/arch/mips
parent3444638a05abf7456bb86823c33d651183bd137e (diff)
downloadupstream-6a4f059ec83132af8c13d39921539b22f5ff8205.tar.gz
upstream-6a4f059ec83132af8c13d39921539b22f5ff8205.tar.bz2
upstream-6a4f059ec83132af8c13d39921539b22f5ff8205.zip
ar71xx: allow to override at803x sgmii aneg status
When checking the outcome of the PHY autonegotiation status, at803x currently returns false in case the SGMII side is not established. Due to a hardware-bug, ag71xx needs to fixup the SoCs SGMII side, which it can't as it is not aware of the link-establishment. This commit allows to ignore the SGMII side autonegotiation status to allow ag71xx to do the fixup work. Signed-off-by: David Bauer <mail@david-bauer.net> (cherry picked from commit 4e39e213af7e3e0cd747403e8c227e145cfef988)
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-fritz450e.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-fritz450e.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-fritz450e.c
index e48ddd65e7..4e99834d27 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-fritz450e.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-fritz450e.c
@@ -122,6 +122,7 @@ static struct gpio_keys_button fritz450E_gpio_keys[] __initdata = {
static struct at803x_platform_data fritz450E_at803x_data = {
.disable_smarteee = 1,
.has_reset_gpio = 1,
+ .override_sgmii_aneg = 1,
.reset_gpio = FRITZ450E_GPIO_PHY_RESET,
};