diff options
| author | Michael Lyle | 2022-10-30 04:00:41 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2022-11-07 11:54:31 +0000 |
| commit | 961e01fc67e7d9e60557df3474fa326216aa4839 (patch) | |
| tree | 949e3d7fa54c74d6ffc1d3b5f577d24d0e0d15fe | |
| parent | 02aa7a2bb9b6bdc8033d30c97f5b49534206a37c (diff) | |
| download | openwrt-961e01fc67e7d9e60557df3474fa326216aa4839.tar.gz | |
ramips: gl-mt1300: downclock SPI to 50MHz
The SPI max frequency was set to 80MHz, considerably higher than the
vendor clocks it in their firmware (10MHz). Multiple users reported
jffs2 corruption/instability in GitHub issue #10461.
My unit has a W25Q256; datasheet specifies maximum SPI frequency for
read command of 50MHz.
Thanks to @DragonBlueP for suggesting to eliminate m25p,fast-read;
and @MPannen1979 for identifying the problem.
Fixes: #10461
Signed-off-by: Michael Lyle <mlyle@lyle.org>
| -rw-r--r-- | target/linux/ramips/dts/mt7621_glinet_gl-mt1300.dts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7621_glinet_gl-mt1300.dts b/target/linux/ramips/dts/mt7621_glinet_gl-mt1300.dts index a332a87a57..d5440b3a51 100644 --- a/target/linux/ramips/dts/mt7621_glinet_gl-mt1300.dts +++ b/target/linux/ramips/dts/mt7621_glinet_gl-mt1300.dts @@ -67,8 +67,7 @@ flash@0 { compatible = "jedec,spi-nor"; reg = <0>; - spi-max-frequency = <80000000>; - m25p,fast-read; + spi-max-frequency = <50000000>; broken-flash-reset; partitions { |