All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] arm64: dts: mt8173: elm: Use aliases to mmc nodes
@ 2021-07-26 10:24 ` Hsin-Yi Wang
  0 siblings, 0 replies; 9+ messages in thread
From: Hsin-Yi Wang @ 2021-07-26 10:24 UTC (permalink / raw)
  To: Matthias Brugger
  Cc: Rob Herring, Enric Balletbo Serra, eizan, devicetree,
	linux-arm-kernel, linux-mediatek, linux-kernel

Use aliases to mmc nodes so the partition name for eMMC and SD card will
be consistent across boots.

Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
---
v1->v2: skip unused mmc2.
---
 arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
index 21452c51a20a8..d5a2cad39c9c7 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
@@ -10,6 +10,12 @@
 #include "mt8173.dtsi"
 
 / {
+	aliases {
+		mmc0 = &mmc0;
+		mmc1 = &mmc1;
+		mmc2 = &mmc3;
+	};
+
 	memory@40000000 {
 		device_type = "memory";
 		reg = <0 0x40000000 0 0x80000000>;
-- 
2.32.0.432.gabb21c7263-goog


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

end of thread, other threads:[~2021-08-04 15:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-26 10:24 [PATCH v2] arm64: dts: mt8173: elm: Use aliases to mmc nodes Hsin-Yi Wang
2021-07-26 10:24 ` Hsin-Yi Wang
2021-07-26 10:24 ` Hsin-Yi Wang
2021-07-26 10:40 ` Chen-Yu Tsai
2021-07-26 10:40   ` Chen-Yu Tsai
2021-07-26 10:40   ` Chen-Yu Tsai
2021-08-04 15:49 ` Matthias Brugger
2021-08-04 15:49   ` Matthias Brugger
2021-08-04 15:49   ` Matthias Brugger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.