diff mbox

ARM: DTS: SAMA5: Add PMU support

Message ID 1375716366-19121-1-git-send-email-alexandre.belloni@free-electrons.com (mailing list archive)
State New, archived
Headers show

Commit Message

Alexandre Belloni Aug. 5, 2013, 3:26 p.m. UTC
ARM Performance Monitor Units are available on the sama5d3, add the support in
the dtsi.

Tested with perf and oprofile on the sama5d31ek.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
 arch/arm/boot/dts/sama5d3.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Nicolas Ferre Aug. 21, 2013, 9:18 a.m. UTC | #1
On 05/08/2013 17:26, Alexandre Belloni :
> ARM Performance Monitor Units are available on the sama5d3, add the support in
> the dtsi.
>
> Tested with perf and oprofile on the sama5d31ek.
>
> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>

Stacked on at91-3.12-dt.

Thanks.

> ---
>   arch/arm/boot/dts/sama5d3.dtsi | 5 +++++
>   1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
> index a1d5e25..afa68ac 100644
> --- a/arch/arm/boot/dts/sama5d3.dtsi
> +++ b/arch/arm/boot/dts/sama5d3.dtsi
> @@ -48,6 +48,11 @@
>   		};
>   	};
>
> +       pmu {
> +               compatible = "arm,cortex-a5-pmu";
> +               interrupts = <46 IRQ_TYPE_LEVEL_HIGH 0>;
> +       };
> +
>   	memory {
>   		reg = <0x20000000 0x8000000>;
>   	};
>
diff mbox

Patch

diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
index a1d5e25..afa68ac 100644
--- a/arch/arm/boot/dts/sama5d3.dtsi
+++ b/arch/arm/boot/dts/sama5d3.dtsi
@@ -48,6 +48,11 @@ 
 		};
 	};
 
+       pmu {
+               compatible = "arm,cortex-a5-pmu";
+               interrupts = <46 IRQ_TYPE_LEVEL_HIGH 0>;
+       };
+
 	memory {
 		reg = <0x20000000 0x8000000>;
 	};