public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 1/1] ARM: dts: orange-pi-zero-plus2: use fixed mmc indexes
@ 2021-01-27  5:46 Sergey Matyukevich
  2021-02-03  9:29 ` Maxime Ripard
  0 siblings, 1 reply; 4+ messages in thread
From: Sergey Matyukevich @ 2021-01-27  5:46 UTC (permalink / raw)
  To: devicetree, linux-arm-kernel
  Cc: Chen-Yu Tsai, Sergey Matyukevich, Jernej Skrabec, Maxime Ripard

Driver sunxi-mmc has recently been switched to asynchronous probe.
As a result, mmc indexes can be shuffled breaking existing setups
where UUIDs are not used for boot devices. Pin mmc indexes to keep
running the systems where fixed MMC or eMMC are specified,
e.g. root=/dev/mmcblk0p2.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
---
 .../arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts
index de19e68eb84e..c4854d3ba524 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts
@@ -13,6 +13,9 @@ / {
 
 	aliases {
 		serial0 = &uart0;
+		mmc0 = &mmc0;
+		mmc1 = &mmc1;
+		mmc2 = &mmc2;
 	};
 
 	chosen {
-- 
2.30.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2021-02-03 10:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-27  5:46 [PATCH 1/1] ARM: dts: orange-pi-zero-plus2: use fixed mmc indexes Sergey Matyukevich
2021-02-03  9:29 ` Maxime Ripard
2021-02-03  9:36   ` Chen-Yu Tsai
2021-02-03 10:00     ` Maxime Ripard

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