aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2019-07-30 19:16:21 +0200
committerDavid Bauer <mail@david-bauer.net>2019-08-01 21:29:43 +0200
commit862352cdbdce199ae9bdfb8b77c2d1101c79fe52 (patch)
tree0fc67ac98a2f05aeb0b68d1300555c4f46881066 /target/linux/ar71xx/files
parenta654ac0d6e5abbfe8da7b264d43b89b7ef1f2ffe (diff)
downloadupstream-862352cdbdce199ae9bdfb8b77c2d1101c79fe52.tar.gz
upstream-862352cdbdce199ae9bdfb8b77c2d1101c79fe52.tar.bz2
upstream-862352cdbdce199ae9bdfb8b77c2d1101c79fe52.zip
ar71xx: fix HiveAP 121 PLL for 1000M
The Aerohive HiveAP 121 has the wrong PLL value set for Gigabit speeds, leading to packet-loss. 10M and 100M work fine. This commit sets the Gigabit Ethernet PLL value to the correct value, fixing packet loss. Confirmed with iperf and floodping. Signed-off-by: David Bauer <mail@david-bauer.net> (cherry picked from commit cb49e46a8a4526d86270ced3ba3aa90225ca82d7)
Diffstat (limited to 'target/linux/ar71xx/files')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-hiveap-121.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-hiveap-121.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-hiveap-121.c
index 363d73dd53..5cbb2054f7 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-hiveap-121.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-hiveap-121.c
@@ -111,7 +111,7 @@ static void __init hiveap_121_setup(void)
ath79_eth0_data.mii_bus_dev = &ath79_mdio0_device.dev;
ath79_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII;
ath79_eth0_data.phy_mask = BIT(HIVEAP_121_LAN_PHYADDR);
- ath79_eth0_pll_data.pll_1000 = 0x0e000000;
+ ath79_eth0_pll_data.pll_1000 = 0x06000000;
ath79_eth0_pll_data.pll_100 = 0x00000101;
ath79_eth0_pll_data.pll_10 = 0x00001313;
ath79_register_eth(0);