From patchwork Thu Jun 8 22:34:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Agner X-Patchwork-Id: 9776755 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 478966034B for ; Thu, 8 Jun 2017 22:37:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 38DD7285C2 for ; Thu, 8 Jun 2017 22:37:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2DCC5285D3; Thu, 8 Jun 2017 22:37:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8E53E285C2 for ; Thu, 8 Jun 2017 22:37:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.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=b14f0w4y4tu6L2lyD6D4I6kcOBzeWS8CJLKVFed57TU=; b=QO+IQ5nErcqwL2Z3FzOd+kLkdS qTYaslH/ZKtM4OSqDA3hwOLVboImzZfOUA3w7jMD1U5A5LiuDS/WAIFl4DKgg9eoRWSB5ufTuw9Je pmfj3qhAGKI/fiT+o0A/wXeZv6PzX4TVDy871ZOEWkSzU6OSKwLpcSSLFgehdZElyQ5FMewoETV9M lTABsnra+lt+fCqzc9NAR67TipV/QT3ll9jERxRw7wWRNQmhsvUAFooGFC+3wkNEugI2zFcR1X42/ fB8SrJY6L+o4HDkclmmpEx4Wzx5EK7z3AXZIbNSrPsOCpoyahnc0U8K1BrW5RaX1+TdH0W5+pAhrn VBUueAFQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dJ63S-0000Xu-1r; Thu, 08 Jun 2017 22:37:26 +0000 Received: from mail.kmu-office.ch ([2a02:418:6a02::a2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dJ61Z-0006Yb-VK; Thu, 08 Jun 2017 22:35:33 +0000 Received: from trochilidae.toradex.int (75-146-58-181-Washington.hfc.comcastbusiness.net [75.146.58.181]) by mail.kmu-office.ch (Postfix) with ESMTPSA id E24485C1E5A; Fri, 9 Jun 2017 00:33:44 +0200 (CEST) From: Stefan Agner To: shawnguo@kernel.org, kernel@pengutronix.de, sboyd@codeaurora.org Subject: [PATCH v6 3/3] ARM: dts: imx7-colibri: add NAND support Date: Thu, 8 Jun 2017 15:34:49 -0700 Message-Id: X-Mailer: git-send-email 2.13.0 In-Reply-To: References: In-Reply-To: References: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1496961228; bh=1itZMmj3MDYs1UpiQO7ItPjwp+copmkMqkeW0j49lms=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:In-Reply-To:References; b=eMLpZLmVHlb4+kHf4YhQHX0zTxsliCkyG3rKQe7qkWys6hnOj94U3viXrUl33RXojwg/IDLuQXrBu+Y9puYL9BAspgmd4b5eTs3QF5mEYQG9Fp/JcYd19XjsDaiRr6nnRFR1vTI2GTvQlVhImxhS2Kjma32EWw2OmsFRPo3s0M8= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170608_153530_898808_6D238287 X-CRM114-Status: UNSURE ( 6.86 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: aisheng.dong@nxp.com, boris.brezillon@free-electrons.com, fabio.estevam@freescale.com, devicetree@vger.kernel.org, richard@nod.at, linux-kernel@vger.kernel.org, Stefan Agner , marek.vasut@gmail.com, robh+dt@kernel.org, linux-mtd@lists.infradead.org, han.xu@nxp.com, mark.rutland@arm.com, computersforpeace@gmail.com, dwmw2@infradead.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, LW@KARO-electronics.de MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The Colibri iMX7 modules come with 512MB on-module SLC NAND flash populated. Make use of it by enabling the GPMI controller. Signed-off-by: Stefan Agner Tested-by: Fabio Estevam Acked-by: Han Xu --- arch/arm/boot/dts/imx7-colibri.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/arch/arm/boot/dts/imx7-colibri.dtsi index 2d87489..ad4ce19 100644 --- a/arch/arm/boot/dts/imx7-colibri.dtsi +++ b/arch/arm/boot/dts/imx7-colibri.dtsi @@ -106,6 +106,15 @@ fsl,magic-packet; }; +&gpmi { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpmi_nand>; + fsl,use-minimum-ecc; + nand-on-flash-bbt; + nand-ecc-mode = "hw"; + status = "okay"; +}; + &i2c1 { clock-frequency = <100000>; pinctrl-names = "default";