EXT: [PATCH 3/5] imx8mp-msc-sm2s: Add mmc aliases

Ian Ray ian.ray at gehealthcare.com
Thu Feb 15 13:05:43 CET 2024


On Tue, Feb 13, 2024 at 08:43:40AM -0300, Fabio Estevam wrote:
> 
> From: Fabio Estevam <festevam at denx.de>
> 
> 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 at denx.de>

Reviewed-by: Ian Ray <ian.ray at gehealthcare.com>

> ---
>  arch/arm/dts/imx8mp-msc-sm2s-u-boot.dtsi | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm/dts/imx8mp-msc-sm2s-u-boot.dtsi b/arch/arm/dts/imx8mp-msc-sm2s-u-boot.dtsi
> index 1a7b530d9f..ce61ca6671 100644
> --- a/arch/arm/dts/imx8mp-msc-sm2s-u-boot.dtsi
> +++ b/arch/arm/dts/imx8mp-msc-sm2s-u-boot.dtsi
> @@ -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>;
> -- 
> 2.34.1
> 
> 


More information about the U-Boot mailing list