[PATCH] arm64: dts: qcom: eliza-mtp: Add support for SD card
From: Abel Vesa
Date: Thu Sep 03 2026 - 07:30:16 EST
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@xxxxxxxxxxxxxxxx>
---
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@xxxxxxxxxxxxxxxx>