mirror of
https://github.com/openwrt/openwrt.git
synced 2026-12-06 06:25:41 +04:00
mediatek: increase SPI-NAND frequency for Mercusys MR90X v1
Increase the spi-max-frequency from 20MHz to 52MHz for the SPI-NAND flash on the Mercusys MR90X v1. The underlying GigaDevice GD5F1GQ5UEYIGY SPI-NAND flash chip natively supports clock speeds up to 133MHz and the MediaTek MT7986B SoC handles 52MHz safely. Testing with 'dd' reading 16MB from /dev/mtd3 shows a significant performance improvement (~49% reduction in read time): Before (20MHz): 256+0 records in 256+0 records out real 0m 2.71s After (52MHz): 256+0 records in 256+0 records out real 0m 1.37s Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com> Link: https://github.com/openwrt/openwrt/pull/25246 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
1 parent
9fba5528d6
commit
ea78c9d915
1 file changed
+1
-1
@@ -218,7 +218,7 @@
|
||||
compatible = "spi-nand";
|
||||
reg = <0>;
|
||||
|
||||
spi-max-frequency = <20000000>;
|
||||
spi-max-frequency = <52000000>;
|
||||
spi-tx-bus-width = <4>;
|
||||
spi-rx-bus-width = <4>;
|
||||
|
||||
|
||||
Reference in new issue
Block a user