[openwrt/openwrt] ar71xx: mikrotik: rb91x: fix 10M ethernet link speed
LEDE Commits
lede-commits at lists.infradead.org
Tue Oct 12 02:03:34 PDT 2021
xback pushed a commit to openwrt/openwrt.git, branch openwrt-19.07:
https://git.openwrt.org/5e8b9624f1791d193e8d5e007ce4c873454f014a
commit 5e8b9624f1791d193e8d5e007ce4c873454f014a
Author: Koen Vandeputte <koen.vandeputte at ncentric.com>
AuthorDate: Tue Oct 12 11:02:30 2021 +0200
ar71xx: mikrotik: rb91x: fix 10M ethernet link speed
Extensive testing on the board showed that ethernet does
not work when forced to 10Mbps.
Trial-and-error revealed that the correct PLL value
should be altered to 0x00001313 (iso 0x00001616)
The change is done for this specific board only as I do not have
other boards using this specific SoC.
The board now works correctly in 1000, 100 and 10 Mode
Signed-off-by: Koen Vandeputte <koen.vandeputte at ncentric.com>
---
target/linux/ar71xx/files/arch/mips/ath79/mach-rb91x.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb91x.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb91x.c
index 9620718962..f63ab4362a 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb91x.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb91x.c
@@ -318,6 +318,7 @@ static void __init rb711gr100_setup(void)
ath79_init_mac(ath79_eth0_data.mac_addr, ath79_mac_base, 0);
ath79_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII;
ath79_eth0_data.phy_mask = BIT(0);
+ ath79_eth0_pll_data.pll_10 = 0x00001313;
ath79_eth0_pll_data.pll_1000 = 0x02000000;
ath79_register_eth(0);
More information about the lede-commits
mailing list