From patchwork Fri Sep 4 20:01:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Cerveny X-Patchwork-Id: 11758453 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 E42F11599 for ; Fri, 4 Sep 2020 20:02:17 +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 1259E2087C for ; Fri, 4 Sep 2020 20:02:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="K7Ww0Nbm"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="EZ3JTZzu" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1259E2087C 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+patchwork-linux-arm=patchwork.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: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=jWCpBp2ATGOTDYXMN6PVEyRsVxB5xvhQOfhwHJQCjCQ=; b=K7Ww0NbmSPynEUaVWAP7ay0nO/ mfb74CDEVjmQE3Eds3y6LWim7uoFrbh61/T1pORIy3tV0F8+olmSCm1CaL7jzqQEq9lyJZiK4T/NG NurUT4s0v1uCCiExK16aZ/5UVOaNiNIgTOnqrgtH5sBOW2M2CPS/4v3aO84wSvx1x5h7OeumvIe3L /77kAzhFJnOnfJCki8eeK9XzOud7VP9JVSA3+ba47gtI16ycRem+vo2HUTxANm5/ZGXzy/E9mka3Y 1r5m+yDL7dIcEnu9Azl706YeCMvyPzI4596enoqz9FHQKTq9ECExHWHafLxTmklZlSC+e4aNcQoB9 hPgsfZWQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kEHuH-0008FT-Rn; Fri, 04 Sep 2020 20:01:57 +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 1kEHuF-0008FC-Dq for linux-arm-kernel@merlin.infradead.org; Fri, 04 Sep 2020 20:01:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description; bh=fbuuuJi2IAtuXNuL+r2WzwsAGs0tJLeezttyDaB3+z8=; b=EZ3JTZzuJRV+8BZmZd2fs7NxEZ TKGEfZm++xJ3BbJk3iKc6Sy178wRxT9IsMNBgSiNbhKWI50CUpT8zzVyvQRAItJj80lRz3l2u2R1O KLdQs/Gas4F88wGmVYN0g4RSPY59eauTruegu2ma3CuQ2mzpW3qahkRfXPxZUihiJcsYOKHwrbvpq sK4a/AuunmXa5hK+BSAQBPh7MfBvJM6D3e8K4iA4FKqZI1H6+P0ONfe3HC2Yu18wyJ6/pPntcY+kS hHMLAv0t1X5OY8k5KFaNJKnO9KS86EIz9v/KKsdQk3uGeg4wnPgCqWt1A1oypGSZxsnBp1Hr91j67 4C4CFBPw==; 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 1kEHu9-00033z-VI for linux-arm-kernel@lists.infradead.org; Fri, 04 Sep 2020 20:01:54 +0000 Received: from ubuntu1804.c-home.cz (unifi.c-home.cz [192.168.1.239]) by dmz.c-home.cz (8.14.4+Sun/8.14.4) with ESMTP id 084K1EdB002405; Fri, 4 Sep 2020 22:01:27 +0200 (CEST) From: Martin Cerveny To: devicetree@vger.kernel.org Subject: [PATCH 3/6] ARM: dts: sun8i: v3s: Add node for system control Date: Fri, 4 Sep 2020 22:01:09 +0200 Message-Id: <20200904200112.5563-4-m.cerveny@computer.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200904200112.5563-1-m.cerveny@computer.org> References: <20200904200112.5563-1-m.cerveny@computer.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200904_210150_506138_B21E4E48 X-CRM114-Status: UNSURE ( 9.45 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.2 (-) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-1.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 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, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Maxime Ripard , Paul Kocialkowski , Chen-Yu Tsai , Rob Herring , Martin Cerveny , Mauro Carvalho Chehab , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.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 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi index e5312869c..3f18866fb 100644 --- a/arch/arm/boot/dts/sun8i-v3s.dtsi +++ b/arch/arm/boot/dts/sun8i-v3s.dtsi @@ -138,6 +138,29 @@ }; }; + syscon: system-control@1c00000 { + compatible = "allwinner,sun8i-v3s-system-control", + "allwinner,sun8i-h3-system-control"; + reg = <0x01c00000 0x1000>; + #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 { compatible = "allwinner,sun8i-v3s-tcon"; reg = <0x01c0c000 0x1000>;