ARM: dts: imx6qdl-apalis: Add usdhc aliases
authorHiago De Franco <hiago.franco@toradex.com>
Mon, 20 Nov 2023 20:58:16 +0000 (21:58 +0100)
committerShawn Guo <shawnguo@kernel.org>
Wed, 6 Dec 2023 01:36:36 +0000 (09:36 +0800)
Add mmc aliases to ensure a consistent mmc device naming across the
Toradex SoM family, with this commit mmc0 is the on-module eMMC
boot device and the not available mmc interfaces are removed.

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/imx/imx6qdl-apalis.dtsi

index 4cc965277c52199d665a7c7ea455b0d42cb92ea6..dec2a1c9db142107f8be55f727ec3449443a03d0 100644 (file)
        model = "Toradex Apalis iMX6Q/D Module";
        compatible = "toradex,apalis_imx6q", "fsl,imx6q";
 
+       aliases {
+               mmc0 = &usdhc3; /* eMMC */
+               mmc1 = &usdhc1; /* MMC1 slot */
+               mmc2 = &usdhc2; /* SD1 slot */
+               /delete-property/ mmc3;
+       };
+
        /* Will be filled by the bootloader */
        memory@10000000 {
                device_type = "memory";