From: st7105 Date: Sat, 31 Jan 2026 07:40:47 +0000 (+0300) Subject: mediatek: filogic: increase flash speed on Netcore N60 Pro X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e94d4f2022e80e6fecc5301447a1d20bc7bd03e8;p=thirdparty%2Fopenwrt.git mediatek: filogic: increase flash speed on Netcore N60 Pro This commit increases the SPI bus frequency from 20 to 52 MHz. Reduces boot time by 2s. Below is a performance comparison. spi-max-frequency = <20000000> > time dd if=/dev/mtd4 of=/dev/null bs=10M count=1 > 1+0 records in > 1+0 records out > real 0m 1.86s > user 0m 0.00s > sys 0m 0.28s spi-max-frequency = <52000000> > time dd if=/dev/mtd4 of=/dev/null bs=10M count=1 > 1+0 records in > 1+0 records out > real 0m 1.04s > user 0m 0.00s > sys 0m 0.27s Signed-off-by: st7105 Link: https://github.com/openwrt/openwrt/pull/21802 Signed-off-by: Hauke Mehrtens --- diff --git a/target/linux/mediatek/dts/mt7986a-netcore-n60-pro.dts b/target/linux/mediatek/dts/mt7986a-netcore-n60-pro.dts index d9c6f9dda80..67b8dd10f1e 100644 --- a/target/linux/mediatek/dts/mt7986a-netcore-n60-pro.dts +++ b/target/linux/mediatek/dts/mt7986a-netcore-n60-pro.dts @@ -238,7 +238,7 @@ compatible = "spi-nand"; reg = <0>; - spi-max-frequency = <20000000>; + spi-max-frequency = <52000000>; spi-tx-bus-width = <4>; spi-rx-bus-width = <4>;