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

Sean Nyekjaer sean at geanix.com
Wed May 1 06:14:01 PDT 2024


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 at geanix.com>
---
 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




More information about the linux-arm-kernel mailing list