8d0e23abe7152e6370e2c190654e257e4a8b05e0
[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 --- a/arch/arm/boot/dts/sun6i-a31.dtsi
15 +++ b/arch/arm/boot/dts/sun6i-a31.dtsi
16 @@ -322,5 +322,15 @@
17                         #interrupt-cells = <3>;
18                         interrupts = <1 9 0xf04>;
19                 };
20 +
21 +               cpucfg@01f01c00 {
22 +                       compatible = "allwinner,sun6i-a31-cpuconfig";
23 +                       reg = <0x01f01c00 0x300>;
24 +               };
25 +
26 +               prcm@01f01c00 {
27 +                       compatible = "allwinner,sun6i-a31-prcm";
28 +                       reg = <0x01f01400 0x200>;
29 +               };
30         };
31  };