projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
529a671
)
tqma6_wru4: Fix the reset delay for the the LAN8720 PHY
author
Fabio Estevam
<fabio.estevam@nxp.com>
Mon, 1 Feb 2016 13:19:59 +0000
(11:19 -0200)
committer
Stefano Babic
<sbabic@denx.de>
Tue, 2 Feb 2016 20:20:55 +0000
(21:20 +0100)
According to the LAN8720 datasheet tpurstd (time that reset line should
stay asserted) is 25ms.
So do as suggested by the LAN8720 datasheet.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
board/tqc/tqma6/tqma6_wru4.c
patch
|
blob
|
history
diff --git
a/board/tqc/tqma6/tqma6_wru4.c
b/board/tqc/tqma6/tqma6_wru4.c
index 4427799ca8fc0cbe62ea3a26928bad59d4433c6e..c9a7ab7ea92efe99199126a833d015c2989ed5be 100644
(file)
--- a/
board/tqc/tqma6/tqma6_wru4.c
+++ b/
board/tqc/tqma6/tqma6_wru4.c
@@
-177,7
+177,7
@@
static void setup_iomuxc_enet(void)
ret = gpio_request(ENET_PHY_RESET_GPIO, "phy-reset");
if (!ret)
gpio_direction_output(ENET_PHY_RESET_GPIO , 0);
- udelay(
1
000);
+ udelay(
25
000);
gpio_set_value(ENET_PHY_RESET_GPIO, 1);
}