arm64: dts: qcom: sm6350-lena: Add SD Card Detect to sdc2 on/off pinctrl

In addition to the sdc2 pins, set the SD Card Detect pin in a sane state
to be used as an interrupt when an SD Card is slotted in or removed.

Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221030073232.22726-4-marijn.suijten@somainline.org
This commit is contained in:
Marijn Suijten
2022-10-30 08:32:25 +01:00
committed by Bjorn Andersson
parent a5d0314b9d
commit edf070fcbc

View File

@@ -30,6 +30,24 @@ framebuffer: framebuffer@a0000000 {
};
};
&sdc2_off_state {
sd-cd-pins {
pins = "gpio94";
function = "gpio";
drive-strength = <2>;
bias-disable;
};
};
&sdc2_on_state {
sd-cd-pins {
pins = "gpio94";
function = "gpio";
drive-strength = <2>;
bias-pull-up;
};
};
&sdhc_2 {
status = "okay";