[openwrt/openwrt] mediatek: filogic: increase spi flash memory speed on ZyXEL EX5601

LEDE Commits lede-commits at lists.infradead.org
Thu May 8 13:39:37 PDT 2025


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

commit a1da2f846540ef04bfd27029ffd3d6e7995414f4
Author: Aleksander Jan Bajkowski <olek2 at wp.pl>
AuthorDate: Mon Jan 27 21:23:50 2025 +0100

    mediatek: filogic: increase spi flash memory speed on ZyXEL EX5601
    
    Reduces boot time by 3s on a freshly installed image. This device
    has a large flash and the gain can be higher with more packages
    installed. According to the datasheet, this is the maximum frequency
    supported by the Micron and Macronix chips that are installed in
    these devices. Tested on three units over a two month period.
    
    Before:
    $ dd if=/dev/mtd5 of=/dev/null bs=10M count=1 status=progress
    1+0 records in
    1+0 records out
    10485760 bytes (10 MB, 10 MiB) copied, 1.51901 s, 6.9 MB/s
    
    After:
    $ dd if=/dev/mtd5 of=/dev/null bs=10M count=1 status=progress
    1+0 records in
    1+0 records out
    10485760 bytes (10 MB, 10 MiB) copied, 0.899474 s, 11.7 MB/s
    
    Signed-off-by: Aleksander Jan Bajkowski <olek2 at wp.pl>
    Link: https://github.com/openwrt/openwrt/pull/18694
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-common.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-common.dtsi b/target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-common.dtsi
index 1a90417f19..682cf66e83 100644
--- a/target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-common.dtsi
+++ b/target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-common.dtsi
@@ -168,7 +168,7 @@
                 #size-cells = <1>;
                 compatible = "spi-nand";
                 reg = <1>;
-                spi-max-frequency = <20000000>;
+                spi-max-frequency = <50000000>;
                 spi-tx-bus-width = <4>;
                 spi-rx-bus-width = <4>;
 




More information about the lede-commits mailing list