Skip to content

Commit

Permalink
ARM: dts: r8a7745: Add PMU device node
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Geert Uytterhoeven authored and Simon Horman committed May 14, 2018
1 parent fe60e93 commit 9562a6b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions arch/arm/boot/dts/r8a7745.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 9562a6b

Please sign in to comment.