2013-08-03 18:01:11

by Alexandre Belloni

[permalink] [raw]
Subject: [PATCH] ARM: DTS: AM33XX: Add PMU support

ARM Performance Monitor Units are available on the am33xx, add the support in
the dtsi.

Tested with perf and oprofile on a regular beaglebone.

Signed-off-by: Alexandre Belloni <[email protected]>
---
arch/arm/boot/dts/am33xx.dtsi | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 38b446b..cfeac96 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -53,6 +53,11 @@
};
};

+ pmu {
+ compatible = "arm,cortex-a8-pmu";
+ interrupts = <3>;
+ };
+
/*
* The soc node represents the soc top level view. It is uses for IPs
* that are not memory mapped in the MPU view or for the MPU itself.
--
1.8.1.2


2013-08-13 11:47:32

by Benoit Cousson

[permalink] [raw]
Subject: Re: [PATCH] ARM: DTS: AM33XX: Add PMU support

Salut Alexandre,

On 03/08/2013 20:00, Alexandre Belloni wrote:
> ARM Performance Monitor Units are available on the am33xx, add the support in
> the dtsi.
>
> Tested with perf and oprofile on a regular beaglebone.
>
> Signed-off-by: Alexandre Belloni <[email protected]>

Thanks, applied for 3.12.

Regards,
Benoit