]> git.sur5r.net Git - u-boot/commitdiff
imx: mx35pdk: Fix MUX2_CTR GPIO
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
Mon, 6 May 2013 01:33:51 +0000 (01:33 +0000)
committerStefano Babic <sbabic@denx.de>
Mon, 6 May 2013 13:21:59 +0000 (15:21 +0200)
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

index 12e84d7c00830bd7b12834d0c52f3535bff650a3..9f667d2dea58383691f2b97c4c96e4c12ed44794 100644 (file)
@@ -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;