diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2014-02-21 11:09:50 +0000 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2014-02-21 11:52:50 -0800 |
commit | 3bff54740369d1cb45b308af8902ff62489606ea (patch) | |
tree | ffa1fd42f5d38077d20b376c000d26dc4d175876 /arch/arm | |
parent | 567acf8e1766650c91a6613ec115efda6c559da4 (diff) | |
download | blackbird-op-linux-3bff54740369d1cb45b308af8902ff62489606ea.tar.gz blackbird-op-linux-3bff54740369d1cb45b308af8902ff62489606ea.zip |
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>
Diffstat (limited to 'arch/arm')
-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 @@ 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; 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 @@ compatible = "qcom,msm8974"; interrupt-parent = <&intc>; + cpu-pmu { + compatible = "qcom,krait-pmu"; + interrupts = <1 7 0xf04>; + }; + soc: soc { #address-cells = <1>; #size-cells = <1>; |