Realtek switch SoC docs

longan register: LED_PORT_SW_CTRL

Details

Name
LED_PORT_SW_CTRL
Offset
cc5c
Feature
LED
Port index range
0 - 27
Portlist index
0
Bit offset
32

Description

Configure a software controlled LED

default: 0x0000_0000

Set the blinking interval for a software controlled LED, as configured by LED_PORT_SW_EN_CTRL. After modifying a value, the change needs to be committed by writing 1 to SW_LED_LOAD.

Fields

Name LSB Bits Description
RESERVED 24 8
SW_FIB_LED3_MODE 21 3

Fiber LED3 blinking mode

SW_FIB_LED2_MODE 18 3

Fiber LED2 blinking mode

SW_FIB_LED1_MODE 15 3

Fiber LED1 blinking mode

SW_FIB_LED0_MODE 12 3

Fiber LED0 blinking mode

SW_COPR_LED3_MODE 9 3

Copper LED3 blinking mode

SW_COPR_LED2_MODE 6 3

Copper LED2 blinking mode

SW_COPR_LED1_MODE 3 3

Copper LED1 blinking mode

SW_COPR_LED0_MODE 0 3

Copper LED0 blinking mode