Commit 1f4fbb216fab4da6c2aefd522cf2f8e110f9cee2
1 parent
6ba004d34e
Exists in
smarc-imx-l5.0.0_1.0.0-ga
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>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
board/freescale/mx6sx_19x19_arm2/mx6sx_19x19_arm2.c
... | ... | @@ -305,9 +305,9 @@ |
305 | 305 | imx_iomux_v3_setup_multiple_pads(fec1_pads, ARRAY_SIZE(fec1_pads)); |
306 | 306 | |
307 | 307 | /* Reset AR8031 PHY */ |
308 | - gpio_direction_output(IMX_GPIO_NR(4, 22) , 0); | |
308 | + gpio_direction_output(IMX_GPIO_NR(6, 18) , 0); | |
309 | 309 | udelay(500); |
310 | - gpio_set_value(IMX_GPIO_NR(4, 22), 1); | |
310 | + gpio_set_value(IMX_GPIO_NR(6, 18), 1); | |
311 | 311 | } |
312 | 312 | #endif |
313 | 313 |