From patchwork Wed Jan 29 07:00:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rakesh Pillai X-Patchwork-Id: 11355587 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 19E201398 for ; Wed, 29 Jan 2020 07:00:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E2DDF2070E for ; Wed, 29 Jan 2020 07:00:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="pB69d+/0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E2DDF2070E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=wCNt+yKgOHccIlv4XAJ58lGO/Uy4WEFoPPcWQ56C4pc=; b=pB6 9d+/0/XtVpu7s3TM9miCAhN9gncRhBhfXyQX5RFPV6rFUxGz3ouuQrbp+2g60PdtFfkL8YkkBh2sA b8TE/NynyeuK+e19grsw92YpKbnHGPXs/QfWoBxvqiRFOV12v7b/DOYo8cpzklHAgxZem9dUpqZIw J0/SoUJibuAi445/b0AN9IXiQO7w2DZe/yCKgQMdYxJ9xYjUiA/szWgJYUfprP6Du412MtEkIJU9D pKRcFYZiGdx+8iguW8BcLHERpWdExG+/6gtv544s2nqDu0wd9ho3lUrgVd7SSeFTlq3/E6APkVmpI i7CSMQfj3HRtf8AzIknwiVLQ5G1ASpQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iwhLF-0005rd-3Z; Wed, 29 Jan 2020 07:00:49 +0000 Received: from alexa-out-blr-01.qualcomm.com ([103.229.18.197]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iwhLB-0005rA-N7 for linux-arm-kernel@lists.infradead.org; Wed, 29 Jan 2020 07:00:47 +0000 Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by alexa-out-blr-01.qualcomm.com with ESMTP/TLS/AES256-SHA; 29 Jan 2020 12:30:39 +0530 Received: from pillair-linux.qualcomm.com ([10.204.116.193]) by ironmsg01-blr.qualcomm.com with ESMTP; 29 Jan 2020 12:30:28 +0530 Received: by pillair-linux.qualcomm.com (Postfix, from userid 452944) id 892CA3930; Wed, 29 Jan 2020 12:30:27 +0530 (IST) From: Rakesh Pillai To: devicetree@vger.kernel.org Subject: [PATCH v5] arm64: dts: qcom: sc7180: Add WCN3990 WLAN module device node Date: Wed, 29 Jan 2020 12:30:23 +0530 Message-Id: <1580281223-2759-1-git-send-email-pillair@codeaurora.org> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200128_230046_279674_0D630A94 X-CRM114-Status: UNSURE ( 7.58 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.3 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [103.229.18.197 listed in list.dnswl.org] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, Rakesh Pillai , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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 --- 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 388f50a..167f68ac 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-idp.dts +++ b/arch/arm64/boot/dts/qcom/sc7180-idp.dts @@ -287,6 +287,11 @@ vdda-pll-supply = <&vreg_l4a_0p8>; }; +&wifi { + status = "okay"; + qcom,msa-fixed-perm; +}; + /* PINCTRL - additions to nodes defined in sc7180.dtsi */ &qspi_clk { diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 8011c5f..0a00c94 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -75,6 +75,12 @@ reg = <0x0 0x80900000 0x0 0x200000>; no-map; }; + + wlan_fw_mem: memory@93900000 { + compatible = "removed-dma-pool"; + no-map; + reg = <0 0x93900000 0 0x200000>; + }; }; cpus { @@ -1490,6 +1496,28 @@ #freq-domain-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"; + }; }; thermal-zones {