From patchwork Tue May 6 22:18:33 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 4124491 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 15A149F23C for ; Tue, 6 May 2014 22:22:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5BB5B20142 for ; Tue, 6 May 2014 22:22:01 +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 8BAA8200BE for ; Tue, 6 May 2014 22:22:00 +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 1Whnhf-0001Nz-7O; Tue, 06 May 2014 22:19:11 +0000 Received: from mail-ie0-f178.google.com ([209.85.223.178]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WhnhX-0001Bx-Ni for linux-arm-kernel@lists.infradead.org; Tue, 06 May 2014 22:19:05 +0000 Received: by mail-ie0-f178.google.com with SMTP id lx4so148567iec.37 for ; Tue, 06 May 2014 15:18:42 -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=BgS8zkGtSMfC59g3zp38TMyClE5JzBkwdBZPyK01NvA=; b=GM+vPYJRubE4ZQ0aEuEuC240ENIIALQtn6312jMYnqnj7zW8UhpyVJdLQpHNvgL2RK IJH+fTCA5WEyTxPnz+7dwEbHR4aDjbkA2I4BLhd58GUQxim8UZW6OxkHdDK/44qusStp tFTNL2m9i5l7H6R86yABBKtbEq3Ox2tPwdJh+95DUeVlxxzGiEXPiIxJCSF9HBnYI8/x fO0/tTqSp2eYvRo3SmeB1gEk0/SPGniY0LLrbsKVobzklZbSCq0MxEVD36dUdOehQONw dfPmSwhG3Z8t86I2lpgapm7kpoKhUfWSi0X3O/4FVIuYFu101x7dhr+00DXKw+wizrQX xl8g== X-Gm-Message-State: ALoCoQnMVQx5M+I4xI2ELKAZMFXwpaPsJnazwL1z2cR2DQc5PNE8YOgUhNwQeIjKk078TYXUjhbR X-Received: by 10.50.79.195 with SMTP id l3mr37233240igx.36.1399414722185; Tue, 06 May 2014 15:18:42 -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 ie20sm42878494igb.10.2014.05.06.15.18.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 May 2014 15:18:41 -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 v3 5/5] ARM: dts: enable SMP support for bcm21664 Date: Tue, 6 May 2014 17:18:33 -0500 Message-Id: <1399414713-19206-6-git-send-email-elder@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1399414713-19206-1-git-send-email-elder@linaro.org> References: <1399414713-19206-1-git-send-email-elder@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140506_151903_839571_21C4DF36 X-CRM114-Status: UNSURE ( 9.34 ) 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.5 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>;