From a902c0d02037ada89e39df1483fe4e4bd8bb7296 Mon Sep 17 00:00:00 2001 From: Shiji Yang Date: Sat, 24 May 2025 16:32:26 +0800 Subject: [PATCH] ramips: dts: increase maximum MMC clock frequency The High-Speed SD mode stability issue should have been fixed. Increase the MMC max-frequency to improve the IO speed. We can still use the sysfs to limit the clock frequency, e.g. root@OpenWrt:~# echo 25000000 > /sys/kernel/debug/mmc0/clock Signed-off-by: Shiji Yang Link: https://github.com/openwrt/openwrt/pull/18896 (cherry picked from commit 143cfd6113231c61f38d1b9f5a0ea9ce3cc986c5) Signed-off-by: Tianling Shen Link: https://github.com/openwrt/openwrt/pull/20258 Signed-off-by: Hauke Mehrtens --- target/linux/ramips/dts/mt7620a.dtsi | 2 +- target/linux/ramips/dts/mt7621.dtsi | 2 +- target/linux/ramips/dts/mt7628an.dtsi | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/target/linux/ramips/dts/mt7620a.dtsi b/target/linux/ramips/dts/mt7620a.dtsi index 7542d43bae..ef430b1b9f 100644 --- a/target/linux/ramips/dts/mt7620a.dtsi +++ b/target/linux/ramips/dts/mt7620a.dtsi @@ -522,7 +522,7 @@ reg = <0x10130000 0x4000>; bus-width = <4>; - max-frequency = <24000000>; + max-frequency = <48000000>; cap-mmc-highspeed; cap-sd-highspeed; disable-wp; diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi index 5730e83464..dc82120350 100644 --- a/target/linux/ramips/dts/mt7621.dtsi +++ b/target/linux/ramips/dts/mt7621.dtsi @@ -347,7 +347,7 @@ reg = <0x1e130000 0x4000>; bus-width = <4>; - max-frequency = <48000000>; + max-frequency = <50000000>; cap-mmc-highspeed; cap-sd-highspeed; disable-wp; diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi index e705d46b1e..47dd4df276 100644 --- a/target/linux/ramips/dts/mt7628an.dtsi +++ b/target/linux/ramips/dts/mt7628an.dtsi @@ -376,7 +376,7 @@ reg = <0x10130000 0x4000>; bus-width = <4>; - max-frequency = <24000000>; + max-frequency = <48000000>; cap-mmc-highspeed; cap-sd-highspeed; disable-wp;