Skip to content
Snippets Groups Projects
Commit adc4a2bd authored by Troy Kisky's avatar Troy Kisky Committed by Stefano Babic
Browse files

nitrogen6x: phy: add 100 us delay after phy reset


Testing shows that the Micrel PHY may not be completely out
of reset if accessed immediately.

Signed-off-by: default avatarTroy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: default avatarEric Nelson <eric.nelson@boundarydevices.com>
parent 9fc42527
No related branches found
No related tags found
No related merge requests found
...@@ -246,6 +246,7 @@ static void setup_iomux_enet(void) ...@@ -246,6 +246,7 @@ static void setup_iomux_enet(void)
gpio_set_value(IMX_GPIO_NR(1, 27), 1); /* Nitrogen6X PHY reset */ gpio_set_value(IMX_GPIO_NR(1, 27), 1); /* Nitrogen6X PHY reset */
imx_iomux_v3_setup_multiple_pads(enet_pads2, ARRAY_SIZE(enet_pads2)); imx_iomux_v3_setup_multiple_pads(enet_pads2, ARRAY_SIZE(enet_pads2));
udelay(100); /* Wait 100 us before using mii interface */
} }
static iomux_v3_cfg_t const usb_pads[] = { static iomux_v3_cfg_t const usb_pads[] = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment