1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-20 06:28:12 +02:00
openwrt/target/linux/ath79
Aleksander Jan Bajkowski 37df722266 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>
2020-08-10 12:43:37 +02:00
..
base-files/etc/hotplug.d/ieee80211
dts ath79: increase spi frequency on TL-WDR3500/3600/4300/4310 2020-08-10 12:43:37 +02: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 2020-08-10 11:48:08 +02:00
image ath79: add support for TP-Link TL-WPA8630P v2 2020-08-10 11:48:08 +02: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 2020-08-08 20:40:48 +02: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