1. support
1.1 config
Device Drivers --->
[*] USB support --->
[*] Enable driver model for USB
[*] xHCI HCD (USB 3.0) support
[*] DesignWare USB3 DRD Core Support
[*] USB Mass Storage support
Command line interface --->
Device access commands --->
[*] usb
Filesystem commands --->
[*] FAT command support
- CONFIG_USB=y
- CONFIG_DM_USB=y
- CONFIG_USB_HOST=y
- CONFIG_USB_XHCI_HCD=y
- CONFIG_USB_XHCI_DWC3=y
- CONFIG_USB_STORAGE=y
- CONFIG_CMD_USB=y
- CONFIG_FS_FAT=y
1.2 dts
usb2: dwc3@100000 {
compatible = "snps,dwc3";
reg = <0x0 0x100000 0x0 0x10000>;
interrupts = <0 8 4>;
dr_mode = "host";
maximum-speed = "sup