Realtek switch SoC docs

maple register: EXT_GPIO_INDRT_ACCESS

Details

Name
EXT_GPIO_INDRT_ACCESS
Offset
a09c
Feature
LED

Description

Auxiliary MDIO port access.

Normally used to connect to a single RTL8231 in MDIO (SMI) mode, but can in theory be a bus with any sort of MDIO devices. There is no indication of command failure, this has to be determined from the register values, or command timeout.

Fields

Name LSB Bits Description
GPIO_DATA 16 16

For write commands, this contains the data to be sent when executing the command.

For read commands, this contains the received data after command execution finishes.

RESERVED 12 4
GPIO_REG 7 5

Number of the MDIO register to be accessed.

GPIO_PHY_ADDR 2 5

PHY address of the MDIO device to be queried.

GPIO_RWOP 1 1

Operation bit. Set to 0 for read requests, 1 for write requests.

GPIO_CMD 0 1

Execute bit. Set to 1 to perform the request. Will self-clear after the command is completed or times out.