Realtek switch SoC docs

maple register: LED_MODE_CTRL

Details

Name
LED_MODE_CTRL
Offset
a004
Feature
LED

Description

Set the LED behaviour for the low and high ports.

Field values can be 0-31 and indicate a state matching condition. “Link” will turn the LED on when a link is detected, “Act” will briefly toggle the LED on when link activity is detected. “Link/Act” will turn the LED on when a link is detected, and briefly toggle the LED off when the link is active. Any speed specifier will narrow the match down to only those speeds.

Fields

Name LSB Bits Description
RESERVED 30 2
P27_24_LED2_MODE_SEL 25 5
P27_24_LED1_MODE_SEL 20 5
P27_24_LED0_MODE_SEL 15 5
P23_0_LED2_MODE_SEL 10 5
P23_0_LED1_MODE_SEL 5 5
P23_0_LED0_MODE_SEL 0 5