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: 11908393 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7071EC4742C for ; Mon, 16 Nov 2020 12:57:49 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DCE8A2222E for ; Mon, 16 Nov 2020 12:57:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Ve28g2Sz"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="hjh4t89F" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DCE8A2222E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=computer.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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=074k0NrXzkTdD9CrTC3zftCPC5mMsPlqizjFteM+bE0=; b=Ve28g2Sz5/frZqtoV9URLtD24 9gYXqzXUeswlxx9r1cSddZZMTpBtAeCxnzvcnPIfjFa2nmWXQZ13E4dYEbmoNQArjCl/G13fSOsTG PEjTtorpHgCZBIzYMje9pS4q0CYiXxV5cpWmATDNJm9UGzAKbrWqNsrY4xknawEfba2VkAvlcKvdC DQhpeT/blgARb8gKcdg8KZj7RRbxshBls01oZD3aAN668X7C9qUpc7KpfmNn4wAWxvA3x3d0OEToP hIHHGmQJzg3QETVLduABk9cSeQe1xnCDvMOYErSkfbajmLvND30SPrK4LeHhWOzm/uVh+gHFCWmWo GBQxmr+8A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kee4L-000439-Fw; Mon, 16 Nov 2020 12:57:17 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kee47-000409-I9 for linux-arm-kernel@merlin.infradead.org; Mon, 16 Nov 2020 12:57:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=BomnQAxtiF4gMgk6NAzKhjFUjZhaeVL0IKeT3Zvwuoc=; b=hjh4t89F8RooPh5MrujBn9VR2x Aztn5wMpBjb9L/OEC4K2eWDNTus/POAv2TOleQzmQBX2TvYQUgfxRdkrHJ8Q9rHUPMeL8p7RnY+T6 jn2S705gF2hKjuanAR/qMsy1tbJBtxn9WOMWkFx9P6W1sqsNflyjoyZWcRjiuY5MPDc+mCQmNqQS6 Knbiwe4MEzBZKjGw6XgUEfAizfSvz9xxgLl6Kg2LjakF5rZA48w0LvOkFLvaB3nchjOPJKIqAxjys n2THa08rbPDfIbOmAB7bSnxgancGIZQRcUTPP+ltkLmHYUXu0Qn0Ntjw6fqtmWdkbHlSEIrECxd32 9Jpc9cJA==; Received: from gw.c-home.cz ([89.24.150.100] helo=dmz.c-home.cz) by casper.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kee44-0004aQ-Af for linux-arm-kernel@lists.infradead.org; Mon, 16 Nov 2020 12:57:02 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201116_125700_828999_78BBA02C X-CRM114-Status: GOOD ( 10.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, devicetree@vger.kernel.org, Jernej Skrabec , Mauro Carvalho Chehab , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Rob Herring , Paul Kocialkowski , Chen-Yu Tsai , Mark Brown , Martin Cerveny , linux-media@vger.kernel.org, Lee Jones , linux-arm-kernel@lists.infradead.org, Icenowy Zheng Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 {