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

/* register offset define */
#define FANCTRL_RPM_REG 0xc4
#define FANCTRL_MODE_REG 0xc5
#define FAN_STAT_REG 0x00
#define FAN_POWER_REG 0x01
#define FAN_PRESENT_REG 0x02
#define BMC_FAN_STAT_REG 0x80
#define BMC_FAN_POWER_REG 0x81
#define BMC_FAN_PRESENT_REG 0x82
#define FAN_F_RPM_REG 0xa0
#define FAN_R_RPM_REG 0xb0
/* end of register offset define */