From e229a174cd620117022cc7d36e0d3ca06fe3f0ce Mon Sep 17 00:00:00 2001 From: Prashanth K Date: Sat, 24 Aug 2024 14:19:06 +0530 Subject: [PATCH] ARM: dts: msm: Enable SMMU S1 translations for USB on sdxkova Enable SMMU S1 translations for USB on sdxkova. Change-Id: I6ce61af54bb0a186eb35498160f49fb4f399f51a Signed-off-by: Prashanth K --- qcom/sdxkova-usb.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/qcom/sdxkova-usb.dtsi b/qcom/sdxkova-usb.dtsi index d10dac26..a48f3171 100644 --- a/qcom/sdxkova-usb.dtsi +++ b/qcom/sdxkova-usb.dtsi @@ -45,6 +45,12 @@ dwc3: dwc3@a600000 { compatible = "snps,dwc3"; reg = <0x0 0xa600000 0x0 0xd93c>; + + iommus = <&apps_smmu 0x80 0x0>; + qcom,iommu-dma = "atomic"; + memory-region = <&dwc3_mem_region>; + dma-coherent; + interrupts = ; usb-phy = <&usb_nop_phy>, <&usb_qmp_phy>; snps,has-lpm-erratum; @@ -63,6 +69,11 @@ }; + dwc3_mem_region: dwc3_mem_region { + iommu-addresses = <&dwc3 0x0 0x0 0x0 0x90000000>, + <&dwc3 0x0 0xf0000000 0xffffffff 0x10000000>; + }; + /* USB port related QMP USB UNI PHY */ usb_qmp_phy: ssphy@ff6000 { compatible = "qcom,usb-ssphy-qmp-v2";