From patchwork Wed Sep 16 17:16:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 53752 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by patches.linaro.org (Postfix) with ESMTPS id DB4E622A0D for ; Wed, 16 Sep 2015 17:17:48 +0000 (UTC) Received: by lagj9 with SMTP id j9sf80864909lag.0 for ; Wed, 16 Sep 2015 10:17:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=Q1t4SekCT5T9FF0nNMb1J31sXSvmpWFt3IR4Oj9ACxY=; b=clffFYjQZOLXqg6LqIlDDdu/ec1hnIgciRCsd+EQPq7XKQbVe3wDpcBHNNY4EeJv3I A/vFf63W4L1YBvsSzCrHftmXiRClc4p0+9L/ta3kwZqC9TqtBL2nefLsPtx04Se4aZXO KUg/teVGkm+LuauuUntUubFDi/1jam/1Lf1ar9URFDIUrdadmLpoo/8f6zT2CnbGjtdX 1ePkk/JGQ3NZwGjsbqgNDymzjLaKGwszePyNmkKRPRpsPGnp0WO2EItZgSndeUv1qXIP Ajgi4mfRvNme1SlSME2FdfdAOEigKM7gCCb8vh/JfahSSsYpnUhGiQCNDi8LiW/G5Qv3 4/tA== X-Gm-Message-State: ALoCoQlfBZGYuzUQGgq5ZtHTRLCh8kf7G+/xN2bO70t19yOHOo7xunW40h1tAFofEyuz4gRJkWWJ X-Received: by 10.112.151.9 with SMTP id um9mr3142518lbb.19.1442423867914; Wed, 16 Sep 2015 10:17:47 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.1.199 with SMTP id 7ls822008lao.67.gmail; Wed, 16 Sep 2015 10:17:47 -0700 (PDT) X-Received: by 10.112.13.136 with SMTP id h8mr31060018lbc.23.1442423867585; Wed, 16 Sep 2015 10:17:47 -0700 (PDT) Received: from mail-la0-f42.google.com (mail-la0-f42.google.com. [209.85.215.42]) by mx.google.com with ESMTPS id 6si18345568lav.58.2015.09.16.10.17.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Sep 2015 10:17:47 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) client-ip=209.85.215.42; Received: by lanb10 with SMTP id b10so133400184lan.3 for ; Wed, 16 Sep 2015 10:17:47 -0700 (PDT) X-Received: by 10.152.219.34 with SMTP id pl2mr2980824lac.29.1442423867396; Wed, 16 Sep 2015 10:17:47 -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.59.35 with SMTP id w3csp2582335lbq; Wed, 16 Sep 2015 10:17:46 -0700 (PDT) X-Received: by 10.50.59.211 with SMTP id b19mr17661246igr.42.1442423862462; Wed, 16 Sep 2015 10:17:42 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ba9si25638676pbd.240.2015.09.16.10.17.41; Wed, 16 Sep 2015 10:17:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753814AbbIPRRh (ORCPT + 29 others); Wed, 16 Sep 2015 13:17:37 -0400 Received: from foss.arm.com ([217.140.101.70]:37723 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753628AbbIPRRf (ORCPT ); Wed, 16 Sep 2015 13:17:35 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7B11B5F5; Wed, 16 Sep 2015 10:17:35 -0700 (PDT) Received: from e103737-lin.cambridge.arm.com (e103737-lin.cambridge.arm.com [10.1.207.150]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 878963F51B; Wed, 16 Sep 2015 10:17:33 -0700 (PDT) From: Sudeep Holla To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, arm@kernel.org Cc: Sudeep Holla , Liviu Dudau , Punit Agrawal , "Jon Medhurst (Tixy)" , Lorenzo Pieralisi , Arnd Bergmann , Olof Johansson , Kevin Hilman Subject: [PATCH REPOST v6 7/8] arm64: dts: add CPU topology on Juno Date: Wed, 16 Sep 2015 18:16:38 +0100 Message-Id: <1442423799-23892-8-git-send-email-sudeep.holla@arm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1442423799-23892-1-git-send-email-sudeep.holla@arm.com> References: <1442423799-23892-1-git-send-email-sudeep.holla@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sudeep.holla@arm.com 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.42 as permitted sender) smtp.mailfrom=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 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch adds CPU topology on Juno. It will be useful for ther other IP blocks depending on this topology. Signed-off-by: Sudeep Holla Acked-by: Liviu Dudau Cc: Jon Medhurst (Tixy) --- arch/arm64/boot/dts/arm/juno-r1.dts | 26 ++++++++++++++++++++++++++ arch/arm64/boot/dts/arm/juno.dts | 26 ++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/arch/arm64/boot/dts/arm/juno-r1.dts b/arch/arm64/boot/dts/arm/juno-r1.dts index c62751153a4f..69130840c6cd 100644 --- a/arch/arm64/boot/dts/arm/juno-r1.dts +++ b/arch/arm64/boot/dts/arm/juno-r1.dts @@ -34,6 +34,32 @@ #address-cells = <2>; #size-cells = <0>; + cpu-map { + cluster0 { + core0 { + cpu = <&A57_0>; + }; + core1 { + cpu = <&A57_1>; + }; + }; + + cluster1 { + core0 { + cpu = <&A53_0>; + }; + core1 { + cpu = <&A53_1>; + }; + core2 { + cpu = <&A53_2>; + }; + core3 { + cpu = <&A53_3>; + }; + }; + }; + A57_0: cpu@0 { compatible = "arm,cortex-a57","arm,armv8"; reg = <0x0 0x0>; diff --git a/arch/arm64/boot/dts/arm/juno.dts b/arch/arm64/boot/dts/arm/juno.dts index d7cbdd482a61..ce1128a54c8d 100644 --- a/arch/arm64/boot/dts/arm/juno.dts +++ b/arch/arm64/boot/dts/arm/juno.dts @@ -34,6 +34,32 @@ #address-cells = <2>; #size-cells = <0>; + cpu-map { + cluster0 { + core0 { + cpu = <&A57_0>; + }; + core1 { + cpu = <&A57_1>; + }; + }; + + cluster1 { + core0 { + cpu = <&A53_0>; + }; + core1 { + cpu = <&A53_1>; + }; + core2 { + cpu = <&A53_2>; + }; + core3 { + cpu = <&A53_3>; + }; + }; + }; + A57_0: cpu@0 { compatible = "arm,cortex-a57","arm,armv8"; reg = <0x0 0x0>;