Devicetree
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: rockchip: Assign a fixed index to mmc devices on rk3399 boards.
@ 2020-11-04 16:23 Markus Reichl
  2020-11-04 16:27 ` Doug Anderson
  2020-11-08  0:31 ` Heiko Stuebner
  0 siblings, 2 replies; 3+ messages in thread
From: Markus Reichl @ 2020-11-04 16:23 UTC (permalink / raw)
  To: linux-rockchip, Rob Herring, Heiko Stuebner
  Cc: dianders, robin.murphy, wens, Markus Reichl, devicetree,
	linux-arm-kernel, linux-kernel

Recently introduced async probe on mmc devices can shuffle block IDs.
Pin them to fixed values to ease booting in environments where UUIDs
are not practical. Use newly introduced aliases for mmcblk devices from [1].

[1]
https://patchwork.kernel.org/patch/11747669/

Signed-off-by: Markus Reichl <m.reichl@fivetechno.de>
---
 arch/arm64/boot/dts/rockchip/rk3399.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
index ada724b12f01..7a9a7aca86c6 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
@@ -29,6 +29,9 @@ aliases {
 		i2c6 = &i2c6;
 		i2c7 = &i2c7;
 		i2c8 = &i2c8;
+		mmc0 = &sdio0;
+		mmc1 = &sdmmc;
+		mmc2 = &sdhci;
 		serial0 = &uart0;
 		serial1 = &uart1;
 		serial2 = &uart2;
-- 
2.28.0


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

end of thread, other threads:[~2020-11-08  0:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-04 16:23 [PATCH] arm64: dts: rockchip: Assign a fixed index to mmc devices on rk3399 boards Markus Reichl
2020-11-04 16:27 ` Doug Anderson
2020-11-08  0:31 ` Heiko Stuebner

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