diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-05-07 15:57:07 +0200 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2018-05-14 16:40:45 +0200 |
commit | 9562a6b1d0f6a287f5dda16a4538526c59408927 (patch) | |
tree | 81880f853a4d411c203f7d74fbf4f595a0f9080a /arch/arm | |
parent | fe60e933b053f00e53cd01fe323f25ebe8fecd52 (diff) | |
download | linux-9562a6b1d0f6a287f5dda16a4538526c59408927.tar.gz linux-9562a6b1d0f6a287f5dda16a4538526c59408927.tar.bz2 linux-9562a6b1d0f6a287f5dda16a4538526c59408927.zip |
ARM: dts: r8a7745: Add PMU device node
Enable support for the ARM Performance Monitor Units in the Cortex-A7
CPU cores on RZ/G1E by adding a device node for the PMU.
New Linux output:
hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 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')
-rw-r--r-- | arch/arm/boot/dts/r8a7745.dtsi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7745.dtsi b/arch/arm/boot/dts/r8a7745.dtsi index 3de69cb66c44..1cb7a7ab0418 100644 --- a/arch/arm/boot/dts/r8a7745.dtsi +++ b/arch/arm/boot/dts/r8a7745.dtsi @@ -105,6 +105,13 @@ clock-frequency = <0>; }; + pmu { + compatible = "arm,cortex-a7-pmu"; + interrupts-extended = <&gic GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>, + <&gic GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; + interrupt-affinity = <&cpu0>, <&cpu1>; + }; + /* External SCIF clock */ scif_clk: scif { compatible = "fixed-clock"; |