From patchwork Wed Aug 24 01:33:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 9296689 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 B55D660574 for ; Wed, 24 Aug 2016 01:36:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AC3D328D82 for ; Wed, 24 Aug 2016 01:36:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A062A28D84; Wed, 24 Aug 2016 01:36:16 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 54AA628D82 for ; Wed, 24 Aug 2016 01:36:16 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bcN5q-0007Eg-Ch; Wed, 24 Aug 2016 01:35:02 +0000 Received: from mail-pf0-x236.google.com ([2607:f8b0:400e:c00::236]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bcN4W-0006PS-Cz for linux-arm-kernel@lists.infradead.org; Wed, 24 Aug 2016 01:33:41 +0000 Received: by mail-pf0-x236.google.com with SMTP id x72so965197pfd.2 for ; Tue, 23 Aug 2016 18:33: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:in-reply-to:references; bh=gdzq8GACwkUbMdAy0mAnhy4F3I4bnYfm1OoI9T/QD7s=; b=VLYj3zPOsqpMvrQB95Q8d4Chy/0ovgkz8JShM5Jb7PSz+sjgoLtfM1ay9UgNgjf4z8 e2Jw4Fyfsx2hAD+tmtRQnSbTbsmqx55FSw4m9X7H8kHeY7Fvh5VzdIR4bXndVl6dmMN+ 4P1NDHSho6vWm7SlqFFheRkZZ9dvtSK9v80Zk= 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:in-reply-to :references; bh=gdzq8GACwkUbMdAy0mAnhy4F3I4bnYfm1OoI9T/QD7s=; b=NlVjhjZsemDKOJ35KoV7XLRlfz3Fm+9HQYM0jWrnW/wcr0n5JpVEKHN5qkEAsfaXK7 r5eiLtrfrEvA/tfthZRT8HEhyhWrwC/mc2vU7uIOVAab/dyST/jWT9MrPik6/69vi8XO uuTcZUpA8aUPjEQu92UHQJCIZuItcKLF18cQ7xTbtjrCxRTXUwYZdql9BxMyAX7jAYj+ Gvsoj5A6ZWg8gJMt9SUyBgicas0OzcvR3AZ5S84KBftLDqgBsvRsPqR1dOG5KLjIU09a asjTb9BietDMluB/Huiw15t/MdBBLgEbJMpNqmNGLn68cDex+u7ecEFoKsgbh8IJXAR2 TSOg== X-Gm-Message-State: AE9vXwPBzlZbIdOzP2Es6r57TorqEfbaAFfe9KTvKceoGIfdKJuZZO75/xSE9tP9FEQYbPyE X-Received: by 10.98.88.131 with SMTP id m125mr783672pfb.63.1472002399232; Tue, 23 Aug 2016 18:33:19 -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 w76sm8551774pfd.69.2016.08.23.18.33.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 23 Aug 2016 18:33:18 -0700 (PDT) From: Bjorn Andersson To: Andy Gross Subject: [PATCH 4/4] arm64: dts: qcom: msm8916: Add Hexagon PIL node Date: Tue, 23 Aug 2016 18:33:13 -0700 Message-Id: <1472002393-1875-4-git-send-email-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1472002393-1875-1-git-send-email-bjorn.andersson@linaro.org> References: <1472002393-1875-1-git-send-email-bjorn.andersson@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160823_183340_529307_1AAB2F4B X-CRM114-Status: GOOD ( 12.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 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 The Hexagon core on the msm8916 provides services for audio control, audio output, sensors and the Hexagon SDK. The Hexagon remoteproc node allows us to boot this core. Although its part of the core platform its left disabled as it will crash without the rmtfs QMI service and we do not yet handle crashes gracefully. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 49 ++++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 6e599b75525a..bf0823e76f30 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -78,7 +78,7 @@ no-map; }; - mpss@86800000 { + mpss_mem: mpss@86800000 { reg = <0x0 0x86800000 0x0 0x2b00000>; no-map; }; @@ -87,6 +87,11 @@ reg = <0x0 0x89300000 0x0 0x600000>; no-map; }; + + mba_mem: mba@8ea00000 { + no-map; + reg = <0 0x8ea00000 0 0x100000>; + }; }; cpus { @@ -616,6 +621,48 @@ reg = <0x1937000 0x30000>; }; + hexagon@4080000 { + compatible = "qcom,q6v5-pil"; + reg = <0x04080000 0x100>, + <0x04020000 0x040>; + + reg-names = "qdsp6", "rmb"; + + interrupts-extended = <&intc 0 24 1>, + <&hexagon_smp2p_in 0 0>, + <&hexagon_smp2p_in 1 0>, + <&hexagon_smp2p_in 2 0>, + <&hexagon_smp2p_in 3 0>; + interrupt-names = "wdog", "fatal", "ready", + "handover", "stop-ack"; + + clocks = <&gcc GCC_MSS_CFG_AHB_CLK>, + <&gcc GCC_MSS_Q6_BIMC_AXI_CLK>, + <&gcc GCC_BOOT_ROM_AHB_CLK>; + clock-names = "iface", "bus", "mem"; + + qcom,smem-states = <&hexagon_smp2p_out 0>; + qcom,smem-state-names = "stop"; + + resets = <&scm 0>; + reset-names = "mss_restart"; + + mx-supply = <&pm8916_l3>; + pll-supply = <&pm8916_l7>; + + qcom,halt-regs = <&tcsr 0x18000 0x19000 0x1a000>; + + status = "disabled"; + + mba { + memory-region = <&mba_mem>; + }; + + mpss { + memory-region = <&mpss_mem>; + }; + }; + wcnss@a21b000 { compatible = "qcom,pronto-v2-pil"; reg = <0x0a21b000 0x3000>;