Message ID | 20170601192044.6548-3-stefan@agner.ch (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 23F27602BC for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 1 Jun 2017 19:36:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1BBA728501 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 1 Jun 2017 19:36:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1042A2851B; Thu, 1 Jun 2017 19:36:23 +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 A999928501 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 1 Jun 2017 19:36:22 +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=9+yYlXSFzqz6uNA1K/3BJOabdT2CPYSboBbczcCb7ds=; b=HbSRmjrwnC4YRyP0HzU2cRPLc1 2JbPrK3OOS4YMiEzR1orIqjwVuX9MhNiP8kem2Y1WcyxbD5hG/rIW6YYPrEwzP8VGj6MoUhAUvPYM Ck0RLxIo8A3UMOKgPNeYDy6ObVhmdqJB3RfZWu/A48W8mNMgw8PfUXwOCUj78QhssCX04SXlFCdQL pWgj9Lxjm1GxioJpFd/A9WN3rAvlX0WTp0bT4u6PvlA4/6/RJyXIpVRBb6M3Lb9UkvVK8KdOW1O1Y cPvRIqEpUsRKlI2pSl8Pg8XDo2WJQaEnyFAd+9fraQONjacfAe+5vDw4Y3P8qaNL/9XcEcjfVdXdW kNGHShaw==; 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 1dGVtN-0002gP-UD; Thu, 01 Jun 2017 19:36:21 +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 1dGVew-0004Fz-3Q; Thu, 01 Jun 2017 19:21:27 +0000 Received: from trochilidae.toradex.int (unknown [IPv6:2601:602:8801:c3e0::127]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 7B5735C1D45; Thu, 1 Jun 2017 21:19:49 +0200 (CEST) From: Stefan Agner <stefan@agner.ch> To: shawnguo@kernel.org, kernel@pengutronix.de Subject: [PATCH v3 2/2] ARM: dts: imx7-colibri: add NAND support Date: Thu, 1 Jun 2017 12:20:44 -0700 Message-Id: <20170601192044.6548-3-stefan@agner.ch> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170601192044.6548-1-stefan@agner.ch> References: <20170601192044.6548-1-stefan@agner.ch> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1496344792; bh=5PdxEgZeF0Z7WUiX4tVuQFsqFKAaO6E/ii5KetqHk80=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=NFfRlaqlHr5yG9BOAOTfedC7fLNl9n3LvL+BYBaXCQ9eUNq2q0IivK7tDN647EorG3AW5ZJpE8g9Qpq7tivph1n81apQ3wXYC9CZu/qyolmAPc1zorkGnxtmemO92hf9p6FRPQZBnTgoVyMjFYblNI/r4t5SE33Dnu2xdsIZ1Rk= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170601_122126_314673_080260BB X-CRM114-Status: UNSURE ( 7.27 ) 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: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: mark.rutland@arm.com, boris.brezillon@free-electrons.com, fabio.estevam@freescale.com, devicetree@vger.kernel.org, richard@nod.at, linux-kernel@vger.kernel.org, Stefan Agner <stefan@agner.ch>, marek.vasut@gmail.com, robh+dt@kernel.org, linux-mtd@lists.infradead.org, han.xu@nxp.com, cyrille.pitchen@atmel.com, computersforpeace@gmail.com, dwmw2@infradead.org, linux-arm-kernel@lists.infradead.org, LW@KARO-electronics.de MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/arch/arm/boot/dts/imx7-colibri.dtsi index 2d87489f9105..ad4ce19d455b 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";
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 <stefan@agner.ch> --- arch/arm/boot/dts/imx7-colibri.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+)