Realtek switch SoC docs

longan register: SMI_PORT0_15_POLLING_SEL

Details

Name
SMI_PORT0_15_POLLING_SEL
Offset
ca08
Feature
MAC_CONTROL

Description

SMI Port 0 - 15 polling selector

The datasheet confusingly speaks of sets, which the RTL931x actually does support (where one can choose what type of polling to use).

However based on the current behavior and functionality, the SMI bus -> port mapping is expected to be put into these registers instead.

default: 0x5555_0000

Fields

Name LSB Bits Description
SMI_PORT15_POLLING_SEL 30 2
SMI_PORT14_POLLING_SEL 28 2
SMI_PORT13_POLLING_SEL 26 2
SMI_PORT12_POLLING_SEL 24 2
SMI_PORT11_POLLING_SEL 22 2
SMI_PORT10_POLLING_SEL 20 2
SMI_PORT9_POLLING_SEL 18 2
SMI_PORT8_POLLING_SEL 16 2
SMI_PORT7_POLLING_SEL 14 2
SMI_PORT6_POLLING_SEL 12 2
SMI_PORT5_POLLING_SEL 10 2
SMI_PORT4_POLLING_SEL 8 2
SMI_PORT3_POLLING_SEL 6 2
SMI_PORT2_POLLING_SEL 4 2
SMI_PORT1_POLLING_SEL 2 2
SMI_PORT0_POLLING_SEL 0 2