ARM: dts: r8a7794: Add SMP support
authorSergei Shtylyov <[email protected]>
Tue, 28 Nov 2017 13:39:01 +0000 (14:39 +0100)
committerSimon Horman <[email protected]>
Wed, 29 Nov 2017 10:39:31 +0000 (11:39 +0100)
Add the device tree node for the Advanced Power Management Unit (APMU).
Use the "enable-method" prop to  point out that the APMU should be used
for the SMP support.

Signed-off-by: Sergei Shtylyov <[email protected]>
Signed-off-by: Geert Uytterhoeven <[email protected]>
Tested-by: Simon Horman <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
arch/arm/boot/dts/r8a7794.dtsi

index 95206c25e6a1eda3d708ecf77e3f3ddd457ec33c..90050565114cec310a69b3b6a6a6438b5f295f1b 100644 (file)
@@ -37,6 +37,7 @@
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
+               enable-method = "renesas,apmu";
 
                cpu0: cpu@0 {
                        device_type = "cpu";
                };
        };
 
+       apmu@e6151000 {
+               compatible = "renesas,r8a7794-apmu", "renesas,apmu";
+               reg = <0 0xe6151000 0 0x188>;
+               cpus = <&cpu0 &cpu1>;
+       };
+
        gic: interrupt-controller@f1001000 {
                compatible = "arm,gic-400";
                #interrupt-cells = <3>;