linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: kapilh@broadcom.com (Kapil Hali)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] ARM: dts: add SMP support for Broadcom NSP
Date: Wed, 14 Oct 2015 13:46:59 -0400	[thread overview]
Message-ID: <1444844820-24290-3-git-send-email-kapilh@broadcom.com> (raw)
In-Reply-To: <1444844820-24290-1-git-send-email-kapilh@broadcom.com>

Add device tree changes required for providing SMP support
for Broadcom Northstar Plus SoC.

Signed-off-by: Kapil Hali <kapilh@broadcom.com>
---
 arch/arm/boot/dts/bcm-nsp.dtsi | 33 +++++++++++++++++++++------------
 1 file changed, 21 insertions(+), 12 deletions(-)

diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi
index 58aca27..d1875d9 100644
--- a/arch/arm/boot/dts/bcm-nsp.dtsi
+++ b/arch/arm/boot/dts/bcm-nsp.dtsi
@@ -40,24 +40,33 @@
 	model = "Broadcom Northstar Plus SoC";
 	interrupt-parent = <&gic>;
 
+	cpus {
+		#address-cells = <1>;
+		#size-cells = <0>;
+		enable-method = "brcm,bcm-nsp-smp";
+		secondary-boot-reg = <0xffff042c>;
+
+		cpu at 0 {
+			device_type = "cpu";
+			compatible = "arm,cortex-a9";
+			next-level-cache = <&L2>;
+			reg = <0x0>;
+		};
+
+		cpu at 1 {
+			device_type = "cpu";
+			compatible = "arm,cortex-a9";
+			next-level-cache = <&L2>;
+			reg = <0x1>;
+		};
+	};
+
 	mpcore {
 		compatible = "simple-bus";
 		ranges = <0x00000000 0x19020000 0x00003000>;
 		#address-cells = <1>;
 		#size-cells = <1>;
 
-		cpus {
-			#address-cells = <1>;
-			#size-cells = <0>;
-
-			cpu at 0 {
-				device_type = "cpu";
-				compatible = "arm,cortex-a9";
-				next-level-cache = <&L2>;
-				reg = <0x0>;
-			};
-		};
-
 		L2: l2-cache {
 			compatible = "arm,pl310-cache";
 			reg = <0x2000 0x1000>;
-- 
2.1.0

  parent reply	other threads:[~2015-10-14 17:46 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-14 17:46 [PATCH 0/3] SMP support for Broadcom NSP Kapil Hali
2015-10-14 17:46 ` [PATCH 1/3] dt-bindings: add SMP enable-method " Kapil Hali
2015-10-14 22:27   ` Hauke Mehrtens
2015-10-15 16:13     ` Kapil Hali
2015-10-14 17:46 ` Kapil Hali [this message]
2015-10-14 17:47 ` [PATCH 3/3] ARM: BCM: Add SMP support " Kapil Hali
2015-10-14 22:26   ` Hauke Mehrtens
2015-10-14 22:40     ` Jon Mason
2015-10-15 15:49       ` Jon Mason
     [not found]         ` <20151015181409.GJ32089@broadcom.com>
2015-10-15 18:35           ` [RFC] ARM: BCM: Add SMP support for Broadcom 4708 Scott Branden
2015-10-23 22:38           ` Hauke Mehrtens
2015-10-15 16:10     ` [PATCH 3/3] ARM: BCM: Add SMP support for Broadcom NSP Kapil Hali
2015-10-15 21:12       ` Hauke Mehrtens
2015-10-15 21:17         ` Jon Mason
2015-10-28 14:24           ` Kapil Hali
2015-10-28 19:10             ` Hauke Mehrtens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1444844820-24290-3-git-send-email-kapilh@broadcom.com \
    --to=kapilh@broadcom.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).