ARM: dts: imx6qdl-colibri: Add usdhc aliases
authorHiago De Franco <hiago.franco@toradex.com>
Mon, 20 Nov 2023 20:58:17 +0000 (21:58 +0100)
committerShawn Guo <shawnguo@kernel.org>
Wed, 6 Dec 2023 01:36:47 +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-colibri.dtsi

index 11d9c7a2dacb14edcb4bdb58735b19729672f7d7..55c90f6393ad5e1176b5f8af6ca94bcf9c368477 100644 (file)
        model = "Toradex Colibri iMX6DL/S Module";
        compatible = "toradex,colibri_imx6dl", "fsl,imx6dl";
 
+       aliases {
+               mmc0 = &usdhc3; /* eMMC */
+               mmc1 = &usdhc1; /* MMC/SD Slot */
+               /delete-property/ mmc2;
+               /delete-property/ mmc3;
+       };
+
        backlight: backlight {
                compatible = "pwm-backlight";
                brightness-levels = <0 45 63 88 119 158 203 255>;