From ad7d526e65eb47edca9f18162813589320e4da42 Mon Sep 17 00:00:00 2001 From: Sandeep Singh Date: Thu, 3 Nov 2022 17:24:50 +0530 Subject: [PATCH] ARM: dts: msm: Add icnss node for ravelin Add icnss node in ravelin to enable wlan. Change-Id: I4cdf62588837da1c4c107355a268c8347c285c68 --- qcom/ravelin-reserved-memory.dtsi | 2 +- qcom/ravelin.dtsi | 62 +++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+), 1 deletion(-) diff --git a/qcom/ravelin-reserved-memory.dtsi b/qcom/ravelin-reserved-memory.dtsi index ec1e9e4f..f262336e 100644 --- a/qcom/ravelin-reserved-memory.dtsi +++ b/qcom/ravelin-reserved-memory.dtsi @@ -59,7 +59,7 @@ reg = <0x0 0x80b00000 0x0 0x100000>; }; - wlan_msa_moselle_mem: wlan_msa_moselle_region@82a00000 { + wlan_msa_mem: wlan_msa_mem_region@82a00000 { no-map; reg = <0x0 0x82a00000 0x0 0xc00000>; }; diff --git a/qcom/ravelin.dtsi b/qcom/ravelin.dtsi index 94ed640d..e340b45d 100644 --- a/qcom/ravelin.dtsi +++ b/qcom/ravelin.dtsi @@ -411,6 +411,11 @@ size = <0x0 0x5c00000>; alignment = <0x0 0x400000>; }; + + wlan_msa_mem: wlan_msa_mem_region@82a00000 { + no-map; + reg = <0x0 0x82a00000 0x0 0x300000>; + }; }; &firmware { @@ -1064,6 +1069,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 { @@ -2031,6 +2047,52 @@ }; }; + icnss: qcom,icnss@22800000 { + compatible = "qcom,icnss"; + reg = <0x22800000 0x800000>; + reg-names = "membase"; + qcom,rproc-handle = <&wpss_pas>; + iommus = <&apps_smmu 0x4c0 0x1>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + ; + qcom,iommu-dma = "fastmap"; + qcom,iommu-faults = "stall-disable", "HUPCF", "non-fatal"; + qcom,iommu-dma-addr-pool = <0xa0000000 0x10000000>; + qcom,iommu-geometry = <0xa0000000 0x10000000>; + qcom,fw-prefix; + qcom,wlan; + bdf-download-support; + wpss-support-enable; + qcom,wlan-msa-fixed-region = <&wlan_msa_mem>; + vdd-cx-mx-supply = <&L11B>; + vdd-1.8-xo-supply = <&L23B>; + vdd-1.3-rfa-supply = <&L14B>; + vdd-3.3-ch0-supply = <&L7E>; + qcom,vdd-cx-mx-config = <0 0>; + qcom,vdd-3.3-ch0-config = <3000000 3312000>; + + 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"; + }; + + }; + thermal_zones: thermal-zones { };