From patchwork Wed Aug 5 08:58:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 6946981 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@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 587659F373 for ; Wed, 5 Aug 2015 08:58:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 89F0420386 for ; Wed, 5 Aug 2015 08:58:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0E4A720379 for ; Wed, 5 Aug 2015 08:58:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751213AbbHEI6R (ORCPT ); Wed, 5 Aug 2015 04:58:17 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:59087 "EHLO baptiste.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750742AbbHEI6P (ORCPT ); Wed, 5 Aug 2015 04:58:15 -0400 Received: from ayla.of.borg ([84.193.93.87]) by baptiste.telenet-ops.be with bizsmtp id 0wyC1r00Q1t5w8s01wyCQi; Wed, 05 Aug 2015 10:58:12 +0200 Received: from ramsan.of.borg ([192.168.97.29] helo=ramsan) by ayla.of.borg with esmtp (Exim 4.82) (envelope-from ) id 1ZMuWZ-0004Ax-VN; Wed, 05 Aug 2015 10:58:12 +0200 Received: from geert by ramsan with local (Exim 4.82) (envelope-from ) id 1ZMuWb-0000Ep-Ku; Wed, 05 Aug 2015 10:58:13 +0200 From: Geert Uytterhoeven To: Simon Horman , Magnus Damm Cc: linux-arm-kernel@lists.infradead.org, linux-sh@vger.kernel.org, devicetree@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v4 4/6] ARM: shmobile: sh73a0 dtsi: Add L1 cache information to CPU nodes Date: Wed, 5 Aug 2015 10:58:08 +0200 Message-Id: <1438765090-823-5-git-send-email-geert+renesas@glider.be> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1438765090-823-1-git-send-email-geert+renesas@glider.be> References: <1438765090-823-1-git-send-email-geert+renesas@glider.be> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, 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 Describe the L1 caches in the CPU nodes: - L1 instruction cache: 32 KiB (8 KiB x 4 ways) per CPU, - L1 data cache: 32 KiB (8 KiB x 4 ways) per CPU. Add links to the L2 cache. Signed-off-by: Geert Uytterhoeven --- v4: - New. --- arch/arm/boot/dts/sh73a0.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/sh73a0.dtsi b/arch/arm/boot/dts/sh73a0.dtsi index e84fce5e4090f4ab..34f45023d1d29ed0 100644 --- a/arch/arm/boot/dts/sh73a0.dtsi +++ b/arch/arm/boot/dts/sh73a0.dtsi @@ -28,6 +28,15 @@ reg = <0>; clock-frequency = <1196000000>; power-domains = <&pd_a2sl>; + i-cache-size = <0x8000>; + i-cache-sets = <256>; + i-cache-block-size = <32>; + i-cache-line-size = <32>; + d-cache-size = <0x8000>; + d-cache-sets = <256>; + d-cache-block-size = <32>; + d-cache-line-size = <32>; + next-level-cache = <&L2>; }; cpu@1 { device_type = "cpu"; @@ -35,6 +44,15 @@ reg = <1>; clock-frequency = <1196000000>; power-domains = <&pd_a2sl>; + i-cache-size = <0x8000>; + i-cache-sets = <256>; + i-cache-block-size = <32>; + i-cache-line-size = <32>; + d-cache-size = <0x8000>; + d-cache-sets = <256>; + d-cache-block-size = <32>; + d-cache-line-size = <32>; + next-level-cache = <&L2>; }; };