nexus: Add UKPHY driver to ZynqMP

ZynqMP hardware comes with many different Ethernet PHYs depending on
which board is used. Add the UKPHY driver to handle basic PHY
interaction for any unrecognized PHYs.
This commit is contained in:
Kinsey Moore 2021-03-08 08:05:24 -06:00 committed by Joel Sherrill
parent 3abebabf1d
commit 023e94fd8b
2 changed files with 10 additions and 0 deletions

View File

@ -117,6 +117,7 @@ RTEMS_BSD_DRIVER_XILINX_ZYNQMP_SLCR;
*/
RTEMS_BSD_DRIVER_XILINX_ZYNQMP_CGEM3(ZYNQMP_IRQ_ETHERNET_3);
RTEMS_BSD_DRIVER_E1000PHY;
RTEMS_BSD_DRIVER_UKPHY;
#elif defined(LIBBSP_ARM_ATSAM_BSP_H)

View File

@ -78,6 +78,7 @@
* RTEMS_BSD_DRIVER_ICSPHY
* RTEMS_BSD_DRIVER_REPHY
* RTEMS_BSD_DRIVER_PHY_MIC
* RTEMS_BSD_DRIVER_UKPHY
*/
#if !defined(RTEMS_BSD_NEXUS_BUS_h)
@ -543,6 +544,14 @@ extern "C" {
SYSINIT_DRIVER_REFERENCE(micphy, miibus);
#endif /* RTEMS_BSD_DRIVER_PHY_MIC */
/*
* UK PHY.
*/
#if !defined(RTEMS_BSD_DRIVER_UKPHY)
#define RTEMS_BSD_DRIVER_UKPHY \
SYSINIT_DRIVER_REFERENCE(ukphy, miibus);
#endif /* RTEMS_BSD_DRIVER_UKPHY */
#ifdef __cplusplus
}
#endif /* __cplusplus */