diff options
author | Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl> | 2020-04-18 14:40:08 +0200 |
---|---|---|
committer | Chuanhong Guo <gch981213@gmail.com> | 2020-05-15 10:00:32 +0800 |
commit | 2f7118712e383661853bfd26d18bb4c71554287b (patch) | |
tree | 199451788f57cbf86d12e786acdbef78615bf8d0 /target/linux | |
parent | e04ff3c7cc52c23f5b40730ee426710e22940d68 (diff) | |
download | upstream-2f7118712e383661853bfd26d18bb4c71554287b.tar.gz upstream-2f7118712e383661853bfd26d18bb4c71554287b.tar.bz2 upstream-2f7118712e383661853bfd26d18bb4c71554287b.zip |
ath79: increase spi frequency on tp-link tl-wr1043nd v2
Increase SPI frequency to 33.333 MHz. It's maximum frequency supported
by SPI Flash memory chip without Fast read opcode.
Before:
$ time dd if=/dev/mtd1 of=/dev/null bs=8M
0+1 records in
0+1 records out
real 0m 3.21s
user 0m 0.00s
sys 0m 3.21s
After:
$ time dd if=/dev/mtd1 of=/dev/null bs=8M
0+1 records in
0+1 records out
real 0m 2.52s
user 0m 0.00s
sys 0m 2.52s
Tested on TP-Link TL-WR1043ND V2.
Signed-off-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi b/target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi index 72062e5d1e..bfa29fece3 100644 --- a/target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi +++ b/target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi @@ -106,7 +106,7 @@ flash@0 { compatible = "jedec,spi-nor"; reg = <0>; - spi-max-frequency = <25000000>; + spi-max-frequency = <33400000>; partitions { compatible = "fixed-partitions"; |