diff options
-rw-r--r-- | board/toradex/common/usb.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/board/toradex/common/usb.c b/board/toradex/common/usb.c index 63accf83944..f0f4a474537 100644 --- a/board/toradex/common/usb.c +++ b/board/toradex/common/usb.c @@ -212,6 +212,15 @@ void usbf_reset_controller(enum periph_id id, struct usb_ctlr *usbctlr) /* Enable ASIX AX88772B V_BUS */ gpio_direction_output(GPIO_PBB1, 1); pinmux_tristate_disable(PINGRP_DTE); + + /* Reset */ + gpio_direction_output(GPIO_PV4, 0); + pinmux_tristate_disable(PINGRP_GPV); + + udelay(5); + + /* Unreset */ + gpio_set_value(GPIO_PV4, 1); } /* |