summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom
diff options
context:
space:
mode:
authorKonrad Dybcio <konradybcio@gmail.com>2020-06-24 00:48:07 +0200
committerBjorn Andersson <bjorn.andersson@linaro.org>2020-06-23 16:21:55 -0700
commita1026ca24262f3a934c1ca4b299f04e7d02b3149 (patch)
treecbfd59a593db463616e29ad672851a799ee68cfa /arch/arm64/boot/dts/qcom
parentd3d071a0e5bc829803ca6124e80d7649079dabab (diff)
downloadlwn-a1026ca24262f3a934c1ca4b299f04e7d02b3149.tar.gz
lwn-a1026ca24262f3a934c1ca4b299f04e7d02b3149.zip
arm64: dts: qcom: msm8994: Add pmu node
Add the CPU PMU to get perf support for hardware events. Signed-off-by: Konrad Dybcio <konradybcio@gmail.com> Link: https://lore.kernel.org/r/20200623224813.297077-9-konradybcio@gmail.com Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'arch/arm64/boot/dts/qcom')
-rw-r--r--arch/arm64/boot/dts/qcom/msm8994.dtsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/msm8994.dtsi b/arch/arm64/boot/dts/qcom/msm8994.dtsi
index 8aee7f1317e7..25b1562c4656 100644
--- a/arch/arm64/boot/dts/qcom/msm8994.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8994.dtsi
@@ -148,6 +148,11 @@
reg = <0 0 0 0>;
};
+ pmu {
+ compatible = "arm,cortex-a53-pmu";
+ interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(4)| IRQ_TYPE_LEVEL_HIGH)>;
+ };
+
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;