diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-05-07 15:57:03 +0200 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2018-05-14 16:40:43 +0200 |
commit | 0f2bcba999463fcc2ad2d6ae0c91b62649d45190 (patch) | |
tree | bd0331c725676e2607a6c7e2bade2684f3fe032a /arch/arm/boot/dts/r8a7792.dtsi | |
parent | 8607428c96b94e9f53f46b6e5aa3b9dbd604ad07 (diff) | |
download | lwn-0f2bcba999463fcc2ad2d6ae0c91b62649d45190.tar.gz lwn-0f2bcba999463fcc2ad2d6ae0c91b62649d45190.zip |
ARM: dts: r8a7792: Add PMU device node
Enable support for the ARM Performance Monitor Units in the Cortex-A15
CPU cores on R-Car V2H 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/r8a7792.dtsi')
-rw-r--r-- | arch/arm/boot/dts/r8a7792.dtsi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7792.dtsi b/arch/arm/boot/dts/r8a7792.dtsi index d2cf8dd2d9b0..f44257dd86f6 100644 --- a/arch/arm/boot/dts/r8a7792.dtsi +++ b/arch/arm/boot/dts/r8a7792.dtsi @@ -85,6 +85,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"; |