[PATCH] arm64: dts: ti: k3-am69-sk: Add eMMC mmc0 support

Nishanth Menon nm at ti.com
Mon Jun 5 13:35:46 PDT 2023


On 23:15-20230605, sabiya.d at mistralsolutions.com wrote:
> From: Dasnavis Sabiya <sabiya.d at ti.com>
> 
> Add support for eMMC card connected to main sdhci0 instance.
> 
> Signed-off-by: Dasnavis Sabiya <sabiya.d at ti.com>
> ---
>  arch/arm64/boot/dts/ti/k3-am69-sk.dts | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/ti/k3-am69-sk.dts b/arch/arm64/boot/dts/ti/k3-am69-sk.dts
> index 4b7d9280d76f..ab8ec2cb396e 100644
> --- a/arch/arm64/boot/dts/ti/k3-am69-sk.dts
> +++ b/arch/arm64/boot/dts/ti/k3-am69-sk.dts
> @@ -22,6 +22,7 @@ chosen {
>  
>  	aliases {
>  		serial2 = &main_uart8;
> +		mmc0 = &main_sdhci0;
>  		mmc1 = &main_sdhci1;
>  		i2c0 = &main_i2c0;
>  	};
> @@ -191,6 +192,14 @@ exp1: gpio at 21 {
>  	};
>  };
>  
> +&main_sdhci0 {
> +	/* eMMC */
> +	status = "okay";
> +	non-removable;
> +	ti,driver-strength-ohm = <50>;
> +	disable-wp;
> +};
> +
>  &main_sdhci1 {
>  	/* SD card */
>  	status = "okay";
> -- 
> 2.25.1
> 

Reviewed-by: Nishanth Menon <nm at ti.com>

Though this will probably need a rebase on top of
https://lore.kernel.org/linux-arm-kernel/20230602214937.2349545-1-nm@ti.com/


-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D



More information about the linux-arm-kernel mailing list