31577a490b0af8c14be026d4db78ca55d98e41c7
[openwrt/staging/nbd.git] /
1 From b36402e4a0772d1b3da06a4f5fbd1cfe4d6f1cc0 Mon Sep 17 00:00:00 2001
2 From: Jianfeng Liu <liujianfeng1994@gmail.com>
3 Date: Fri, 28 Feb 2025 22:33:08 +0800
4 Subject: arm64: dts: rockchip: slow down emmc freq for rock 5 itx
5
6 The current max-frequency 200000000 of emmc is not stable. When doing
7 heavy write there will be I/O Error. After setting max-frequency to
8 150000000 the emmc is stable under write.
9
10 Also remove property mmc-hs200-1_8v because we are already running at
11 HS400 mode.
12
13 Tested with fio command:
14 fio -filename=./test_randread -direct=1 -iodepth 1 -thread \
15 -rw=randwrite -ioengine=psync -bs=16k -size=1G -numjobs=10 \
16 -runtime=600 -group_reporting -name=mytest
17
18 Signed-off-by: Jianfeng Liu <liujianfeng1994@gmail.com>
19 Link: https://lore.kernel.org/r/20250228143341.70244-1-liujianfeng1994@gmail.com
20 Signed-off-by: Heiko Stuebner <heiko@sntech.de>
21
22 --- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts
23 +++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts
24 @@ -690,10 +690,9 @@
25
26 &sdhci {
27 bus-width = <8>;
28 - max-frequency = <200000000>;
29 + max-frequency = <150000000>;
30 mmc-hs400-1_8v;
31 mmc-hs400-enhanced-strobe;
32 - mmc-hs200-1_8v;
33 no-sdio;
34 no-sd;
35 non-removable;