Browse Source

MLK-16273-3 imx8mq: evk: enable usb gadget drivers

Enable dwc3 controller driver and gadget mass storage drivers.

Acked-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
(cherry picked from commit d605374509)
Li Jun 3 years ago
parent
commit
35383a21f7
1 changed files with 18 additions and 0 deletions
  1. +18
    -0
      include/configs/imx8mq_evk.h

+ 18
- 0
include/configs/imx8mq_evk.h View File

@ -255,6 +255,7 @@
/* I2C Configs */
#define CONFIG_SYS_I2C_SPEED 100000
/* USB configs */
#ifndef CONFIG_SPL_BUILD
#define CONFIG_HAS_FSL_XHCI_USB
@ -269,6 +270,23 @@
#define CONFIG_CMD_USB
#define CONFIG_USB_STORAGE
#define CONFIG_CMD_EXT2
#define CONFIG_USB_DWC3
#define CONFIG_USB_DWC3_GADGET
#define CONFIG_USBD_HS
#define CONFIG_USB_GADGET
#define CONFIG_CMD_USB_MASS_STORAGE
#define CONFIG_USB_GADGET_MASS_STORAGE
#define CONFIG_USB_GADGET_DOWNLOAD
#define CONFIG_USB_GADGET_VBUS_DRAW 2
#define CONFIG_USB_GADGET_DUALSPEED
#define CONFIG_USB_FUNCTION_MASS_STORAGE
#define CONFIG_G_DNL_VENDOR_NUM 0x0525
#define CONFIG_G_DNL_PRODUCT_NUM 0xa4a5
#define CONFIG_G_DNL_MANUFACTURER "FSL"
#endif
#define CONFIG_OF_SYSTEM_SETUP


Loading…
Cancel
Save