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

sabiya.d at mistralsolutions.com sabiya.d at mistralsolutions.com
Mon Jun 5 10:45:51 PDT 2023


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




More information about the linux-arm-kernel mailing list