immortalwrt/target/linux
Koen Vandeputte 2180d912af 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>
2022-01-14 12:28:10 +08:00
..
apm821xx apm821xx: add missing export-dtb 2022-01-07 14:07:28 +08:00
arc770 arc770: drop target 2021-09-14 03:17:29 +08:00
archs38 archs38: update kernel version to 5.10 2021-11-10 23:59:07 +08:00
armvirt armvirt: enable MMIO_CMDLINE_DEVICES for firecracker support 2021-10-14 23:56:43 +08:00
at91 kernel: Set some options in generic configuration 2021-11-12 00:06:18 +08:00
ath25 ath25: disable build for ubnt2/5 2022-01-07 19:40:34 +08:00
ath79 ath79: rb912: fix pll init issues 2022-01-14 12:28:10 +08:00
bcm27xx kernel: refresh kernel 5.4 patches 2021-12-28 14:26:58 +08:00
bcm47xx bcm47xx: fix bgmac regression present in 5.10 kernel 2021-11-14 23:56:20 +08:00
bcm53xx kernel: bump 5.10 to 5.10.82 2021-12-20 11:16:13 +08:00
bcm63xx kernel: bump 5.4 to 5.4.162 2021-12-20 11:16:52 +08:00
bcm4908 bcm4908: add uboot-envtools to default packages 2021-12-21 23:55:17 +08:00
bmips kernel: Deactivate B53 symbols in generic configuration 2021-12-03 00:03:50 +08:00
gemini gemini: splash banner on framebuffer console 2021-10-11 23:55:36 +08:00
generic kernel: refresh kernel 5.4 patches 2021-12-28 14:26:58 +08:00
imx imx: update subtargets default kernel configs for 5.10 2021-12-22 11:32:14 +08:00
ipq40xx kernel: refresh kernel 5.4 patches 2021-12-28 14:26:58 +08:00
ipq806x kernel: refresh kernel 5.4 patches 2021-12-28 14:26:58 +08:00
ipq807x kernel: Set CONFIG_RCU_CPU_STALL_TIMEOUT=21 2021-09-10 12:26:08 +08:00
kirkwood kirkwood: refresh kernel config 2021-10-06 23:56:13 +08:00
lantiq lantiq: disable build for tplink tdw8970/tdw8980 2022-01-06 12:54:03 +08:00
layerscape kernel: refresh kernel 5.4 patches 2021-12-28 14:26:58 +08:00
malta kernel: move two symbols to the generic kconfigs 2021-08-30 12:13:54 +08:00
mediatek mediatek: mt7623: Re-enable ARM arch timer 2022-01-14 12:23:48 +08:00
mpc85xx kernel: bump 5.10 to 5.10.80 2021-12-08 23:59:43 +08:00
mvebu kernel: refresh kernel 5.4 patches 2021-12-28 14:26:58 +08:00
mxs kernel: Set some options in generic configuration 2021-11-12 00:06:18 +08:00
octeon kernel: move two symbols to the generic kconfigs 2021-08-30 12:13:54 +08:00
octeontx kernel: bump 5.4 to 5.4.161 2021-12-20 11:16:27 +08:00
omap uboot-omap: Remove omap3_overo configuration 2021-12-01 23:48:09 +08:00
oxnas kernel: refresh kernel 5.4 patches 2021-12-28 14:26:58 +08:00
pistachio kernel: bump 5.4 to 5.4.156 2021-12-08 23:56:51 +08:00
qoriq qoriq: add support for WatchGuard Firebox M300 2021-12-24 11:28:40 +08:00
ramips ramips: add support for Linksys EA6350 v4 2022-01-13 12:38:02 +08:00
realtek kernel: bump 5.4 to 5.4.162 2021-12-20 11:16:52 +08:00
rockchip kernel: refresh kernel 5.4 patches 2021-12-28 14:26:58 +08:00
sunxi sunxi: Use rtl8723bu-firmware instead of rtl8723bs-firmware 2022-01-04 23:50:21 +08:00
tegra kernel: Set CONFIG_RCU_CPU_STALL_TIMEOUT=21 2021-09-10 12:26:08 +08:00
uml uml: add Kernel 5.10 support via testing 2021-11-05 00:03:04 +08:00
x86 treewide: add missing kernel config for 5.10 2021-12-18 00:25:49 +08:00
zynq kernel: Set some options in generic configuration 2021-11-12 00:06:18 +08:00
Makefile