From patchwork Mon Nov 16 12:56:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Cerveny X-Patchwork-Id: 11908427 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A3415921 for ; Mon, 16 Nov 2020 13:03:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9221C2223D for ; Mon, 16 Nov 2020 13:03:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728726AbgKPNCQ (ORCPT ); Mon, 16 Nov 2020 08:02:16 -0500 Received: from gw.c-home.cz ([89.24.150.100]:33790 "EHLO dmz.c-home.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728583AbgKPNCP (ORCPT ); Mon, 16 Nov 2020 08:02:15 -0500 Received: from ubuntu2004.c-home.cz (unifi.c-home.cz [192.168.1.227]) by dmz.c-home.cz (8.14.4+Sun/8.14.4) with ESMTP id 0AGCuMlY021922; Mon, 16 Nov 2020 13:56:42 +0100 (CET) From: Martin Cerveny To: Maxime Ripard Cc: Martin Cerveny , Chen-Yu Tsai , devel@driverdev.osuosl.org, devicetree@vger.kernel.org, Greg Kroah-Hartman , Icenowy Zheng , Jernej Skrabec , Lee Jones , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, Mark Brown , Mauro Carvalho Chehab , Paul Kocialkowski , Rob Herring Subject: [PATCH v3 3/6] ARM: dts: sun8i: v3s: Add node for system control Date: Mon, 16 Nov 2020 13:56:14 +0100 Message-Id: <20201116125617.7597-4-m.cerveny@computer.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201116125617.7597-1-m.cerveny@computer.org> References: <20201116125617.7597-1-m.cerveny@computer.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Allwinner V3s has system control and SRAM C1 region similar to H3. Signed-off-by: Martin Cerveny --- arch/arm/boot/dts/sun8i-v3s.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi index 0c7341676921..70193512c222 100644 --- a/arch/arm/boot/dts/sun8i-v3s.dtsi +++ b/arch/arm/boot/dts/sun8i-v3s.dtsi @@ -161,6 +161,20 @@ syscon: system-control@1c00000 { #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-v3s-sram-c1", + "allwinner,sun4i-a10-sram-c1"; + reg = <0x000000 0x80000>; + }; + }; }; tcon0: lcd-controller@1c0c000 {