Realtek switch SoC docs

mango register: LED_PORT_NUM_CTRL

Details

Name
LED_PORT_NUM_CTRL
Offset
0604
Feature
LED
Port index range
0 - 55
Portlist index
0
Bit offset
2

Description

Number of status LEDs per port

default: 0xaaaa_aaaa

Number of LED’s per Port to use. e.g. 1 (to indicate activity), 2 (activity and 1000/(100/10) etc. Must be separately enabled via the port masks in LED_PORT_COPR_MASK_CTRL, LED_PORT_FIB_MASK_CTRL, or LED_PORT_COMBO_MASK_CTRL.

Fields

Name LSB Bits Description
LED_NUM_SEL 0 2

LED’s per port configuration

  • 0x0: 1 LED per port
  • 0x1: 2 LED’s per port
  • 0x2: 3 LED’s per port
  • 0x3: 4 LED’s per port