arm64: dts: qcom: sm6125-seine: Lock eMMC and SD Card IDs via aliases
authorMarijn Suijten <marijn.suijten@somainline.org>
Thu, 22 Dec 2022 20:36:36 +0000 (21:36 +0100)
committerBjorn Andersson <andersson@kernel.org>
Thu, 29 Dec 2022 16:59:47 +0000 (10:59 -0600)
Ensure the eMMC and SD Card always have a predictable slot index by
predetermining them via aliases.

Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221222203636.250190-6-marijn.suijten@somainline.org
arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts

index ba2abfe..77a7d7f 100644 (file)
        compatible = "sony,pdx201", "qcom,sm6125";
        chassis-type = "handset";
 
+       aliases {
+               mmc0 = &sdhc_1; /* SDC1 eMMC slot */
+               mmc1 = &sdhc_2; /* SDC2 SD card slot */
+       };
+
        chosen {
                #address-cells = <2>;
                #size-cells = <2>;