2024-05-01 13:14:48

by Sean Nyekjaer

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

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 <[email protected]>
---
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