[PATCH] arm64: dts: qcom: eliza-mtp: Add support for SD card

Abel Vesa posted 1 patch 3 weeks, 1 day ago
arch/arm64/boot/dts/qcom/eliza-mtp.dts | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
[PATCH] arm64: dts: qcom: eliza-mtp: Add support for SD card
Posted by Abel Vesa 3 weeks, 1 day ago
The MTP comes with an SD card slot. So enable the second SD host
controller, describe the card detect GPIO and the board-specific supplies,
in order to provide support for the SD card.

Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/eliza-mtp.dts | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/eliza-mtp.dts b/arch/arm64/boot/dts/qcom/eliza-mtp.dts
index 9ce41ba4da55..266a6a526e63 100644
--- a/arch/arm64/boot/dts/qcom/eliza-mtp.dts
+++ b/arch/arm64/boot/dts/qcom/eliza-mtp.dts
@@ -492,6 +492,19 @@ &remoteproc_adsp {
 	status = "okay";
 };
 
+&sdhc_2 {
+	vmmc-supply = <&vreg_l13b>;
+	vqmmc-supply = <&vreg_l23b>;
+
+	cd-gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
+
+	pinctrl-0 = <&sdc2_default>, <&sd_cd>;
+	pinctrl-1 = <&sdc2_sleep>, <&sd_cd>;
+	pinctrl-names = "default", "sleep";
+
+	status = "okay";
+};
+
 &spi8 {
 	status = "okay";
 
@@ -542,6 +555,12 @@ mdp_vsync: mdp-vsync-state {
 		bias-pull-down;
 	};
 
+	sd_cd: sd-cd-state {
+		pins = "gpio58";
+		function = "gpio";
+		bias-pull-up;
+	};
+
 	ts_irq: ts-irq-state {
 		pins = "gpio13";
 		function = "gpio";

---
base-commit: 32b6ef9a5d0eca44f9cd91f52f4faa89f145a0de
change-id: 20260903-dts-qcom-eliza-mtp-add-sd-card-support-1c73fc1a506b

Best regards,
--  
Abel Vesa <abel.vesa@oss.qualcomm.com>
Re: [PATCH] arm64: dts: qcom: eliza-mtp: Add support for SD card
Posted by Bjorn Andersson 2 weeks, 1 day ago
On Thu, 03 Sep 2026 14:22:25 +0300, Abel Vesa wrote:
> The MTP comes with an SD card slot. So enable the second SD host
> controller, describe the card detect GPIO and the board-specific supplies,
> in order to provide support for the SD card.
> 
> 

Applied, thanks!

[1/1] arm64: dts: qcom: eliza-mtp: Add support for SD card
      commit: 8c5264b3da23799798e26962496245164952c031

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>