]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64: dts: amlogic: gxbb-odroidc2: remove UHS capability for SD card
authorValerio Setti <vsetti@baylibre.com>
Mon, 8 Sep 2025 19:50:03 +0000 (21:50 +0200)
committerNeil Armstrong <neil.armstrong@linaro.org>
Wed, 10 Sep 2025 07:32:09 +0000 (09:32 +0200)
commit663bfe77b6f70bcb33b2607e16c94fcb1029580e
treea6b0cda4e15b90c0a012469b6a8655a6c3f549c3
parentf8c9fabf2f3d87773613734a8479d0ef9b662b11
arm64: dts: amlogic: gxbb-odroidc2: remove UHS capability for SD card

This is meant to resolve reboot not working on this board.

The problem is as follows. In order to be able to switch from HS to UHS
mode the bus voltage needs to be reduced from 3.3V down to 1.8V and this
is achieved by the "vqmmc-supply" regulator. The ROM bootloader is only
able to manage the card in HS mode (3.3V) and the switch HS->UHS happen
at boottime in the kernel. The problem appears when the reboot command
is issued or watchdog expires because in this case the "vqmmc-supply"
voltage is not returned back at 3.3V before rebooting the board so the
ROM bootloader will be completely stuck.

Therefore this commit removes all UHS modes which would cause
"vqmmc-summply" to switch from 3.3V to 1.8V.

In terms of performance the main drawback of this commit is limiting the
SD card bus speed to HS (25 MB/s) instead of UHS DDR50 (50 MB/s). However
this comes with the benefit of being able to reboot the board, so it
sounds like a reasonable compromise.

Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
Link: https://lore.kernel.org/r/20250908-fix-reboot-v2-1-354d0e57c855@baylibre.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts