zephyr,mdio-gpio

Vendor: Zephyr-specific binding

Note

An implementation of a driver matching this compatible is available in drivers/mdio/mdio_gpio.c.

Description

These nodes are “mdio” bus nodes.

Zephyr MDIO bitbang driver

Properties

Properties not inherited from the base binding file.

Name

Type

Details

mdc-gpios

phandle-array

GPIO pin for the MDC

This property is required.

mdio-gpios

phandle-array

GPIO pin for the MDIO

This property is required.

suppress-preamble

boolean

When present, the SMA suppresses the 32-bit preamble and transmits
MDIO frames with only 1 preamble bit. By default, the MDIO frame
always has 32 bits of preamble as defined in the IEEE 802.3 specs.

clock-frequency

int

Some MDIO controllers have the ability to configure the MDC frequency.
If present, this property may be used to specify the MDC frequency based
on what the PHYs connected to the mdio bus can support. Default of 2.5MHz
is the standard and should supported by all PHYs.

Default value: 2500000