OSDN Git Service

ARM: dts: enable SMP support for bcm21664
authorAlex Elder <elder@linaro.org>
Mon, 30 Jun 2014 22:15:40 +0000 (17:15 -0500)
committerMatt Porter <mporter@linaro.org>
Mon, 28 Jul 2014 13:41:54 +0000 (09:41 -0400)
Define nodes representing the two Cortex A9 CPUs in a bcm21644 SoC.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Matt Porter <mporter@linaro.org>
arch/arm/boot/dts/bcm21664.dtsi

index 8b36682..2016b72 100644 (file)
                bootargs = "console=ttyS0,115200n8";
        };
 
+       cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+               enable-method = "brcm,bcm11351-cpu-method";
+               secondary-boot-reg = <0x35004178>;
+
+               cpu0: cpu@0 {
+                       device_type = "cpu";
+                       compatible = "arm,cortex-a9";
+                       reg = <0>;
+               };
+
+               cpu1: cpu@1 {
+                       device_type = "cpu";
+                       compatible = "arm,cortex-a9";
+                       reg = <1>;
+               };
+       };
+
        gic: interrupt-controller@3ff00100 {
                compatible = "arm,cortex-a9-gic";
                #interrupt-cells = <3>;