ARM: dts: msm: Add krait-pmu to platforms with Krait CPUs
authorStephen Boyd <sboyd@codeaurora.org>
Fri, 21 Feb 2014 11:09:50 +0000 (11:09 +0000)
committerOlof Johansson <olof@lixom.net>
Fri, 21 Feb 2014 19:52:50 +0000 (11:52 -0800)
Allows us to probe the performance counters on Krait CPUs.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
[olof: Moved 8960 contents to the dtsi instead]
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/boot/dts/qcom-msm8960.dtsi
arch/arm/boot/dts/qcom-msm8974.dtsi

index ff002826552aa4f854d649d4c9d9e131f12bceda..3a9c3caa9aad7544775e8bbc02ee8c58dd5d55f0 100644 (file)
@@ -9,6 +9,12 @@
        compatible = "qcom,msm8960";
        interrupt-parent = <&intc>;
 
+       cpu-pmu {
+               compatible = "qcom,krait-pmu";
+               interrupts = <1 10 0x304>;
+               qcom,no-pc-write;
+       };
+
        intc: interrupt-controller@2000000 {
                compatible = "qcom,msm-qgic2";
                interrupt-controller;
index 9e5dadb101ebe3f90cc7be611b772d502fd0c369..1eff4130cde059c8291e6957533fcdeb62f26347 100644 (file)
@@ -9,6 +9,11 @@
        compatible = "qcom,msm8974";
        interrupt-parent = <&intc>;
 
+       cpu-pmu {
+               compatible = "qcom,krait-pmu";
+               interrupts = <1 7 0xf04>;
+       };
+
        soc: soc {
                #address-cells = <1>;
                #size-cells = <1>;