From patchwork Tue May 2 10:08:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 9707793 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 93BB360349 for ; Tue, 2 May 2017 10:11:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 85F3428402 for ; Tue, 2 May 2017 10:11:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 793B92842E; Tue, 2 May 2017 10:11:18 +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 025D228402 for ; Tue, 2 May 2017 10:11:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752127AbdEBKLC (ORCPT ); Tue, 2 May 2017 06:11:02 -0400 Received: from mail-pg0-f52.google.com ([74.125.83.52]:35315 "EHLO mail-pg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751767AbdEBKK7 (ORCPT ); Tue, 2 May 2017 06:10:59 -0400 Received: by mail-pg0-f52.google.com with SMTP id o3so53544193pgn.2 for ; Tue, 02 May 2017 03:10:58 -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=PqngQh/gexH1fd0QiSf1hJ9jCZaKxsb5RqRsMV5T44z21Nnd8CRQt4+7d+Q7wKM5Zy XCJ/tv/yOtbTiaFe2beOmJYgfHNIlARQrxVeHiStuwNCJ/QOJVxSPUedwpFvo0nONE3i Rrfu7+SBLD6QGW8AGMLT4PwTsI6RGRDrz+83U= 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=O0sEduENvChraoJVgot+Im8jRecmVOKaoHc0brhc1zU5khGIs9Y5/rwUlho9YU3WPK /d6WUBCRKEdCED+70YvBJf+lqNJSSj4heT9RaHm1vVmGPuauHfAHIIDC9dJg4DnKK296 iQOW3p7vcXBPAEjeJavWmaIFhvvY9iNWH22qbZFqmhDf/b2IxRTWIiMQIl73BURF+JFh 7qkkQcEWNilrxnG6vPIJt2ZtoROwwbZr7m5hSidr2vOHNbEfCDobyr8thFKLn6Ewni6a wSdCwgrvKMWZG/V50xcObo3pyuJWRD29cPS+1LxFt5Ze2jQGmH4Og3Y2tsx9ZLABaTrE 9ygA== X-Gm-Message-State: AN3rC/7njG1M7p5LxSI6lrdO3L+7VvNIbJ/NrOaXpm7TW+mGuhiPD9Vs oC0wPb8A4/zwb2d0 X-Received: by 10.99.122.12 with SMTP id v12mr32115331pgc.98.1493719853395; Tue, 02 May 2017 03:10:53 -0700 (PDT) Received: from localhost.localdomain (45-125-195-13.ip4.readyserver.sg. [45.125.195.13]) by smtp.gmail.com with ESMTPSA id 70sm29713046pfk.49.2017.05.02.03.10.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 02 May 2017 03:10:52 -0700 (PDT) From: Leo Yan To: Jonathan Corbet , Rob Herring , Mark Rutland , Wei Xu , Catalin Marinas , Will Deacon , Andy Gross , David Brown , Mathieu Poirier , 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 v8 7/7] arm64: dts: qcom: msm8916: Add debug unit Date: Tue, 2 May 2017 18:08:37 +0800 Message-Id: <1493719717-27698-8-git-send-email-leo.yan@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1493719717-27698-1-git-send-email-leo.yan@linaro.org> References: <1493719717-27698-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 --- 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>;