summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/include/bsp
diff options
context:
space:
mode:
authorChristian Mauderer <christian.mauderer@embedded-brains.de>2023-08-11 07:37:36 +0200
committerChristian Mauderer <christian.mauderer@embedded-brains.de>2023-08-21 09:17:02 +0200
commite07b74b88af55df551046bd1beb775f843a96fe5 (patch)
tree18a1389ec6ada0ebe2f89f112f9585260c91e4d9 /rtemsbsd/include/bsp
parentbsp/imxrt: Enable cache handling (diff)
downloadrtems-libbsd-e07b74b88af55df551046bd1beb775f843a96fe5.tar.bz2
rtemsbsd/sys/arm: Add imxrt1166 USBPHY driver
Adds a driver for the i.MXRT1166 USB PHY and enable USB for the imxrt11xx BSPs.
Diffstat (limited to 'rtemsbsd/include/bsp')
-rw-r--r--rtemsbsd/include/bsp/nexus-devices.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/rtemsbsd/include/bsp/nexus-devices.h b/rtemsbsd/include/bsp/nexus-devices.h
index d98e6f76..37008cc6 100644
--- a/rtemsbsd/include/bsp/nexus-devices.h
+++ b/rtemsbsd/include/bsp/nexus-devices.h
@@ -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);