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:
Christian Mauderer
2023-08-11 07:37:36 +02:00
parent 3393edcb4b
commit e07b74b88a
3 changed files with 241 additions and 0 deletions

View File

@@ -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);