From patchwork Sat Jan 16 14:17:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dirk Behme X-Patchwork-Id: 8049121 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 695259F859 for ; Sat, 16 Jan 2016 14:19:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 848EF20304 for ; Sat, 16 Jan 2016 14:19:30 +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 BE043202FE for ; Sat, 16 Jan 2016 14:19:29 +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 1aKRg3-0004qp-BE; Sat, 16 Jan 2016 14:18:03 +0000 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aKRg0-0004my-Uw for linux-arm-kernel@lists.infradead.org; Sat, 16 Jan 2016 14:18:01 +0000 Received: by mail-wm0-x243.google.com with SMTP id l65so7855434wmf.3 for ; Sat, 16 Jan 2016 06:17:40 -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=ntNRbBI4NYfl4Dw38NjGj98el4vdjXY00B/uWoUInks=; b=mUJkZ+XvPaA7O3mRHjhqRJXb91MPKj1X+OaAophinygZ2wrevNldVfHzg6C1e7FgD7 QuqnpBGuDn8UTdTiXiZbbkVUDSUtHy4Q8wnk/vTgAgHH6S38fmGii+7+4hSgFouGOI0M xV97pHWcPXyGhLKnRPqrtqD03TplVdXDnKbH2oVVMfVtJOWNK9sMtLwdJj7yBBjMdZXg YnrAzdCt8sZwMD/KxFzCM6ZbGmGERupx7VMeJDXvbklEFNNqvXUt4UdTEEtQZBnkZJmu 2x9t16+S0vWJXu0Eac5dTo7/cJ/4OWsuNsmWgx9BiRtsU0y200eh0oOG5j5wmTo/W8VM rBew== 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; bh=ntNRbBI4NYfl4Dw38NjGj98el4vdjXY00B/uWoUInks=; b=Pbxzz9q3P5p77Ly61yzkuF/HpD6MveLe86D3jzlQzlYoInxsrsHBTU2mGjqKwUSJtS w47477uhwFww88O1JAcq/hfSui1Hd58h8BBDQvrbgl+A2dUkTqKJpxd+IINE5W0fkLjp wHa25yao9TdaEKLyuGc5uq8rWzLKF20D/JxzieCLxtcep85qO23W8F/urEm348DBJaIm t2BD+sTB2DdaLSJ8rgGsVQTuOkAD0GgqZ3/sBQVWjjf1CnnaP6AzelvT5MdM9y9OqZFA 3Q+366k/04hG0w/pvGGIBt+0p8ccG+YQi/bbbnx/0TWlHMTTOr8ixfdumkUMpnVcwU0B zbeg== X-Gm-Message-State: AG10YOSKiyPusmgFwrkrmQKvcSDhiPQdZJPyLrTAzdDZqlVSKfyJGifbR7BKU4xY7HXn6g== X-Received: by 10.28.129.139 with SMTP id c133mr4093842wmd.30.1452953859509; Sat, 16 Jan 2016 06:17:39 -0800 (PST) Received: from localhost.localdomain (p4FEE244A.dip0.t-ipconnect.de. [79.238.36.74]) by smtp.gmail.com with ESMTPSA id s8sm15182067wje.35.2016.01.16.06.17.38 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 16 Jan 2016 06:17:38 -0800 (PST) From: Dirk Behme To: linux-sh@vger.kernel.org, horms@verge.net.au, geert+renesas@glider.be Subject: [PATCH v2] arm64: dts: r8a7795: Add L2 cache-controller nodes Date: Sat, 16 Jan 2016 15:17:36 +0100 Message-Id: <1452953856-5146-1-git-send-email-dirk.behme@gmail.com> X-Mailer: git-send-email 2.7.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160116_061801_178883_A575DCC6 X-CRM114-Status: UNSURE ( 9.31 ) 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, 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, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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: Geert Uytterhoeven Add device nodes for the L2 caches, and link the CPU node to its L2 cache node. The L2 cache for the Cortex-A57 CPU cores is 2 MiB large (organized as 128 KiB x 16 ways). Signed-off-by: Geert Uytterhoeven Signed-off-by: Dirk Behme --- Changes in v2: Dropped the not yet merged Cortex A53 part. arch/arm64/boot/dts/renesas/r8a7795.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index a82bce8..a22ae65 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -39,6 +39,7 @@ compatible = "arm,cortex-a57", "arm,armv8"; reg = <0x0>; device_type = "cpu"; + next-level-cache = <&L2_CA57>; enable-method = "psci"; }; @@ -46,22 +47,29 @@ compatible = "arm,cortex-a57","arm,armv8"; reg = <0x1>; device_type = "cpu"; + next-level-cache = <&L2_CA57>; enable-method = "psci"; }; a57_2: cpu@2 { compatible = "arm,cortex-a57","arm,armv8"; reg = <0x2>; device_type = "cpu"; + next-level-cache = <&L2_CA57>; enable-method = "psci"; }; a57_3: cpu@3 { compatible = "arm,cortex-a57","arm,armv8"; reg = <0x3>; device_type = "cpu"; + next-level-cache = <&L2_CA57>; enable-method = "psci"; }; }; + L2_CA57: cache-controller@0 { + compatible = "cache"; + }; + extal_clk: extal { compatible = "fixed-clock"; #clock-cells = <0>;