]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: rockchip: Add aliases for rk3036-kylin MMC devices
authorAndy Yan <andy.yan@rock-chips.com>
Mon, 24 Mar 2025 12:52:11 +0000 (20:52 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 7 Apr 2025 07:15:52 +0000 (09:15 +0200)
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>
Link: https://lore.kernel.org/r/20250324125215.160616-1-andyshrk@163.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rockchip/rk3036-kylin.dts

index 4f928c7898e90a5d4264c7bb01698a63e2c1144c..cde552375a43dacf65f9ce0797f709b5bfe7dad4 100644 (file)
@@ -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";
        };