diff options
author | Ryder Lee <ryder.lee@mediatek.com> | 2018-09-05 06:22:17 -0400 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2018-09-25 11:44:33 -0400 |
commit | 266c820f30f89319feafcd2ca471e699fd34ff42 (patch) | |
tree | ca86212b2b499f9f92223460d3f6e0faa85d7ffc | |
parent | 5b394b2ddf0347bef56e50c69a58773c94343ff3 (diff) |
arm: dts: mt7623: add a performance counter unit device node
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>
-rw-r--r-- | arch/arm/boot/dts/mt7623.dtsi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi index 1cdc346a05e8..8c43bd0715a9 100644 --- a/arch/arm/boot/dts/mt7623.dtsi +++ b/arch/arm/boot/dts/mt7623.dtsi | |||
@@ -121,6 +121,15 @@ | |||
121 | }; | 121 | }; |
122 | }; | 122 | }; |
123 | 123 | ||
124 | pmu { | ||
125 | compatible = "arm,cortex-a7-pmu"; | ||
126 | interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_LOW>, | ||
127 | <GIC_SPI 5 IRQ_TYPE_LEVEL_LOW>, | ||
128 | <GIC_SPI 6 IRQ_TYPE_LEVEL_LOW>, | ||
129 | <GIC_SPI 7 IRQ_TYPE_LEVEL_LOW>; | ||
130 | interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; | ||
131 | }; | ||
132 | |||
124 | system_clk: dummy13m { | 133 | system_clk: dummy13m { |
125 | compatible = "fixed-clock"; | 134 | compatible = "fixed-clock"; |
126 | clock-frequency = <13000000>; | 135 | clock-frequency = <13000000>; |