Commit 68333a42 authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Bjorn Andersson

arm64: dts: qcom: msm8996: Add SDHCI resets

On MSM8996, the default bootloader configuration leaves the hosts in some
weird state that never allows them to function properly under Linux.
Add the hardware resets so that we can start clean and get them actually
working.
Signed-off-by: default avatarKonrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220430162642.608106-1-konrad.dybcio@somainline.org
parent a743dff7
...@@ -2833,6 +2833,7 @@ sdhc1: sdhci@7464900 { ...@@ -2833,6 +2833,7 @@ sdhc1: sdhci@7464900 {
clocks = <&gcc GCC_SDCC1_AHB_CLK>, clocks = <&gcc GCC_SDCC1_AHB_CLK>,
<&gcc GCC_SDCC1_APPS_CLK>, <&gcc GCC_SDCC1_APPS_CLK>,
<&rpmcc RPM_SMD_BB_CLK1>; <&rpmcc RPM_SMD_BB_CLK1>;
resets = <&gcc GCC_SDCC1_BCR>;
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&sdc1_state_on>; pinctrl-0 = <&sdc1_state_on>;
...@@ -2856,6 +2857,7 @@ sdhc2: sdhci@74a4900 { ...@@ -2856,6 +2857,7 @@ sdhc2: sdhci@74a4900 {
clocks = <&gcc GCC_SDCC2_AHB_CLK>, clocks = <&gcc GCC_SDCC2_AHB_CLK>,
<&gcc GCC_SDCC2_APPS_CLK>, <&gcc GCC_SDCC2_APPS_CLK>,
<&rpmcc RPM_SMD_BB_CLK1>; <&rpmcc RPM_SMD_BB_CLK1>;
resets = <&gcc GCC_SDCC2_BCR>;
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&sdc2_state_on>; pinctrl-0 = <&sdc2_state_on>;
......
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