]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: qcom: msm8974-sony-xperia-rhine: Add alias for mmc0 & mmc1
authorLuca Weiss <luca@lucaweiss.eu>
Tue, 10 Jun 2025 17:03:51 +0000 (19:03 +0200)
committerBjorn Andersson <andersson@kernel.org>
Thu, 12 Jun 2025 02:40:14 +0000 (21:40 -0500)
Add an alias for the internal storage so it always becomes mmcblk0 and
SD card becomes mmcblk1.

This avoids issues with internal storage becoming mmcblk1 unexpectedly
and aligns this board with other boards that use MMC storage.

Signed-off-by: Luca Weiss <luca@lucaweiss.eu>
Link: https://lore.kernel.org/r/20250610-msm8974-mmc-alias-v2-3-1d8808478fba@lucaweiss.eu
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine.dtsi

index f973ff65733242a243a850b99821967ccc582567..d7322fc6a09559fdbed1684388ac46024cfe63f3 100644 (file)
@@ -8,6 +8,8 @@
 
 / {
        aliases {
+               mmc0 = &sdhc_1;
+               mmc1 = &sdhc_2;
                serial0 = &blsp1_uart2;
        };