[openwrt/openwrt] mediatek: filogic: increase flash speed on Netcore N60 Pro

LEDE Commits lede-commits at lists.infradead.org
Wed Feb 4 15:22:18 PST 2026


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/e94d4f2022e80e6fecc5301447a1d20bc7bd03e8

commit e94d4f2022e80e6fecc5301447a1d20bc7bd03e8
Author: st7105 <st7105 at gmail.com>
AuthorDate: Sat Jan 31 10:40:47 2026 +0300

    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 <st7105 at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/21802
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/mediatek/dts/mt7986a-netcore-n60-pro.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/mediatek/dts/mt7986a-netcore-n60-pro.dts b/target/linux/mediatek/dts/mt7986a-netcore-n60-pro.dts
index d9c6f9dda8..67b8dd10f1 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>;
 




More information about the lede-commits mailing list