From patchwork Sat Dec 21 07:11:37 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 3393261 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 367E29F344 for ; Sat, 21 Dec 2013 07:17:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6C5A8206F0 for ; Sat, 21 Dec 2013 07:17:16 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (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 722A4206EC for ; Sat, 21 Dec 2013 07:17:15 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VuGnn-0006f3-CO; Sat, 21 Dec 2013 07:16:47 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VuGng-0007C3-Cy; Sat, 21 Dec 2013 07:16:40 +0000 Received: from smtp43.i.mail.ru ([94.100.177.103]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VuGnU-0007Ar-AN for linux-arm-kernel@lists.infradead.org; Sat, 21 Dec 2013 07:16:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Message-Id:Date:Subject:Cc:To:From; bh=ff1NOR8k5k9iUajZqmePCJng9jQIYwANKIc4k3QLJB8=; b=JCyGNp6UCFH51emfgEomFL5W+2//d1SwBboj25fNEbL0i34tXV73NiT64xAcjdABTLYBKtz2H+DkgY7KkZqw8QR5mw/tqVggfFCydsAhS3QOSf6IZKM+xx4rBJ3r2w9krbXtWZ7Vql3R+wDUojeSTVt5962VYGzRBW/a/Ny0Fr0=; Received: from [188.134.40.128] (port=60135 helo=shc.zet) by smtp43.i.mail.ru with esmtpa (envelope-from ) id 1VuGj2-0001Uo-NT; Sat, 21 Dec 2013 11:11:52 +0400 From: Alexander Shiyan To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/6] ARM: dts: imx27-phytec-phycore-som: Add NFC pin group Date: Sat, 21 Dec 2013 11:11:37 +0400 Message-Id: <1387609902-13361-1-git-send-email-shc_work@mail.ru> X-Mailer: git-send-email 1.8.3.2 X-Mras: Ok X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131221_021628_736037_361E1C9D X-CRM114-Status: UNSURE ( 6.96 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: Shawn Guo , Alexander Shiyan , Sascha Hauer X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 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.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,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 This patch adds pin group fro NAND Flash Controller. Signed-off-by: Alexander Shiyan --- arch/arm/boot/dts/imx27-phytec-phycore-som.dtsi | 6 ++++++ arch/arm/boot/dts/imx27-pingrp.h | 9 +++++++++ 2 files changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/imx27-phytec-phycore-som.dtsi b/arch/arm/boot/dts/imx27-phytec-phycore-som.dtsi index 7087a4f..94ba726 100644 --- a/arch/arm/boot/dts/imx27-phytec-phycore-som.dtsi +++ b/arch/arm/boot/dts/imx27-phytec-phycore-som.dtsi @@ -201,10 +201,16 @@ pinctrl_i2c2: i2c2grp { fsl,pins = ; }; + + pinctrl_nfc: nfcgrp { + fsl,pins = ; + }; }; }; &nfc { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_nfc>; nand-bus-width = <8>; nand-ecc-mode = "hw"; nand-on-flash-bbt; diff --git a/arch/arm/boot/dts/imx27-pingrp.h b/arch/arm/boot/dts/imx27-pingrp.h index edc1e90..61eb710 100644 --- a/arch/arm/boot/dts/imx27-pingrp.h +++ b/arch/arm/boot/dts/imx27-pingrp.h @@ -85,6 +85,15 @@ MX27_PAD_I2C2_SDA__I2C2_SDA 0x0 \ MX27_PAD_I2C2_SCL__I2C2_SCL 0x0 +#define MX27_NFC_PINGRP1 \ + MX27_PAD_NFRB__NFRB 0x0 \ + MX27_PAD_NFCLE__NFCLE 0x0 \ + MX27_PAD_NFWP_B__NFWP_B 0x0 \ + MX27_PAD_NFCE_B__NFCE_B 0x0 \ + MX27_PAD_NFALE__NFALE 0x0 \ + MX27_PAD_NFRE_B__NFRE_B 0x0 \ + MX27_PAD_NFWE_B__NFWE_B 0x0 + #define MX27_OWIRE1_PINGRP1 \ MX27_PAD_RTCK__OWIRE 0x0