Realtek switch SoC docs

longan feature INTERFACE

Registers

Offset Name Summary
INTERFACE
0024 P0_INTF_CTRL

Port N interface controller

0200 GPIO_SEL_CTRL
0204 JTAG_SEL_CTRL
0360 MAC_IF_CTRL
0364 MAC_SLV_I2C_CTRL
0368 MAC_SLV_TIMEOUT
036c I2C_MST1_CTRL1

I2C Master controller 1

0370 I2C_MST1_CTRL2

I2C master 1 controller register 2

0374 I2C_MST1_DATA_WORD0

Data to be written or read in an SMBus transfer.

0378 I2C_MST1_DATA_WORD1
037c I2C_MST1_DATA_WORD2
0380 I2C_MST1_DATA_WORD3
0384 I2C_MST_GLB_CTRL

I2C master 1 and 2 pin and timing controller

0388 I2C_MST2_CTRL1

Control register of Master 2 for SMBus compliant transfers on an I2C …

038c I2C_MST2_CTRL2
0390 I2C_MST2_DATA_WORD0
0394 I2C_MST2_DATA_WORD1
0398 I2C_MST2_DATA_WORD2
039c I2C_MST2_DATA_WORD3
03a0 SPI_CTRL1

SPI Controller register (1)

03a4 SPI_CTRL2

SPI Controller register (2)

03a8 SPI_ADDR

SPI Address

03ac DMY_REG0_REG_IF
0460 SPI_DATA

SPI Data n