diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2014-02-21 06:09:50 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2014-02-21 14:52:50 -0500 |
commit | 3bff54740369d1cb45b308af8902ff62489606ea (patch) | |
tree | ffa1fd42f5d38077d20b376c000d26dc4d175876 | |
parent | 567acf8e1766650c91a6613ec115efda6c559da4 (diff) |
ARM: dts: msm: Add krait-pmu to platforms with Krait CPUs
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>
-rw-r--r-- | arch/arm/boot/dts/qcom-msm8960.dtsi | 6 | ||||
-rw-r--r-- | arch/arm/boot/dts/qcom-msm8974.dtsi | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-msm8960.dtsi b/arch/arm/boot/dts/qcom-msm8960.dtsi index ff002826552a..3a9c3caa9aad 100644 --- a/arch/arm/boot/dts/qcom-msm8960.dtsi +++ b/arch/arm/boot/dts/qcom-msm8960.dtsi | |||
@@ -9,6 +9,12 @@ | |||
9 | compatible = "qcom,msm8960"; | 9 | compatible = "qcom,msm8960"; |
10 | interrupt-parent = <&intc>; | 10 | interrupt-parent = <&intc>; |
11 | 11 | ||
12 | cpu-pmu { | ||
13 | compatible = "qcom,krait-pmu"; | ||
14 | interrupts = <1 10 0x304>; | ||
15 | qcom,no-pc-write; | ||
16 | }; | ||
17 | |||
12 | intc: interrupt-controller@2000000 { | 18 | intc: interrupt-controller@2000000 { |
13 | compatible = "qcom,msm-qgic2"; | 19 | compatible = "qcom,msm-qgic2"; |
14 | interrupt-controller; | 20 | interrupt-controller; |
diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index 9e5dadb101eb..1eff4130cde0 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi | |||
@@ -9,6 +9,11 @@ | |||
9 | compatible = "qcom,msm8974"; | 9 | compatible = "qcom,msm8974"; |
10 | interrupt-parent = <&intc>; | 10 | interrupt-parent = <&intc>; |
11 | 11 | ||
12 | cpu-pmu { | ||
13 | compatible = "qcom,krait-pmu"; | ||
14 | interrupts = <1 7 0xf04>; | ||
15 | }; | ||
16 | |||
12 | soc: soc { | 17 | soc: soc { |
13 | #address-cells = <1>; | 18 | #address-cells = <1>; |
14 | #size-cells = <1>; | 19 | #size-cells = <1>; |