From patchwork Mon Apr 20 13:13:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 47354 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7EA842121F for ; Mon, 20 Apr 2015 13:16:15 +0000 (UTC) Received: by wizk4 with SMTP id k4sf17993885wiz.2 for ; Mon, 20 Apr 2015 06:16:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id:cc :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list; bh=5BGTJFutsBnH7Q5n5pbZBIM9PwgGjEIQfdb5gfd+yYE=; b=hJx9oKAUo7j9T8OM+SHtJMwE0dvenzumqws/els9Q9e0BXEvQOK9Q8i0dVrVVc/5Xx +2VHlTctKd1lLAIjQNQnTUVyGTnAqOq9NleIday5pyP+qDye+5HIeE7ekoWtIPyLETNH m3dzuUW7HugJhxWj3lfxzVOFyJOvLZSk9ctgMhW3yrSn4ZKIFYvp1wOoRmuIpYuPXT7b GxnOXtYLEviFcrJ4Jq1PLPhEYNBXfx05Ve2zwzQdCqbKJUUIt7PJ5Wlg5bHun0AYmuUY +ickJMy261LjLmR5INuREf+Es0oqXzs1NszAIWFu1Y/7qTBLNTFiEG0prR7UpeR294vL OXCQ== X-Gm-Message-State: ALoCoQl8DOc+VcSjQ23sACCxzFfcnLGUMLLAsZESwFvC/b7sJdCoH3TdxbhRVbEqdhBA54fO6ib9 X-Received: by 10.112.181.166 with SMTP id dx6mr7042799lbc.17.1429535774758; Mon, 20 Apr 2015 06:16:14 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.87.171 with SMTP id az11ls834191lab.107.gmail; Mon, 20 Apr 2015 06:16:14 -0700 (PDT) X-Received: by 10.152.206.75 with SMTP id lm11mr15414108lac.41.1429535774612; Mon, 20 Apr 2015 06:16:14 -0700 (PDT) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com. [209.85.215.44]) by mx.google.com with ESMTPS id q3si14970765laj.148.2015.04.20.06.16.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Apr 2015 06:16:14 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by laat2 with SMTP id t2so126433555laa.1 for ; Mon, 20 Apr 2015 06:16:14 -0700 (PDT) X-Received: by 10.152.8.78 with SMTP id p14mr15707856laa.19.1429535774516; Mon, 20 Apr 2015 06:16:14 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.67.65 with SMTP id l1csp15653lbt; Mon, 20 Apr 2015 06:16:13 -0700 (PDT) X-Received: by 10.66.182.201 with SMTP id eg9mr28542263pac.68.1429535771777; Mon, 20 Apr 2015 06:16:11 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id f3si28263874pas.96.2015.04.20.06.16.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Apr 2015 06:16:11 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; 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 1YkBWl-0006Sg-Fe; Mon, 20 Apr 2015 13:14:19 +0000 Received: from mail-lb0-f171.google.com ([209.85.217.171]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YkBWe-0006CT-Ta for linux-arm-kernel@lists.infradead.org; Mon, 20 Apr 2015 13:14:13 +0000 Received: by lbbzk7 with SMTP id zk7so130185383lbb.0 for ; Mon, 20 Apr 2015 06:13:50 -0700 (PDT) X-Received: by 10.112.42.16 with SMTP id j16mr15225858lbl.98.1429535630166; Mon, 20 Apr 2015 06:13:50 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id uj9sm4312387lbb.38.2015.04.20.06.13.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Apr 2015 06:13:49 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/5] ARM: ux500: define CPU topology Date: Mon, 20 Apr 2015 15:13:44 +0200 Message-Id: <1429535624-9225-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.9.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150420_061413_144643_34081018 X-CRM114-Status: UNSURE ( 9.40 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.0 (-) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-1.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.217.171 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.3 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.217.171 listed in wl.mailspike.net] Cc: Linus Walleij 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+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 The CPU topology is unspecified for Ux500 but will be needed for things like CoreSight. Let's just add it. Signed-off-by: Linus Walleij --- arch/arm/boot/dts/ste-dbx5x0.dtsi | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/ste-dbx5x0.dtsi b/arch/arm/boot/dts/ste-dbx5x0.dtsi index bfd3f1c734b8..bd6bd0926931 100644 --- a/arch/arm/boot/dts/ste-dbx5x0.dtsi +++ b/arch/arm/boot/dts/ste-dbx5x0.dtsi @@ -22,6 +22,32 @@ interrupt-parent = <&intc>; ranges; + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu-map { + cluster0 { + core0 { + cpu = <&CPU0>; + }; + core1 { + cpu = <&CPU1>; + }; + }; + }; + CPU0: cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a9"; + reg = <0>; + }; + CPU1: cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a9"; + reg = <1>; + }; + }; + intc: interrupt-controller@a0411000 { compatible = "arm,cortex-a9-gic"; #interrupt-cells = <3>;