All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] imx: mx35pdk: Fix MUX2_CTR GPIO
@ 2013-05-06 11:33 Benoît Thébaudeau
  2013-05-06 13:22 ` Stefano Babic
  0 siblings, 1 reply; 2+ messages in thread
From: Benoît Thébaudeau @ 2013-05-06 11:33 UTC (permalink / raw)
  To: u-boot

MUX2_CTR is on GPIO1[5], not GPIO2[5], and it needs to be set high in order to
connect the FEC.

Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau@advansee.com>
---
 board/freescale/mx35pdk/mx35pdk.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/freescale/mx35pdk/mx35pdk.c b/board/freescale/mx35pdk/mx35pdk.c
index 12e84d7..9f667d2 100644
--- a/board/freescale/mx35pdk/mx35pdk.c
+++ b/board/freescale/mx35pdk/mx35pdk.c
@@ -245,7 +245,7 @@ int board_late_init(void)
 
 		imx_iomux_v3_setup_pad(MX35_PAD_COMPARE__GPIO1_5);
 
-		gpio_direction_output(IMX_GPIO_NR(2, 5), 1);
+		gpio_direction_output(IMX_GPIO_NR(1, 5), 1);
 	}
 
 	val = mc9sdz60_reg_read(MC9SDZ60_REG_GPIO_1) | 0x04;
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-06 13:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-06 11:33 [U-Boot] [PATCH] imx: mx35pdk: Fix MUX2_CTR GPIO Benoît Thébaudeau
2013-05-06 13:22 ` Stefano Babic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.