]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx8mp-msc-sm2s: Add mmc aliases
authorFabio Estevam <festevam@denx.de>
Tue, 13 Feb 2024 11:43:40 +0000 (08:43 -0300)
committerFabio Estevam <festevam@denx.de>
Mon, 19 Feb 2024 11:19:39 +0000 (08:19 -0300)
Add mmc alias so that the eMMC is mmc0 and the SD card
is mmc1 to have a well defined device numbering scheme.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Ian Ray <ian.ray@gehealthcare.com>
arch/arm/dts/imx8mp-msc-sm2s-u-boot.dtsi

index 1a7b530d9fc9496fc536b30ce94a09a7ebed1d4c..ce61ca6671e92347c2f97477cbb9a797c2d6d486 100644 (file)
@@ -9,6 +9,11 @@
        model = "MSC SM2S-IMX8MPLUS";
        compatible = "avnet,sm2s-imx8mp", "fsl,imx8mp";
 
+       aliases {
+               mmc0 = &usdhc3;
+               mmc1 = &usdhc2;
+       };
+
        wdt-reboot {
                compatible = "wdt-reboot";
                wdt = <&wdog1>;