]> git.ipfire.org Git - thirdparty/openwrt.git/commit
mediatek: filogic: increase nand flash speed on Redmi AX6000 19439/head
authorAleksander Jan Bajkowski <olek2@wp.pl>
Mon, 14 Jul 2025 21:21:51 +0000 (23:21 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 21 Jul 2025 21:15:50 +0000 (23:15 +0200)
commit7b6dcaf37c019dcf1dab7fe4972a75d6e371e759
tree1c215c21e90fa0e87af412032f54d4410d922acc
parentd8e738e5c4034bbc8bd29db25fb0abafdc2abf17
mediatek: filogic: increase nand flash speed on Redmi 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/mtd5 of=/dev/null bs=10M count=1 status=progress
10485760 bytes (10 MB, 10 MiB) copied, 2 s, 5.8 MB/

After:
root@OpenWrt:~# dd if=/dev/mtd5 of=/dev/null bs=10M count=1 status=progress
10485760 bytes (10 MB, 10 MiB) copied, 1 s, 9.7 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/19439
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/mediatek/dts/mt7986a-xiaomi-redmi-router-ax6000.dtsi