ARM: dts: Add SMP support for Broadcom NSP
authorKapil Hali <kapilh@broadcom.com>
Sat, 5 Dec 2015 11:53:42 +0000 (06:53 -0500)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 7 Dec 2015 20:26:54 +0000 (12:26 -0800)
Add device tree changes required for providing SMP support
for Broadcom Northstar Plus SoC.

Signed-off-by: Kapil Hali <kapilh@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm-nsp.dtsi

index 4214818df3a0bc4e1efe13059980a3488a3fb92c..10bdef557ba0505ceb05583db76fa88580188b1b 100644 (file)
        model = "Broadcom Northstar Plus SoC";
        interrupt-parent = <&gic>;
 
+       cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               cpu@0 {
+                       device_type = "cpu";
+                       compatible = "arm,cortex-a9";
+                       next-level-cache = <&L2>;
+                       reg = <0x0>;
+               };
+
+               cpu@1 {
+                       device_type = "cpu";
+                       compatible = "arm,cortex-a9";
+                       next-level-cache = <&L2>;
+                       enable-method = "brcm,bcm-nsp-smp";
+                       secondary-boot-reg = <0xffff042c>;
+                       reg = <0x1>;
+               };
+       };
+
        mpcore {
                compatible = "simple-bus";
                ranges = <0x00000000 0x19000000 0x00023000>;