diff --git a/qcom/sun.dtsi b/qcom/sun.dtsi index 4d06e716..37250471 100644 --- a/qcom/sun.dtsi +++ b/qcom/sun.dtsi @@ -2262,6 +2262,14 @@ reg = <0x10c3000 0x1000>; }; + ufshc_dma_resv: ufshc_dma_resv_region { + /* + * Restrict IOVA mappings for UFSHC buffers to the 3 GB region + * from 0x1000 - 0xffffffff. + */ + iommu-addresses = <&ufshc_mem 0x0 0x1000>; + }; + ufshc_mem: ufshc@1d84000 { compatible = "qcom,ufshc"; reg = <0x1d84000 0x3000>, @@ -2382,8 +2390,8 @@ iommus = <&apps_smmu 0x60 0x0>; qcom,iommu-dma = "fastmap"; - qcom,iommu-dma-addr-pool = <0x1000 0xFFFFF000>; qcom,iommu-msi-size = <0x1000>; + memory-region = <&ufshc_dma_resv>; shared-ice-cfg = <&ice_cfg>; dma-coherent;