From patchwork Mon Jun 30 22:15:40 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 4455251 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 70581BEEAA for ; Mon, 30 Jun 2014 22:18:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A4E8120373 for ; Mon, 30 Jun 2014 22:18:17 +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 D4E052034B for ; Mon, 30 Jun 2014 22:18:16 +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 1X1jsS-0007AZ-1b; Mon, 30 Jun 2014 22:16:44 +0000 Received: from mail-ig0-f180.google.com ([209.85.213.180]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X1jrv-0006yj-8u for linux-arm-kernel@lists.infradead.org; Mon, 30 Jun 2014 22:16:12 +0000 Received: by mail-ig0-f180.google.com with SMTP id h18so4802804igc.1 for ; Mon, 30 Jun 2014 15:15:48 -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=qOK0MZz3wgF3gKf/rlKzwydXLqDHpFYrAnsZLKV7WfM=; b=VehAcVIGcfMmdaU0jb/ODwUZED3hQcL46Hb68iTo5DlSki897YA7DnARaRolRGXRbD 9OHw2Gi87h0Klom/wADzdJ7To6jtY+pKaauMKhLCNhhdXeS0AQMdbRlG5XJZXApV0dQr o/O4oXO7YG/ZnmmYOkm2o4PnXKxvqaDHfrTqQGt6qicmMe4cLxBLMzS/8PEZPUArJmi/ uSUkdMu1yx9LZx1ryht6S73P4Vz1knbNFLn4xGa79CpEU8ZQ7uPtY7XOUiiR6YSlqIaT Bkqlwcrpe2qf36hJe/bO5JPKlDyjr6e7QGCzBdHj/Oai3xKnQyBHq1JDHFeDFD+1IWMs m1HQ== X-Gm-Message-State: ALoCoQlJxDXLF+uh0/zbCHnu0KUOntC1QfWXapBuNv9thHSimpCBggAXgKHjzi5ViqvJDBb6ARUi X-Received: by 10.42.212.207 with SMTP id gt15mr27633794icb.47.1404166548655; Mon, 30 Jun 2014 15:15:48 -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 kb7sm28414960igb.7.2014.06.30.15.15.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 30 Jun 2014 15:15:48 -0700 (PDT) From: Alex Elder To: mporter@linaro.org, bcm@fixthebug.org Subject: [PATCH v6 4/4] ARM: dts: enable SMP support for bcm21664 Date: Mon, 30 Jun 2014 17:15:40 -0500 Message-Id: <1404166540-4457-5-git-send-email-elder@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1404166540-4457-1-git-send-email-elder@linaro.org> References: <1404166540-4457-1-git-send-email-elder@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140630_151611_407525_A05AFDAC X-CRM114-Status: UNSURE ( 9.20 ) 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.18-1 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=-1.9 required=5.0 tests=BAYES_00, T_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 8b36682..2016b72 100644 --- a/arch/arm/boot/dts/bcm21664.dtsi +++ b/arch/arm/boot/dts/bcm21664.dtsi @@ -27,6 +27,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>;