diff options
| author | st7105 | 2026-01-31 07:40:47 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2026-02-04 23:20:01 +0000 |
| commit | e94d4f2022e80e6fecc5301447a1d20bc7bd03e8 (patch) | |
| tree | 8c100f6330a6b4ff810137dbabc9a560c00bdc59 | |
| parent | 78a0ef2389a62fd12873ddf86952e03a0f4b5319 (diff) | |
| download | openwrt-e94d4f2022e80e6fecc5301447a1d20bc7bd03e8.tar.gz | |
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@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21802
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
| -rw-r--r-- | target/linux/mediatek/dts/mt7986a-netcore-n60-pro.dts | 2 |
1 files changed, 1 insertions, 1 deletions
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>; |