# ETHPHY

## Register Listing for ETHPHY

Register | Address
--- | ---
ETHPHY_CRG_RESET | 0x00001000
ETHPHY_RX_INBAND_STATUS | 0x00001004
ETHPHY_MDIO_W | 0x00001008
ETHPHY_MDIO_R | 0x0000100c

### ETHPHY_CRG_RESET

Address: 0x00001000 + 0x0 = 0x00001000

### ETHPHY_RX_INBAND_STATUS

Address: 0x00001000 + 0x4 = 0x00001004

Field | Name | Description
--- | --- | ---

[0]

LINK_STATUS

Value | Description
--- | ---
`0b0` | Link down.
`0b1` | Link up.

[1]

CLOCK_SPEED

Value | Description
--- | ---
`0b00` | 2.5MHz (10Mbps).
`0b01` | 25MHz (100MBps).
`0b10` | 125MHz (1000MBps).

[2]

DUPLEX_STATUS

Value | Description
--- | ---
`0b0` | Half-duplex.
`0b1` | Full-duplex.

### ETHPHY_MDIO_W

Address: 0x00001000 + 0x8 = 0x00001008

Field | Name | Description
--- | --- | ---

### ETHPHY_MDIO_R

Address: 0x00001000 + 0xc = 0x0000100c

Field | Name | Description
--- | --- | ---