From patchwork Tue May 2 10:08:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 9707791 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 9D09560349 for ; Tue, 2 May 2017 10:11:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8F3572842B for ; Tue, 2 May 2017 10:11:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8404E28437; Tue, 2 May 2017 10:11:13 +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=unavailable 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 1D3702842B for ; Tue, 2 May 2017 10:11:13 +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=9Jzy8C9hQhsAnC6dWaRE8NqjM66RiJlsk5DAgnRriGM=; b=L9x5OulorzkpKvhvUlqwmPjZ58 lR9/nSU9PpPZsDIytxM/5Uyw1T/X4s40u6XYC3nJWVYwpru6DigUWXE/w6Fm7cJfFoZb8hI08PR0q 66raU4HI4Yyz74VjQHY0nY1bxjwjbipBIzETLFZWrTN+eMyFcFdoKAZEEaD+9av1ibdbdP4c1IqHM DDDtmZLYyWsYmn0WJS/iNlJuNwc92OZVGXroOfOENxAeY43ZUVik9kPYmep8tNn6xFHKL8b62Lm2R LgEgR5FJbNH5pN9uW9+PleUARrBm5komp7JHxO8XPaprYRbt5Na53ZtDkLjp7keoxB9Ojil1TxcKP 85aRE00g==; 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 1d5Ulz-0005fM-VP; Tue, 02 May 2017 10:11:11 +0000 Received: from mail-pg0-x22a.google.com ([2607:f8b0:400e:c05::22a]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d5Ulp-0005Hc-ED for linux-arm-kernel@lists.infradead.org; Tue, 02 May 2017 10:11:10 +0000 Received: by mail-pg0-x22a.google.com with SMTP id t7so58737078pgt.3 for ; Tue, 02 May 2017 03:10:41 -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=Tbswh5cFBfrAzQTlCt870+M3haV74uJPnmvSQMqsJQI=; b=QVyNSxrfXenSaMrMxRIztHI20ncbX19b/pCX221Rxm9rFrvfZDg5hjnF9n0kjcdH/2 2heXLOAcioOOk+XoR5hMb1z40u7Ew5kJIEYrTb56p/K9fOVk84CxrMBJbb6PdjUXX4bH 8UbvoxLjeBteDHJuGX2X0n7S/T1eMptXp3EVg= 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=Tbswh5cFBfrAzQTlCt870+M3haV74uJPnmvSQMqsJQI=; b=atnZgFA1TQWKTLCJckAA8qKqiGiaAEY2iQpjW0gMuvs/LUqA2rO1swyad5FvJlbVOu 7UNhWyLK/ovt4HF1jaWy1W95ITT5XEAJPsjwz757po3gOA0eihrc7x8cZkCozIE5f3hX 9tg0/KhnwYRcgyLXr2ww41RM38UMRsVE1g13VUcrNu+uxE4A+0CW1XJqw5eR0UDELW1W +vjtc73EkThORpOC8DzImEljKhkAeCPxQeIE4y9Ptff1ZL3IZ7Lyij9YtKwGJ6+VXrbC tchkBFZ87yRj64V7Lj11vN1ZJO2FK8hiYc2BGeUdFexgKf1dgj4/i1e5meRI8EugUHx5 GIZg== X-Gm-Message-State: AN3rC/5ugjxmOAm1U6MUC1iPmPKMGDwiD9urWvAraqfXCB/Kc0tCEEjY plhWMqn2lgYWQum0 X-Received: by 10.99.160.1 with SMTP id r1mr31338701pge.37.1493719840478; Tue, 02 May 2017 03:10:40 -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.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 02 May 2017 03:10:39 -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 Subject: [PATCH v8 6/7] arm64: dts: hi6220: register debug module Date: Tue, 2 May 2017 18:08:36 +0800 Message-Id: <1493719717-27698-7-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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170502_031101_610001_A91AAD32 X-CRM114-Status: UNSURE ( 9.80 ) 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: Leo Yan 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>; + }; }; };