From patchwork Tue May 23 14:16:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 9742773 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 03F4460388 for ; Tue, 23 May 2017 14:18:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 015BC27B81 for ; Tue, 23 May 2017 14:18:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F345827F8C; Tue, 23 May 2017 14:18:40 +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 1A6A3287DC for ; Tue, 23 May 2017 14:18:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030564AbdEWOS2 (ORCPT ); Tue, 23 May 2017 10:18:28 -0400 Received: from mail-pf0-f180.google.com ([209.85.192.180]:35229 "EHLO mail-pf0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934239AbdEWOSM (ORCPT ); Tue, 23 May 2017 10:18:12 -0400 Received: by mail-pf0-f180.google.com with SMTP id n23so116074040pfb.2 for ; Tue, 23 May 2017 07:18:12 -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=Xoaa1MTeCe7S7f0H3ZTgGh+zp2oIMMG3Vckau9Ugh9cJZ5nIRMuFwNB3fYwVAdaaPr ZeVs3obZiHVSj27UZykQHS5KJ0PW8gTavIVQ1290U3UpemQyH61kJ4Dqua3rX7dDIluW 3bpfwezpf0GsQ3uhtRU36LGujBT3sb1gSyYvA= 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=mmn2hYWBLRZEk35+d6ntN27KG3satzrp/1xpDt/hmjwV+DpSbBRt9x36JXESX3T7K5 zrgx7eAYY9nmnnwAENGasc2FBxewwMqYY2Q6C/1nCGOSwCwCjhelcO/KU5S10OJsb6p1 5xh6N3Szi4owlClXVkr/clEqS67XcBeVoyRL8FdJvEJd/rmAD3nauyepafgc0ig3072S m7iEDdDsD0dSoBx5JYqfuAXXrHIDU5Sl9Xzj2guhVpBA1+KFRo0HpUj/fH9U27swyb80 PQ9QtyhWIbB3Ip0/UBnMqzsq7P5AKLzmoyiRJVvm8+hhqY8mz5nzrlt/ejhagUUUKb0g y1Cg== X-Gm-Message-State: AODbwcCqbSes+uetpDGoRoWpsYivP/umcHc2zNExIZ5+OOUfNg/BvVe4 vcTpP+S1secLgQQC X-Received: by 10.98.214.200 with SMTP id a69mr32574433pfl.40.1495549090943; Tue, 23 May 2017 07:18:10 -0700 (PDT) Received: from localhost.localdomain (li1068-205.members.linode.com. [106.184.3.205]) by smtp.gmail.com with ESMTPSA id x80sm1953334pff.105.2017.05.23.07.18.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 23 May 2017 07:18:09 -0700 (PDT) From: Leo Yan To: Jonathan Corbet , Mathieu Poirier , Rob Herring , Mark Rutland , Liviu Dudau , 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 v11 9/9] arm64: dts: qcom: msm8916: Add debug unit Date: Tue, 23 May 2017 22:16:20 +0800 Message-Id: <1495548980-30432-10-git-send-email-leo.yan@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1495548980-30432-1-git-send-email-leo.yan@linaro.org> References: <1495548980-30432-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>;