[PATCH] ARM: dts: rockchip: Add aliases for MMC devices
Andy Yan
andyshrk at 163.com
Mon Mar 24 05:52:11 PDT 2025
From: Andy Yan <andy.yan at rock-chips.com>
Add aliases for the MMC devices so that after the system starts up,
they will all have fixed device numbers.
Signed-off-by: Andy Yan <andy.yan at rock-chips.com>
---
arch/arm/boot/dts/rockchip/rk3036-kylin.dts | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/rockchip/rk3036-kylin.dts b/arch/arm/boot/dts/rockchip/rk3036-kylin.dts
index 15a8860c7ae47..a2d7ec2729116 100644
--- a/arch/arm/boot/dts/rockchip/rk3036-kylin.dts
+++ b/arch/arm/boot/dts/rockchip/rk3036-kylin.dts
@@ -8,6 +8,12 @@ / {
model = "Rockchip RK3036 KylinBoard";
compatible = "rockchip,rk3036-kylin", "rockchip,rk3036";
+ aliases {
+ mmc0 = &emmc;
+ mmc1 = &sdmmc;
+ mmc2 = &sdio;
+ };
+
chosen {
stdout-path = "serial2:115200n8";
};
--
2.43.0
More information about the linux-arm-kernel
mailing list