sunxi: move cubietruck dts into patches [3.14]
[openwrt.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 --- a/arch/arm/boot/dts/sun7i-a20.dtsi
15 +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
16 @@ -57,6 +57,12 @@
17                              <1 10 0xf08>;
18         };
19  
20 +       pmu {
21 +               compatible = "arm,cortex-a7-pmu", "arm,cortex-a15-pmu";
22 +               interrupts = <0 120 4>,
23 +                            <0 121 4>;
24 +       };
25 +
26         clocks {
27                 #address-cells = <1>;
28                 #size-cells = <1>;