Realtek switch SoC docs

maple feature MAC_CONTROL

Registers

Offset Name Summary
MAC_CONTROL
00e0 P8_PCS_ABILITY
00f0 P8_RESERVED_REG_1
0100 P8_RESERVED_REG_2
0110 P8_RESERVED_REG_3
0120 MAC_INT_GPHY_CTRL_1
0124 MAC_INT_GPHY_CTRL_2
012c MAC_INT_GPHY_CTRL_3
0134 MAC_INT_GPHY_CTRL_4
013c MAC_INT_GPHY_CTRL_5
0140 MAC_INT_GPHY_CTRL_6
0144 DMY_REG5

Extra GPIO MDIO bus control register.

1018 MAC_IF_CTRL
101c MAC_EEPROM_TYPE_CTRL
1020 PHY_UP_CTRL
6b00 MAC_MAX_LEN_CTRL_DUPLICATED
6b04 MAC_ADDR_CTRL_ALE
6b0c MAC_TX_DISABLE
a100 SMI_GLB_CTRL
a104 MAC_FORCE_MODE_CTRL
a178 SMI_CONFIG_CTRL
a17c SMI_POLL_CTRL
a180 SMI_LINK_FAIL
a184 SERDES_NWAY_FAIL
a188 MAC_LINK_STS

Link status as the MAC sees it.

a18c MAC_LINK_MEDIA_STS

MAC media connection type

a190 MAC_LINK_SPD_STS

MAC Link speed status

a198 MAC_GLITE_STS
a19c MAC_LINK_DUP_STS
a1a0 MAC_TX_PAUSE_STS
a1a4 MAC_RX_PAUSE_STS
a1a8 MAC_EEE_ABLTY
a1ac MAC_FEFI_STS
a1b0 MAC_MSTR_SLV_STS
a1b4 MAC_MSTR_SLV_FAULT_STS
a1b8 SMI_ACCESS_PHY_CTRL_0
a1bc SMI_ACCESS_PHY_CTRL_1
a1c0 SMI_ACCESS_PHY_CTRL_2
a1c4 SMI_ACCESS_PHY_CTRL_3
a1c8 SMI_PORT0_5_ADDR_CTRL
a1cc SMI_PORT6_11_ADDR_CTRL
a1d0 SMI_PORT12_17_ADDR_CTRL
a1d4 SMI_PORT18_23_ADDR_CTRL
a1d8 SMI_PORT24_27_ADDR_CTRL
a1dc SDS01_NWAY_STS
a1ec SDS23_NWAY_STS
a1fc SDS4_NWAY_STS
a204 SDS5_NWAY_STS
a300 I2C_SLV_ADDR_CTRL
a304 MAC_EEPROM_DOWN_LOAD_CNTRL
a308 MAC_EEPROM_DOWN_LOAD_STS
a30c MAC_EEPROM_DOWN_LOAD_MAC_POS
a310 MAC_EEPROM_DOWN_LOAD_PHY_POS
a314 MAC_EEPROM_DOWN_LOAD_TABLE_POS
a318 MAC_EEPROM_DOWN_LOAD_GROUP_MAC_POS
a320 MAC_ADDR_CTRL_MAC
a328 MAC_CPU_TAG_ID_CTRL
a32c MAC_CPU_PORT_CTRL
a330 DMY_REG45
a9e0 MAC_MAX_LEN_CTRL

Size limits for packets being switched.

a9e4 MAC_GLB_CTRL
a9e8 HALF_CHG_CTRL
a9ec MAC_ADDR_CTRL
a9f4 DMY_REG40
d560 MAC_PORT_CTRL
d564 HALF_CHG_STS
d568 DMY_PORT_REG1