HomeFreeBSD

Add a GPIO based MDIO bit-banging bus driver.

Description

Add a GPIO based MDIO bit-banging bus driver.

Uses two GPIO pins as MDC (clock) and MDIO (bidirectional I/O), relies
on mii_bitbang.

Tested on SG-3200 where the PHY for one of the ports is wired independently
of the SoC MDIO bus.

Sponsored by: Rubicon Communications, LLC (Netgate)

Details

Provenance
loosAuthored on
Parents
rS355461: Fix the ARM64 build, include the necessary <sys/mutex.h> header.
Branches
Unknown
Tags
Unknown