sonic-buildimage/platform/innovium/sonic-platform-modules-cameo/esc602-32q/modules/x86-64-cameo-esc602-32q-fan.h
Tony Titus fbd4e452c7
[201911] [Innovium] Add new platforms and config updates (#7545)
Update Innovium configs + Add new platforms supporting Innovium chips
2021-05-17 12:30:20 -07:00

12 lines
434 B
C

/* register offset define */
#define FANCTRL_RPM_REG 0x1a
#define FANCTRL_MODE_REG 0x1b
#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 */