diff options
author | Marijn Suijten <marijn.suijten@somainline.org> | 2022-12-22 23:36:36 +0300 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2022-12-29 19:59:47 +0300 |
commit | fa7ff6e9f14a05f304587ba566a4f445a2a74aa6 (patch) | |
tree | c00b9c42440c3a0d09e7dee418c649e34012027e /arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts | |
parent | d696b1618bc1a416a4ab72a1176cfdf187ca09bf (diff) | |
download | linux-fa7ff6e9f14a05f304587ba566a4f445a2a74aa6.tar.xz |
arm64: dts: qcom: sm6125-seine: Lock eMMC and SD Card IDs via aliases
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
Diffstat (limited to 'arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts')
-rw-r--r-- | arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts b/arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts index ba2abfe2a6fa..77a7d7f23054 100644 --- a/arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts +++ b/arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts @@ -20,6 +20,11 @@ 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>; |