Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1708149

[PATCH v2 3/9] arm64: dts: hi3660: add pmu dt node for hi3660

From Guodong Xu <guodong.xu@linaro.org>
Newsgroups linux.kernel
Subject [PATCH v2 3/9] arm64: dts: hi3660: add pmu dt node for hi3660
Date 2017-08-10 04:30 +0200
Message-ID <ucLou-7NK-15@gated-at.bofh.it> (permalink)
References <ucLot-7NK-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/9] arm64: dts: hi3660: add more device nodes Guodong Xu <guodong.xu@linaro.org> - 2017-08-10 04:30 +0200
  [PATCH v2 3/9] arm64: dts: hi3660: add pmu dt node for hi3660 Guodong Xu <guodong.xu@linaro.org> - 2017-08-10 04:30 +0200
  [PATCH v2 6/9] arm64: dts: hikey960: Add pstore support Guodong Xu <guodong.xu@linaro.org> - 2017-08-10 04:30 +0200
  [PATCH v2 1/9] arm64: dts: hi3660: enable idle states Guodong Xu <guodong.xu@linaro.org> - 2017-08-10 04:30 +0200
    Re: [PATCH v2 1/9] arm64: dts: hi3660: enable idle states Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-08-10 12:10 +0200
      Re: [PATCH v2 1/9] arm64: dts: hi3660: enable idle states Leo Yan <leo.yan@linaro.org> - 2017-08-11 04:00 +0200
  [PATCH v2 9/9] arm64: dts: hi3660: add bindings for DMA Guodong Xu <guodong.xu@linaro.org> - 2017-08-10 04:30 +0200
  [PATCH v2 8/9] arm64: dts: hikey960: change bluetooth uart max-speed to 3mbps Guodong Xu <guodong.xu@linaro.org> - 2017-08-10 04:30 +0200
  [PATCH v2 2/9] arm64: dts: hi3660: add L2 cache topology Guodong Xu <guodong.xu@linaro.org> - 2017-08-10 04:30 +0200
  [PATCH v2 7/9] arm64: dts: hi3660: Reset the mmc hosts Guodong Xu <guodong.xu@linaro.org> - 2017-08-10 04:30 +0200
  [PATCH v2 4/9] arm64: dts: hikey960: Add optee node Guodong Xu <guodong.xu@linaro.org> - 2017-08-10 04:30 +0200

csiph-web