devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Guodong Xu <guodong.xu@linaro.org>
To: xuwei5@hisilicon.com, robh+dt@kernel.org, mark.rutland@arm.com,
	catalin.marinas@arm.com, will.deacon@arm.com,
	keescook@chromium.org, anton@enomsg.org, ccross@android.com,
	tony.luck@intel.com
Cc: devicetree@vger.kernel.org, YiPing Xu <xuyiping@hisilicon.com>,
	linux-kernel@vger.kernel.org,
	Zhong Kaihua <zhongkaihua@huawei.com>,
	Leo Yan <leo.yan@linaro.org>,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 3/9] arm64: dts: hi3660: add pmu dt node for hi3660
Date: Thu, 10 Aug 2017 10:26:09 +0800	[thread overview]
Message-ID: <20170810022615.19204-4-guodong.xu@linaro.org> (raw)
In-Reply-To: <20170810022615.19204-1-guodong.xu@linaro.org>

From: YiPing Xu <xuyiping@hisilicon.com>

Add pmu dt node for hi3660

Signed-off-by: YiPing Xu <xuyiping@hisilicon.com>
Signed-off-by: Zhong Kaihua <zhongkaihua@huawei.com>
Signed-off-by: Leo Yan <leo.yan@linaro.org>
Tested-by: Jumana Mundichipparakkal <jumana.mp@arm.com>
---
 arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
index 1cdd03b..5fd5686 100644
--- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
@@ -202,6 +202,26 @@
 					 IRQ_TYPE_LEVEL_HIGH)>;
 	};
 
+	pmu {
+		compatible = "arm,armv8-pmuv3";
+		interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
+		interrupt-affinity = <&cpu0>,
+				     <&cpu1>,
+				     <&cpu2>,
+				     <&cpu3>,
+				     <&cpu4>,
+				     <&cpu5>,
+				     <&cpu6>,
+				     <&cpu7>;
+	};
+
 	timer {
 		compatible = "arm,armv8-timer";
 		interrupt-parent = <&gic>;
-- 
2.10.2

  parent reply	other threads:[~2017-08-10  2:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-10  2:26 [PATCH v2 0/9] arm64: dts: hi3660: add more device nodes Guodong Xu
2017-08-10  2:26 ` [PATCH v2 1/9] arm64: dts: hi3660: enable idle states Guodong Xu
2017-08-10 10:07   ` Daniel Lezcano
     [not found]     ` <b3d8f55b-3d70-9b3a-a4c6-474a933a13a9-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2017-08-11  1:50       ` Leo Yan
2017-08-10  2:26 ` [PATCH v2 2/9] arm64: dts: hi3660: add L2 cache topology Guodong Xu
2017-08-10  2:26 ` Guodong Xu [this message]
2017-08-10  2:26 ` [PATCH v2 4/9] arm64: dts: hikey960: Add optee node Guodong Xu
     [not found] ` <20170810022615.19204-1-guodong.xu-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2017-08-10  2:26   ` [PATCH v2 5/9] arm64: dts: hikey960: Add support for syscon-reboot-mode Guodong Xu
2017-08-10  2:26 ` [PATCH v2 6/9] arm64: dts: hikey960: Add pstore support Guodong Xu
2017-08-10  2:26 ` [PATCH v2 7/9] arm64: dts: hi3660: Reset the mmc hosts Guodong Xu
2017-08-10  2:26 ` [PATCH v2 8/9] arm64: dts: hikey960: change bluetooth uart max-speed to 3mbps Guodong Xu
2017-08-10  2:26 ` [PATCH v2 9/9] arm64: dts: hi3660: add bindings for DMA Guodong Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170810022615.19204-4-guodong.xu@linaro.org \
    --to=guodong.xu@linaro.org \
    --cc=anton@enomsg.org \
    --cc=catalin.marinas@arm.com \
    --cc=ccross@android.com \
    --cc=devicetree@vger.kernel.org \
    --cc=keescook@chromium.org \
    --cc=leo.yan@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=tony.luck@intel.com \
    --cc=will.deacon@arm.com \
    --cc=xuwei5@hisilicon.com \
    --cc=xuyiping@hisilicon.com \
    --cc=zhongkaihua@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).