summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2018-05-07 15:57:06 +0200
committerSimon Horman <horms+renesas@verge.net.au>2018-05-14 16:40:45 +0200
commitfe60e933b053f00e53cd01fe323f25ebe8fecd52 (patch)
treef08120e03d5e7e222fbac5be6674646ee3339357 /arch/arm/boot
parent123703f0beebcd432ea204e9ac83150b23646088 (diff)
downloadblackbird-obmc-linux-fe60e933b053f00e53cd01fe323f25ebe8fecd52.tar.gz
blackbird-obmc-linux-fe60e933b053f00e53cd01fe323f25ebe8fecd52.zip
ARM: dts: r8a7743: Add PMU device node
Enable support for the ARM Performance Monitor Units in the Cortex-A15 CPU cores on RZ/G1M by adding a device node for the PMU. New Linux output: hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/r8a7743.dtsi7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7743.dtsi b/arch/arm/boot/dts/r8a7743.dtsi
index 69d8f7e0f053..142949d7066f 100644
--- a/arch/arm/boot/dts/r8a7743.dtsi
+++ b/arch/arm/boot/dts/r8a7743.dtsi
@@ -125,6 +125,13 @@
clock-frequency = <0>;
};
+ pmu {
+ compatible = "arm,cortex-a15-pmu";
+ interrupts-extended = <&gic GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
+ <&gic GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-affinity = <&cpu0>, <&cpu1>;
+ };
+
/* External SCIF clock */
scif_clk: scif {
compatible = "fixed-clock";
OpenPOWER on IntegriCloud