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

index 3740e34ef99f1b6aebd4e6645fb29eb2c3af11f0..9670f45eab3bad4c10f771407fb65e057357782f 100644 (file)
                /* Required to properly pass MAC addresses from bootloader. */
                ethernet0 = &fec1;
                ethernet1 = &fec2;
+               mmc0 = &usdhc3; /* eMMC */
+               mmc1 = &usdhc1; /* MMC/SD slot */
+               /delete-property/ mmc2;
+               /delete-property/ mmc3;
        };
 
        memory@80000000 {