From patchwork Sun Jan 25 15:49:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Kuske X-Patchwork-Id: 5701891 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2DCAFC058D for ; Sun, 25 Jan 2015 15:51:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 30F5920148 for ; Sun, 25 Jan 2015 15:51:54 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5F54B2015E for ; Sun, 25 Jan 2015 15:51:53 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YFPRo-0000Cq-7O; Sun, 25 Jan 2015 15:50:00 +0000 Received: from mail-we0-x234.google.com ([2a00:1450:400c:c03::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YFPRc-0008LW-0J for linux-arm-kernel@lists.infradead.org; Sun, 25 Jan 2015 15:49:48 +0000 Received: by mail-we0-f180.google.com with SMTP id m14so5227480wev.11 for ; Sun, 25 Jan 2015 07:49:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=M99KmmsVPbo4I1f8da1/HuFQ5O/HU/0dKX9MotqenTs=; b=l4R8k8d7+djH83GvH4IUP2ZuzDB7mOClx9+wxbMxmwXiRTUsKTxb08GcpzGJ9hAIyv lgs0HpEnsSIGrsaZQMkNd/Wc+3V05bhoKyXcB15eaHT7rLq5AujObtupty/S7ptVcgy5 7AHhpxMDYTyuvBmASEznnxJU/zCvS/DeyLbP9RbgTohcRLmo+hDpUUR0pD0JB36Aq57F TU5PjoVVOGJEAvo24TehTsQIWfaXxoMv7pEYdAUk3gjsQ8PpkzUwPmMpwuiFWO+q3TS4 ihWXX6BDPxVvYrJwLTdk2CQvlkYel73itvHYaOvIafr4DFl9XuT1LkOEH8bqL3PN1CAm P35g== X-Received: by 10.180.103.231 with SMTP id fz7mr23216348wib.49.1422200965695; Sun, 25 Jan 2015 07:49:25 -0800 (PST) Received: from jens-lin.localdomain (p5B2EA102.dip0.t-ipconnect.de. [91.46.161.2]) by mx.google.com with ESMTPSA id h8sm10241190wiy.4.2015.01.25.07.49.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 25 Jan 2015 07:49:25 -0800 (PST) From: Jens Kuske To: Maxime Ripard , Lee Jones , netdev@vger.kernel.org Subject: [PATCH 1/3] ARM: dts: sunxi: Add syscon node for controlling SRAM mapping Date: Sun, 25 Jan 2015 16:49:17 +0100 Message-Id: <1422200959-1717-2-git-send-email-jenskuske@gmail.com> X-Mailer: git-send-email 2.2.2 In-Reply-To: <1422200959-1717-1-git-send-email-jenskuske@gmail.com> References: <1422200959-1717-1-git-send-email-jenskuske@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150125_074948_208601_039A987F X-CRM114-Status: UNSURE ( 7.93 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: devicetree@vger.kernel.org, Chen-Yu Tsai , linux-sunxi@googlegroups.com, linux-arm-kernel@lists.infradead.org, Jens Kuske X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Chen-Yu Tsai Allwinner SoCs have a system controller module that controls whether SRAM blocks are mapped to the CPU memory or specific peripherals. Signed-off-by: Chen-Yu Tsai [jenskuske@gmail.com: duplicate syscon node to sun4i and sun5i] Signed-off-by: Jens Kuske --- arch/arm/boot/dts/sun4i-a10.dtsi | 5 +++++ arch/arm/boot/dts/sun5i-a10s.dtsi | 5 +++++ arch/arm/boot/dts/sun5i-a13.dtsi | 5 +++++ arch/arm/boot/dts/sun7i-a20.dtsi | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi index 380f914..8a90e48 100644 --- a/arch/arm/boot/dts/sun4i-a10.dtsi +++ b/arch/arm/boot/dts/sun4i-a10.dtsi @@ -339,6 +339,11 @@ #size-cells = <1>; ranges; + syscon: syscon@01c00000 { + compatible = "allwinner,sun4i-a10-syscon", "syscon"; + reg = <0x01c00000 0x8>; + }; + dma: dma-controller@01c02000 { compatible = "allwinner,sun4i-a10-dma"; reg = <0x01c02000 0x1000>; diff --git a/arch/arm/boot/dts/sun5i-a10s.dtsi b/arch/arm/boot/dts/sun5i-a10s.dtsi index 531272c..21df7b4 100644 --- a/arch/arm/boot/dts/sun5i-a10s.dtsi +++ b/arch/arm/boot/dts/sun5i-a10s.dtsi @@ -300,6 +300,11 @@ #size-cells = <1>; ranges; + syscon: syscon@01c00000 { + compatible = "allwinner,sun4i-a10-syscon", "syscon"; + reg = <0x01c00000 0x8>; + }; + dma: dma-controller@01c02000 { compatible = "allwinner,sun4i-a10-dma"; reg = <0x01c02000 0x1000>; diff --git a/arch/arm/boot/dts/sun5i-a13.dtsi b/arch/arm/boot/dts/sun5i-a13.dtsi index b131068..b69b7b1 100644 --- a/arch/arm/boot/dts/sun5i-a13.dtsi +++ b/arch/arm/boot/dts/sun5i-a13.dtsi @@ -298,6 +298,11 @@ #size-cells = <1>; ranges; + syscon: syscon@01c00000 { + compatible = "allwinner,sun4i-a10-syscon", "syscon"; + reg = <0x01c00000 0x8>; + }; + dma: dma-controller@01c02000 { compatible = "allwinner,sun4i-a10-dma"; reg = <0x01c02000 0x1000>; diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index 82097c9..af9c7e6 100644 --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++ b/arch/arm/boot/dts/sun7i-a20.dtsi @@ -451,6 +451,11 @@ #size-cells = <1>; ranges; + syscon: syscon@01c00000 { + compatible = "allwinner,sun4i-a10-syscon", "syscon"; + reg = <0x01c00000 0x8>; + }; + nmi_intc: interrupt-controller@01c00030 { compatible = "allwinner,sun7i-a20-sc-nmi"; interrupt-controller;