From bb75f7e27b6a4df8089f6f29fd94e0882aff6681 Mon Sep 17 00:00:00 2001 From: Karthik Kantamneni Date: Mon, 16 Dec 2024 11:52:45 +0530 Subject: [PATCH] ARM: dts: msm: Add direct-link device node support for canoe Add direct-link device node support for canoe. This device node is used to program SID configuration by iommu driver. This device shares the iommu domain with normal wlan device. Change-Id: Ia54f3cea8b1bec4b9765413e562192ba22269b57 CRs-Fixed: 4001977 --- canoe-peach-cnss.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/canoe-peach-cnss.dtsi b/canoe-peach-cnss.dtsi index 3de347e6..17f9d1db 100644 --- a/canoe-peach-cnss.dtsi +++ b/canoe-peach-cnss.dtsi @@ -146,6 +146,19 @@ */ wlan-txrx-intr-cpumask = <0x3 0x30>; }; + + wlan_direct_link: qcom,cnss-direct-link { + compatible = "qcom,cnss-direct-link"; + iommus = <&apps_smmu 0x100f 0x0>; + qcom,iommu-group = <&cnss_audio_iommu_group0>; + memory-region = <&direct_link_iommu_region_partition>; + dma-coherent; + + direct_link_iommu_region_partition: direct_link_iommu_region_partition { + iommu-addresses = <&wlan_direct_link 0x0 0x0 0x0 0x18000000>, + <&wlan_direct_link 0x0 0xb0000000 0x0 0x50000000>; + }; + }; }; &pcie_rp {