From patchwork Mon Nov 17 11:48:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 40914 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2485F24035 for ; Mon, 17 Nov 2014 11:54:50 +0000 (UTC) Received: by mail-la0-f71.google.com with SMTP id s18sf3010279lam.2 for ; Mon, 17 Nov 2014 03:54:49 -0800 (PST) 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=lSw2ifMe4nZndnQw9IfIuQOSmDi2v4N1fwV9hE19Y6o=; b=IfiaVgYPnENdFboweguijDjW81SKyzHbJpO8Jr/EK5FdI4iiWJ8SKFzQRnzBm894M5 Ra0CuUI7oKMKXgw75Jf+77C+IYE0qz4ma61Z6OgYOcsh9rJRJFFGCxG9IHRkRcJ+khXR poG96TjK90hd8ysORZVVEUQjR293m16vCuzdri1uuN4/0TYwJg9r/HAS1EqA4HtTmJRO lCuvNAferoOHcGgVOtihUzbworcJPVSvmVoKSsqyUioE2auqu58qr4Wej94XuGb0D/f6 8GNO6cpQCsdd07/+xjVUOgVblgPcknSjqC7wRnPMO1xYkU+8lEaZyf2P4yk/TuJmX/Rz CMBQ== X-Gm-Message-State: ALoCoQmUOM8dXeF6IK9ivClJBBtsRg3JduSvtVGrErdBXDqoyvLSvzkEqM03ZKNsy28kGlmkpnSl X-Received: by 10.180.85.97 with SMTP id g1mr2243531wiz.0.1416224944964; Mon, 17 Nov 2014 03:49:04 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.4.5 with SMTP id ca5ls893680lad.68.gmail; Mon, 17 Nov 2014 03:49:04 -0800 (PST) X-Received: by 10.112.148.130 with SMTP id ts2mr27073604lbb.43.1416224944340; Mon, 17 Nov 2014 03:49:04 -0800 (PST) Received: from mail-la0-f50.google.com (mail-la0-f50.google.com. [209.85.215.50]) by mx.google.com with ESMTPS id y8si51663109laj.5.2014.11.17.03.49.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Nov 2014 03:49:04 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.50 as permitted sender) client-ip=209.85.215.50; Received: by mail-la0-f50.google.com with SMTP id hs14so11751785lab.23 for ; Mon, 17 Nov 2014 03:49:04 -0800 (PST) X-Received: by 10.153.7.170 with SMTP id dd10mr26667859lad.44.1416224944257; Mon, 17 Nov 2014 03:49:04 -0800 (PST) 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.184.201 with SMTP id ew9csp1139859lbc; Mon, 17 Nov 2014 03:49:03 -0800 (PST) X-Received: by 10.68.189.33 with SMTP id gf1mr2898233pbc.141.1416224942485; Mon, 17 Nov 2014 03:49:02 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ur9si34920283pbc.125.2014.11.17.03.49.01 for ; Mon, 17 Nov 2014 03:49:02 -0800 (PST) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752217AbaKQLss (ORCPT + 26 others); Mon, 17 Nov 2014 06:48:48 -0500 Received: from mailout4.w1.samsung.com ([210.118.77.14]:26275 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752058AbaKQLso (ORCPT ); Mon, 17 Nov 2014 06:48:44 -0500 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NF600FIZM9P0X90@mailout4.w1.samsung.com>; Mon, 17 Nov 2014 11:51:25 +0000 (GMT) X-AuditID: cbfec7f5-b7f956d000005ed7-38-5469e09863af Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 11.CE.24279.890E9645; Mon, 17 Nov 2014 11:48:40 +0000 (GMT) Received: from amdc1339.digital.local ([106.116.147.30]) by eusync2.samsung.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NF60089VM4TUL60@eusync2.samsung.com>; Mon, 17 Nov 2014 11:48:40 +0000 (GMT) From: Marek Szyprowski To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Marek Szyprowski , Tomasz Figa , Kyungmin Park , linux-samsung-soc@vger.kernel.org, Arnd Bergmann , Olof Johansson , Russell King - ARM Linux , Kukjin Kim , lauraa@codeaurora.org, linux-omap@vger.kernel.org, linus.walleij@linaro.org, tony@atomide.com, drake@endlessm.com, loeliger@gmail.com, Mark Rutland Subject: [PATCH v9 7/7] ARM: dts: exynos4: Add nodes for L2 cache controller Date: Mon, 17 Nov 2014 12:48:29 +0100 Message-id: <1416224909-4290-8-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.2 In-reply-to: <1416224909-4290-1-git-send-email-m.szyprowski@samsung.com> References: <1416224909-4290-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrCLMWRmVeSWpSXmKPExsVy+t/xK7ozHmSGGMz5IG3xd9IxdotH8x8z W/QuuMpmcbbpDbvF9s4Z7BZT/ixnstj0+BqrxeVdc9gsZi/pZ7GYcX4fk8Xty7wW57ZvYbFY e+Quu8XS6xeZLE5d/8xmsWrXH0aL/Ve8HAQ91sxbw+jR0tzD5vH71yRGj29fJ7F4XO7rZfJY 9D3LY+esu+wed67tYfPYvKTe48qJJlaPvi2rGD0+b5IL4InisklJzcksSy3St0vgytjwZj1z wSS+ionvsxoYb3F3MXJwSAiYSJzqLe5i5AQyxSQu3FvP1sXIxSEksJRRYtPOiywQTh+TRH/L HhaQKjYBQ4mut11sILaIgJvEv3WHwDqYBT4zS1x6tIYVJCEs4COx+tNUMJtFQFVizocL7CDb eAXcJVYe4IHYJifx/+UKJhCbU8BD4tv3A2wgJUJAJa2POCcw8i5gZFjFKJpamlxQnJSea6RX nJhbXJqXrpecn7uJERLyX3cwLj1mdYhRgINRiYf3QFFmiBBrYllxZe4hRgkOZiUR3piLQCHe lMTKqtSi/Pii0pzU4kOMTBycUg2Mx+bWCfLpNvHrfmCa03Y/zOZMsHbFs6jTRxLvzhH8P1d+ xcIe5Q8HsuuYli416DcRcAg2eJ3vJns/0NW+XGBf6JbOEHXOlo88PCzzBPxuNHsbvpUyb3Sw /STdGno0sPtloYmqadSeXJnSu8LXG61vrWUJOSsq22y3KUL22nGdmXumTbYNN1NiKc5INNRi LipOBAC+HxbBVwIAAA== 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: m.szyprowski@samsung.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.50 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 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Tomasz Figa This patch adds device tree nodes for L2 cache controller present on Exynos4 SoCs. Signed-off-by: Tomasz Figa Signed-off-by: Marek Szyprowski Acked-by: Arnd Bergmann Acked-by: Kukjin Kim --- arch/arm/boot/dts/exynos4210.dtsi | 9 +++++++++ arch/arm/boot/dts/exynos4x12.dtsi | 14 ++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/exynos4210.dtsi index 807bb5bf91fc..8a182c43e314 100644 --- a/arch/arm/boot/dts/exynos4210.dtsi +++ b/arch/arm/boot/dts/exynos4210.dtsi @@ -64,6 +64,15 @@ reg = <0x10023CA0 0x20>; }; + l2c: l2-cache-controller@10502000 { + compatible = "arm,pl310-cache"; + reg = <0x10502000 0x1000>; + cache-unified; + cache-level = <2>; + arm,tag-latency = <2 2 1>; + arm,data-latency = <2 2 1>; + }; + gic: interrupt-controller@10490000 { cpu-offset = <0x8000>; }; diff --git a/arch/arm/boot/dts/exynos4x12.dtsi b/arch/arm/boot/dts/exynos4x12.dtsi index 861bb919f6d3..c7adfd60ad3a 100644 --- a/arch/arm/boot/dts/exynos4x12.dtsi +++ b/arch/arm/boot/dts/exynos4x12.dtsi @@ -54,6 +54,20 @@ reg = <0x10023CA0 0x20>; }; + l2c: l2-cache-controller@10502000 { + compatible = "arm,pl310-cache"; + reg = <0x10502000 0x1000>; + cache-unified; + cache-level = <2>; + arm,tag-latency = <2 2 1>; + arm,data-latency = <3 2 1>; + arm,double-linefill = <1>; + arm,double-linefill-incr = <0>; + arm,double-linefill-wrap = <1>; + arm,prefetch-drop = <1>; + arm,prefetch-offset = <7>; + }; + clock: clock-controller@10030000 { compatible = "samsung,exynos4412-clock"; reg = <0x10030000 0x20000>;