From patchwork Sat Jul 16 00:42:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 72155 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp89147qga; Fri, 15 Jul 2016 17:42:39 -0700 (PDT) X-Received: by 10.98.94.135 with SMTP id s129mr26481522pfb.31.1468629758723; Fri, 15 Jul 2016 17:42:38 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f5si3129072pfk.77.2016.07.15.17.42.38; Fri, 15 Jul 2016 17:42:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752000AbcGPAm0 (ORCPT + 7 others); Fri, 15 Jul 2016 20:42:26 -0400 Received: from mail-pf0-f179.google.com ([209.85.192.179]:33752 "EHLO mail-pf0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751934AbcGPAmT (ORCPT ); Fri, 15 Jul 2016 20:42:19 -0400 Received: by mail-pf0-f179.google.com with SMTP id y134so19775686pfg.0 for ; Fri, 15 Jul 2016 17:42:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=uQX+a5vAw1b10//9ys3YEr+sEk/+jvnWW0uaFGUgqy0=; b=Ingd4qteuCNI5SvlDlk6kdKnjDlpsSj1IQsU4kPJv2sAd1CrthItgMMLVIVnYEanng VbLobyWu/7c7uZ1E+9gPL3uIxQKSa6JPxN+08iunY0asztWsPIsM4jkvjiAF3DMmO9wj QpjNA5FU0PCSaYB1A+IpJBBaotOwdUXFAjXJ8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=uQX+a5vAw1b10//9ys3YEr+sEk/+jvnWW0uaFGUgqy0=; b=k+cwUTQ8SVhW/NWw8vJB2dJDA8lBxwDhHqkGe3joEhPAblHXwVoYzsVzyBgiFvpiP1 WNTonpsU8QcBaLlvvl7mtIyOiKS5xtEAkhyVAnDzBARzBPnNl0JHbl0Gazfpjz/Qc1Pe zA5oB/zSMmv2GFfkusHp1v29Py0v35kPY77lF/1BJu+fxxVaAjPWc9kDrlFR9MNGnbXg +PxeogaN/8UKFd6+b4peD7Ixb1L/30buRel6OZhohJJYS0fezpPalY42NBfQWZwaWUfI mIIkR7DYrRXQaIiNSdW8OKKaXWbc3m4khRAfUIZTfVtffc+Q5kKgUdGVy/xvtD3pT1Uq LmZA== X-Gm-Message-State: ALyK8tIwe4v98D2ZnzU2/69XvvD7d/9veqU+FSH2rVq2r6ZfcDoMTUGzPNJUvBbxYVi3RLQu X-Received: by 10.98.57.151 with SMTP id u23mr26129210pfj.4.1468629738982; Fri, 15 Jul 2016 17:42:18 -0700 (PDT) Received: from localhost.localdomain (ip68-111-223-48.sd.sd.cox.net. [68.111.223.48]) by smtp.gmail.com with ESMTPSA id e126sm6837743pfc.5.2016.07.15.17.42.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 15 Jul 2016 17:42:18 -0700 (PDT) From: Bjorn Andersson To: Andy Gross Cc: spjoshi@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/6] arm64: dts: qcom: msm8916: Add smsm and smp2p nodes Date: Fri, 15 Jul 2016 17:42:11 -0700 Message-Id: <1468629736-7644-1-git-send-email-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.5.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch adds the smsm and smp2p nodes for the hexagon and wcnss cores. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 82 +++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 11bdc24cfc74..6148ea05b50a 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -657,6 +657,88 @@ }; }; }; + + hexagon-smp2p { + compatible = "qcom,smp2p"; + qcom,smem = <435>, <428>; + + interrupts = <0 27 IRQ_TYPE_EDGE_RISING>; + + qcom,ipc = <&apcs 8 14>; + + qcom,local-pid = <0>; + qcom,remote-pid = <1>; + + hexagon_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + + #qcom,smem-state-cells = <1>; + }; + + hexagon_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + wcnss-smp2p { + compatible = "qcom,smp2p"; + qcom,smem = <451>, <431>; + + interrupts = <0 143 IRQ_TYPE_EDGE_RISING>; + + qcom,ipc = <&apcs 8 18>; + + qcom,local-pid = <0>; + qcom,remote-pid = <4>; + + wcnss_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + + #qcom,smem-state-cells = <1>; + }; + + wcnss_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + smsm { + compatible = "qcom,smsm"; + + #address-cells = <1>; + #size-cells = <0>; + + qcom,ipc-1 = <&apcs 0 13>; + qcom,ipc-6 = <&apcs 0 19>; + + apps_smsm: apps@0 { + reg = <0>; + + #qcom,smem-state-cells = <1>; + }; + + hexagon_smsm: hexagon@1 { + reg = <1>; + interrupts = <0 26 IRQ_TYPE_EDGE_RISING>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + wcnss_smsm: wcnss@6 { + reg = <6>; + interrupts = <0 144 IRQ_TYPE_EDGE_RISING>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + }; }; #include "msm8916-pins.dtsi"