From 81cd59810bee7a90a0fa0101ba2ffb7dd7ed9816 Mon Sep 17 00:00:00 2001 From: Eliad Ben Yishay Date: Thu, 15 Jul 2021 14:17:16 +0300 Subject: [PATCH] ARM: dts: msm: Add dual NIC IPA support Adding second ethernet client ipa smmu mapping Change-Id: I1f0e6203b393aacf470aac3b0b28ba4e47d77377 Acked-by: Eliad Ben Yishay --- qcom/sdxlemur.dtsi | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/qcom/sdxlemur.dtsi b/qcom/sdxlemur.dtsi index ece25094a193..28c93114d8e3 100644 --- a/qcom/sdxlemur.dtsi +++ b/qcom/sdxlemur.dtsi @@ -1164,10 +1164,16 @@ }; ipa_eth_group1: ipa_eth_group1 { - qcom,iommu-dma-addr-pool = <0x80000000 0x0fe20000>; + qcom,iommu-dma-addr-pool = <0x80000000 0x07f00000>; qcom,iommu-dma = "atomic"; }; + ipa_eth_group2: ipa_eth_group2 { + qcom,iommu-dma-addr-pool = <0x87f10000 0x07f00000>; + qcom,iommu-dma = "atomic"; + }; + + ipa_hw: qcom,ipa@03e00000 { compatible = "qcom,ipa"; mboxes = <&qmp_aop 0>; @@ -1268,7 +1274,8 @@ ipa_smmu_eth1: ipa_smmu_eth1 { compatible = "qcom,ipa-smmu-eth1-cb"; iommus = <&apps_smmu 0x5E4 0x0>; - qcom,iommu-dma = "atomic"; + qcom,shared-cb; + qcom,iommu-group = <&ipa_eth_group2>; }; ipa_smmu_wlan1: ipa_smmu_wlan1 {