Skip to content

Commit

Permalink
arm: dts: mt7623: add a performance counter unit device node
Browse files Browse the repository at this point in the history
Add ARM PMU device node to enable hardware perf events.

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
  • Loading branch information
Ryder Lee authored and Matthias Brugger committed Sep 25, 2018
1 parent 5b394b2 commit 266c820
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions arch/arm/boot/dts/mt7623.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,15 @@
};
};

pmu {
compatible = "arm,cortex-a7-pmu";
interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_LOW>,
<GIC_SPI 5 IRQ_TYPE_LEVEL_LOW>,
<GIC_SPI 6 IRQ_TYPE_LEVEL_LOW>,
<GIC_SPI 7 IRQ_TYPE_LEVEL_LOW>;
interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
};

system_clk: dummy13m {
compatible = "fixed-clock";
clock-frequency = <13000000>;
Expand Down

0 comments on commit 266c820

Please sign in to comment.