From patchwork Sun Feb 21 11:29:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Nazzareno Trimarchi X-Patchwork-Id: 8368331 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 568EBC0553 for ; Sun, 21 Feb 2016 11:32:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 599F2202E6 for ; Sun, 21 Feb 2016 11:32:27 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8DD2520265 for ; Sun, 21 Feb 2016 11:32:26 +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 1aXSDW-00025j-3x; Sun, 21 Feb 2016 11:30:22 +0000 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aXSDS-0000uR-Ox for linux-arm-kernel@lists.infradead.org; Sun, 21 Feb 2016 11:30:19 +0000 Received: by mail-wm0-x233.google.com with SMTP id g62so122558554wme.0 for ; Sun, 21 Feb 2016 03:29:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=OFk6LdDquQgsE5M1W7jaeHB3XYp458stVaEqpGOhnWY=; b=hzFZDlF0apMABwhzaoEHqElRyQxuJBW6RChsTxmMkW5JSQy0/WutiAozy7fWxAvfoz XKcbyA1Tgg0+zUaIRjOaNSu7uq97/vpFLZO4cuWckzUICgsDGM5wAJ8ykGWl92Vrx2dE zGOWhhcNW+3UJRP4NgLRP08gTKNipboPZgBS557pZAOQZ1YR01IaM+zCC8JKEzkjtR5N a1yO30gBL+ez1X5ac+QdsD530rRI6d3ow3oN2Av0RBe5DYGvvw5RDKp7eghtYdhYwcjL TYTsbG+PkpM3uPAgrLIYqRpIlHZJMKTIcn+PluRPMksBbQxtMlAjKu5AhyVk50vFAlau oL9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=OFk6LdDquQgsE5M1W7jaeHB3XYp458stVaEqpGOhnWY=; b=a3wqNmqyQPyeyqi0zHIqLWt78q1eZCUGEG4lPkewGpjV7ugiZVOqgUqjXazLfu/3TS pqzBmHTqzC8rC7cA0vPkRas6mlONgk/RTGpHd/t+HEHvvgMk1M8kAPHKq6Nyw/0Z5V85 3vsUIzd28JjicQsAAkx8RrCcjfmZ15ki0Bcz+x8QLjMgQ7IZu7A86DYszCI2og2GHp8t yiNT4h+6f5IDCc3j0sLngnTgrFFtAt5oHEyyQp7wIq4I5qIIcXKMAwZFzaOlGx921wu9 pUiLV6fBYkk7yJZv2hcSHiPoSwfO5RgDGZGL6ZkvJAQuqzU3SZArn93PiFsyHuxOT62Z boFQ== X-Gm-Message-State: AG10YOR61AHRSTpYVrHgvL4JKPJAyv45uRitkIDf5V43Zb/2kOnxX8tobjkOPHmYhE44IOq0 X-Received: by 10.28.132.17 with SMTP id g17mr7149802wmd.63.1456054197101; Sun, 21 Feb 2016 03:29:57 -0800 (PST) Received: from panicking (bo-18-152-163.service.infuturo.it. [151.18.152.163]) by smtp.gmail.com with ESMTPSA id 198sm16162315wml.22.2016.02.21.03.29.55 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Sun, 21 Feb 2016 03:29:56 -0800 (PST) Date: Sun, 21 Feb 2016 12:29:53 +0100 From: Michael Trimarchi To: Fabio Estevam Subject: [PATCH V2 3/4] ARM: dts: imx6ul: Add GPMI nand controller support Message-ID: <20160221112949.GB5387@panicking> References: <1455963652-24618-1-git-send-email-michael@amarulasolutions.com> <1455963652-24618-4-git-send-email-michael@amarulasolutions.com> <20160220172127.GC24064@panicking> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20160220172127.GC24064@panicking> User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160221_033019_013907_6FFF0684 X-CRM114-Status: GOOD ( 10.01 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabio Estevam , "devicetree@vger.kernel.org" , Sascha Hauer , Brian Norris , Shawn Guo , "linux-arm-kernel@lists.infradead.org" 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_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,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 Add support for GPMI nand controller. Signed-off-by: Michael Trimarchi --- Changes V2: - drop special IMXUL type because seems that is compatible with IMX6Q arch/arm/boot/dts/imx6ul.dtsi | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi index f4daf97..1a486ac 100644 --- a/arch/arm/boot/dts/imx6ul.dtsi +++ b/arch/arm/boot/dts/imx6ul.dtsi @@ -142,6 +142,39 @@ reg = <0x00900000 0x20000>; }; + dma_apbh: dma-apbh@01804000 { + compatible = "fsl,imx6ul-dma-apbh", "fsl,imx28-dma-apbh"; + reg = <0x01804000 0x2000>; + interrupts = , + , + , + ; + interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3"; + #dma-cells = <1>; + dma-channels = <4>; + clocks = <&clks IMX6UL_CLK_APBHDMA>; + }; + + gpmi: gpmi-nand@01806000 { + compatible = "fsl,imx6q-gpmi-nand"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x01806000 0x2000>, <0x01808000 0x4000>; + reg-names = "gpmi-nand", "bch"; + interrupts = ; + interrupt-names = "bch"; + clocks = <&clks IMX6UL_CLK_GPMI_IO>, + <&clks IMX6UL_CLK_GPMI_APB>, + <&clks IMX6UL_CLK_GPMI_BCH>, + <&clks IMX6UL_CLK_GPMI_BCH_APB>, + <&clks IMX6UL_CLK_PER_BCH>; + clock-names = "gpmi_io", "gpmi_apb", "gpmi_bch", + "gpmi_bch_apb", "per1_bch"; + dmas = <&dma_apbh 0>; + dma-names = "rx-tx"; + status = "disabled"; + }; + aips1: aips-bus@02000000 { compatible = "fsl,aips-bus", "simple-bus"; #address-cells = <1>;