Skip to content

Commit

Permalink
ath79: increase spi frequency on tp-link tl-wr1043nd v2
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
abajk authored and 981213 committed May 15, 2020
1 parent e04ff3c commit 2f71187
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
spi-max-frequency = <33400000>;

partitions {
compatible = "fixed-partitions";
Expand Down

0 comments on commit 2f71187

Please sign in to comment.