mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-19 04:50:52 +08:00
rtemsbsd/sys/arm: Add imxrt1166 USBPHY driver
Adds a driver for the i.MXRT1166 USB PHY and enable USB for the imxrt11xx BSPs.
This commit is contained in:
@@ -173,6 +173,14 @@ SYSINIT_DRIVER_REFERENCE(simplebus, ofwbus);
|
||||
SYSINIT_DRIVER_REFERENCE(ffec, simplebus);
|
||||
SYSINIT_DRIVER_REFERENCE(ksz8091rnb, miibus);
|
||||
|
||||
#if IMXRT_IS_MIMXRT11xx
|
||||
SYSINIT_DRIVER_REFERENCE(ehci, simplebus);
|
||||
SYSINIT_DRIVER_REFERENCE(imxrt1166_usbphy, simplebus);
|
||||
SYSINIT_DRIVER_REFERENCE(usbus, ehci);
|
||||
RTEMS_BSD_DRIVER_USB;
|
||||
RTEMS_BSD_DRIVER_USB_MASS;
|
||||
#endif /* IMXRT_IS_IMXRT11xx */
|
||||
|
||||
#elif defined(LIBBSP_ARM_LPC24XX_BSP_H)
|
||||
|
||||
RTEMS_BSD_DEFINE_NEXUS_DEVICE(ohci, 0, 0, NULL);
|
||||
|
Reference in New Issue
Block a user