summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksander Jan Bajkowski2025-07-27 17:19:42 +0000
committerHauke Mehrtens2025-11-24 00:09:13 +0000
commit6c3eea4cfeb67cf12a6dc69f4682e13450de1662 (patch)
tree07378571bb4f7eb3e3166932d2e67869a1d1b2a9
parentfccf75eb03f49abf37d0e8e21be04a2dd8a0fce8 (diff)
downloadopenwrt-6c3eea4cfeb67cf12a6dc69f4682e13450de1662.tar.gz
mediatek: filogic: increase flash speed on ASUS TUF AX6000
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 <SkyLake.Huang@mediatek.com> Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl> Link: https://github.com/openwrt/openwrt/pull/20853 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--target/linux/mediatek/dts/mt7986a-asus-tuf-ax6000.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/mediatek/dts/mt7986a-asus-tuf-ax6000.dts b/target/linux/mediatek/dts/mt7986a-asus-tuf-ax6000.dts
index 0b59fe910f..ef7c1abcd9 100644
--- a/target/linux/mediatek/dts/mt7986a-asus-tuf-ax6000.dts
+++ b/target/linux/mediatek/dts/mt7986a-asus-tuf-ax6000.dts
@@ -252,7 +252,7 @@
#address-cells = <1>;
#size-cells = <1>;
- spi-max-frequency = <20000000>;
+ spi-max-frequency = <52000000>;
spi-tx-bus-width = <4>;
spi-rx-bus-width = <4>;