From patchwork Fri Feb 24 16:26:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 9591391 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E6EE2604A2 for ; Sat, 25 Feb 2017 00:25:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D9EF72857F for ; Sat, 25 Feb 2017 00:25:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CD18028697; Sat, 25 Feb 2017 00:25:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.4 required=2.0 tests=BAYES_00, DATE_IN_PAST_06_12, DKIM_SIGNED,DKIM_VALID autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 798192857F for ; Sat, 25 Feb 2017 00:25:12 +0000 (UTC) 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=YPjsjOmsCsu8BltsNsQjf5dDeHnOmxwgvdlw9Up0e+I=; b=mUe 7g8GOIr3HdVZkk2DyPvA95UsL1sWF93ta1Y3FeJ86w8xRrhDqSaXGguR48i5w06OE2aeR5sown4VL hWsDpiZ2+er7MTUrR1fL2mXlaiGECV4cGcZN9c8HpoqWcGGIZdCTTQ+ZKED0JWqpE/mKVwZQv0Fiv +wiSmFsDoB8PzYWfU+eO+gRQak3Jv9RLDrBXl0UIHSscNCPht9vvxJsiPfvdJBDBRHGfxb9eKcwnr 3Fs1JH+RdFd734QNmX86oxlDXqu02dAE07qR+QLOEzF55U9+NJKhMrOINA6i+Ew1zG+ev2fC6kndT NA1Kxj/U92okN9FTNh1TLpYI3cAjg/Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1chQAX-0004iJ-CU; Sat, 25 Feb 2017 00:25:01 +0000 Received: from mail-pg0-x22c.google.com ([2607:f8b0:400e:c05::22c]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1chQA6-0004gU-Qz for linux-arm-kernel@lists.infradead.org; Sat, 25 Feb 2017 00:24:36 +0000 Received: by mail-pg0-x22c.google.com with SMTP id z128so17558350pgb.0 for ; Fri, 24 Feb 2017 16:24:12 -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; bh=LLoDmEJUUS/yFuq2WXED0b6Hgv0ky0EqUlgf/13AI0g=; b=gqoF8t98RsjYb/nIWTE1vpWZRFXU3iDu/ct5aJTdBfit42IPsmPeyPenNjAEvuJMlI TktAxXB2c7NpnaJrJFrmoDHjSdiNtAwaXzJcR3ladfIGakZFC8KnL9mlNzkrGCdFpJwI XWOEzumtJtJ9R+6p3q7SNbQ4ZWB5YJgZAlvY8= 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; bh=LLoDmEJUUS/yFuq2WXED0b6Hgv0ky0EqUlgf/13AI0g=; b=dhXuww97UrmKq6x+qAjdVPsqlwBUr+N9lcgyapUfBm41IOHUuUtSlDv/AZzZPXpNE2 EkgmmdMoZB5qAmnnLrfe273yf8APSD4ny0jMENiyaxcuIxbfRjLNc66ux80JFtHWrIRC u9+IFG1vxGLbd0JWkYZknGdcovD73AqQ3zAGHS5F0PPGbPbKXLnbBHo6a52vQBanExOL cbg8H77mfEzYpOK0HRWnCbVjX1LN3SAL+DEPf07qQeXtdCh0NIiRY/7H5QYRchQnA/QB Olrh1jZnG9MZ73JLMF4oYmur07/YXVIYPSi8UGVwMC4pC3KNuW5rbgiEQ5DLPyZqxh47 caeA== X-Gm-Message-State: AMke39mdJmT6WFBsEM/dW8B3jtqgutQj7XyGyusxzw3k5AaZpH41UT0oMPGOgnqSmxdcmdFj X-Received: by 10.99.225.5 with SMTP id z5mr6845164pgh.145.1487982252246; Fri, 24 Feb 2017 16:24:12 -0800 (PST) Received: from localhost.localdomain (ip68-111-223-48.sd.sd.cox.net. [68.111.223.48]) by smtp.gmail.com with ESMTPSA id o189sm17120851pga.12.2017.02.24.16.24.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Feb 2017 16:24:11 -0800 (PST) From: Bjorn Andersson To: Andy Gross , David Brown Subject: [PATCH] arm64: dts: msm8996: Add modem and slpi smp2p nodes Date: Fri, 24 Feb 2017 08:26:05 -0800 Message-Id: <20170224162605.31290-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.11.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170224_162434_909261_C64B48A5 X-CRM114-Status: UNSURE ( 8.40 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 48 +++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index cfc7edc8fb15..4e16fedad5ec 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -1107,5 +1107,53 @@ #interrupt-cells = <2>; }; }; + + modem-smp2p { + compatible = "qcom,smp2p"; + qcom,smem = <435>, <428>; + + interrupts = <0 451 IRQ_TYPE_EDGE_RISING>; + + qcom,ipc = <&apcs 16 14>; + + qcom,local-pid = <0>; + qcom,remote-pid = <1>; + + modem_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + modem_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + slpi-smp2p { + compatible = "qcom,smp2p"; + qcom,smem = <481>, <430>; + + interrupts = <0 178 IRQ_TYPE_EDGE_RISING>; + + qcom,ipc = <&apcs 16 26>; + + qcom,local-pid = <0>; + qcom,remote-pid = <3>; + + slpi_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + slpi_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + + interrupt-controller; + #interrupt-cells = <2>; + }; + }; }; #include "msm8996-pins.dtsi"