sunxi: initial 3.14 patchset
[openwrt/staging/stintel.git] / target / linux / sunxi / patches-3.14 / 260-dt-sun7i-enable-arm-pmu.patch
1 From 531f223d1426a826c7da4908e1a5e8eb3d40d6ed Mon Sep 17 00:00:00 2001
2 From: Maxime Ripard <maxime.ripard@free-electrons.com>
3 Date: Thu, 17 Apr 2014 21:54:41 +0200
4 Subject: [PATCH] ARM: sun7i: Add ARM PMU in A20 DTSI
5
6 Enable the performance monitoring unit found in the A20 SoCs.
7
8 Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 Reviewed-by: Hans de Goede <hdegoede@redhat.com>
10 ---
11 arch/arm/boot/dts/sun7i-a20.dtsi | 6 ++++++
12 1 file changed, 6 insertions(+)
13
14 diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
15 index 9dd904d..f9f5e0c 100644
16 --- a/arch/arm/boot/dts/sun7i-a20.dtsi
17 +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
18 @@ -57,6 +57,12 @@
19 <1 10 0xf08>;
20 };
21
22 + pmu {
23 + compatible = "arm,cortex-a7-pmu", "arm,cortex-a15-pmu";
24 + interrupts = <0 120 4>,
25 + <0 121 4>;
26 + };
27 +
28 clocks {
29 #address-cells = <1>;
30 #size-cells = <1>;
31 --
32 2.0.3
33