aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/GB-PC1.dts
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-02-14 13:15:29 -0800
committerPetr Štetiar <ynezz@true.cz>2019-03-29 09:01:46 +0100
commit2159b25466e872d2a7bd579863b056c54451f55d (patch)
treeabe141dc623cffc03e29a0bb38f61d49224dd1db /target/linux/ramips/dts/GB-PC1.dts
parent274439b780f482fccd9077f9c9e8cfe9657950c3 (diff)
downloadupstream-2159b25466e872d2a7bd579863b056c54451f55d.tar.gz
upstream-2159b25466e872d2a7bd579863b056c54451f55d.tar.bz2
upstream-2159b25466e872d2a7bd579863b056c54451f55d.zip
ramips: Increase GB-PC1 SPI frequency to 80MHz
The specific flash chip used (W25Q256FVEM) accepts 50MHz for read requests and higher for others. 104MHz for fast reads. ramips seems to be limited to 80MHz based on testing with higher values (no speedup). Based on upstream commit: 97738374a310b9116f9c33832737e517226d3722 time dd if=/dev/mtdblock3 of=/dev/null bs=64k from 42.96s to 7.01s [test done with backported upstream v4.19 driver[1], for numbers on stock 4.14 driver please take a look at `ramips: Increase GB-PC2 SPI frequency to 80MHz` commit message] 1. https://github.com/openwrt/openwrt/pull/1578 Signed-off-by: Rosen Penev <rosenp@gmail.com> [expanded note about spi driver version] Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'target/linux/ramips/dts/GB-PC1.dts')
-rw-r--r--target/linux/ramips/dts/GB-PC1.dts3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/GB-PC1.dts b/target/linux/ramips/dts/GB-PC1.dts
index 9c85a1e44d..e09e9f75a9 100644
--- a/target/linux/ramips/dts/GB-PC1.dts
+++ b/target/linux/ramips/dts/GB-PC1.dts
@@ -71,7 +71,8 @@
m25p80@0 {
compatible = "jedec,spi-nor";
reg = <0>;
- spi-max-frequency = <10000000>;
+ spi-max-frequency = <80000000>;
+ m25p,fast-read;
partitions {
compatible = "fixed-partitions";