diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2016-06-20 18:31:01 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2016-06-30 08:26:14 -0400 |
commit | 8fd763c75c3ab8e72e5d7f0d4c53531e6ff76197 (patch) | |
tree | 2f89004faf54a154e5315b3218a1488079a4db75 | |
parent | 65b133cd79cfde9f4e0157deb0e0f88f92811ad3 (diff) |
ARM: dts: r8a7792: add SMP support
Add the device tree nodes for the Advanced Power Management Unit (APMU)
and the second Cortex-A15 CPU core.
Use the "enable-method" prop to point out that the APMU should be used
for the SMP support.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r-- | arch/arm/boot/dts/r8a7792.dtsi | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7792.dtsi b/arch/arm/boot/dts/r8a7792.dtsi index ad895f8b2353..75256ef4a04d 100644 --- a/arch/arm/boot/dts/r8a7792.dtsi +++ b/arch/arm/boot/dts/r8a7792.dtsi | |||
@@ -21,6 +21,7 @@ | |||
21 | cpus { | 21 | cpus { |
22 | #address-cells = <1>; | 22 | #address-cells = <1>; |
23 | #size-cells = <0>; | 23 | #size-cells = <0>; |
24 | enable-method = "renesas,apmu"; | ||
24 | 25 | ||
25 | cpu0: cpu@0 { | 26 | cpu0: cpu@0 { |
26 | device_type = "cpu"; | 27 | device_type = "cpu"; |
@@ -32,6 +33,15 @@ | |||
32 | next-level-cache = <&L2_CA15>; | 33 | next-level-cache = <&L2_CA15>; |
33 | }; | 34 | }; |
34 | 35 | ||
36 | cpu1: cpu@1 { | ||
37 | device_type = "cpu"; | ||
38 | compatible = "arm,cortex-a15"; | ||
39 | reg = <1>; | ||
40 | clock-frequency = <1000000000>; | ||
41 | power-domains = <&sysc R8A7792_PD_CA15_CPU1>; | ||
42 | next-level-cache = <&L2_CA15>; | ||
43 | }; | ||
44 | |||
35 | L2_CA15: cache-controller@0 { | 45 | L2_CA15: cache-controller@0 { |
36 | compatible = "cache"; | 46 | compatible = "cache"; |
37 | reg = <0>; | 47 | reg = <0>; |
@@ -49,6 +59,12 @@ | |||
49 | #size-cells = <2>; | 59 | #size-cells = <2>; |
50 | ranges; | 60 | ranges; |
51 | 61 | ||
62 | apmu@e6152000 { | ||
63 | compatible = "renesas,r8a7792-apmu", "renesas,apmu"; | ||
64 | reg = <0 0xe6152000 0 0x188>; | ||
65 | cpus = <&cpu0 &cpu1>; | ||
66 | }; | ||
67 | |||
52 | gic: interrupt-controller@f1001000 { | 68 | gic: interrupt-controller@f1001000 { |
53 | compatible = "arm,gic-400"; | 69 | compatible = "arm,gic-400"; |
54 | #interrupt-cells = <3>; | 70 | #interrupt-cells = <3>; |