a9f18ff44d7f0f3cd46925705a32e5d223053776
[openwrt.git] / target / linux / sunxi / patches-3.13 / 127-dt-sun6i-add-nodes-for-additional-cores.patch
1 From d3861805e84e1b54073e20dc499b9380b38bb7ab Mon Sep 17 00:00:00 2001
2 From: Maxime Ripard <maxime.ripard@free-electrons.com>
3 Date: Sun, 3 Nov 2013 10:30:12 +0100
4 Subject: [PATCH] ARM: sun6i: dt: Add IP needed to bring up the additional
5  cores
6
7 Add the PRCM and CPU configuration units needed for SMP in the A31 DTSI.
8
9 Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
10 ---
11  arch/arm/boot/dts/sun6i-a31.dtsi | 10 ++++++++++
12  1 file changed, 10 insertions(+)
13
14 diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi
15 index 97966b0..5256ad9 100644
16 --- a/arch/arm/boot/dts/sun6i-a31.dtsi
17 +++ b/arch/arm/boot/dts/sun6i-a31.dtsi
18 @@ -322,5 +322,15 @@
19                         #interrupt-cells = <3>;
20                         interrupts = <1 9 0xf04>;
21                 };
22 +
23 +               cpucfg@01f01c00 {
24 +                       compatible = "allwinner,sun6i-a31-cpuconfig";
25 +                       reg = <0x01f01c00 0x300>;
26 +               };
27 +
28 +               prcm@01f01c00 {
29 +                       compatible = "allwinner,sun6i-a31-prcm";
30 +                       reg = <0x01f01400 0x200>;
31 +               };
32         };
33  };
34 -- 
35 1.8.5.1
36