From 22f1e5eabf05d57005b025e0cf50a1a31d3f0bd3 Mon Sep 17 00:00:00 2001 From: Michael Lyle Date: Sat, 29 Oct 2022 21:00:41 -0700 Subject: [PATCH] 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. My unit has a W25Q256; datasheet specifies maximum SPI frequency for read command of 50MHz. Signed-off-by: Michael Lyle --- target/linux/ramips/dts/mt7621_glinet_gl-mt1300.dts | 4 ++-- 1 file changed, 2 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 20f63902a..a9659a6e8 100644 --- a/target/linux/ramips/dts/mt7621_glinet_gl-mt1300.dts +++ b/target/linux/ramips/dts/mt7621_glinet_gl-mt1300.dts @@ -67,8 +67,8 @@ flash@0 { compatible = "jedec,spi-nor"; reg = <0>; - spi-max-frequency = <80000000>; - m25p,fast-read; + spi-max-frequency = <50000000>; + broken-flash-reset; partitions { compatible = "fixed-partitions";