[PATCH] ARM: dts: stm32: osd32mp1-red: ensure deterministic probe order for mmc

From: Sean Nyekjaer
Date: Wed May 01 2024 - 09:14:47 EST


Add MMC aliases to ensure that the /dev/mmcblk IDs won't change
depending on the probe order of the MMC drivers.

Signed-off-by: Sean Nyekjaer <sean@xxxxxxxxxx>
---
arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts b/arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts
index 527c33be66cc..fd795084a6aa 100644
--- a/arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts
+++ b/arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts
@@ -20,6 +20,8 @@ / {

aliases {
serial0 = &uart4;
+ mmc0 = &sdmmc1;
+ mmc1 = &sdmmc2;
};

chosen {
--
2.44.0