From patchwork Tue May 20 17:43:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 4212291 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 692E0BEEAB for ; Tue, 20 May 2014 17:47:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A2C6720179 for ; Tue, 20 May 2014 17:47:38 +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 D154D20166 for ; Tue, 20 May 2014 17:47:37 +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 1Wmo6F-0002eV-4W; Tue, 20 May 2014 17:45:15 +0000 Received: from mail-ie0-f179.google.com ([209.85.223.179]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wmo5L-0000ek-EI for linux-arm-kernel@lists.infradead.org; Tue, 20 May 2014 17:44:20 +0000 Received: by mail-ie0-f179.google.com with SMTP id rd18so827436iec.10 for ; Tue, 20 May 2014 10:43:57 -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=F9jfNtx7ng7xpZHmCv5FbQ9TwF3aXlDM6Qb2pQhz8BqkJfaiq/mWG8940TS4dRYfXM Mc3nremlh4kGtoNc9XTlDODM7UZReOKssAgr/uXoXSGrm7VT2w1xWDzqc3L1Em4cvaQF h3rRc+Aa/AdxBymOMyW6Joo6CX3QolZfQ07YfFMsWVE3xaGPiEu32rgR0KXNefm/IOLI TWlZyehGLkzHjZEwcbu5avj8cuJkzeIWYzqDMG6dZ76TmE30+L8Nze/J8a4Dk6/N/KrC UVdmR9nHiCGUf1kQMdikbK5FvWu6GQsgzgTiWuMfD0rxJCLB76lBZhOVsuaoKebjxgKM zD/w== X-Gm-Message-State: ALoCoQkYPf5X6IVbRr6oB6CPJswcl2O/PmCcfiFePiPhLrfk4S1eUpbcSwqEUMfYHpOEFxXw7uop X-Received: by 10.50.85.18 with SMTP id d18mr7055815igz.42.1400607837637; Tue, 20 May 2014 10:43:57 -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 fx1sm30493794igd.1.2014.05.20.10.43.56 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 20 May 2014 10:43:57 -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 v4 5/5] ARM: dts: enable SMP support for bcm21664 Date: Tue, 20 May 2014 12:43:50 -0500 Message-Id: <1400607830-10989-6-git-send-email-elder@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1400607830-10989-1-git-send-email-elder@linaro.org> References: <1400607830-10989-1-git-send-email-elder@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140520_104419_586941_4D48E33D X-CRM114-Status: UNSURE ( 8.76 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: mark.rutland@arm.com, lorenzo.pieralisi@arm.com, jason@lakedaemon.net, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, rjui@broadcom.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, rvaswani@codeaurora.org, robh+dt@kernel.org, bcm-kernel-feedback-list@broadcom.com, rdunlap@infradead.org, galak@codeaurora.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>;