From patchwork Fri Mar 17 15:02:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 9630915 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 35FE8602D6 for ; Fri, 17 Mar 2017 15:09:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 31B9F286A8 for ; Fri, 17 Mar 2017 15:09:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 23BCF286AD; Fri, 17 Mar 2017 15:09:50 +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 AD36B286A8 for ; Fri, 17 Mar 2017 15:09:49 +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:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9Jzy8C9hQhsAnC6dWaRE8NqjM66RiJlsk5DAgnRriGM=; b=I10MJLWtztanQc ws8N+Zgf5503sRDToMYvL4XDgX6SQaA6m+cJAEftWH/ueNpDcStnSyP+BXh2OzQYEk4Z8HMHiDejv 5JAbvY0Mv6xDlPiKed06btGtKGbld4tj0DNsmOjseqdlb8cIpyp2gbvyIUfmc4PmoA5SLkFriwAY+ y/oMHg1hpveUf41t4BL+rLPBMpwrvGWTUprWwwdVYBKO7iGB8jKlniKzyqKsbonpJyCknuK2Al4hX 5EgPTS/kLMbEHIMgRlCHTMTmJUZKsJf2KvX3TEWbITJUN1sGTb8b8NgDtljy7XUxByJyeY++CDV8D p1xqHZtMyB1QctBtG79A==; 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 1cotVk-0000zW-6G; Fri, 17 Mar 2017 15:09:48 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cotVi-0000wv-6Q for linux-arm-kernel@bombadil.infradead.org; Fri, 17 Mar 2017 15:09:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:To:From:Sender:Reply-To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Tbswh5cFBfrAzQTlCt870+M3haV74uJPnmvSQMqsJQI=; b=TKEwbELxptTpkQSskIWWjIAcD aez19j9EMkzpnpXahXYRRz+/zZnp1MH1Muvd+s0NmwbGZjwpWXj1nFYLJtaCE6vvInL5whBBJLizR 0At4Y0MCVMgEw1dZhLaY/HtjHiX3ldCfneVRrDRWhNvkdyz9OBKkh4lowNxb4h8jo3oNTZpkcaaEB z6ilNeeOvsflzhwuyy1pTQuAkVBV7eRLOv+B17rvxyK8I1QlIpmahrmB9JRoX43qEFLSnTKy7Ap9U J+KQXhO2YU6JuH04CVmw4oF+9QpJ1YGJhfcIHd8JRYmI2S06YdC4HfCTtDwkb2X75mR2baWItlfcY 6vcAyrEsw==; Received: from mail-pg0-x22c.google.com ([2607:f8b0:400e:c05::22c]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cotRK-0003v3-A8 for linux-arm-kernel@lists.infradead.org; Fri, 17 Mar 2017 15:05:16 +0000 Received: by mail-pg0-x22c.google.com with SMTP id b129so42974572pgc.2 for ; Fri, 17 Mar 2017 08:04:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references; bh=Tbswh5cFBfrAzQTlCt870+M3haV74uJPnmvSQMqsJQI=; b=cCuz+FqTsTHPXRbfuP0XPF1Mdv100bEUlt1j9TNYX0zlbs7nlLF2IY30e48RgL2Rgt U98EjelQKfq+OM+628NRjeq8QwzsX5X/TLW53RBK1AXN5YQ7zsm75g5qmmZUIGPoNo5x pGmxceP4XxpzK3q5bkZFPJ9WadE566SMKAjLU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=Tbswh5cFBfrAzQTlCt870+M3haV74uJPnmvSQMqsJQI=; b=EPJVN4zAdJpKSc23i/GyS8epjAfUMXv6CLBNMt6MsZhwo5bk8gIabTDcpefdcSVR47 y7HO8DQBrL53XuSQ0Q2nGx46tQpa8iZxGJv9RgRR0mEhs8P7TxfIlvzf0OIOiDvpiQKr pFPtC28M/p3Khk7LD43oV3G5VCgO8FOtK+xYyON7fWMhbNMCn8kJMfSOM6ha4i/JzoPa dQiUZzisoSTnR3sxG9CY2WUq0xQNKIza66pVZGkcrzkDXSPSH6EEX+MbrxkdjKy3/xQN lhToNnxAnDaz6F0Lg3Blsm5Py5yBKoPDFLwi6W6ezW2r+WHF8hrRPu/cnNlkTGwiIxNU W+Pw== X-Gm-Message-State: AFeK/H31ZijDdmFgT83FNlorkEVTw4lCJpFDLoh32YkfeifeI0uDwoJuG6tHyrthVfXBZZ81 X-Received: by 10.98.89.70 with SMTP id n67mr17071866pfb.224.1489763092612; Fri, 17 Mar 2017 08:04:52 -0700 (PDT) Received: from localhost.localdomain ([103.230.219.215]) by smtp.gmail.com with ESMTPSA id f125sm17482582pfc.4.2017.03.17.08.04.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Mar 2017 08:04:51 -0700 (PDT) From: Leo Yan To: Rob Herring , Mark Rutland , Wei Xu , Catalin Marinas , Will Deacon , Andy Gross , David Brown , Michael Turquette , Stephen Boyd , Mathieu Poirier , Leo Yan , Guodong Xu , John Stultz , Greg Kroah-Hartman , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-clk@vger.kernel.org, mike.leach@linaro.org, Suzuki.Poulose@arm.com, sudeep.holla@arm.com Subject: [PATCH v4 6/7] arm64: dts: hi6220: register debug module Date: Fri, 17 Mar 2017 23:02:22 +0800 Message-Id: <1489762943-25849-7-git-send-email-leo.yan@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1489762943-25849-1-git-send-email-leo.yan@linaro.org> References: <1489762943-25849-1-git-send-email-leo.yan@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170317_150514_509271_5E2EACD9 X-CRM114-Status: UNSURE ( 9.02 ) 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: , 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 Bind debug module driver for Hi6220. Signed-off-by: Leo Yan --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 64 +++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index 470461d..467aa15 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -913,5 +913,69 @@ }; }; }; + + debug@f6590000 { + compatible = "arm,coresight-cpu-debug","arm,primecell"; + reg = <0 0xf6590000 0 0x1000>; + clocks = <&sys_ctrl HI6220_DAPB_CLK>; + clock-names = "apb_pclk"; + cpu = <&cpu0>; + }; + + debug@f6592000 { + compatible = "arm,coresight-cpu-debug","arm,primecell"; + reg = <0 0xf6592000 0 0x1000>; + clocks = <&sys_ctrl HI6220_DAPB_CLK>; + clock-names = "apb_pclk"; + cpu = <&cpu1>; + }; + + debug@f6594000 { + compatible = "arm,coresight-cpu-debug","arm,primecell"; + reg = <0 0xf6594000 0 0x1000>; + clocks = <&sys_ctrl HI6220_DAPB_CLK>; + clock-names = "apb_pclk"; + cpu = <&cpu2>; + }; + + debug@f6596000 { + compatible = "arm,coresight-cpu-debug","arm,primecell"; + reg = <0 0xf6596000 0 0x1000>; + clocks = <&sys_ctrl HI6220_DAPB_CLK>; + clock-names = "apb_pclk"; + cpu = <&cpu3>; + }; + + debug@f65d0000 { + compatible = "arm,coresight-cpu-debug","arm,primecell"; + reg = <0 0xf65d0000 0 0x1000>; + clocks = <&sys_ctrl HI6220_DAPB_CLK>; + clock-names = "apb_pclk"; + cpu = <&cpu4>; + }; + + debug@f65d2000 { + compatible = "arm,coresight-cpu-debug","arm,primecell"; + reg = <0 0xf65d2000 0 0x1000>; + clocks = <&sys_ctrl HI6220_DAPB_CLK>; + clock-names = "apb_pclk"; + cpu = <&cpu5>; + }; + + debug@f65d4000 { + compatible = "arm,coresight-cpu-debug","arm,primecell"; + reg = <0 0xf65d4000 0 0x1000>; + clocks = <&sys_ctrl HI6220_DAPB_CLK>; + clock-names = "apb_pclk"; + cpu = <&cpu6>; + }; + + debug@f65d6000 { + compatible = "arm,coresight-cpu-debug","arm,primecell"; + reg = <0 0xf65d6000 0 0x1000>; + clocks = <&sys_ctrl HI6220_DAPB_CLK>; + clock-names = "apb_pclk"; + cpu = <&cpu7>; + }; }; };