[PATCH] ARM: dts: rockchip: Add aliases for MMC devices

Andy Yan posted 1 patch 8 months, 3 weeks ago
arch/arm/boot/dts/rockchip/rk3036-kylin.dts | 6 ++++++
1 file changed, 6 insertions(+)
[PATCH] ARM: dts: rockchip: Add aliases for MMC devices
Posted by Andy Yan 8 months, 3 weeks ago
From: Andy Yan <andy.yan@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@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
Re: [PATCH] ARM: dts: rockchip: Add aliases for MMC devices
Posted by Heiko Stuebner 8 months, 1 week ago
On Mon, 24 Mar 2025 20:52:11 +0800, Andy Yan wrote:
> Add aliases for the MMC devices so that after the system starts up,
> they will all have fixed device numbers.
> 
> 

Applied, thanks!

[1/1] ARM: dts: rockchip: Add aliases for MMC devices
      commit: d15d8d234248d6575b2d4efc14731d0a623f89d0

Best regards,
-- 
Heiko Stuebner <heiko@sntech.de>