openwrt-pf/target/linux
Sky Huang 058bd6c9d3 mediatek: filogic: mt7986: fix SPI driving for NAND and increase to 52MHz on ZyXEL EX5601
8mA driving will cause overshoot issue on SPI NAND. Change it to 4mA.
- Reference:
003744197a

On Linux mainline (mt7986.dtsi), spi's source clock is: clocks = <&topckgen CLK_TOP_MPLL_D2>, which is
208MHz. Usable clock division will be:
- 208/4=52MHz
- 208/6~=35MHz
- 208/8=26MHz
and so on

If we specify 50MHz for spi-max-frequency, it will actually run under about 35MHz. Most SPI NAND & NOR
flashes are capable of running with more than 52MHz, include Micorn MT29F4G01ABAFDWB on ZyXEL EX5601.
[Ref: #18752] To reach highest performance on mt7986, use spi-max-frequency = <520000000>. Basically,
this setting should work on all mt7986 PCBs since most mt7986 boards follow reference design. However,
other boards needs further test to guarantee stability.

Signed-off-by: Sky Huang <SkyLake.Huang@mediatek.com>
Tested-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Link: https://github.com/openwrt/openwrt/pull/18813
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-07-13 17:04:06 +02:00
..
airoha kernel: bump 6.6 to 6.6.96 2025-07-12 16:47:58 +02:00
apm821xx kernel: backport GCC15 fix for powerpc 2025-07-07 17:20:53 +02:00
armsr generic: 6.12: add new config symbols 2025-07-13 15:27:54 +02:00
at91
ath79 ath79: add support for Dell SonicPoint ACi APL27-0B1 2025-07-13 01:03:36 +02:00
bcm27xx kernel: bump 6.12 to 6.12.37 2025-07-12 16:47:58 +02:00
bcm47xx
bcm53xx kernel: bump 6.6 to 6.6.97 2025-07-12 16:47:58 +02:00
bcm4908
bmips bmips: update BCM531x5 RGMII delays patch 2025-06-18 11:12:00 +02:00
d1
gemini kernel: bump 6.12 to 6.12.35 2025-06-28 22:47:48 +02:00
generic generic: 6.12: add new config symbols 2025-07-13 15:27:54 +02:00
imx generic: 6.12: add new config symbols 2025-07-13 15:27:54 +02:00
ipq40xx
ipq806x ipq806x: add support for IgniteNet SunSpot AC Wave2 2025-06-25 02:07:02 +01:00
ixp4xx
kirkwood
lantiq
layerscape
loongarch64 loongarch64: add 6.12 as testing kernel 2025-07-12 23:17:00 +02:00
malta
mediatek mediatek: filogic: mt7986: fix SPI driving for NAND and increase to 52MHz on ZyXEL EX5601 2025-07-13 17:04:06 +02:00
mpc85xx kernel: backport GCC15 fix for powerpc 2025-07-07 17:20:53 +02:00
mvebu generic: 6.12: add new config symbols 2025-07-13 15:27:54 +02:00
mxs
octeon octeon: ubnt-*: Add device specific DTS pruning 2025-07-09 10:39:29 +02:00
omap
pistachio
qoriq
qualcommax qualcommax: remove useless cpu erratum 2025-07-13 15:27:54 +02:00
qualcommbe qualcommbe: remove useless cpu erratum 2025-07-13 15:27:54 +02:00
ramips ramips: add support for Wavlink WL-WN570HA2 2025-07-12 22:51:39 +02:00
realtek realtek: rtl931x: fix setting number of leds per port 2025-07-13 16:47:42 +02:00
rockchip generic: 6.12: add new config symbols 2025-07-13 15:27:54 +02:00
sifiveu
siflower kernel: bump 6.6 to 6.6.94 2025-06-21 13:54:17 +02:00
starfive kernel: bump 6.12 to 6.12.36 2025-07-12 16:47:58 +02:00
stm32 generic: 6.12: add new config symbols 2025-07-13 15:27:54 +02:00
sunxi generic: 6.12: add new config symbols 2025-07-13 15:27:54 +02:00
tegra tegra: add 6.12 as testing kernel 2025-07-13 00:49:37 +02:00
uml
x86 kernel: bump 6.12 to 6.12.37 2025-07-12 16:47:58 +02:00
zynq
Makefile