Skip to content

Commit 1f6e6f2

Browse files
committed
BACKPORT: arm64: dts: qcom: hamoa-iot-evk: Add SDC2 node for hamoa iot evk board
Enable SD Card host controller for hamoa iot evk board. Signed-off-by: Sarthak Garg <sarthak.garg@oss.qualcomm.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260227040201.3700324-1-sarthak.garg@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org> (cherry picked from commit c679452)
1 parent 1da8efc commit 1f6e6f2

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1097,6 +1097,22 @@
10971097
status = "okay";
10981098
};
10991099

1100+
&sdhc_2 {
1101+
cd-gpios = <&tlmm 71 GPIO_ACTIVE_LOW>;
1102+
1103+
vmmc-supply = <&vreg_l9b_2p9>;
1104+
vqmmc-supply = <&vreg_l6b_1p8>;
1105+
1106+
no-sdio;
1107+
no-mmc;
1108+
1109+
pinctrl-0 = <&sdc2_default &sdc2_card_det_n>;
1110+
pinctrl-1 = <&sdc2_sleep &sdc2_card_det_n>;
1111+
pinctrl-names = "default", "sleep";
1112+
1113+
status = "okay";
1114+
};
1115+
11001116
&smb2360_0 {
11011117
status = "okay";
11021118
};
@@ -1301,6 +1317,13 @@
13011317
bias-disable;
13021318
};
13031319

1320+
sdc2_card_det_n: sd-card-det-n-state {
1321+
pins = "gpio71";
1322+
function = "gpio";
1323+
drive-strength = <2>;
1324+
bias-pull-up;
1325+
};
1326+
13041327
usb1_pwr_1p15_reg_en: usb1-pwr-1p15-reg-en-state {
13051328
pins = "gpio188";
13061329
function = "gpio";

0 commit comments

Comments
 (0)