From e03c652af18edf86dc6285d4bc0c1adab30c5d1e Mon Sep 17 00:00:00 2001 From: Naman Padhiar Date: Fri, 8 Jan 2021 09:55:15 +0530 Subject: [PATCH] ARM: dts: msm: Add SMP2P entry and enable SIDs for WLAN Add smp2p entry to communicate between APPS and WPSS. Add SIDS and enable S1 bypass in ICNSS2 node. Change-Id: I26c082e65ac6b7d98b51bb91947060e23e66c2b8 --- qcom/yupik.dtsi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/qcom/yupik.dtsi b/qcom/yupik.dtsi index 956f177295b5..27128f7e6904 100644 --- a/qcom/yupik.dtsi +++ b/qcom/yupik.dtsi @@ -1014,6 +1014,7 @@ compatible = "qcom,wcn6750"; reg = <0x17a10040 0x0>; reg-names = "msi_addr"; + iommus = <&apps_smmu 0x1c00 0x1>; interrupts = , , , @@ -1047,8 +1048,21 @@ , ; + qcom,iommu-dma = "bypass"; + qcom,iommu-faults = "stall-disable", "HUPCF", "non-fatal"; + qcom,iommu-dma-addr-pool = <0xa0000000 0x10000000>; qcom,wlan-msa-fixed-region = <&wlan_fw_mem>; cnss-daemon-support; + qcom,fw-prefix; + qcom,smem-states = <&smp2p_wlan_1_out 0>; + qcom,smem-state-names = "wlan-smp2p-out"; + + qcom,smp2p_map_wlan_1_in { + interrupts-extended = <&smp2p_wlan_1_in 0 0>, + <&smp2p_wlan_1_in 1 0>; + interrupt-names = "qcom,smp2p-force-fatal-error", + "qcom,smp2p-early-crash-ind"; + }; }; ufshc_mem: ufshc@1d84000 { @@ -1642,6 +1656,17 @@ interrupt-controller; #interrupt-cells = <2>; }; + + smp2p_wlan_1_in: qcom,smp2p-wlan-1-in { + qcom,entry-name = "wlan"; + interrupt-controller; + #interrupt-cells = <2>; + }; + + smp2p_wlan_1_out: qcom,smp2p-wlan-1-out { + qcom,entry-name = "wlan"; + #qcom,smem-state-cells = <1>; + }; }; qcom,glink {