diff options
author | Ye.Li <B37916@freescale.com> | 2014-10-11 11:02:02 +0800 |
---|---|---|
committer | Ye.Li <B37916@freescale.com> | 2014-10-11 11:06:28 +0800 |
commit | 1f4fbb216fab4da6c2aefd522cf2f8e110f9cee2 (patch) | |
tree | c4c06c2732f2369255ca1f020c1f94156773c42e | |
parent | 6ba004d34ead6c1341e1e6e5f5546df7deb06c65 (diff) | |
download | u-boot-imx-1f4fbb216fab4da6c2aefd522cf2f8e110f9cee2.zip u-boot-imx-1f4fbb216fab4da6c2aefd522cf2f8e110f9cee2.tar.gz u-boot-imx-1f4fbb216fab4da6c2aefd522cf2f8e110f9cee2.tar.bz2 |
MLK-9676 imx: mx6sx 19x19arm2: Fix ethernet phy reset issue
The PHY reset on 19x19 arm2 board is GPIO6_18, not GPIO4_22.
This causes the ethernet phy failed to work.
Signed-off-by: Ye.Li <B37916@freescale.com>
-rw-r--r-- | board/freescale/mx6sx_19x19_arm2/mx6sx_19x19_arm2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/mx6sx_19x19_arm2/mx6sx_19x19_arm2.c b/board/freescale/mx6sx_19x19_arm2/mx6sx_19x19_arm2.c index 1ad19a2..26fe120 100644 --- a/board/freescale/mx6sx_19x19_arm2/mx6sx_19x19_arm2.c +++ b/board/freescale/mx6sx_19x19_arm2/mx6sx_19x19_arm2.c @@ -305,9 +305,9 @@ static void setup_iomux_fec1(void) imx_iomux_v3_setup_multiple_pads(fec1_pads, ARRAY_SIZE(fec1_pads)); /* Reset AR8031 PHY */ - gpio_direction_output(IMX_GPIO_NR(4, 22) , 0); + gpio_direction_output(IMX_GPIO_NR(6, 18) , 0); udelay(500); - gpio_set_value(IMX_GPIO_NR(4, 22), 1); + gpio_set_value(IMX_GPIO_NR(6, 18), 1); } #endif |