openwrt/target/linux/ath79
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
..
base-files/etc/hotplug.d/ieee80211 ath79: add WiFi migration for AR913x 2020-09-28 16:23:03 +02:00
dts ath79: rb912: fix pll init issues 2022-01-13 10:04:06 +01:00
files ath79: ar934x: fix mounting issues if subpage is not supported 2021-07-09 17:14:01 +02:00
generic ath79: add support for Xiaomi AIoT Router AC2350 2021-12-12 15:41:15 +01:00
image ath79: add support for Xiaomi AIoT Router AC2350 2021-12-12 15:41:15 +01:00
mikrotik ath79: mikrotik: use 64 KiB SPI NOR erase sectors 2021-10-22 16:34:11 -10:00
nand ath79: remove generic profiles 2021-01-27 21:31:20 +01:00
patches-5.4 kernel: bump 5.4 to 5.4.163 2021-12-12 20:08:17 +01:00
tiny ath79: add Senao 'failsafe' sysupgrade procedure 2021-06-11 07:20:31 +02:00
config-5.4 ath79: add missing MTD_NAND_RB91X symbol 2021-07-09 17:14:01 +02:00
Makefile ath79: move the squashfs feature to the parent target 2020-11-23 13:20:53 +01:00
modules.mk ath79: add new OF only target for QCA MIPS silicon 2018-05-07 08:06:51 +02:00