From patchwork Tue Jun 6 06:30:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Agner X-Patchwork-Id: 9768103 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 2656160352 for ; Tue, 6 Jun 2017 06:32:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 19EB528397 for ; Tue, 6 Jun 2017 06:32:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0DA0E28437; Tue, 6 Jun 2017 06:32:54 +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 90C3128397 for ; Tue, 6 Jun 2017 06:32:53 +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=/oxoxatdaBuk/OIcQuGrnS8usx0IxvNrHhtZ0/kmSis=; b=gxPF7gA3+7FhV/g7yeSQGveyIu 4TFYfzYHZ85lcXgL1jPUx7UvnaDEb9fCuswMBHhWANuwH3sGm8OCdEVpXCW+fokWjPj6dAh/DKwQh Eboh2acUacmUXfXi4gy0EzXW7Myc2wDcvfplPsq3V/NtYRsdxaXVjhKuO1jOu/l6V+8UyfDEF7E6I +aIzsPPWQ00DicZHaENf12bLgtFZ7Aj8WNqsPxtHjrVaL3LaTEdWl6SjUXkJi/d0HQMi6K6tGeQiQ /b24Yyq1jqbdmmEfHEcvL/gw/Kw24547jczXZxrGdDkwvVGE64Y9DGSpOqov/Niz8WogEgLGYU9QV SsmX0oGQ==; 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 1dI82t-0003iz-Qz; Tue, 06 Jun 2017 06:32:51 +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 1dI81Z-00022j-QD; Tue, 06 Jun 2017 06:31:32 +0000 Received: from localhost.localdomain (unknown [IPv6:2601:602:8801:c3e0:4c36:9068:502e:7d7a]) by mail.kmu-office.ch (Postfix) with ESMTPSA id AAC135C1A32; Tue, 6 Jun 2017 08:29:49 +0200 (CEST) From: Stefan Agner To: shawnguo@kernel.org, kernel@pengutronix.de, sboyd@codeaurora.org Subject: [PATCH v5 3/3] ARM: dts: imx7-colibri: add NAND support Date: Mon, 5 Jun 2017 23:30:50 -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=1496730593; bh=wsJvAWsJpMKxIdBTrOPxh/PMCbrtE/GfGOdQi6bUr2A=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:In-Reply-To:References; b=JcQvs/jX3sJ5Qn7K1pwfPe6xFze4jSbi7AiPdBMzKcRw4JdoYfltytdOLVWkjvSY9g6WYKSujcfYvSeC6uJVK+S0VjMDY692gTtpmmzeYfO21qy5O8fEo3m1tq6Pue3InuRb5mnmK/mzqhyIfYExwPVv97wRNOzT7QF1hpF9380= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170605_233130_225686_BE5BE55B X-CRM114-Status: UNSURE ( 7.15 ) 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 Reviewed-by: Fabio Estevam --- 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";