[PATCH] arm64: dts: qcom: Add msm8916 PMU node

Stephen Boyd <[email protected]> Tue, 10 May 2016 15:01:49 -0700
Newsgroups gmane.linux.ports.arm.general
Message-ID <1462917709-29789-1-git-send-email-stephen.boyd__30868.6343058527$1462917958$gmane$org@linaro.org>
Add the PMU so we can get proper perf event support on this SoC.

Signed-off-by: Stephen Boyd <[email protected]>
---
 arch/arm64/boot/dts/qcom/msm8916.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index 96812007850e..c440fd6bc5cd 100644
--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
@@ -91,6 +91,11 @@
 		};
 	};
 
+	pmu {
+		compatible = "arm,armv8-pmuv3";
+		interrupts = <GIC_PPI 7 GIC_CPU_MASK_SIMPLE(4)>;
+	};
+
 	timer {
 		compatible = "arm,armv8-timer";
 		interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
-- 
2.8.0.rc4