From patchwork Tue May 9 02:50:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 9716961 X-Patchwork-Delegate: agross@codeaurora.org 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 7900D60236 for ; Tue, 9 May 2017 02:51:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6D92D206AC for ; Tue, 9 May 2017 02:51:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 609F6269DA; Tue, 9 May 2017 02:51:53 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 153F3206AC for ; Tue, 9 May 2017 02:51:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755719AbdEICvv (ORCPT ); Mon, 8 May 2017 22:51:51 -0400 Received: from mail-pg0-f44.google.com ([74.125.83.44]:36019 "EHLO mail-pg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753234AbdEICvt (ORCPT ); Mon, 8 May 2017 22:51:49 -0400 Received: by mail-pg0-f44.google.com with SMTP id 64so20683794pgb.3 for ; Mon, 08 May 2017 19:51:49 -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=3iVolIvXg3qQmw1sETyhp24AFQzhTE9koQ8mIEoUemM=; b=NVnx37weSRKK77lMsJYoyMiPSau7O4pv0xzaip+pvTGmPmsSSN9AxZwjp1mrTr7pCV IYtjfaLX2knx1envvT9c0/QHifAnLLP0dhAAVWStOILIirEFGmwFwp24vaHmnCRtA3JP NDlAaJGHVG5k1EsTyOZOCgj2WWjr6wef/qbQ4= 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=3iVolIvXg3qQmw1sETyhp24AFQzhTE9koQ8mIEoUemM=; b=i0BRTSC07AIRH1DcJleU6rmJ2C+zXsrY5IkuMKMvisq6THWYfHK7Dq/6r2N8dJN/kt AEUI9QWHz6mTFIPGdnnqth2lV+l85zPRzJ2KkMNXZWzHundDz420gk3BuNYrPXy7QyOj vGJHReOsyexSuBpI1HHw80IlVxaRwnhLT+C4w8FBzo9p/eO2UtxoT92ySHtu/TwhgOM6 htFkZ85/zBWRt06g2DHtT9ea1NkAhURmaN8Eo8CpdVGDSgPFkue57/IfWJiZMUBm9paw mdYC/Olmdas838w3hU5Wegj4GUtldyuKjhPIiqzAmKGPal0godNGRNlj8xr2ZU6qXrO2 veDg== X-Gm-Message-State: AODbwcB1Ch4qyyIHTAwkCztnEhMOINpKoFdCzGRxSnIg4+Q/oz6tpay+ LD4wT57BcflLZo0I X-Received: by 10.98.215.72 with SMTP id v8mr2573579pfl.121.1494298304118; Mon, 08 May 2017 19:51:44 -0700 (PDT) Received: from localhost.localdomain (li1627-128.members.linode.com. [172.104.47.128]) by smtp.gmail.com with ESMTPSA id 20sm35326370pfq.42.2017.05.08.19.51.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 May 2017 19:51:42 -0700 (PDT) From: Leo Yan To: Jonathan Corbet , Mathieu Poirier , Rob Herring , Mark Rutland , Wei Xu , Catalin Marinas , Will Deacon , Andy Gross , David Brown , Greg Kroah-Hartman , Suzuki K Poulose , Stephen Boyd , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, Mike Leach , Sudeep Holla Cc: Leo Yan Subject: [PATCH v9 9/9] arm64: dts: qcom: msm8916: Add debug unit Date: Tue, 9 May 2017 10:50:02 +0800 Message-Id: <1494298202-6739-10-git-send-email-leo.yan@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1494298202-6739-1-git-send-email-leo.yan@linaro.org> References: <1494298202-6739-1-git-send-email-leo.yan@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 Add debug unit on Qualcomm msm8916 based platforms, including the DragonBoard 410c board. Signed-off-by: Leo Yan Reviewed-by: Mathieu Poirier --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 68a8e67..3af814b 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -1104,6 +1104,38 @@ }; }; + debug@850000 { + compatible = "arm,coresight-cpu-debug","arm,primecell"; + reg = <0x850000 0x1000>; + clocks = <&rpmcc RPM_QDSS_CLK>; + clock-names = "apb_pclk"; + cpu = <&CPU0>; + }; + + debug@852000 { + compatible = "arm,coresight-cpu-debug","arm,primecell"; + reg = <0x852000 0x1000>; + clocks = <&rpmcc RPM_QDSS_CLK>; + clock-names = "apb_pclk"; + cpu = <&CPU1>; + }; + + debug@854000 { + compatible = "arm,coresight-cpu-debug","arm,primecell"; + reg = <0x854000 0x1000>; + clocks = <&rpmcc RPM_QDSS_CLK>; + clock-names = "apb_pclk"; + cpu = <&CPU2>; + }; + + debug@856000 { + compatible = "arm,coresight-cpu-debug","arm,primecell"; + reg = <0x856000 0x1000>; + clocks = <&rpmcc RPM_QDSS_CLK>; + clock-names = "apb_pclk"; + cpu = <&CPU3>; + }; + etm@85c000 { compatible = "arm,coresight-etm4x", "arm,primecell"; reg = <0x85c000 0x1000>;