From patchwork Mon Apr 17 21:42:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 9684593 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AEA7360326 for ; Mon, 17 Apr 2017 21:48:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 92DAB28178 for ; Mon, 17 Apr 2017 21:48:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 74052282E2; Mon, 17 Apr 2017 21:48:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 05AEC28178 for ; Mon, 17 Apr 2017 21:48:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=EdU5nPm724pum4aOjdf6bBQ1K9gvA3G7aDLUsog690A=; b=qV6I+uJz3KhyCu1CgiGgDTr2/k e6QSBoQWi+vb7WPbKWsI03bNYtHQ6wshImrnDxvSVIDJ2iswi/q7XlDKggdt/10ElLkPMOjF/KD9W DV2maqQIkM78itLsFF4jEVrtyeHg4IE/uLfnmDqGYVv/+TZ+2chrXyfxYpbYc3qS4mJtUO0JEsMxM WMjhbIPgikSZyXBxQLpy6RLjsbHq+59CO45hDpdE2IEJ36N5l9mBAE38N0WoLf9ENkjJKoT8Ki84l Iqv6ehzzZAJABumeStNK49uoCcsZM2OmcpdgjUL72uGx9Wo1hTqPCM+G9J3oPWdZAtAY/zpJsfHe9 92gNPc7g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1d0EVQ-0006ms-Uu; Mon, 17 Apr 2017 21:48:20 +0000 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d0EQT-0004MB-AL; Mon, 17 Apr 2017 21:43:15 +0000 Received: by mail-wr0-x242.google.com with SMTP id o21so22175056wrb.3; Mon, 17 Apr 2017 14:42:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3G1/dncBq36qPYjFLMqo5fQ3VB0RC2/kDt1XorN8zyo=; b=tIddVvpzbv1ND0AMvSRzujTyq+rVqyc40JAExU2OpAsE7zF2X8j70RQMhnVELgECqR wi9ZPtlombLq/8MReXtrxqewSAgqNL3pbwzj+OQgmrMXKUV+LJIgL2Qt8uZ4+69tMYBE vP69/mFz+71J1gSh3a/V5LNSmwZd4fSc+rPlxYiXBP4CwekRgjBMCNT9TEAaBhDqCPe+ XAEFVY05xS6o1KaEUblxoVTIAcH8ddFqpUi/5122dOAD7PRb21jufNHWpowhhiyiFbkd Qf1bgNWr7wgn3WIq2h6pqCZL0zUHnRPFZoh7VEKTrwbvjMJYiJY/4CmWcbSVaYBMd47o 6Hhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=3G1/dncBq36qPYjFLMqo5fQ3VB0RC2/kDt1XorN8zyo=; b=eF3iGOcUiIRx+NRrcKfrBx29WpnLV7xa3i3QR0ZycbHI+bynOZO210o9Xqj4FNnWwq WeD+FGlpPh1d/MRhmYKha2AwJkt24zlf2/mtRlHrpzVGLIY9zGSGXUXVUlsByN0PmEqg xTqp6FksOacyJKi7gAbqh8fH0MiYpxY74VMaHPIXi7B7lOCK+F+atmwC7zhzfH25v5nr G1klyhm/yPtwfPAtRcbbA66loNvOmZSwqVO3rSt+naWv5ezegO8E2SPzKSmx+MHiIVhP mST4kgXfeGOLwDLRUecPBCBN1EHtKFMpuDtxJrpflZKpHj8rGYFCmxaXqrI6Hgp5a/4+ prrw== X-Gm-Message-State: AN3rC/5rl9NIuqngaaan99QaXjPYIx+gvfM0xqTGn2PAJ0VX5X31FbXC NYI1AGTj1eAh4A== X-Received: by 10.223.150.121 with SMTP id c54mr19132578wra.202.1492465371956; Mon, 17 Apr 2017 14:42:51 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD3CA7E045886EFA6B17A7A33.dip0.t-ipconnect.de. [2003:dc:d3ca:7e04:5886:efa6:b17a:7a33]) by smtp.googlemail.com with ESMTPSA id 65sm15811610wri.68.2017.04.17.14.42.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Apr 2017 14:42:51 -0700 (PDT) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, khilman@baylibre.com, carlo@caione.org Subject: [PATCH 1/1] ARM: dts: meson: Extend L2 cache controller node for Meson8 and Meson8b Date: Mon, 17 Apr 2017 23:42:44 +0200 Message-Id: <20170417214244.23698-2-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170417214244.23698-1-martin.blumenstingl@googlemail.com> References: <20170417214244.23698-1-martin.blumenstingl@googlemail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170417_144313_505337_F5A54A70 X-CRM114-Status: UNSURE ( 8.44 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, Martin Blumenstingl , linux@armlinux.org.uk, robh+dt@kernel.org, Carlo Caione , 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-Virus-Scanned: ClamAV using ClamSMTP From: Carlo Caione This patch extends the L2 cache controller node for the Amlogic Meson8 and Meson8b SoCs with some missing parameters. These are taken from the Amlogic GPL kernel source. Signed-off-by: Carlo Caione [apply the change to Meson8 and Meson8b and updated description] Signed-off-by: Martin Blumenstingl --- arch/arm/boot/dts/meson8.dtsi | 6 ++++++ arch/arm/boot/dts/meson8b.dtsi | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/meson8.dtsi b/arch/arm/boot/dts/meson8.dtsi index 5eaaf067c76a..6993077331c7 100644 --- a/arch/arm/boot/dts/meson8.dtsi +++ b/arch/arm/boot/dts/meson8.dtsi @@ -188,6 +188,12 @@ clocks = <&clk81>; }; +&L2 { + arm,data-latency = <3 3 3>; + arm,tag-latency = <2 2 2>; + arm,filter-ranges = <0x100000 0xc0000000>; +}; + &spifc { clocks = <&clk81>; }; diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi index ef9ac974111c..d9f116a418b2 100644 --- a/arch/arm/boot/dts/meson8b.dtsi +++ b/arch/arm/boot/dts/meson8b.dtsi @@ -171,6 +171,12 @@ }; }; +&L2 { + arm,data-latency = <3 3 3>; + arm,tag-latency = <2 2 2>; + arm,filter-ranges = <0x100000 0xc0000000>; +}; + &uart_AO { clocks = <&clkc CLKID_CLK81>; };