Patchwork arm64: dts: qcom: sdm845: Define IOMMU for sdhc 2

login
register
mail settings
Submitter Bjorn Andersson
Date Feb. 5, 2019, 12:54 a.m.
Message ID <20190205005452.21438-1-bjorn.andersson@linaro.org>
Download mbox | patch
Permalink /patch/718013/
State New
Headers show

Comments

Bjorn Andersson - Feb. 5, 2019, 12:54 a.m.
With apps_smmu initializing the SMMU we must specify iommus property for
the sdhc controller.

Fixes: 4429e57567bb ("arm64: dts: sdm845: Add node for arm,mmu-500")
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---
 arch/arm64/boot/dts/qcom/sdm845.dtsi | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index 340af13ec0c3..05577f08d18f 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -1539,6 +1539,7 @@ 
 			clocks = <&gcc GCC_SDCC2_AHB_CLK>,
 				 <&gcc GCC_SDCC2_APPS_CLK>;
 			clock-names = "iface", "core";
+			iommus = <&apps_smmu 0xa0 0xf>;
 
 			status = "disabled";
 		};