[PATCH 1/8] dt-bindings: net: Add MDIO demultiplexer

Jisheng Zhang jszhang at kernel.org
Mon Nov 16 21:06:19 PST 2026


On Mon, Nov 16, 2026 at 04:06:25PM +0100, Andrew Lunn wrote:
> On Mon, Nov 16, 2026 at 09:54:35PM +0800, Jisheng Zhang wrote:
> > Assume we have the following implementation:
> >           ----------
> >           |mmio reg|
> > 	  ----------
> >              |
> >  --------    |      -------
> >  | MAC0 |--MDIO-----| PHY |
> >  -------- |     |   -------
> >           |     |
> >  -------- |     |   -------
> >  | MAC1 |--     ----| PHY |
> >  --------           -------
> > 
> > Both MAC0 and MAC1 have MDIO bus masters, and tie together to
> > a single set of clock and data lines, which go to some PHYs. While
> > there's a mmio reg to control which MAC mdio master can operate
> > the single mdio clock and data lines, so only one MAC can operate
> > the mdio clock and data lines.
> 
> How does this differ from pinmux?
> 

in my case, the two MAC MDIO bus masters share the same MDC and MDIO
pins.



More information about the linux-arm-kernel mailing list