mediatek: filogic: increase flash speed on ASUS TUF AX6000
authorAleksander Jan Bajkowski <[email protected]>
Sun, 27 Jul 2025 17:19:42 +0000 (19:19 +0200)
committerHauke Mehrtens <[email protected]>
Mon, 24 Nov 2025 00:09:13 +0000 (01:09 +0100)
This commit increases the SPI bus frequency from 20 to 52 MHz. Reduces boot
time by 2s. Below is a performance comparison.

Before:
root@OpenWrt:~# dd if=/dev/mtd1 of=/dev/null bs=10M count=1 status=progress
10485760 bytes (10 MB, 10 MiB) copied, 1.68404 s, 6.2 MB/s

After:
root@OpenWrt:~# dd if=/dev/mtd1 of=/dev/null bs=10M count=1 status=progress
10485760 bytes (10 MB, 10 MiB) copied, 0.819222 s, 12.8 MB/s

Taken from PR #18752 as each device should be tested individually, so I have
created a separate PR for this.

Signed-off-by: Sky Huang <[email protected]>
Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20853
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/mediatek/dts/mt7986a-asus-tuf-ax6000.dts

index 0b59fe910fb0178dac407f5c9e293180998cc7c3..ef7c1abcd923cd3848acdacbedeb6a28f2b14ff5 100644 (file)
                #address-cells = <1>;
                #size-cells = <1>;
 
-               spi-max-frequency = <20000000>;
+               spi-max-frequency = <52000000>;
                spi-tx-bus-width = <4>;
                spi-rx-bus-width = <4>;