[PATCH 4/4] arm64: dts: qcom: Enable SD card for Glymur CRD

From: Monish Chunara

Date: Wed Jun 10 2026 - 07:27:47 EST


From: Monish Chunara <monish.chunara@xxxxxxxxxxxxxxxx>

Enable SD card for Glymur CRD platform. Configure the vmmc/vqmmc
regulators and gpio-based card detection for the platform.

Co-developed-by: Sachin <ssachin@xxxxxxxxxxxxxxxx>
Signed-off-by: Sachin <ssachin@xxxxxxxxxxxxxxxx>
Signed-off-by: Monish Chunara <monish.chunara@xxxxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/glymur-crd.dts | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/glymur-crd.dts b/arch/arm64/boot/dts/qcom/glymur-crd.dts
index c98dfb3941fa..f68d27429440 100644
--- a/arch/arm64/boot/dts/qcom/glymur-crd.dts
+++ b/arch/arm64/boot/dts/qcom/glymur-crd.dts
@@ -427,3 +427,28 @@ &usb_mp_qmpphy1 {

status = "okay";
};
+
+&sdhc_2 {
+ vmmc-supply = <&vreg_l9b_e0_2p9>;
+ vqmmc-supply = <&vreg_l2b_e0_2p9>;
+
+ pinctrl-0 = <&sdc2_default_state &sdc2_card_det_n>;
+ pinctrl-1 = <&sdc2_sleep_state &sdc2_card_det_n>;
+ pinctrl-names = "default", "sleep";
+
+ cd-gpios = <&tlmm 221 GPIO_ACTIVE_LOW>;
+
+ no-mmc;
+ no-sdio;
+
+ status = "okay";
+};
+
+&tlmm {
+ sdc2_card_det_n: sd-card-det-n-state {
+ pins = "gpio221";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-disable;
+ };
+};
--
2.34.1