Realtek switch SoC docs

longan register: SMI_PORT16_27_POLLING_SEL

Details

Name
SMI_PORT16_27_POLLING_SEL
Offset
ca0c
Feature
MAC_CONTROL

Description

SMI Port 16 - 27 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: 0x00ff_aaaa

Fields

Name LSB Bits Description
RESERVED 24 8
SMI_PORT27_POLLING_SEL 22 2
SMI_PORT26_POLLING_SEL 20 2
SMI_PORT25_POLLING_SEL 18 2
SMI_PORT24_POLLING_SEL 16 2
SMI_PORT23_POLLING_SEL 14 2
SMI_PORT22_POLLING_SEL 12 2
SMI_PORT21_POLLING_SEL 10 2
SMI_PORT20_POLLING_SEL 8 2
SMI_PORT19_POLLING_SEL 6 2
SMI_PORT18_POLLING_SEL 4 2
SMI_PORT17_POLLING_SEL 2 2
SMI_PORT16_POLLING_SEL 0 2