Commit 5e9bc1ba authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Bjorn Andersson

arm64: dts: qcom: sdm660: move SDHC2 card detect pinconf to board files

This results in dts duplication, but per mutual agreement card detect
pin configuration belongs to the board files. Move it from the SoC
dtsi to the board DT files.
Suggested-by: default avatarMarijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: default avatarMarijn Suijten <marijn.suijten@somainline.org>
Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220521202708.1509308-10-dmitry.baryshkov@linaro.org
parent 3a04cec9
......@@ -549,6 +549,22 @@ vreg_l19a_3p3: l19 {
};
};
&sdc2_state_on {
sd-cd {
pins = "gpio54";
bias-pull-up;
drive-strength = <2>;
};
};
&sdc2_state_off {
sd-cd {
pins = "gpio54";
bias-disable;
drive-strength = <2>;
};
};
&sdhc_1 {
status = "okay";
supports-cqe;
......
......@@ -983,12 +983,6 @@ data {
bias-pull-up;
drive-strength = <10>;
};
sd-cd {
pins = "gpio54";
bias-pull-up;
drive-strength = <2>;
};
};
sdc2_state_off: sdc2-off {
......@@ -1009,12 +1003,6 @@ data {
bias-pull-up;
drive-strength = <2>;
};
sd-cd {
pins = "gpio54";
bias-disable;
drive-strength = <2>;
};
};
};
......
......@@ -371,6 +371,22 @@ &pm660l_wled {
qcom,num-strings = <2>;
};
&sdc2_state_on {
sd-cd {
pins = "gpio54";
bias-pull-up;
drive-strength = <2>;
};
};
&sdc2_state_off {
sd-cd {
pins = "gpio54";
bias-disable;
drive-strength = <2>;
};
};
&sdhc_1 {
status = "okay";
supports-cqe;
......
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