OSDN Git Service

ARM: dts: sun4i-a10: Add PMU node
authorHarald Geyer <harald@ccbib.org>
Sun, 16 Dec 2018 09:25:24 +0000 (09:25 +0000)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 7 Jan 2019 09:39:03 +0000 (10:39 +0100)
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>
arch/arm/boot/dts/sun4i-a10.dtsi

index 5d46bb0..a2fb473 100644 (file)
                status = "disabled";
        };
 
+       pmu {
+               compatible = "arm,cortex-a8-pmu";
+               interrupts = <3>;
+       };
+
        soc {
                compatible = "simple-bus";
                #address-cells = <1>;