diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-05-07 15:57:02 +0200 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2018-05-14 16:40:42 +0200 |
commit | 8607428c96b94e9f53f46b6e5aa3b9dbd604ad07 (patch) | |
tree | e8509abc9523e4318ad949548eab26fd0be6fc6d /arch/arm/boot/dts/r8a7791.dtsi | |
parent | ARM: dts: r8a7790: Add PMU device nodes (diff) | |
download | linux-8607428c96b94e9f53f46b6e5aa3b9dbd604ad07.tar.xz linux-8607428c96b94e9f53f46b6e5aa3b9dbd604ad07.zip |
ARM: dts: r8a7791: Add PMU device node
Enable support for the ARM Performance Monitor Units in the Cortex-A15
CPU cores on R-Car M2-W 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/dts/r8a7791.dtsi')
-rw-r--r-- | arch/arm/boot/dts/r8a7791.dtsi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi index 570ca12422c5..828ad78c3337 100644 --- a/arch/arm/boot/dts/r8a7791.dtsi +++ b/arch/arm/boot/dts/r8a7791.dtsi @@ -126,6 +126,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"; |