From patchwork Mon Jun 5 20:15:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 9767429 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 E6907602BF for ; Mon, 5 Jun 2017 20:19:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D7A1628426 for ; Mon, 5 Jun 2017 20:19:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CC4E828437; Mon, 5 Jun 2017 20:19:04 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 562AF28426 for ; Mon, 5 Jun 2017 20:19:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=96y4F7RxUJ/If4tvViD+8uXm77uBj/IRI7vXbCkLZJA=; b=JN+qhlgVYmX8auobmtChssvNV0 haGlycEKo7aSgD10AuDZTU8Bx3vDUod70sGRMb7QhVdq2/GNZWTwxXQO4gh70Go3hlS+hSmfm92DX 2ejrAGO4KzcWsVdHd6gqVg0Nn26J+mD+vdil+XX0UEVM3Br5cNr3yYBUx0HbAcyYukyaXDXv0yr57 3Pr8Mh42vTMPYQuy0BdrYDBiy7wTm46Eitym9gDJBq49YPn0Ud9epWyKWsNAOMRjACdNE7ETuK1Q1 fftatfFi7k0DrklFYtFX1rhN58iXCrOBp3WqPRT7M/E+ivIq+VXpPM8AADe4oAtDVFVgp9fTphStB Hmyu+P8g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dHySs-0003f5-Nf; Mon, 05 Jun 2017 20:19:02 +0000 Received: from mail-it0-x22e.google.com ([2607:f8b0:4001:c0b::22e]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dHyQA-0008If-8s for linux-arm-kernel@lists.infradead.org; Mon, 05 Jun 2017 20:16:17 +0000 Received: by mail-it0-x22e.google.com with SMTP id x129so6148441ite.0 for ; Mon, 05 Jun 2017 13:15:55 -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=AHYoTE0J7dFkrP1RBlfTEQE8OAg5EVfBu+MjmrN7E3Y=; b=jx9dkn9oVQ9FtALj9x5RpW1X4mb9UjAE0iqowsALoyH7xCI87KdzCUoAgDbom3cPBD p1DSvclsuKDQYJhiUMAF/GRKvjBTM1wO1gVoDCbXdzECnDvFs6MGhqHRxF6J6fPXjPxb 2RTDZ2dc2P3CS1Tgmp6TkwOsLAaRlx7k0h4tw= 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=AHYoTE0J7dFkrP1RBlfTEQE8OAg5EVfBu+MjmrN7E3Y=; b=p+QevAsqhJQ4SWSOC5WBW/6UAyzZOYOscNMc5EBQnCr49/tg3jXoreS5Eo2biMS4pP 8fXK2M07R9tfWw/eKH1AN3zi61EUX0sJmT53iB7p8BshcaM7ZAl5zXgef/qjPVqHiO9f ciBVn721vtpvxvQzRpgcI/Sm8RfXlRnyqykRgGDJbH4RkNtNEXJvtbStJw+2vttK4RYF vPpzSMVB30knlBJqlIWVETi0y+vM4YCEOzrXwY3NL7BoqQPYoRGVdR5qEA8KihQ6XFVs jV5MCiY5y7J8SY9I+Qfd1r5w1/2ZliGcmZRJ5SGqriuT1bro0QOIjYttzTyYLBh87D28 OeAw== X-Gm-Message-State: AKS2vOzby7Lx8oPyJkn0+nafxxrn9c8H+5zhl9BXl3Y7em7210XnnlJH IBOMzLFU6+V1TULVtTAs4A== X-Received: by 10.107.149.193 with SMTP id x184mr13500033iod.104.1496693755183; Mon, 05 Jun 2017 13:15:55 -0700 (PDT) Received: from xps15.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [68.147.8.254]) by smtp.gmail.com with ESMTPSA id 200sm5372369itl.7.2017.06.05.13.15.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 05 Jun 2017 13:15:54 -0700 (PDT) From: Mathieu Poirier To: gregkh@linuxfoundation.org Subject: [PATCH 17/17] arm64: dts: qcom: msm8916: Add debug unit Date: Mon, 5 Jun 2017 14:15:18 -0600 Message-Id: <1496693718-9191-18-git-send-email-mathieu.poirier@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1496693718-9191-1-git-send-email-mathieu.poirier@linaro.org> References: <1496693718-9191-1-git-send-email-mathieu.poirier@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170605_131614_622850_7B522E8B X-CRM114-Status: UNSURE ( 7.93 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org, leo.yan@linaro.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Leo Yan Add debug unit on Qualcomm msm8916 based platforms, including the DragonBoard 410c board. Signed-off-by: Leo Yan Reviewed-by: Mathieu Poirier 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 ab3093995ded..17691abea608 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>;