From patchwork Fri May 30 22:28:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 4274411 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 8B235BEEA7 for ; Fri, 30 May 2014 22:32:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EFE0420303 for ; Fri, 30 May 2014 22:32:43 +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 2437E202E5 for ; Fri, 30 May 2014 22:32:43 +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 1WqVJM-0000bX-Nv; Fri, 30 May 2014 22:30:04 +0000 Received: from mail-ie0-f180.google.com ([209.85.223.180]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WqVIm-0000Pr-1h for linux-arm-kernel@lists.infradead.org; Fri, 30 May 2014 22:29:28 +0000 Received: by mail-ie0-f180.google.com with SMTP id tp5so2310428ieb.25 for ; Fri, 30 May 2014 15:29:07 -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=JTjhShx5bLjbdQtjM1nDU0za648qeSv9IGEQbKOagQ7r5GrEZPYnTdqYFnLQ/3b1aL elOjIWvIPxqWhVmWQX6cblGIMfR+REgI5vAu7nqqbpMjfv1qn8rNevKgXAypXmu+u6dP UqXDNA24vpuC5bvDB9F2fpcMj/4Uz+ZOwARuGhMtTsKqCjiZx3XIgg5Y+UpeaDURHjlV ySrXK6DaFxi0lOOfWb3G8HYbyRL6oRIQBgEB1bK767fL0TI4Uig38dXeEx3wTgXklyYl Qmu/8crXKSdoEcmauIVJ+wiYV2urAjLBOKeorm8GuUd9W4Gnz0e2G6hFv9XJKv/7oM/c 9kxg== X-Gm-Message-State: ALoCoQmhFIMTRlcjh/C4qNbPcslZQS4mN0fnVxLX9BSY+0EciSSqBZlJcHxlZ+L9mQjayP60Csyw X-Received: by 10.50.32.70 with SMTP id g6mr700396igi.0.1401488946989; Fri, 30 May 2014 15:29:06 -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 qh3sm8567496igb.17.2014.05.30.15.29.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 30 May 2014 15:29:06 -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 RESEND 5/5] ARM: dts: enable SMP support for bcm21664 Date: Fri, 30 May 2014 17:28:56 -0500 Message-Id: <1401488936-21186-6-git-send-email-elder@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1401488936-21186-1-git-send-email-elder@linaro.org> References: <1401488936-21186-1-git-send-email-elder@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140530_152928_138553_DF32CDA3 X-CRM114-Status: UNSURE ( 8.66 ) 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>;