From patchwork Fri Mar 17 15:02:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 9630913 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 E5BCE60245 for ; Fri, 17 Mar 2017 15:06:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DCACF286B4 for ; Fri, 17 Mar 2017 15:06:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CF453286BE; Fri, 17 Mar 2017 15:06:30 +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 61CD3286B4 for ; Fri, 17 Mar 2017 15:06:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751443AbdCQPGH (ORCPT ); Fri, 17 Mar 2017 11:06:07 -0400 Received: from mail-pg0-f42.google.com ([74.125.83.42]:35289 "EHLO mail-pg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751275AbdCQPGF (ORCPT ); Fri, 17 Mar 2017 11:06:05 -0400 Received: by mail-pg0-f42.google.com with SMTP id b129so42980654pgc.2 for ; Fri, 17 Mar 2017 08:05:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references; bh=3iVolIvXg3qQmw1sETyhp24AFQzhTE9koQ8mIEoUemM=; b=M8LTeFmkjhonUMGEltZUZwI/TUsC3XNXjbTiO1M99i6LP5QeuYgMEIDSxxnVbgWRRO POWhCFu/1/xWpBg4u5JubpNI2NX6gCkLqDioGSqBvuxs6ukJiLLP7529SaZaWXoxELzD rsUpvAWsum7YxAydCDb0FpctjPT2DGtcxXPM0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=3iVolIvXg3qQmw1sETyhp24AFQzhTE9koQ8mIEoUemM=; b=O976j23rOgBhc+7p4pvDy4BqMDsHrbTVm7RBwwUmt2IT7a6NkfnR/QSapdbWooC3o8 Rq6cSzSlyTQ+t2dG1ncgvruh91YtzdtgrGacO9yNnJkCQuMt4PrPj4+SQgymJhar0Qh+ Y80/S3wK9Axpgo0tf6NoG/k0ugMN2a+E9/b1ARm5Rif2ap56mXTv6ds4Hmqw4/iUIXNE xZUyRCVU98x7b2gwtPOXSjH4ixiIAYBMo6XxJYmfyIMMVawNx4oeU8i9V9dCbVbjrXAB a09qMmNJG5gV0yQCu3Aqr55C569VjzWQHz36SWwjC1Rklrj0N1NNsoLJzHHcf7xTV4Dr qScA== X-Gm-Message-State: AFeK/H1jv3c+/kq/MQcreDZ5DANRn1Kb6mExWGrXWvdl1QaGR2KFpHCiBhzQd1HNcAOZ6sE+ X-Received: by 10.98.139.78 with SMTP id j75mr17158178pfe.122.1489763107409; Fri, 17 Mar 2017 08:05:07 -0700 (PDT) Received: from localhost.localdomain ([103.230.219.215]) by smtp.gmail.com with ESMTPSA id f125sm17482582pfc.4.2017.03.17.08.04.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Mar 2017 08:05:06 -0700 (PDT) From: Leo Yan To: Rob Herring , Mark Rutland , Wei Xu , Catalin Marinas , Will Deacon , Andy Gross , David Brown , Michael Turquette , Stephen Boyd , Mathieu Poirier , Leo Yan , Guodong Xu , John Stultz , Greg Kroah-Hartman , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-clk@vger.kernel.org, mike.leach@linaro.org, Suzuki.Poulose@arm.com, sudeep.holla@arm.com Subject: [PATCH v4 7/7] arm64: dts: qcom: msm8916: Add debug unit Date: Fri, 17 Mar 2017 23:02:23 +0800 Message-Id: <1489762943-25849-8-git-send-email-leo.yan@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1489762943-25849-1-git-send-email-leo.yan@linaro.org> References: <1489762943-25849-1-git-send-email-leo.yan@linaro.org> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@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 --- 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>;