diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-05-07 16:57:05 +0300 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2018-05-14 17:40:44 +0300 |
commit | 123703f0beebcd432ea204e9ac83150b23646088 (patch) | |
tree | 65d0ec0bba491ecaee3e65a4c4b0de017e9245f0 /arch/arm/boot/dts/r8a7794.dtsi | |
parent | cd1ce84a08e69450ee196edcb7686c78ff5b57c5 (diff) | |
download | linux-123703f0beebcd432ea204e9ac83150b23646088.tar.xz |
ARM: dts: r8a7794: Add PMU device node
Enable support for the ARM Performance Monitor Units in the Cortex-A7
CPU cores on R-Car E2 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/boot/dts/r8a7794.dtsi')
-rw-r--r-- | arch/arm/boot/dts/r8a7794.dtsi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7794.dtsi b/arch/arm/boot/dts/r8a7794.dtsi index 76aadcdf9d37..736196903d22 100644 --- a/arch/arm/boot/dts/r8a7794.dtsi +++ b/arch/arm/boot/dts/r8a7794.dtsi @@ -103,6 +103,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"; |