openwrt/target/linux
Koen Vandeputte 1db847488d ath79: rb912: fix pll init issues
It was reported that some rb912 boards (ar934x) have issues with some ethernet speeds.
Investigation shows that the board failed to adapt the ethernet pll values as shown here:

[    5.284359] ag71xx 19000000.eth: failed to read pll-handle property

added custom prints in code and triggering a link switch:

[   62.821446] Atheros AG71xx: fast reset
[   62.826442] Atheros AG71xx: update pll 2
[   62.830494] Atheros AG71xx: no pll regmap!

Comparison with another very similar board (rb922 - QCA955x) showed a missing
reference clock frequency in dts, which seems to cause a pll init issue.
Unfortunately, no errors are printed when this occurs.

Adding the frequency property fixes the pll init as it can be parsed now
by the ethernet driver.

[   55.861407] Atheros AG71xx: fast reset
[   55.866403] Atheros AG71xx: update pll 2
[   55.870462] Atheros AG71xx: ath79_set_pllval: regmap: 0x81548000, pll_reg: 0x2c, pll_val: 0x02000000

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
(cherry picked from commit 2a00054618)
2022-01-13 10:04:06 +01:00
..
apm821xx kernel: bump 5.4 to 5.4.168 2021-12-28 19:09:17 +01:00
arc770 arc770: set device vendor and model variables 2021-05-26 23:36:40 +02:00
archs38 kernel: Add missing kernel config options 2021-09-13 18:49:15 +02:00
armvirt kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
at91 treewide: make AddDepends/usb-serial selective 2021-06-08 22:50:32 +02:00
ath25 kernel: bump 5.4 to 5.4.132 2021-07-19 22:47:17 +02:00
ath79 ath79: rb912: fix pll init issues 2022-01-13 10:04:06 +01:00
bcm27xx kernel: bump 5.4 to 5.4.168 2021-12-28 19:09:17 +01:00
bcm47xx bcm47xx: make WGT634U NVRAM patch apply again 2021-03-17 23:38:46 +01:00
bcm53xx bcm53xx: sysupgrade: fix support for Luxul's legacy firmware format 2021-12-13 18:21:25 +01:00
bcm63xx kernel: bump 5.4 to 5.4.163 2021-12-12 20:08:17 +01:00
bcm4908 bcm4908: include ATF in bootfs images 2022-01-03 14:28:13 +01:00
gemini kernel: bump 5.4 to 5.4.150 2021-10-02 16:05:34 +02:00
generic kernel: backport workaround for Realtek RTL8672 and RTL9601C chips 2022-01-08 21:31:15 +01:00
imx6 kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
ipq40xx ipq40xx: specify FritzBox 7530 LAN port label numbers 2022-01-03 14:00:34 +01:00
ipq806x kernel: bump 5.4 to 5.4.163 2021-12-12 20:08:17 +01:00
kirkwood kirkwood: increase kernel partition of Linksyses 2021-09-13 15:24:35 +02:00
lantiq kernel: bump 5.4 to 5.4.163 2021-12-12 20:08:17 +01:00
layerscape kernel: bump 5.4 to 5.4.168 2021-12-28 19:09:17 +01:00
malta target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
mediatek kernel: bump 5.4 to 5.4.163 2021-12-12 20:08:17 +01:00
mpc85xx mpc85xx: add missing Kconfig symbols 2021-07-13 22:19:23 +02:00
mvebu mvebu: remove patch that was applied into linux stable 2022-01-08 21:31:15 +01:00
mxs target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
octeon kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
octeontx kernel: bump 5.4 to 5.4.163 2021-12-12 20:08:17 +01:00
omap kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
oxnas kernel: bump 5.4 to 5.4.168 2021-12-28 19:09:17 +01:00
pistachio kernel: add pending mtd patches adding NVMEM support 2021-03-17 21:24:22 +01:00
ramips kernel: bump 5.4 to 5.4.163 2021-12-12 20:08:17 +01:00
realtek kernel: bump 5.4 to 5.4.163 2021-12-12 20:08:17 +01:00
rockchip rockchip: fix broken squashfs sysupgrade 2021-09-24 12:29:22 +02:00
sunxi linux-firmware: update to version 20210315 and trim down broadcom FW 2021-12-29 23:45:37 +01:00
tegra kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
uml target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
x86 kernel: bump 5.4 to 5.4.150 2021-10-02 16:05:34 +02:00
zynq kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00