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 <mlyle@lyle.org>
This commit is contained in:
Michael Lyle 2022-10-29 21:00:41 -07:00
parent 0186d52076
commit 22f1e5eabf

View File

@ -67,8 +67,8 @@
flash@0 { flash@0 {
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <80000000>; spi-max-frequency = <50000000>;
m25p,fast-read; broken-flash-reset;
partitions { partitions {
compatible = "fixed-partitions"; compatible = "fixed-partitions";