arm64: dts: qcom: msm8992: Add PMU node
authorKonrad Dybcio <konradybcio@gmail.com>
Thu, 25 Jun 2020 18:21:13 +0000 (20:21 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 28 Jul 2020 06:44:10 +0000 (23:44 -0700)
Add the PMU so we can get proper perf event support on this SoC.

Signed-off-by: Konrad Dybcio <konradybcio@gmail.com>
Link: https://lore.kernel.org/r/20200625182118.131476-10-konradybcio@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/msm8992.dtsi

index e8b8018..c4c9a10 100644 (file)
                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>;