From patchwork Sat Nov 21 05:58:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 330457 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1D912C6379D for ; Sat, 21 Nov 2020 05:58:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B68602223F for ; Sat, 21 Nov 2020 05:58:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="qiflOkmx" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726397AbgKUF6J (ORCPT ); Sat, 21 Nov 2020 00:58:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726341AbgKUF6I (ORCPT ); Sat, 21 Nov 2020 00:58:08 -0500 Received: from mail-ot1-x342.google.com (mail-ot1-x342.google.com [IPv6:2607:f8b0:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82EEFC061A48 for ; Fri, 20 Nov 2020 21:58:06 -0800 (PST) Received: by mail-ot1-x342.google.com with SMTP id k3so10885552otp.12 for ; Fri, 20 Nov 2020 21:58:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=0fdEteydIB9dQTcBH4OSK3Fx/squLDtRvJTQhhgsCOs=; b=qiflOkmxdB3HSnVM9f+bffvFhTbVaZ1wkKzbmOYGYyTcymNXo5J0xzsw26lQvTKs1+ XBfBUUF+JZ5E9dJQSxemZzqicykRb09+8DJTt3XHvyd84QZEcpvE7gax51N09mcTot+R phT84XipulaVABuDJzuSjG7IvOoTDB7uT+2w2eRJ47FjXlyWRqpMrorVnIw/vtdqnCmi nzcZh7MMn7fcDgo7EuaXu675JaZmWMhgxb6vilvWeMGmsa289fA44eKzmLWcauwbWSGv sLLcjNJn3fIwDHLbfgDO3XLqR4F9PhToKsQQAjQbU+SJtpHmMrsnRga6omY3qSdtm9G5 YUuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=0fdEteydIB9dQTcBH4OSK3Fx/squLDtRvJTQhhgsCOs=; b=bS82UovRU0ZhJ+FWCZHywyjl81qpjH82DF10NefDac5zrKZrxTd6ajjweTJErznSFh L3j85OAoZFeD0wgneXpvYCp/aB3UfkzzCOB55PwOhAwHQxS5Gowoy8A99FjKdzh1qVZv Zbw54BLORRiWbqNasv28vz88wdQyNzz59wKb6pKNrYD0+dcLzpbTsp5K5ypVu/Zc9XZ3 mJOBgDEtKdclowYOY+gGkBacOad2g85G7bUTrRtk+cJCwFX/Snt9j33gTyaGeDPybfe9 rY9IZYtDHv9lYfZtZ/9URMOi7ABdslyP56asYjU3enHrXAoQMR3oQDSolPkFYte/E9dj taqg== X-Gm-Message-State: AOAM530nOCYTabIDJGWpgusd0Qi2kopxWooF8RZA5WUJvAvPGVvOW3MQ trnmp++fz3RrLlvbliQX8DRLng== X-Google-Smtp-Source: ABdhPJx7HHmVHB71SDrRONy5F/Q19O4oPzqYnnZkEPTSMTdYjmsS7HQiNKJwWeBfFHDfR6gqZHDueA== X-Received: by 2002:a05:6830:359:: with SMTP id h25mr15882416ote.184.1605938285841; Fri, 20 Nov 2020 21:58:05 -0800 (PST) Received: from localhost.localdomain (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id k20sm2634352ots.53.2020.11.20.21.58.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Nov 2020 21:58:05 -0800 (PST) From: Bjorn Andersson To: Andy Gross , Bjorn Andersson , Rob Herring Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] arm64: dts: qcom: sm8150: Add wifi node Date: Fri, 20 Nov 2020 21:58:07 -0800 Message-Id: <20201121055808.582401-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Jonathan Marek Add a node for the WCN3990 WiFi module. Signed-off-by: Jonathan Marek [bjorn: Extracted patch from larger "misc" patch, added qdss clock] Signed-off-by: Bjorn Andersson Reviewed-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index c2f8c3097ac5..f4c3fbf36e87 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -1297,6 +1297,29 @@ cpufreq_hw: cpufreq@18323000 { #freq-domain-cells = <1>; }; + + wifi: wifi@18800000 { + compatible = "qcom,wcn3990-wifi"; + reg = <0 0x18800000 0 0x800000>; + reg-names = "membase"; + memory-region = <&wlan_mem>; + clock-names = "cxo_ref_clk_pin", "qdss"; + clocks = <&rpmhcc RPMH_RF_CLK2>, <&aoss_qmp>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&apps_smmu 0x0640 0x1>; + status = "disabled"; + }; }; timer {