From patchwork Tue Jun 7 00:57:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 69459 Delivered-To: patch@linaro.org Received: by 10.140.106.246 with SMTP id e109csp1733089qgf; Mon, 6 Jun 2016 17:58:30 -0700 (PDT) X-Received: by 10.107.131.105 with SMTP id f102mr25682517iod.136.1465261108506; Mon, 06 Jun 2016 17:58:28 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y11si4262195pal.70.2016.06.06.17.58.28; Mon, 06 Jun 2016 17:58:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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 linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1753876AbcFGA61 (ORCPT + 8 others); Mon, 6 Jun 2016 20:58:27 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:34749 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751735AbcFGA52 (ORCPT ); Mon, 6 Jun 2016 20:57:28 -0400 Received: by mail-pa0-f54.google.com with SMTP id bz2so40315484pad.1 for ; Mon, 06 Jun 2016 17:57:27 -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=zDWpOPFYXtC21cb0SUFyQI3MSSpnr1/ENh260adzvLw=; b=M5MkI5iJfiC92SSITMh81EfFVGEOiAfNbIwViH8gRVksbUyPdBmq/y58mkN5nrRp6l ix/ygjgvPp/kPXxFpaF6iRNC236lQ4C4xHKzO+y1SjgjZ07qkYxQH3OGSgtXRD0p30aa N68pL/ORzwMu6wE4Xqag7OJHMeeLD+A2LXYKM= 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=zDWpOPFYXtC21cb0SUFyQI3MSSpnr1/ENh260adzvLw=; b=CrnvRH288EZKKjnqXfSTxfBPGkldHTiBbbQZ8VMeeYmv1L3AZDydikOb0rp07g+BDX J1WV9+//HEmG1wQ3o0qMIW3igANNkZQ9XN9PrmJE4QDpr33KoNtoregUt5WJD9CMbLQw TdpipLZiYcyXgMrqxLvMommrZUhCFah5239jbDI/CVp2AAuoVwmWNrN1xdykL+3fx3vT Bv0CeT25OVS7CUMmKGDaVeU2PcmgJ9I+xfbe4klwB/U6sU39I3eunMaYSijq/ET8zyuN Z3+NicaSCBF3P064eTsXrDhhw8+LpIGNOhR2MBopbPjhX6Ctimrj31c6Op5J8gcOgVP4 9MmA== X-Gm-Message-State: ALyK8tJkabaJ6vokKWvgHc3Puri+MvE/mtEFQlAeht8ilATWFCsNpsiaXGvORKDuix0rfoJp X-Received: by 10.66.25.133 with SMTP id c5mr28002176pag.103.1465261047115; Mon, 06 Jun 2016 17:57:27 -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 y205sm9871964pfb.13.2016.06.06.17.57.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 06 Jun 2016 17:57:26 -0700 (PDT) From: Bjorn Andersson To: Andy Gross Cc: 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] ARM: dts: msm8916: Add smsm and smp2p nodes Date: Mon, 6 Jun 2016 17:57:23 -0700 Message-Id: <1465261044-2762-1-git-send-email-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.5.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 linux-arm-msm" 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 3ca609a11648..30c448909727 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -620,6 +620,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,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,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,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"