]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
ramips: dts: increase maximum MMC clock frequency 18896/head
authorShiji Yang <yangshiji66@outlook.com>
Sat, 24 May 2025 08:32:26 +0000 (16:32 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 16 Jun 2025 17:31:51 +0000 (19:31 +0200)
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 <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18896
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/ramips/dts/mt7620a.dtsi
target/linux/ramips/dts/mt7621.dtsi
target/linux/ramips/dts/mt7628an.dtsi

index 7542d43bae08c4ae0c114740c5e921905cb00a94..ef430b1b9f3c1a5eed9e5d7d8c0c48b5034feaed 100644 (file)
                reg = <0x10130000 0x4000>;
 
                bus-width = <4>;
-               max-frequency = <24000000>;
+               max-frequency = <48000000>;
                cap-mmc-highspeed;
                cap-sd-highspeed;
                disable-wp;
index 600cea4a4fd76b63d1418e766f0a336aaab6bd0b..24e80835dd98c82150cd9276bb1e35ca93026ab9 100644 (file)
                reg = <0x1e130000 0x4000>;
 
                bus-width = <4>;
-               max-frequency = <48000000>;
+               max-frequency = <50000000>;
                cap-mmc-highspeed;
                cap-sd-highspeed;
                disable-wp;
index e705d46b1e5092ce931dd2e05139ef5cdfd3ffca..47dd4df2766816b787f34b0e269e39341a6f829c 100644 (file)
                reg = <0x10130000 0x4000>;
 
                bus-width = <4>;
-               max-frequency = <24000000>;
+               max-frequency = <48000000>;
                cap-mmc-highspeed;
                cap-sd-highspeed;
                disable-wp;