ramips: mt7621: reduce MMC clock to 48 MHz
authorDaniel Golle <daniel@makrotopia.org>
Fri, 12 Jul 2024 01:38:53 +0000 (02:38 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 12 Jul 2024 01:43:58 +0000 (02:43 +0100)
commit04818d5857ae69350ad2e00dc57eade174f64422
tree2992563ce9566c641f01eec40a79137a4b919f36
parent238aa35c49a4c52909cdda31ee9bbf0133155c17
ramips: mt7621: reduce MMC clock to 48 MHz

The switch to the upstream mmc-mtk driver caused problems with MT7621
because of unstable too high clock frequency:
[   49.643291] mmc0: error -88 whilst initialising SD card
[   49.890047] mmc0: error -88 whilst initialising SD card
[   50.142414] mmc0: error -88 whilst initialising SD card
[   50.419218] mmc0: error -88 whilst initialising SD card
...

Fix this by reducing the clock speed to 48 MHz instead of 50 MHz, which
is also the value used in upstream Linux mt7621.dtsi.

With that change applied SD cards work as expected on MT7621 devices
also with the new driver.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/ramips/dts/mt7621.dtsi