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 ff00282..3a9c3ca 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 9e5dadb..1eff413 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>;