sonic-buildimage/platform/innovium/sonic-platform-modules-cameo/escc601-32q/modules/x86-64-cameo-escc601-32q-led.h
shihjeff 940aaa0cbe
[201911] [Innovium] Update Cameo & Wistron Drivers (#7855)
Fix #8068

Update Innovium configs on Cameo and Wistron platforms
2021-07-21 09:09:36 -07:00

12 lines
379 B
C

/* register offset define */
#define LED_CTRL_REG 0xa2
#define LED_BLINK_REG 0xa3
#define LED_FIBER_REG 0xa0
#define LED_FIBER_ENABLE 0x01
#define LED_FIBER_DISABLE 0xfe
#define SWITCH_LED_OFF 0
#define SWITCH_LED_A_N 1
#define SWITCH_LED_A_B 2
#define SWITCH_LED_G_N 3
#define SWITCH_LED_G_B 4
/* end of register offset define */