Realtek switch SoC docs

mango register: LED_INDRT_ACCESS_CTRL

Details

Name
LED_INDRT_ACCESS_CTRL
Offset
076c
Feature
LED

Description

External LED indirect access controller (of the RTL8231)

default: 0x0000_0000

Fields

Name LSB Bits Description
RESERVED 28 4
DATA 12 16

Ext GPIO register data

When RWOP=0 then read data from the RTL8231 When RWOP=1 then write data to the RTL8231

REG 7 5

Ext LED register register address

Selects the register to be read/written

0x00 - 0x1f -> register 0 - register 31
PHYADDR 2 5

RTL8231 PHY address to use

RWOP 1 1

Read/write operator

  • 0b0: read
  • 0b1: write
CMD 0 1

Ext LED controller Execute Command

  • 0b0: normal operation
  • 0b1: execute command (auto clears on execution)