Commit edf070fc authored by Marijn Suijten's avatar Marijn Suijten Committed by Bjorn Andersson

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: default avatarMarijn Suijten <marijn.suijten@somainline.org>
Acked-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221030073232.22726-4-marijn.suijten@somainline.org
parent a5d0314b
......@@ -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";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment