summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun4i-a10.dtsi
diff options
context:
space:
mode:
authorHarald Geyer <harald@ccbib.org>2018-12-16 12:25:24 +0300
committerMaxime Ripard <maxime.ripard@bootlin.com>2019-01-07 12:39:03 +0300
commit7e345d25c796abc8561786baaf59f30bc082ef1f (patch)
tree0b164bb976d5ee564dce9ed778e985ca37891151 /arch/arm/boot/dts/sun4i-a10.dtsi
parentbfeffd155283772bbe78c6a05dec7c0128ee500c (diff)
downloadlinux-7e345d25c796abc8561786baaf59f30bc082ef1f.tar.xz
ARM: dts: sun4i-a10: Add PMU node
This is necessary to use 'perf' for cache profiling etc. Tested on cubieboard with 'perf stat echo foo'. Signed-off-by: Harald Geyer <harald@ccbib.org> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'arch/arm/boot/dts/sun4i-a10.dtsi')
-rw-r--r--arch/arm/boot/dts/sun4i-a10.dtsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
index 5d46bb0139fa..a2fb473cbb9d 100644
--- a/arch/arm/boot/dts/sun4i-a10.dtsi
+++ b/arch/arm/boot/dts/sun4i-a10.dtsi
@@ -184,6 +184,11 @@
status = "disabled";
};
+ pmu {
+ compatible = "arm,cortex-a8-pmu";
+ interrupts = <3>;
+ };
+
soc {
compatible = "simple-bus";
#address-cells = <1>;