Skip to content

Commit 7d7a9fc

Browse files
Mihai Sainclaudiubeznea
authored andcommitted
ARM: dts: microchip: sama7d65: add Cortex-A7 PMU node
Add the Performance Monitoring Unit (PMU) node with the appropriate compatible string and interrupt line so that perf and other PMU-based tooling can function correctly on this SoC. [root@SAMA7D65 ~]$ dmesg | grep -i pmu [ 1.487869] hw-perfevents: enabled with armv7_cortex_a7 PMU driver, 5 (8000000f) counters available [root@SAMA7D65 ~]$ perf list hw List of pre-defined events (to be used in -e or -M): branch-instructions OR branches [Hardware event] branch-misses [Hardware event] bus-cycles [Hardware event] cache-misses [Hardware event] cache-references [Hardware event] cpu-cycles OR cycles [Hardware event] instructions [Hardware event] Signed-off-by: Mihai Sain <mihai.sain@microchip.com> Link: https://lore.kernel.org/r/20260324070927.1496-2-mihai.sain@microchip.com [claudiu.beznea: keep nodes alphanumerically sorted] Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
1 parent c52f294 commit 7d7a9fc

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

arch/arm/boot/dts/microchip/sama7d65.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@
6767
#size-cells = <1>;
6868
};
6969

70+
pmu {
71+
compatible = "arm,cortex-a7-pmu";
72+
interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
73+
};
74+
7075
soc {
7176
compatible = "simple-bus";
7277
ranges;

0 commit comments

Comments
 (0)