sonic-buildimage/platform/innovium/sonic-platform-modules-cameo/esqc610-56sq/modules/x86-64-cameo-esqc610-56sq-sys.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

23 lines
841 B
C

/* register offset define */
#define CPLD_VER_REG 0x20
#define WDT_EN_REG 0xa0
#define WDT_EN_ENABLE 0x10
#define WDT_EN_DISABLE 0xef
#define EEPROM_WP_REG 0xa0
#define EEPROM_WP_ENABLE 0x04
#define EEPROM_WP_DISABLE 0xfB
#define USB_EN_REG 0xa0
#define USB_EN_ENABLE 0x02
#define USB_EN_DISABLE 0xfD
#define MAC_RESET_REG 0xa1
#define MAC_RESET 0x00
#define SHUTDOWN_REG 0xa1
#define SHUTDOWN 0x10
#define BMC_EN_REG 0xa4
#define BMC_EN_ENABLE 0x01
#define BMC_EN_DISABLE 0x00
#define THERMAL_INT_REG 0xc0
#define THERMAL_INT_MASK_REG 0xc1
#define SYS_INT_REG 0xd0
#define SYS_INT_MASK_REG 0xd1
/* end of register offset define */