summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2021-02-21 08:26:24 -0800
committerStefano Babic <sbabic@denx.de>2021-07-17 13:12:23 +0200
commitcb391e339932d9e87477082b2b4b491a78b9ca41 (patch)
tree74041916623e4d830a2c5868416e50e6014b75d4 /board
parent4a837d433c673b6568f7b81428530fd336a22f9b (diff)
downloadu-boot-cb391e339932d9e87477082b2b4b491a78b9ca41.tar.gz
u-boot-cb391e339932d9e87477082b2b4b491a78b9ca41.tar.bz2
u-boot-cb391e339932d9e87477082b2b4b491a78b9ca41.zip
imx8mq_evk: Enable the USB3.0 host port
Setup USB clock in board codes, and enable the DWC3 XHCI and PHY drivers to make USB3.0 host port working on i.MX8MQ EVK. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Patrick Wildt <patrick@blueri.se>
Diffstat (limited to 'board')
-rw-r--r--board/freescale/imx8mq_evk/imx8mq_evk.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/freescale/imx8mq_evk/imx8mq_evk.c b/board/freescale/imx8mq_evk/imx8mq_evk.c
index 93da67d779..e394805856 100644
--- a/board/freescale/imx8mq_evk/imx8mq_evk.c
+++ b/board/freescale/imx8mq_evk/imx8mq_evk.c
@@ -86,6 +86,10 @@ int board_init(void)
setup_fec();
#endif
+#if defined(CONFIG_USB_DWC3) || defined(CONFIG_USB_XHCI_DWC3)
+ init_usb_clk();
+#endif
+
return 0;
}