From e0d8f461df2a6e6ac0bbc3770c1cbc8824273c62 Mon Sep 17 00:00:00 2001 From: Chirag Rastogi Date: Mon, 12 Feb 2024 14:09:13 -0800 Subject: [PATCH] ARM: dts: msm: iommu changes Updated "iommu-addresses" in Sun to make it Upstream compatible Change-Id: I1cccdd63b8e1bb70e69a74e7e2030795f6c8b561 Signed-off-by: Chirag Rastogi --- sun-ipa.dtsi | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/sun-ipa.dtsi b/sun-ipa.dtsi index 2a25e744..a19e824f 100644 --- a/sun-ipa.dtsi +++ b/sun-ipa.dtsi @@ -46,8 +46,17 @@ qcom,ipa-gen-rx-ll-pool-sz-factor = <1>; }; -&ipa_smmu_ap { - qcom,additional-mapping = - /* modem tables in IMEM */ - <0x14683000 0x14683000 0x2000>; +&soc { + ipa_smmu_ap_partition: ipa_smmu_ap_partition { + iommu-addresses = <&ipa_smmu_ap 0x0 0x20000000>, + <&ipa_smmu_ap 0x40000000 0xC0000000>; + }; +}; + +&ipa_smmu_ap { + /delete-property/ qcom,iommu-dma-addr-pool; + memory-region = <&ipa_smmu_ap_partition>; + qcom,additional-mapping = + /* modem tables in IMEM */ + <0x14683000 0x14683000 0x2000>; };