ARM: dts: berlin: add SMP related nodes and properties for BG2
authorAntoine Ténart <antoine.tenart@free-electrons.com>
Wed, 4 Jun 2014 16:03:45 +0000 (18:03 +0200)
committerSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Mon, 16 Jun 2014 11:17:53 +0000 (13:17 +0200)
Add required nodes and properties into the Berlin BG2 device tree to
take advantage of the newly introduced SMP support. Add the scu and
cpu-ctrl nodes along with the CPUs enable-method property.

Signed-off-by: Antoine Ténart <antoine.tenart@free-electrons.com>
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
arch/arm/boot/dts/berlin2.dtsi

index 2477dac..9d7c810 100644 (file)
@@ -22,6 +22,7 @@
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
+               enable-method = "marvell,berlin-smp";
 
                cpu@0 {
                        compatible = "marvell,pj4b";
                        clocks = <&chip CLKID_TWD>;
                };
 
+               cpu-ctrl@dd0000 {
+                       compatible = "marvell,berlin-cpu-ctrl";
+                       reg = <0xdd0000 0x10000>;
+               };
+
                apb@e80000 {
                        compatible = "simple-bus";
                        #address-cells = <1>;