drivers: usb: usb_dc_mcux: add case for RW6xx SOC series
Add case for RW6xx SOC series to indicate which device controller is in use. Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
parent
46bed8896e
commit
6294f4b541
1 changed files with 2 additions and 0 deletions
|
@ -95,6 +95,8 @@ BUILD_ASSERT(NUM_INSTS <= 1, "Only one USB device supported");
|
|||
#elif DT_NODE_HAS_STATUS(DT_NODELABEL(usb2), okay)
|
||||
#define CONTROLLER_ID kUSB_ControllerEhci1
|
||||
#endif /* IMX RT */
|
||||
#elif defined(CONFIG_SOC_SERIES_RW6XX)
|
||||
#define CONTROLLER_ID kUSB_ControllerEhci0
|
||||
#else
|
||||
/* If SOC has EHCI or LPCIP3511 then probably just need to add controller ID to this code */
|
||||
#error "USB driver does not yet support this SOC"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue