arm64: dts: qcom: sm8250: Add SDHCI2 sleep mode pinctrl
authorKonrad Dybcio <konrad.dybcio@somainline.org>
Wed, 16 Jun 2021 00:23:19 +0000 (02:23 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 16 Jun 2021 00:33:59 +0000 (19:33 -0500)
Add required pins for SDHCI2, so that the interface can work reliably.
This commit adds sleep_state setup to the SoC DTSI, as it is common for
all boards.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210616002321.74155-2-konrad.dybcio@somainline.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/sm8250.dtsi

index 995e93d..29107c3 100644 (file)
                                        output-high;
                                };
                        };
+
+                       sdc2_sleep_state: sdc2-sleep {
+                               clk {
+                                       pins = "sdc2_clk";
+                                       drive-strength = <2>;
+                                       bias-disable;
+                               };
+
+                               cmd {
+                                       pins = "sdc2_cmd";
+                                       drive-strength = <2>;
+                                       bias-pull-up;
+                               };
+
+                               data {
+                                       pins = "sdc2_data";
+                                       drive-strength = <2>;
+                                       bias-pull-up;
+                               };
+                       };
                };
 
                apps_smmu: iommu@15000000 {