From patchwork Sun Mar 24 17:20:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 161007 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp3057095jan; Sun, 24 Mar 2019 10:20:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqy/1JltqrYDPC0D+8wdR/Ii6+8FUv8vj4eVKBChk40nmZiXMdl0hND3Z1nCEUVPJOzANyso X-Received: by 2002:a62:4115:: with SMTP id o21mr18834558pfa.153.1553448031190; Sun, 24 Mar 2019 10:20:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553448031; cv=none; d=google.com; s=arc-20160816; b=S2jd5ulmzxjJZxwfk4uo3mYqr8HcJLEvwGA6qq1az9s3frHJfhh6KcXymPpz2JrjSa mcNIsoTXgJq7GGN/YEvxT3FfTeivnUT4G1J8t0JBbOa8LFfhLyDsPTWxwRXT/r8GM3TI +K0Yl2Fb2FD9aMnNqNtFYfUxeZSC4hSi3hL95dObl2aGgwLNcpBOyzhhgAF0/v4oxVCe 6tWNThbU0LbNwqHBadmCWz329MR4o+09ipyL3Jbz0ibdXJM+kPXIpaue7sISaL7+jTur PYcgijUEKICr1whTWj8QrWKNJdQHAwT8AciaukKiT3y5lM2xzwiVSrUqCEpqOLgo116g Y3vA== 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=8jjXUZYrVPacaQgdp11GuDHSIunYAokgnlYeCW0bcU4=; b=Xlz85wgBiexXMq1Z4eHLdryuvZFtop3cpa/qXRC5yWvYDBqu6DY0+grCzML6usofEt s1CXFKErIPsDOiQVeOAuhFjWPZh9/AeclUTzKq1f9r5IoYrsOHN/rmkNU91YdG6NYT/Y /W0pqxYZ9NnmCRWEGoAgAN6MBIFnc9zZb5y5DFGeeUKwrUouiIrhDtlUinefmkjb1gxi HxrPt8QmPe84s4RyOkhu72Rl+mJ+/c3QQ9XPyqrBryspsTwH/Q0gS0/ycTzP6uG6ATVV o+RdrdG1MGu3zh5TNQJDvNOYdyfNAnqoCBOHhnnLoUN7xYCOzKq/MhaoJPZJSrjIe12Y 4Ipw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="JXKaE/Gw"; 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 g10si12027626pge.304.2019.03.24.10.20.30; Sun, 24 Mar 2019 10:20:31 -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=pass header.i=@linaro.org header.s=google header.b="JXKaE/Gw"; 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 S1728948AbfCXRUX (ORCPT + 7 others); Sun, 24 Mar 2019 13:20:23 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:47084 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726317AbfCXRUX (ORCPT ); Sun, 24 Mar 2019 13:20:23 -0400 Received: by mail-pg1-f195.google.com with SMTP id a22so4765487pgg.13 for ; Sun, 24 Mar 2019 10:20:22 -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=8jjXUZYrVPacaQgdp11GuDHSIunYAokgnlYeCW0bcU4=; b=JXKaE/GwuWAdYSXBt3R8GAurLLKerYczfdGIb7fFj9O/Y21ZTUNzMhpVdgLjoYQAkz XMAjEeApwikW7IBDEcUrn+/lb6aKXruO0uSjDIpRhY9GdwzgWOUYg+1/iYIvVju8R7AP EelBTGo9lYBp0CrL4fXmoSM8Tn3uhiHBxdWQMm+pZJ/szPxti+B/8Mo+QPB8ezjRw8+M +VyTb5JHIRXnu7aXhl6yssYX6+YbWVR/W1+1SBKKps4OW3G38OEkkncodP3U4ZbFxkVX gnptXDDjCnXSqmbIJl+VpDqYZEDtCwRjTdSJMX69KaEI3ZJIrWldKwEWxGJEC3UgUhyS t1CQ== 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=8jjXUZYrVPacaQgdp11GuDHSIunYAokgnlYeCW0bcU4=; b=pUqk8cRZPKaeZb1WTI7s5TBrS1l8w4S9EdwKk4F/GqXeM+XhyeHLOI2l3Ld7yfp/Jw zUZlAgewztPbxu7J3GY5usn2DbGWkatiA/Hr/Furkpe5v0Wl9cgP/ONZ+oLbGbtCi8yT fBGZQ3qccvcGX3rn8d5NUItsRDakCP4us5wMA51mEMHuBUpRJYgODt7J27KYzS8FZTB1 UBzjNxahkDziRf84599LiVwhBN//FP13AAXShm5FXmh16vFsLeXeAEk69FYKttb8apx5 EhP5RB0lsYnP2pgMiQ4WAhSjzsaXUTEqQf2ZDZbAI1yg1i31PiPnZUwdGZ5g2AuGa1W9 Yshw== X-Gm-Message-State: APjAAAWqDA/8VosYmM/imksq6GvOVFIWex2Ds/eRwIS5fo0q1KxDjQML lgGdQUrn7z5w7Pcpuk9CXYcj1Q== X-Received: by 2002:a63:7150:: with SMTP id b16mr12025583pgn.83.1553448022319; Sun, 24 Mar 2019 10:20:22 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id g6sm20382713pgq.54.2019.03.24.10.20.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Mar 2019 10:20:21 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , Vinod Koul Cc: David Brown , Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] arm64: dts: qcom: Fully describe the CDSP Date: Sun, 24 Mar 2019 10:20:16 -0700 Message-Id: <20190324172016.1195-3-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190324172016.1195-1-bjorn.andersson@linaro.org> References: <20190324172016.1195-1-bjorn.andersson@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 88 ++++++++++++++++++---------- 1 file changed, 57 insertions(+), 31 deletions(-) -- 2.18.0 diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index f62cd09d965e..c20425aa9ed9 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -113,37 +113,6 @@ }; }; - remoteproc_cdsp: remoteproc-cdsp { - compatible = "qcom,qcs404-cdsp-pas"; - - interrupts-extended = <&intc GIC_SPI 229 IRQ_TYPE_EDGE_RISING>, - <&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, - <&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, - <&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, - <&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; - interrupt-names = "wdog", "fatal", "ready", - "handover", "stop-ack"; - - clocks = <&xo_board>; - clock-names = "xo"; - - memory-region = <&cdsp_fw_mem>; - - qcom,smem-states = <&cdsp_smp2p_out 0>; - qcom,smem-state-names = "stop"; - - status = "disabled"; - - glink-edge { - interrupts = ; - - qcom,remote-pid = <5>; - mboxes = <&apcs_glb 12>; - - label = "cdsp"; - }; - }; - remoteproc_wcss: remoteproc-wcss { compatible = "qcom,qcs404-wcss-pas"; @@ -288,6 +257,57 @@ clock-names = "core"; }; + remoteproc_cdsp: remoteproc@b00000 { + compatible = "qcom,qcs404-cdsp-pas"; + reg = <0x00b00000 0x4040>; + + interrupts-extended = <&intc GIC_SPI 229 IRQ_TYPE_EDGE_RISING>, + <&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, + <&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, + <&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, + <&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal", "ready", + "handover", "stop-ack"; + + clocks = <&xo_board>, + <&gcc GCC_CDSP_CFG_AHB_CLK>, + <&gcc GCC_CDSP_TBU_CLK>, + <&gcc GCC_BIMC_CDSP_CLK>, + <&turingcc TURING_WRAPPER_AON_CLK>, + <&turingcc TURING_Q6SS_AHBS_AON_CLK>, + <&turingcc TURING_Q6SS_AHBM_AON_CLK>, + <&turingcc TURING_Q6SS_Q6_AXIM_CLK>; + clock-names = "xo", + "sway", + "tbu", + "bimc", + "ahb_aon", + "q6ss_slave", + "q6ss_master", + "q6_axim"; + + resets = <&gcc GCC_CDSP_RESTART>; + reset-names = "restart"; + + qcom,halt-regs = <&tcsr 0x19004>; + + memory-region = <&cdsp_fw_mem>; + + qcom,smem-states = <&cdsp_smp2p_out 0>; + qcom,smem-state-names = "stop"; + + status = "disabled"; + + glink-edge { + interrupts = ; + + qcom,remote-pid = <5>; + mboxes = <&apcs_glb 12>; + + label = "cdsp"; + }; + }; + usb3_phy: phy@78000 { compatible = "qcom,usb-ssphy"; reg = <0x78000 0x400>; @@ -506,6 +526,7 @@ compatible = "qcom,gcc-qcs404"; reg = <0x01800000 0x80000>; #clock-cells = <1>; + #reset-cells = <1>; assigned-clocks = <&gcc GCC_APSS_AHB_CLK_SRC>; assigned-clock-rates = <19200000>; @@ -516,6 +537,11 @@ reg = <0x01905000 0x20000>; }; + tcsr: syscon@1937000 { + compatible = "syscon"; + reg = <0x01937000 0x25000>; + }; + spmi_bus: spmi@200f000 { compatible = "qcom,spmi-pmic-arb"; reg = <0x0200f000 0x001000>,