summaryrefslogtreecommitdiff
path: root/board/freescale/imx8mq_evk
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2021-02-21 19:26:24 +0300
committerStefano Babic <sbabic@denx.de>2021-07-17 14:12:23 +0300
commitcb391e339932d9e87477082b2b4b491a78b9ca41 (patch)
tree74041916623e4d830a2c5868416e50e6014b75d4 /board/freescale/imx8mq_evk
parent4a837d433c673b6568f7b81428530fd336a22f9b (diff)
downloadu-boot-cb391e339932d9e87477082b2b4b491a78b9ca41.tar.xz
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/freescale/imx8mq_evk')
-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;
}