]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: mvebu: add SMP support in the Armada 375 device tree
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Mon, 14 Apr 2014 13:54:07 +0000 (15:54 +0200)
committerJason Cooper <jason@lakedaemon.net>
Thu, 24 Apr 2014 05:50:14 +0000 (05:50 +0000)
Improve the Armada 375 Device Tree to add the CPU reset Device Tree
node and declare the enabling method for CPUs, both of which are
necessary to get SMP working.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Link: https://lkml.kernel.org/r/1397483648-26611-11-git-send-email-thomas.petazzoni@free-electrons.com
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1397483648-26611-11-git-send-email-thomas.petazzoni@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/armada-375.dtsi

index 782ba4d56a26e94c1d82c80f7f56d25c72e36a1d..a7e0d543dff1ed52f89b3d3924ef442a8624099a 100644 (file)
@@ -39,6 +39,8 @@ mainpll: mainpll {
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
+               enable-method = "marvell,armada-375-smp";
+
                cpu@0 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a9";
@@ -331,6 +333,11 @@ watchdog@20300 {
                                clocks = <&coreclk 0>;
                        };
 
+                       cpurst@20800 {
+                               compatible = "marvell,armada-370-cpu-reset";
+                               reg = <0x20800 0x10>;
+                       };
+
                        coherency-fabric@21010 {
                                compatible = "marvell,armada-375-coherency-fabric";
                                reg = <0x21010 0x1c>;