From patchwork Tue Jul 10 08:01:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 10516313 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 E2655601D4 for ; Tue, 10 Jul 2018 08:03:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D3EAF28B68 for ; Tue, 10 Jul 2018 08:03:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C7D7628C60; Tue, 10 Jul 2018 08:03:34 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 701CD28B68 for ; Tue, 10 Jul 2018 08:03:34 +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=skZ5TufPmrym5weDRkkBEG1ZuSTsbJmHaq1s1Rzkfmg=; b=df7ivbaUA8f2ur8PlVtQKU6C4v mZIXr/zE1ZSI1TqSDFy4o32YpO/9eXHTEvLR+2D6VcRNbWlzWhXiShMRDQmJtAJ1KC7vP7L4CLrNV 37tXwIpgbtHe9j1TH1lvyEFixBpPtVdcUG7oeWEcnggI5aAcAsAgZ6s0VoDphr9nlsCj/zSd7GJE8 kE3VWlT+cI/IQrKcOeNZsytr+ybeIAD6MEeyApY/G8X9MeGSNwCehQ0NOgnH0G4fU+5gKjccLF/oH 92UhnD8NvTAcAOvYOalwuNrUEUe9+dozDEoJ7aSN3bCEt0jexN+bYWP/oNZYJxju2npvOoLlAn2b0 CuQAVH5A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fcncQ-0001lz-BM; Tue, 10 Jul 2018 08:03:30 +0000 Received: from mail.bootlin.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fcnbP-0000Og-5r for linux-arm-kernel@lists.infradead.org; Tue, 10 Jul 2018 08:02:41 +0000 Received: by mail.bootlin.com (Postfix, from userid 110) id E62DF20A32; Tue, 10 Jul 2018 10:02:09 +0200 (CEST) Received: from localhost.localdomain (AAubervilliers-681-1-12-56.w90-88.abo.wanadoo.fr [90.88.133.56]) by mail.bootlin.com (Postfix) with ESMTPSA id 376BF20876; Tue, 10 Jul 2018 10:01:59 +0200 (CEST) From: Paul Kocialkowski To: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 14/22] ARM: sun8i-h3: Add SRAM controller node and C1 SRAM region Date: Tue, 10 Jul 2018 10:01:06 +0200 Message-Id: <20180710080114.31469-15-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180710080114.31469-1-paul.kocialkowski@bootlin.com> References: <20180710080114.31469-1-paul.kocialkowski@bootlin.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180710_010228_119426_7052A87A X-CRM114-Status: GOOD ( 13.39 ) 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 , Tom Saeger , Maxime Ripard , Andy Shevchenko , Hans Verkuil , Andrzej Hajda , linux-sunxi@googlegroups.com, Thomas Petazzoni , Ricardo Ribalda Delgado , Marco Franchi , Pawel Osciak , Todor Tomov , Laurent Pinchart , Jonathan Corbet , Neil Armstrong , Keiichi Watanabe , Chen-Yu Tsai , Jacob Chen , Geert Uytterhoeven , Sami Tolvanen , Icenowy Zheng , Arnd Bergmann , Smitha T Murthy , Randy Li , Benoit Parrot , Hans de Goede , Rob Herring , Hugues Fruchet , Mauro Carvalho Chehab , =?UTF-8?q?Niklas=20S=C3=B6derlund?= , Alexandre Courbot , Greg Kroah-Hartman , Randy Dunlap , Paul Kocialkowski , Sakari Ailus , Andrew Morton , "David S . Miller" 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 This adds a SRAM controller node for the H3, with support for the C1 SRAM region that is shared between the Video Engine and the CPU. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/sun8i-h3.dtsi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi index 41d57c76f290..c93f6be40533 100644 --- a/arch/arm/boot/dts/sun8i-h3.dtsi +++ b/arch/arm/boot/dts/sun8i-h3.dtsi @@ -111,6 +111,29 @@ }; soc { + system-control@1c00000 { + compatible = "allwinner,sun8i-h3-system-control", + "allwinner,sun4i-a10-system-control"; + reg = <0x01c00000 0x30>; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + sram_c: sram@1d00000 { + compatible = "mmio-sram"; + reg = <0x01d00000 0x80000>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x01d00000 0x80000>; + + ve_sram: sram-section@0 { + compatible = "allwinner,sun8i-h3-sram-c1", + "allwinner,sun4i-a10-sram-c1"; + reg = <0x000000 0x80000>; + }; + }; + }; + mali: gpu@1c40000 { compatible = "allwinner,sun8i-h3-mali", "arm,mali-400"; reg = <0x01c40000 0x10000>;