---
title: "MDIO"
canonical_url: https://developer.repebble.com/pebbleos/docs/drivers/mdio/
last_updated: 2026-12-02
sdk_version: 4.44
---
# MDIO

Source: https://developer.repebble.com/pebbleos/docs/drivers/mdio/

The management bus of Ethernet PHYs, as IEEE 802.3 clause 22 defines it: up to 32 PHYs on a bus, each with 32 registers of 16 bits. A PHY is a child of its bus in the devicetree, at the address its `reg` gives. The bus is often part of the Ethernet controller, as a child node of it.

| 

 | 

 |
| --- | --- |
| 

Directory

 | 

`drivers/net/mdio`

 |
| 

Header

 | 

`pbl/drivers/net/mdio.h`

 |
| 

Kconfig

 | 

`CONFIG_MDIO`, selected by the drivers of the PHYs on a bus

 |
| 

API

 | 

[API reference](https://developer.repebble.com/pebbleos/apidoc/de/d8e/group __drivers__ mdio.html)

 |

## Drivers

| 

Driver

 | 

Compatible

 | 

Kconfig

 |
| --- | --- | --- |
| 

DesignWare Ethernet QoS MDIO

 | 

`snps,dwmac-mdio`

 | 

`CONFIG_ETH_DWMAC`

 |

Generated from PebbleOS [f1984a001](https://github.com/coredevices/pebbleos/commit/f1984a001b27aa6a2517856e76850da6994c27cd). This page is maintained in the pebbleos repository: [docs/drivers/mdio.md](https://github.com/coredevices/pebbleos/blob/f1984a001b27aa6a2517856e76850da6994c27cd/docs/drivers/mdio.md).
