Realtek switch SoC docs

longan register: SMI_MAC_TYPE_CTRL

Details

Name
SMI_MAC_TYPE_CTRL
Offset
ca04
Feature
MAC_CONTROL

Description

SMI MAC port PHY type

Configure the type of the MAC. While some registers have a 3rd bit, it is unused/reserved.

default: 0x0000_0FFF

Fields

Name LSB Bits Description
RESERVED 24 8
MAC_P27_TYPE 21 3
MAC_P26_TYPE 18 3
MAC_P25_TYPE 15 3
MAC_P24_TYPE 12 3
MAC_P23_P20_TYPE 10 2
MAC_P19_P16_TYPE 8 2
MAC_P15_P12_TYPE 6 2
MAC_P11_P8_TYPE 4 2
MAC_P7_P4_TYPE 2 2
MAC_P3_P0_TYPE 0 2