From patchwork Tue Apr 15 13:12:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 3992921 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 656909F2CC for ; Tue, 15 Apr 2014 13:15:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 616B620221 for ; Tue, 15 Apr 2014 13:15:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 85C1820220 for ; Tue, 15 Apr 2014 13:15:50 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wa3BM-0006Ye-W9; Tue, 15 Apr 2014 13:13:48 +0000 Received: from mail-ig0-f169.google.com ([209.85.213.169]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wa3Ax-0006L6-Qg for linux-arm-kernel@lists.infradead.org; Tue, 15 Apr 2014 13:13:24 +0000 Received: by mail-ig0-f169.google.com with SMTP id h18so5499396igc.2 for ; Tue, 15 Apr 2014 06:13:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=YI6GuFd/YYkjtNkMzqpzSdr5Zx58bnANK+iOAtUSymM=; b=XxYODTPAaIkU8uItJTPgQzsh+LrBqR+oTis5ZMaRX5Jsf/hHgjapqVwegfzbgBOHAf sav0rNHFrh5I1C3X2PjbQzCkk4iBTcnkYJ5ytPKE0NAYSBKMC7MwEoS3Of+9LU+DjyXp ZPni6mUPpq7CIZ9uZPZm19gRWTZnlEFyM+RyubHFXpL2/g7tjsPjJXYpJ+MNjTXcda7O Zl/TtFlURHvQsnWRniMIUCpkzK76t3V3+7gBY8BgwUEhK36U86sLa4P9Dd5jFhwcw3yh BOsoXWSwLu1EOM1cPnAV2nEFPtUHrY4NamcEBJEHCS2gGBhTNR7Ip/V05wZ62oj/mJ7l Ew6w== X-Gm-Message-State: ALoCoQlqW8e+L4BC0DuE+bIZULAONZLn+cR1vZagd4FAwsorxJYnZ+5hNpjZNEFIsZqLKmqH9rey X-Received: by 10.42.67.130 with SMTP id t2mr1531804ici.17.1397567582856; Tue, 15 Apr 2014 06:13:02 -0700 (PDT) Received: from localhost.localdomain (c-71-195-31-37.hsd1.mn.comcast.net. [71.195.31.37]) by mx.google.com with ESMTPSA id lp5sm5450880igb.1.2014.04.15.06.13.01 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 15 Apr 2014 06:13:02 -0700 (PDT) From: Alex Elder To: mporter@linaro.org, bcm@fixthebug.org, linux@arm.linux.org.uk, devicetree@vger.kernel.org, arnd@arndb.de, sboyd@codeaurora.org Subject: [PATCH v2 5/5] ARM: dts: enable SMP support for bcm21664 Date: Tue, 15 Apr 2014 08:12:54 -0500 Message-Id: <1397567574-31599-6-git-send-email-elder@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1397567574-31599-1-git-send-email-elder@linaro.org> References: <1397567574-31599-1-git-send-email-elder@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140415_061323_905716_0AD2804C X-CRM114-Status: UNSURE ( 9.57 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Define nodes representing the two Cortex A9 CPUs in a bcm21644 SoC. Signed-off-by: Alex Elder --- arch/arm/boot/dts/bcm21664.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/bcm21664.dtsi b/arch/arm/boot/dts/bcm21664.dtsi index 08a44d4..a37ded1 100644 --- a/arch/arm/boot/dts/bcm21664.dtsi +++ b/arch/arm/boot/dts/bcm21664.dtsi @@ -25,6 +25,25 @@ 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>;