From patchwork Thu May 25 16:04:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 9748627 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 A23A06032C for ; Thu, 25 May 2017 16:04:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 93BE1281E1 for ; Thu, 25 May 2017 16:04:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 86DC828417; Thu, 25 May 2017 16:04:32 +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.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, 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 0F4DB281E1 for ; Thu, 25 May 2017 16:04:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936700AbdEYQEb (ORCPT ); Thu, 25 May 2017 12:04:31 -0400 Received: from mail-pf0-f179.google.com ([209.85.192.179]:35923 "EHLO mail-pf0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757695AbdEYQEa (ORCPT ); Thu, 25 May 2017 12:04:30 -0400 Received: by mail-pf0-f179.google.com with SMTP id m17so171282643pfg.3 for ; Thu, 25 May 2017 09:04:30 -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; bh=DemMGGjxKfOqfxebChWlMk7hNpbDSwyKC66qO5OpUcw=; b=jNzk1kFG5IX6JaBcxnaMGQXINdnrHntF2w0opjv3FTVguKSiMW/a43Nccf8THs0KZ/ oAlP/nE7qYe5qDFcIRZkb4oF7oOPfgU4m/ekFCrXtXqs1PAObpVma0SduTieWXBSRbBJ WzPtfMBA3qGn2hIvxOOkZuLp+1Go0+vjH2cn0= 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; bh=DemMGGjxKfOqfxebChWlMk7hNpbDSwyKC66qO5OpUcw=; b=eNLXiXGVZqlxAvdqioQpAE6ynZ5/UQzeT0f7jTyTjRdTmPm1GnoIioEq6s84KDdKC3 4BG8LL5u48SkJpi2FsHlBOV4zrgHedJe0vm2ljvCD5m4I598PsHBHb0RmtYSkM47bA1G zkP5O1zmykKH+dRh6xjK9M6yx2xBiP7rVs/RogpNgmtZBJjVt8lNaD2RJ2EA8pYYYvIi Kif5liOI1kGVy8RNDlhs1o5uNtn5qqXmhFSd/ooPZ32v3KpHZgEx8bHCOFditp8JkJu4 V24IYlQAwX+oIymEsG4cviRUdO4cjTMBKku6byZuv7zpUKrptJcldfqHxEfRtRjF83+9 97ig== X-Gm-Message-State: AODbwcDMQJ75ijmecxhcP/rvsW6KKMm/JM+HySZqgplZGPTrPS96V/H2 jIbnlXb3DFLuk821 X-Received: by 10.84.236.71 with SMTP id h7mr6679376pln.86.1495728269650; Thu, 25 May 2017 09:04:29 -0700 (PDT) Received: from localhost.localdomain (li1068-205.members.linode.com. [106.184.3.205]) by smtp.gmail.com with ESMTPSA id p4sm16632969pfj.104.2017.05.25.09.04.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 May 2017 09:04:28 -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 , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, Stephen Boyd , Mike Leach Cc: Leo Yan Subject: [PATCH v13 9/9] arm64: dts: qcom: msm8916: Add debug unit Date: Fri, 26 May 2017 00:04:13 +0800 Message-Id: <1495728253-30970-1-git-send-email-leo.yan@linaro.org> X-Mailer: git-send-email 2.7.4 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. Reviewed-by: Mathieu Poirier Signed-off-by: Leo Yan Acked-by: Andy Gross --- 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 ab30939..17691ab 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -1116,6 +1116,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>;