From patchwork Sat Dec 12 07:16:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dirk Behme X-Patchwork-Id: 7834231 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BF944BEEE1 for ; Sat, 12 Dec 2015 07:25:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E299E20414 for ; Sat, 12 Dec 2015 07:25:20 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BA820203F4 for ; Sat, 12 Dec 2015 07:25:19 +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 1a7eQf-000225-MV; Sat, 12 Dec 2015 07:17:17 +0000 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a7eQb-000208-In for linux-arm-kernel@lists.infradead.org; Sat, 12 Dec 2015 07:17:15 +0000 Received: by mail-wm0-x22c.google.com with SMTP id p66so353966wmp.1 for ; Fri, 11 Dec 2015 23:16:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=FSB/5vkaMWpdohnGR+q/JhTEFo4Sfv++HrbDaryDujo=; b=KQC8FszamoWCZudUtOUv0OIww7BBAYuLV28DzgdDg+jJWFuh2YRFG8r2lx65TAT/15 ucWOlPMQxQWY4CNq611MMAdG3D+bldtgRrh37XgSS0VVXp0S2FeG4qQZPKJN7AmYM8r9 oyFJXVoVYKsCj93NYqgwFpHdp1xfEV4v+oSeEPKXZVTh0XgqIVjyBkwtMVhlR1UT+T0a yKPktki4f0CBOcbXtG9ZODphSjUYJia8umAbkPGJy6l8lSua5BhF/tIDGhSnRCpz1hTc IC3PB2VYcifKHzvhQeY1kX/Yj20uPj1Cor0C9G9+FgKPPJPJdzimiP4RdfuQFY6Tf48s 5q3Q== X-Received: by 10.194.82.99 with SMTP id h3mr28139154wjy.41.1449904611520; Fri, 11 Dec 2015 23:16:51 -0800 (PST) Received: from localhost.localdomain (p4FEE252A.dip0.t-ipconnect.de. [79.238.37.42]) by smtp.gmail.com with ESMTPSA id gl10sm20020317wjb.30.2015.12.11.23.16.49 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 11 Dec 2015 23:16:50 -0800 (PST) From: Dirk Behme To: linux-sh@vger.kernel.org, horms@verge.net.au, geert+renesas@glider.be Subject: [PATCH 1/2] arm64: dts: r8a7795: Add Cortex-A53 CPU cores Date: Sat, 12 Dec 2015 08:16:46 +0100 Message-Id: <1449904607-4060-1-git-send-email-dirk.behme@gmail.com> X-Mailer: git-send-email 2.6.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151211_231713_807578_F86237B9 X-CRM114-Status: UNSURE ( 9.64 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Takeshi Kihara , Dirk Behme , linux-arm-kernel@lists.infradead.org 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=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, 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 From: Takeshi Kihara This patch adds Cortex-A53 CPU cores to r8a7795 SoC for a total of 8 cores (4 x Cortex-A57 + 4 x Cortex-A53). Signed-off-by: Takeshi Kihara Signed-off-by: Dirk Behme --- Note: This patch is picked from https://git.kernel.org/cgit/linux/kernel/git/horms/renesas-bsp.git/log/?h=v4.2/rcar-3.0.x and rebased against https://git.kernel.org/cgit/linux/kernel/git/horms/renesas.git/log/?h=next renesas-next-20151211v2-v4.4-rc1 arch/arm64/boot/dts/renesas/r8a7795.dtsi | 46 +++++++++++++++++++++++++++----- 1 file changed, 39 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index b9229a4..3633a2a 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -60,6 +60,30 @@ device_type = "cpu"; enable-method = "psci"; }; + a53_0: cpu@100 { + compatible = "arm,cortex-a53", "arm,armv8"; + reg = <0x100>; + device_type = "cpu"; + enable-method = "psci"; + }; + a53_1: cpu@101 { + compatible = "arm,cortex-a53","arm,armv8"; + reg = <0x101>; + device_type = "cpu"; + enable-method = "psci"; + }; + a53_2: cpu@102 { + compatible = "arm,cortex-a53","arm,armv8"; + reg = <0x102>; + device_type = "cpu"; + enable-method = "psci"; + }; + a53_3: cpu@103 { + compatible = "arm,cortex-a53","arm,armv8"; + reg = <0x103>; + device_type = "cpu"; + enable-method = "psci"; + }; }; extal_clk: extal { @@ -115,7 +139,7 @@ reg = <0x0 0xf1010000 0 0x1000>, <0x0 0xf1020000 0 0x2000>; interrupts = ; + (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>; }; gpio0: gpio@e6050000 { @@ -235,23 +259,31 @@ interrupts = , , , - ; + , + , + , + , + ; interrupt-affinity = <&a57_0>, <&a57_1>, <&a57_2>, - <&a57_3>; + <&a57_3>, + <&a53_0>, + <&a53_1>, + <&a53_2>, + <&a53_3>; }; timer { compatible = "arm,armv8-timer"; interrupts = , + (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>, , + (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>, , + (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>, ; + (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>; }; cpg: clock-controller@e6150000 {