From patchwork Wed May 24 00:02:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 9744539 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 4A6756032B for ; Wed, 24 May 2017 00:06:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3E0C828840 for ; Wed, 24 May 2017 00:06:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 32D6228860; Wed, 24 May 2017 00:06:06 +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 D890228840 for ; Wed, 24 May 2017 00:06:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762980AbdEXAFV (ORCPT ); Tue, 23 May 2017 20:05:21 -0400 Received: from mail-pf0-f169.google.com ([209.85.192.169]:36835 "EHLO mail-pf0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1034942AbdEXAEQ (ORCPT ); Tue, 23 May 2017 20:04:16 -0400 Received: by mail-pf0-f169.google.com with SMTP id m17so129202741pfg.3 for ; Tue, 23 May 2017 17:04:15 -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=hQtfuXXY7HHpNinA7RSGjUdCeBiceBL9yPsk+SeSB0qeoJssSRc9z7DA0Cye36XMfY ejgJjux5PEEhhRq4InS6NjQwqR78+nGt3gtjffjrw9lvyvKa8hJLfq2Z3t1X5NZ3sUKN DhI8NY1ag4YdfpDCHwRn5NTRSH0qHMVMck26Q= 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=N0oHp1sYyxMVVgCBFP0ADrXeXTGz+tyPfx/pWB2YSmWXU2K72XpDYabIUGYbuyasC9 XAq+Ce44I7mn4Qkeq5lliCjB6lEox/5r2R+mr+3GkMbqhsQRvHPUMw5QvUeWzbwYGlQ4 4vTWgPCj+bdFOg+NQvce3pcaou1gm19FAAPr/67c83KUqZwSwLg/KzE/vsiQ9cG8PnXK bvLgG3YGOjf09Z56R18+aizzwF0gZYUK7q7FvzCo/Acp8LIfA5TpebHb5AFT8sNaJft3 mi3COB4aGiWQJixuHzJbjCJwvNp0YowbxfNAQXZFibLQJe022fuHCp2DmY6x5myY9gK/ 26SA== X-Gm-Message-State: AODbwcB+VFweWXVyQ5XildOkfKQ1f/l5O/IzAcSpNcOfl1lfjqadlBiH zEQlLFuTWARLy1LY X-Received: by 10.99.111.79 with SMTP id k76mr35566995pgc.200.1495584255539; Tue, 23 May 2017 17:04:15 -0700 (PDT) Received: from localhost.localdomain (li1068-205.members.linode.com. [106.184.3.205]) by smtp.gmail.com with ESMTPSA id l186sm3613987pgd.42.2017.05.23.17.04.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 23 May 2017 17:04:14 -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 v12 9/9] arm64: dts: qcom: msm8916: Add debug unit Date: Wed, 24 May 2017 08:02:57 +0800 Message-Id: <1495584177-32193-10-git-send-email-leo.yan@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1495584177-32193-1-git-send-email-leo.yan@linaro.org> References: <1495584177-32193-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>;