From patchwork Tue Jan 29 23:20:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 157019 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp5253790jaa; Tue, 29 Jan 2019 15:20:46 -0800 (PST) X-Google-Smtp-Source: ALg8bN7P2qL7bP+TMnIn5FHB0R3dWjNeCsnpA0kEd5++0racID/niVl2eB7pWrDLC4No11egs7gX X-Received: by 2002:a63:5964:: with SMTP id j36mr25391652pgm.210.1548804046624; Tue, 29 Jan 2019 15:20:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548804046; cv=none; d=google.com; s=arc-20160816; b=BWXrvn6KoVw5KNSEzW4k07PgFyZyobX/RVEwLDC8k8WHKCCms0tYLH01WNte2E1CQ3 zrX6qA9eIloKdiw5k6Okxzm2hejLZaBs+CQ0cvI/ziUlzyI8HV8HFQKJg5xHitEyhxVh upeEcDCk+KPt6ORiThKYOMiZYBA3d42kLZl3xCzASgeNWkp2c3CUH7ms/deV+yZqRsGP /JZ7ooR8xSdY0Gln6Bu2BOtn4lnmAd4XIOhJEibzzaQNDpmbQelQtMXa+SV4NqBjG3nM 2SSnHhOt2xwSezMXn986G0STs99GgQKDljPQh5G1WMVVM2YD5HHX6sYltPQTS6UbyRtb r5Xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=y7woJHGPgzIIqbCsBKj31TBihnfFQpfwnMTZGOBzJNU=; b=skFe6e+QRT+YoAJs/lPsIH/K436S4REKPOACfl7Gb21m8taD03fkF9KlELFJLIVyDO XoeQoW6aNbpbjKdJXKCZWRaGLHGP4c2ILPxLJHJ2t19eSARkFeYjud9YAjegM/62mjUv sTrCVIU3z++vRRhcamaPrHl0QyLusU6xCFf1AeV1PRc/eqPrqWWVA7c8srBVVUIQcKIz AhQg7wiRg9Y5HARx5l4kXfcasF88PofQU+qFYsYr5eVOUzEkvfwPTxLv41BH3+KlgOpo 9TVgDB932SZrP36Ir88sG34FKN2jAuEdWNugyCtEN4oVPzc8duYUQS5V5DXA+eZsGfsC 0rhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=O6eJ430i; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j135si32816948pgc.517.2019.01.29.15.20.46; Tue, 29 Jan 2019 15:20:46 -0800 (PST) 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=pass header.i=@linaro.org header.s=google header.b=O6eJ430i; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729835AbfA2XUp (ORCPT + 7 others); Tue, 29 Jan 2019 18:20:45 -0500 Received: from mail-pg1-f194.google.com ([209.85.215.194]:44926 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729970AbfA2XUn (ORCPT ); Tue, 29 Jan 2019 18:20:43 -0500 Received: by mail-pg1-f194.google.com with SMTP id t13so9431683pgr.11 for ; Tue, 29 Jan 2019 15:20:42 -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:in-reply-to:references; bh=y7woJHGPgzIIqbCsBKj31TBihnfFQpfwnMTZGOBzJNU=; b=O6eJ430iQ+KJ6Yek3/cpjgZYN7FjHW1DsdfAnpL0GrpxYrf5Jeomex7jn2yUxyQwQN Lscg0jK7EuUpo3bONBVg8YCmS7zQadkxUbz5oAhbiqrIVPCpv8WoeEJLXoV0PZ+lzI78 70ZpJvYIpqoIEDR8JTM59ple95dI62rM52S8M= 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:in-reply-to :references; bh=y7woJHGPgzIIqbCsBKj31TBihnfFQpfwnMTZGOBzJNU=; b=n41OE9ZcMif4x20ATdXUHcoL6D/9MLKHIw3UwHcI4nrxeBuZJ3IMSVBu3WeyuWzDwz s8psBoUFFSHaPbzjfTm4afDryEmb2s3NWHE68H2Ia1qzAlETxe07KR/rKrG1chXBm6qS ZUWAlAB9l/vRQzG6I/LFoQ9Z1XYTJc3XCN3x/zQPr6C46MIXTbRk5oory4R4W9sD2fqa 5M/25o7DkRRfttXaRANIaiNKauoR10OAIa5/kNfnwjJpl9zOwjIs98WtSIoWIdw80LbI lewBs3Vu64tq82gtRdIk+5Jx1lFBZ9Shn29GePRQY9fYYAbw3OFLCg1ZMrnT+ZTpDESX 7t8Q== X-Gm-Message-State: AJcUukdqduUFysZAisQfB9k5ZPq6wIZBft/u1mxNCdJdYgi1veVJiHZU gdQOClkcgs3lq7NPgIg5oKBeQw== X-Received: by 2002:a63:441e:: with SMTP id r30mr25758642pga.128.1548804042315; Tue, 29 Jan 2019 15:20:42 -0800 (PST) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id v70sm51182779pfa.152.2019.01.29.15.20.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Jan 2019 15:20:41 -0800 (PST) From: Bjorn Andersson To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , Ohad Ben-Cohen , Arun Kumar Neelakantam , Sibi Sankar , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org Subject: [PATCH v4 10/10] arm64: dts: qcom: sdm845: Add Q6V5 MSS node Date: Tue, 29 Jan 2019 15:20:09 -0800 Message-Id: <20190129232009.5033-11-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190129232009.5033-1-bjorn.andersson@linaro.org> References: <20190129232009.5033-1-bjorn.andersson@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Sibi Sankar This patch adds Q6V5 MSS remoteproc node for SDM845 SoCs. Signed-off-by: Sibi Sankar Reviewed-by: Douglas Anderson Signed-off-by: Bjorn Andersson --- Changes since v3: - Fixed sort order in /soc arch/arm64/boot/dts/qcom/sdm845.dtsi | 58 ++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) -- 2.18.0 diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 24c30be974bf..eb02c39d2048 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -1618,6 +1618,64 @@ }; }; + mss_pil: remoteproc@4080000 { + compatible = "qcom,sdm845-mss-pil"; + reg = <0 0x04080000 0 0x408>, <0 0x04180000 0 0x48>; + reg-names = "qdsp6", "rmb"; + + interrupts-extended = + <&intc GIC_SPI 266 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal", "ready", + "handover", "stop-ack", + "shutdown-ack"; + + clocks = <&gcc GCC_MSS_CFG_AHB_CLK>, + <&gcc GCC_MSS_Q6_MEMNOC_AXI_CLK>, + <&gcc GCC_BOOT_ROM_AHB_CLK>, + <&gcc GCC_MSS_GPLL0_DIV_CLK_SRC>, + <&gcc GCC_MSS_SNOC_AXI_CLK>, + <&gcc GCC_MSS_MFAB_AXIS_CLK>, + <&gcc GCC_PRNG_AHB_CLK>, + <&rpmhcc RPMH_CXO_CLK>; + clock-names = "iface", "bus", "mem", "gpll0_mss", + "snoc_axi", "mnoc_axi", "prng", "xo"; + + qcom,smem-states = <&modem_smp2p_out 0>; + qcom,smem-state-names = "stop"; + + resets = <&aoss_reset AOSS_CC_MSS_RESTART>, + <&pdc_reset PDC_MODEM_SYNC_RESET>; + reset-names = "mss_restart", "pdc_reset"; + + qcom,halt-regs = <&tcsr_mutex_regs 0x23000 0x25000 0x24000>; + + power-domains = <&aoss_qmp AOSS_QMP_LS_MODEM>, + <&rpmhpd SDM845_CX>, + <&rpmhpd SDM845_MX>, + <&rpmhpd SDM845_MSS>; + power-domain-names = "load_state", "cx", "mx", "mss"; + + mba { + memory-region = <&mba_region>; + }; + + mpss { + memory-region = <&mpss_region>; + }; + + glink-edge { + interrupts = ; + label = "modem"; + qcom,remote-pid = <1>; + mboxes = <&apss_shared 12>; + }; + }; + gpucc: clock-controller@5090000 { compatible = "qcom,sdm845-gpucc"; reg = <0 0x05090000 0 0x9000>;