Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753508Ab2KYURr (ORCPT ); Sun, 25 Nov 2012 15:17:47 -0500 Received: from smtp4-g21.free.fr ([212.27.42.4]:57958 "EHLO smtp4-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753431Ab2KYURp (ORCPT ); Sun, 25 Nov 2012 15:17:45 -0500 From: Philippe Reynes To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: s.hauer@pengutronix.de, julien.boibessot@armadeus.com, eric.jarrige@armadeus.org, Philippe Reynes Subject: [PATCH 3/4] imx27-dt: configure i2c1 gpio on armadeus apf27 Date: Sun, 25 Nov 2012 21:17:04 +0100 Message-Id: <1353874625-14754-4-git-send-email-tremyfr@yahoo.fr> X-Mailer: git-send-email 1.7.4.4 In-Reply-To: <1353874625-14754-1-git-send-email-tremyfr@yahoo.fr> References: <1353874625-14754-1-git-send-email-tremyfr@yahoo.fr> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1181 Lines: 36 Signed-off-by: Philippe Reynes --- arch/arm/mach-imx/imx27-dt.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-imx/imx27-dt.c b/arch/arm/mach-imx/imx27-dt.c index f212f81..2eb7014 100644 --- a/arch/arm/mach-imx/imx27-dt.c +++ b/arch/arm/mach-imx/imx27-dt.c @@ -17,6 +17,7 @@ #include #include #include +#include #include static const struct of_dev_auxdata imx27_auxdata_lookup[] __initconst = { @@ -48,6 +49,10 @@ int apf27_lan8700_wakeup(struct phy_device *phydev) static void __init apf27_init(void) { phy_register_fixup_for_id("imx27-fec.0-1:1f", apf27_lan8700_wakeup); + + /* configure i2c1 gpio */ + mxc_gpio_mode((GPIO_PORTD | GPIO_OUT | GPIO_PF | 17)); + mxc_gpio_mode((GPIO_PORTD | GPIO_OUT | GPIO_PF | 18)); } static void __init imx27_dt_init(void) -- 1.7.4.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/