openwrt/target/linux/ath79
Aleksander Jan Bajkowski 0cc30cbdc7 ath79: increase spi frequency on TL-WDR3500/3600/4300/4310
SPI Flash chip supports up to 33 MHz wihout fast read opcode.
Available frequencies are 112.5, 56.25, 37.5, 28.125, 22.5 etc.
This patch increases the nominal maximum frequency to 33 MHz,
reaching an effective increase from 22.5 to 28.125 MHz.

Formula to calculate SPI frequency:
Freq = 225 MHz / 2 / div

Before:

$ time dd if=/dev/mtd1 of=/dev/null bs=8M
0+1 records in
0+1 records out
real	0m 3.58s
user	0m 0.00s
sys	0m 3.57s

After:

$ time dd if=/dev/mtd1 of=/dev/null bs=8M
0+1 records in
0+1 records out
real	0m 2.95s
user	0m 0.00s
sys	0m 2.93s

Signed-off-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
[minor commit message adjustments]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: maurerr <mariusd84@gmail.com>
2021-09-01 08:06:49 +00:00
..
base-files/etc/hotplug.d/ieee80211 ath79: add mikrotik subtarget 2020-03-17 11:50:47 +01:00
dts ath79: increase spi frequency on TL-WDR3500/3600/4300/4310 2021-09-01 08:06:49 +00:00
files kernel: Update kernel 4.19 to version 4.19.131 2020-07-04 21:12:42 +02:00
generic ath79: add support for TP-Link TL-WPA8630P v2 2021-09-01 08:06:49 +00:00
image ath79: add support for TP-Link TL-WPA8630P v2 2021-09-01 08:06:49 +00:00
mikrotik ath79: mikrotik: use base mac on lan for RBwAPG-5HacT2HnD 2020-07-25 22:01:34 +02:00
nand ath79/nand: add support for Netgear WNDR4300TN 2020-08-06 16:56:07 +02:00
patches-4.19 ath79: add support for Arduino Yun 2020-07-08 23:22:30 +02:00
patches-5.4 ath79: add support for Arduino Yun 2020-07-08 23:22:30 +02:00
tiny ath79: add support for TP-Link TL-WA901ND v3 2021-09-01 08:06:48 +00:00
config-4.19 kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
config-5.4 kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
Makefile ath79: switch to kernel 5.4 2020-07-07 10:33:17 +02:00
modules.mk ath79: add new OF only target for QCA MIPS silicon 2018-05-07 08:06:51 +02:00