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

LEDE Commits lede-commits at lists.infradead.org
Sun Feb 9 09:17:21 PST 2025


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

commit c9ea2799b7a8f56c53a37406b1a8f22fd9817f62
Author: Aleksander Jan Bajkowski <olek2 at wp.pl>
AuthorDate: Mon Jan 27 00:36:25 2025 +0100

    mediatek: filogic: increase spi flash memory speed on ZyXEL EX5601
    
    The factory firmware uses a 20 MHz frequency, so it should be safe.
    
    Before:
    10485760 bytes (10 MB, 10 MiB) copied, 2.53096 s, 4.1 MB/s
    
    After:
    10485760 bytes (10 MB, 10 MiB) copied, 1.51901 s, 6.9 MB/s
    
    Signed-off-by: Aleksander Jan Bajkowski <olek2 at wp.pl>
    Link: https://github.com/openwrt/openwrt/pull/17749
    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 335ee93989..02fec97f95 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 = <10000000>;
+                spi-max-frequency = <20000000>;
                 spi-tx-bus-width = <4>;
                 spi-rx-bus-width = <4>;
 




More information about the lede-commits mailing list