diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-05-07 12:16:48 +0300 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2019-08-21 11:28:57 +0300 |
commit | 57012813f1ba82412cdcc3665b04d4353b357378 (patch) | |
tree | 19b809bc24f4498ba53c8056e4c126f054d60866 /arch/arm/boot/dts/r8a77470.dtsi | |
parent | a03fa77d85a736d3edef1a0b93100902b6db58c0 (diff) | |
download | linux-57012813f1ba82412cdcc3665b04d4353b357378.tar.xz |
ARM: dts: r8a77470: Add PMU device node
Enable support for the ARM Performance Monitor Units in the Cortex-A7
CPU cores on RZ/G1C 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>
Tested-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Diffstat (limited to 'arch/arm/boot/dts/r8a77470.dtsi')
-rw-r--r-- | arch/arm/boot/dts/r8a77470.dtsi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a77470.dtsi b/arch/arm/boot/dts/r8a77470.dtsi index 56cb10b42ed9..51806c7f486a 100644 --- a/arch/arm/boot/dts/r8a77470.dtsi +++ b/arch/arm/boot/dts/r8a77470.dtsi @@ -63,6 +63,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"; |