summaryrefslogtreecommitdiff
path: root/include/configs/imx8mn_ab2.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/imx8mn_ab2.h')
-rw-r--r--include/configs/imx8mn_ab2.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/configs/imx8mn_ab2.h b/include/configs/imx8mn_ab2.h
index cf116ff3cc..16027de06f 100644
--- a/include/configs/imx8mn_ab2.h
+++ b/include/configs/imx8mn_ab2.h
@@ -281,4 +281,21 @@
#define CONFIG_SYS_I2C_SPEED 100000
+/* USB configs */
+#ifndef CONFIG_SPL_BUILD
+#define CONFIG_CMD_USB
+#define CONFIG_USB_STORAGE
+#define CONFIG_USBD_HS
+
+#define CONFIG_CMD_USB_MASS_STORAGE
+#define CONFIG_USB_GADGET_MASS_STORAGE
+#define CONFIG_USB_FUNCTION_MASS_STORAGE
+
+#endif
+
+#define CONFIG_USB_GADGET_VBUS_DRAW 2
+
+#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
+#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
+
#endif