From patchwork Wed Dec 4 08:48:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rakesh Pillai X-Patchwork-Id: 11272479 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 D9CC96C1 for ; Wed, 4 Dec 2019 08:48:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AACAC2068E for ; Wed, 4 Dec 2019 08:48:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="key not found in DNS" (0-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="UGNmUdgF"; dkim=pass (1024-bit key) header.d=amazonses.com header.i=@amazonses.com header.b="KcEMuMmT" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725839AbfLDIsj (ORCPT ); Wed, 4 Dec 2019 03:48:39 -0500 Received: from a27-11.smtp-out.us-west-2.amazonses.com ([54.240.27.11]:51888 "EHLO a27-11.smtp-out.us-west-2.amazonses.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725830AbfLDIsi (ORCPT ); Wed, 4 Dec 2019 03:48:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=zsmsymrwgfyinv5wlfyidntwsjeeldzt; d=codeaurora.org; t=1575449318; h=From:To:Cc:Subject:Date:Message-Id; bh=gEB6uBMOOwAhGK0idGqw2RrciO9bPtivwYCZYr9wQvM=; b=UGNmUdgFhvrubZ08jwkeEPE8otrb4+Wnt6+TjQsqooSx4YXL3Ql4avPfMtcVEDxP 4VQgQGKorF4k3Pho5Q5EXSHkur3Xletx263Zl7C3sRFRSYV2YwqQ2M2SFlWINchMYAE Lc75zWY6mKYEVxn9Jt7qLnVXYUj22HUa2ujZBK+Y= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx; d=amazonses.com; t=1575449318; h=From:To:Cc:Subject:Date:Message-Id:Feedback-ID; bh=gEB6uBMOOwAhGK0idGqw2RrciO9bPtivwYCZYr9wQvM=; b=KcEMuMmTJQkU4GXtaW9h3FZLAm8jNA727TRFaf18r/L907pz1fcu36gjhTL4hJMA Pj9J069xA2rpEH/Hszyv/Du7qAeFLEIA+p0F70QLySAP0GXoO/NiaAiJEmPmJLap/uV wBCWkHVFmnd0FlEUx7VJOYhxKwOeEd227kvybEBE= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 64DF8C447AE Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=pillair@codeaurora.org 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] arm64: dts: qcom: sc7180: Add WCN3990 WLAN module device node Date: Wed, 4 Dec 2019 08:48:37 +0000 Message-ID: <0101016ed018d194-4a3955e4-106f-4943-8edc-6506b5a421e4-000000@us-west-2.amazonses.com> X-Mailer: git-send-email 2.7.4 X-SES-Outgoing: 2019.12.04-54.240.27.11 Feedback-ID: 1.us-west-2.CZuq2qbDmUIuT3qdvXlRHZZCpfZqZ4GtG9v3VKgRyF0=:AmazonSES 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 | 4 ++++ arch/arm64/boot/dts/qcom/sc7180.dtsi | 27 +++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180-idp.dts b/arch/arm64/boot/dts/qcom/sc7180-idp.dts index 189254f..8a6a760 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-idp.dts +++ b/arch/arm64/boot/dts/qcom/sc7180-idp.dts @@ -248,6 +248,10 @@ status = "okay"; }; +&wifi { + status = "okay"; +}; + /* 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..40c9971 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: wlan_fw_region@93900000 { + compatible = "removed-dma-pool"; + no-map; + reg = <0 0x93900000 0 0x200000>; + }; }; cpus { @@ -1119,6 +1125,27 @@ #clock-cells = <1>; }; }; + + wifi: wifi@18800000 { + status = "disabled"; + compatible = "qcom,wcn3990-wifi"; + reg = <0 0x18800000 0 0x800000>; + reg-names = "membase"; + interrupts = + , + , + , + , + , + , + , + , + , + , + , + ; + memory-region = <&wlan_fw_mem>; + }; }; timer {