ARM Sunxi Platform Development
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: sunxi: Add MMC alias for consistent enumeration
@ 2024-12-19 10:56 Stefan Gloor
  2025-01-01  8:58 ` Chen-Yu Tsai
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Gloor @ 2024-12-19 10:56 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, wens, jernej.skrabec, samuel
  Cc: devicetree, linux-arm-kernel, linux-sunxi, linux-kernel,
	Stefan Gloor

Add explicit alias for MMC devices, so that (e)MMC and micro SD cards
are enumerated consistently. This should fix spurious boot failures when
specifying a hard-coded root partition, e.g., mmcblk0p2.

Link: https://github.com/linux-sunxi/meta-sunxi/pull/431
Signed-off-by: Stefan Gloor <code@stefan-gloor.ch>
---
 arch/arm/boot/dts/allwinner/sun7i-a20-olinuxino-micro.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/allwinner/sun7i-a20-olinuxino-micro.dts b/arch/arm/boot/dts/allwinner/sun7i-a20-olinuxino-micro.dts
index a1b89b2a2999..9cd1eb690134 100644
--- a/arch/arm/boot/dts/allwinner/sun7i-a20-olinuxino-micro.dts
+++ b/arch/arm/boot/dts/allwinner/sun7i-a20-olinuxino-micro.dts
@@ -60,6 +60,8 @@ aliases {
 		serial2 = &uart7;
 		spi0 = &spi1;
 		spi1 = &spi2;
+		mmc0 = &mmc0;
+		mmc1 = &mmc3;
 	};
 
 	chosen {
-- 
2.45.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-01-06  1:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-19 10:56 [PATCH] ARM: dts: sunxi: Add MMC alias for consistent enumeration Stefan Gloor
2025-01-01  8:58 ` Chen-Yu Tsai
2025-01-01 23:28   ` Andre Przywara
2025-01-05 12:47     ` Stefan Gloor
2025-01-06  1:14       ` Andre Przywara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox