mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-23 15:11:42 +00:00
board: ge: bx50v3: fix AR8033 reset timing issue
Add the delay (10ms) to ensure the clock is stable and to meet the clock-to-reset(1ms) requirement recommended in the AR8033 datasheet Signed-off-by: Ken Lin <yungching0725@gmail.com> Reviewed-by: Stefano Babic <sbabic@denx.de> Acked-by: Ian Ray <ian.ray@ge.com>
This commit is contained in:
parent
625cf507ff
commit
d42db168e6
1 changed files with 2 additions and 1 deletions
|
@ -103,8 +103,9 @@ static void setup_iomux_enet(void)
|
||||||
|
|
||||||
/* Reset AR8033 PHY */
|
/* Reset AR8033 PHY */
|
||||||
gpio_direction_output(IMX_GPIO_NR(1, 28), 0);
|
gpio_direction_output(IMX_GPIO_NR(1, 28), 0);
|
||||||
udelay(500);
|
mdelay(10);
|
||||||
gpio_set_value(IMX_GPIO_NR(1, 28), 1);
|
gpio_set_value(IMX_GPIO_NR(1, 28), 1);
|
||||||
|
mdelay(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
static iomux_v3_cfg_t const usdhc2_pads[] = {
|
static iomux_v3_cfg_t const usdhc2_pads[] = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue