From patchwork Fri May 19 04:25:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 9735787 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 D7F5C601C2 for ; Fri, 19 May 2017 04:27:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C08E82866A for ; Fri, 19 May 2017 04:27:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B4AD6288A7; Fri, 19 May 2017 04:27:46 +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 A4E1F288A9 for ; Fri, 19 May 2017 04:27:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754051AbdESE1o (ORCPT ); Fri, 19 May 2017 00:27:44 -0400 Received: from mail-pg0-f53.google.com ([74.125.83.53]:32975 "EHLO mail-pg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755124AbdESE1k (ORCPT ); Fri, 19 May 2017 00:27:40 -0400 Received: by mail-pg0-f53.google.com with SMTP id u187so32347538pgb.0 for ; Thu, 18 May 2017 21:27:40 -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=DemMGGjxKfOqfxebChWlMk7hNpbDSwyKC66qO5OpUcw=; b=Kn9d0VDx1NsyXKU5SgQMX/6AIkTDHLuhviQzvAI0oMadUhT4vfM7Wx9bUAuY2wLofp mPbEB4TOt3sZptS6orP6iHrXKA6btqhP9A4dvm21jvRoTl6Zdds7Y16O0/KmEx3IKjXU DxAWuJnbb0cuKd8VxynRRAIwpkJct1LD4l3WQ= 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=DemMGGjxKfOqfxebChWlMk7hNpbDSwyKC66qO5OpUcw=; b=B5aNyzzzZma+eLoYlexSRbF/dvarTSjftqxJep/mSR/92BWwUgLnsCoVG7tm2rAoHT Uco3I28yKRJnq0XomyEWXrbFxU3sM6V8rV4bpHSQzRqf3BgNcYu5L5mRmUW33sNt7Xn9 /JCKqFujmUfVZTZdhhrjitXhbvHIDKQK9LrP/X9fPCpTnx1++cFwAUmRMo5zKPNwSwQY ARlQFkfZZzZlp3c5iSd/0B9lihm5cDWhKPOtgncRVqswR9wcKemNNTRC3E9ThFvEtjsW VXBIs98hjiw5vVKiFmV1CYsz6S4X/vBSqzCX1RZZJb9lI27msW/tho8dy+Sw/P6LPUrA tQeA== X-Gm-Message-State: AODbwcByBZXtgvBgoBh5039k9YURV6jtT7FbXJqkz+Z+XHf4vZdkqRLY 04Va5utCFYL11twO X-Received: by 10.98.60.8 with SMTP id j8mr8120709pfa.72.1495168059455; Thu, 18 May 2017 21:27:39 -0700 (PDT) Received: from localhost.localdomain (li637-108.members.linode.com. [106.186.117.108]) by smtp.gmail.com with ESMTPSA id c29sm5823259pfj.101.2017.05.18.21.27.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 18 May 2017 21:27:38 -0700 (PDT) From: Leo Yan To: Jonathan Corbet , Mathieu Poirier , Rob Herring , Mark Rutland , Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , Catalin Marinas , Will Deacon , Wei Xu , 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 v10 09/10] arm64: dts: qcom: msm8916: Add debug unit Date: Fri, 19 May 2017 12:25:56 +0800 Message-Id: <1495167957-14923-10-git-send-email-leo.yan@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1495167957-14923-1-git-send-email-leo.yan@linaro.org> References: <1495167957-14923-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. Reviewed-by: Mathieu Poirier 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 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>;