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: 10867555 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 62DC11390 for ; Sun, 24 Mar 2019 17:20:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 40F8D28D29 for ; Sun, 24 Mar 2019 17:20:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 33A9A28FEC; Sun, 24 Mar 2019 17:20:40 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 105C62904E for ; Sun, 24 Mar 2019 17:20:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728949AbfCXRUX (ORCPT ); Sun, 24 Mar 2019 13:20:23 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:38310 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728946AbfCXRUX (ORCPT ); Sun, 24 Mar 2019 13:20:23 -0400 Received: by mail-pf1-f193.google.com with SMTP id 10so4730516pfo.5 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=r8LmNP0pbBzvoEu1E5TPEJrzQQAPll3VWkchL9rPOBMyfRX77wbm5uNMFU6d/zJK3b lqwvCRSC+34YaOF4to+Pbyl/y/HeWN2w11EAYzgP0WhF+iZ+0LlSb/0x29h1K8Tk15lx POW62I6GXBWk6pje8Qp2SpEQvzgACYXuYTA2QZ8FLmLsETiQgZgpHg4s5Pa6GXJLuJn3 YkzpyRq3hzEa4U9IOLntyAis3cTKnsDNA8sxNmsHrs6PRq9SpGmyVnz9GdCjiumUiDna PNV7naxZizNKfClMXOq6uRBHXgkDGtuBnQ/N8xWJT+uGyoA5VM6M2GEG+4ORTMQ4olt7 WTAg== X-Gm-Message-State: APjAAAW06UO8RCUKYhsY4JTz4UorPUQOd4FneouQV4Pcku6QHXwxGQ8x EnHyhfWPzFbbC5OXziqQSna7LA== X-Google-Smtp-Source: APXvYqyTB5dmczecULGoeU84poBUfEu7/+C79q86HXVFJELqHpnBkTpxuG+eoGpW1nS9hmfSqyOpog== 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: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 88 ++++++++++++++++++---------- 1 file changed, 57 insertions(+), 31 deletions(-) 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>,