lkml.org 
[lkml]   [2022]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] ARM: dts: bcm2711-rpi: Use aliases to set custom MMC device index
Date
Add MMC aliases to ensure that the /dev/mmcblk ID for the first
eMMC/SD card won't change depending on the probe order of the MMC
drivers.

Signed-off-by: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
---

Changes in v2:
* Moved alias from bcm2711-rpi-4-b.dts to bcm2711-rpi.dtsi

arch/arm/boot/dts/bcm2711-rpi.dtsi | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/bcm2711-rpi.dtsi b/arch/arm/boot/dts/bcm2711-rpi.dtsi
index ca266c5d9f9b..a39b2f68e4cc 100644
--- a/arch/arm/boot/dts/bcm2711-rpi.dtsi
+++ b/arch/arm/boot/dts/bcm2711-rpi.dtsi
@@ -13,6 +13,7 @@ memory@0 {
aliases {
emmc2bus = &emmc2bus;
ethernet0 = &genet;
+ mmc0 = &emmc2; /* mmcblk0 for eMMC/SD */
pcie0 = &pcie0;
blconfig = &blconfig;
};
--
2.34.1
\
 
 \ /
  Last update: 2022-06-14 16:13    [W:0.054 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site