From c730c8a7cb78b5486cd640c7fbc78b52a98d6d9d Mon Sep 17 00:00:00 2001 From: Jayasri Sampath Kumaran Date: Tue, 19 Dec 2023 17:35:16 -0500 Subject: [PATCH] ARM: dts: msm: replace smmu address property for sun target Replacing existing smmu address property to upstream compatible property. Change-Id: I0a2eb94d7e91d1d59467bfc68ca4b87a52bd2160 Signed-off-by: Jayasri Sampath Kumaran --- display/sun-sde.dtsi | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/display/sun-sde.dtsi b/display/sun-sde.dtsi index ae31c68c..6c7e3b31 100644 --- a/display/sun-sde.dtsi +++ b/display/sun-sde.dtsi @@ -181,10 +181,16 @@ }; }; + smmu_sde_iommu_region_partition: smmu_sde_iommu_region_partition { + iommu-addresses = <&smmu_sde_unsec 0x0 0x00060000>, + <&smmu_sde_unsec 0xd5500000 0x02b00000>, + <&smmu_sde_sec 0x0 0x00020000>; + }; + smmu_sde_unsec: qcom,smmu_sde_unsec_cb { compatible = "qcom,smmu_sde_unsec"; iommus = <&apps_smmu 0x800 0x2>; - qcom,iommu-dma-addr-pool = <0x00020000 0xfffe0000>; + memory-region = <&smmu_sde_iommu_region_partition>; qcom,iommu-faults = "non-fatal"; qcom,iommu-earlymap; /* for cont-splash */ dma-coherent; @@ -193,7 +199,7 @@ smmu_sde_sec: qcom,smmu_sde_sec_cb { compatible = "qcom,smmu_sde_sec"; iommus = <&apps_smmu 0x801 0x0>; - qcom,iommu-dma-addr-pool = <0x00020000 0xfffe0000>; + memory-region = <&smmu_sde_iommu_region_partition>; qcom,iommu-faults = "non-fatal"; qcom,iommu-vmid = <0xa>; };