From patchwork Tue Dec 24 09:59:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rakesh Pillai X-Patchwork-Id: 11309229 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 535A2138D for ; Tue, 24 Dec 2019 10:01:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3B17A206B7 for ; Tue, 24 Dec 2019 10:01:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726104AbfLXKBx (ORCPT ); Tue, 24 Dec 2019 05:01:53 -0500 Received: from alexa-out-blr-02.qualcomm.com ([103.229.18.198]:59378 "EHLO alexa-out-blr-02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726076AbfLXKBx (ORCPT ); Tue, 24 Dec 2019 05:01:53 -0500 Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by alexa-out-blr-02.qualcomm.com with ESMTP/TLS/AES256-SHA; 24 Dec 2019 15:29:51 +0530 Received: from pillair-linux.qualcomm.com ([10.204.116.193]) by ironmsg01-blr.qualcomm.com with ESMTP; 24 Dec 2019 15:29:41 +0530 Received: by pillair-linux.qualcomm.com (Postfix, from userid 452944) id AC35E37AC; Tue, 24 Dec 2019 15:29:40 +0530 (IST) From: Rakesh Pillai To: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Rakesh Pillai Subject: [PATCH v3] arm64: dts: qcom: sc7180: Add WCN3990 WLAN module device node Date: Tue, 24 Dec 2019 15:29:35 +0530 Message-Id: <1577181575-25788-1-git-send-email-pillair@codeaurora.org> X-Mailer: git-send-email 2.7.4 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add device node for the ath10k SNOC platform driver probe and add resources required for WCN3990 on sc7180 soc. Signed-off-by: Rakesh Pillai --- This change is dependent on the below set of changes arm64: dts: sc7180: Add qupv3_0 and qupv3_1 (https://lore.kernel.org/patchwork/patch/1150367/) --- arch/arm64/boot/dts/qcom/sc7180-idp.dts | 5 +++++ arch/arm64/boot/dts/qcom/sc7180.dtsi | 28 ++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180-idp.dts b/arch/arm64/boot/dts/qcom/sc7180-idp.dts index 189254f..b2ca143f 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-idp.dts +++ b/arch/arm64/boot/dts/qcom/sc7180-idp.dts @@ -248,6 +248,11 @@ status = "okay"; }; +&wifi { + status = "okay"; + qcom,msa_fixed_perm; +}; + /* PINCTRL - additions to nodes defined in sc7180.dtsi */ &qup_i2c2_default { diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 666e9b9..7efb97f 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -42,6 +42,12 @@ compatible = "qcom,cmd-db"; no-map; }; + + wlan_fw_mem: memory@93900000 { + compatible = "removed-dma-pool"; + no-map; + reg = <0 0x93900000 0 0x200000>; + }; }; cpus { @@ -1119,6 +1125,28 @@ #clock-cells = <1>; }; }; + + wifi: wifi@18800000 { + compatible = "qcom,wcn3990-wifi"; + reg = <0 0x18800000 0 0x800000>; + reg-names = "membase"; + iommus = <&apps_smmu 0xC0 0x1>; + interrupts = + , + , + , + , + , + , + , + , + , + , + , + ; + memory-region = <&wlan_fw_mem>; + status = "disabled"; + }; }; timer {