26#define ASIC_CARD_COUNT 12
27#define ACCL_CARD_DEV_COUNT 2
29#define POWER_MONITOR_PIN_NUM BOARD_ID3
30#define HSC_MODULE_PIN_NUM BOARD_ID2
31#define POWER_BRICK_MODULE_PIN_NUM BOARD_ID1
32#define VR_MODULE_PIN_NUM BOARD_ID0
34#define CPLD_ADDR (0xA0 >> 1)
35#define CPLD_NORMAL_ENABLE_OFFSET 0x03
36#define CPLD_PWRGD_1_OFFSET 0x05
37#define CPLD_PWRGD_2_OFFSET 0x06
38#define CPLD_SW_ERR_OFFSET 0x0F
39#define CPLD_12V_ACCLA_PWRGD_OFFSET 0x22
40#define CPLD_12V_ACCLB_PWRGD_OFFSET 0x23
41#define CPLD_ACCLA_PWRGD_OFFSET 0x24
42#define CPLD_ACCLB_PWRGD_OFFSET 0x25
43#define CPLD_ACCL_7_12_POWER_CABLE_PRESENT_OFFSET 0x26
44#define CPLD_ACCL_1_6_POWER_CABLE_PRESENT_OFFSET 0x27
45#define CPLD_ACCL_7_12_POWER_CABLE_PG_OFFSET 0x28
46#define CPLD_ACCL_1_6_POWER_CABLE_PG_OFFSET 0x29
47#define CPLD_ACCL_7_12_POWER_CABLE_PG_FAULT_OFFSET 0x32
48#define CPLD_ACCL_1_6_POWER_CABLE_PG_FAULT_OFFSET 0x33
49#define CPLD_ACCL_7_12_POWER_CABLE_PG_TIMEOUT_OFFSET 0x34
50#define CPLD_ACCL_1_6_POWER_CABLE_PG_TIMEOUT_OFFSET 0x35
51#define CPLD_ACCL_1_6_PRESENT_OFFSET 0x3F
52#define CPLD_ACCL_7_12_PRESENT_OFFSET 0x3E
53#define CPLD_PWRGD_BIT BIT(0)
54#define CPLD_SW_0_ERR_BIT BIT(1)
55#define CPLD_SW_1_ERR_BIT BIT(0)
56#define CPLD_P0V8_1_EN_BIT BIT(0)
58#define CPLD_ACCL_3V3_POWER_TOUT_BIT BIT(0)
59#define CPLD_ACCL_12V_POWER_TOUT_BIT BIT(1)
60#define CPLD_ACCL_3V3_AUX_POWER_TOUT_BIT BIT(2)
61#define CPLD_ACCL_3V3_POWER_FAULT_BIT BIT(3)
62#define CPLD_ACCL_12V_POWER_FAULT_BIT BIT(4)
63#define CPLD_ACCL_3V3_AUX_FAULT_BIT BIT(5)
65#define IOEXP_U228_ADDR (0x40 >> 1)
66#define IOEXP_U229_ADDR (0x42 >> 1)
67#define IOEXP_U230_ADDR (0x44 >> 1)
68#define IOEXP_U233_ADDR (0x46 >> 1)
69#define IOEXP_CARD_PRESENCE_COUNT 4
70#define IOEXP_CARD_PRESENCE_PIN_COUNT 4
71#define IOEXP_CARD_PRESENCE_MAP_VAL 0x0F
72#define IOEXP_CARD_PRESENT_VAL BIT(3)
73#define IOEXP_DEV_1_PRESENT_VAL BIT(1)
74#define IOEXP_DEV_2_PRESENT_VAL BIT(2)
uint32_t offset
Definition: pldm_firmware_update.h:0
Definition: plat_class.h:173
bool card_status
Definition: plat_class.h:174
uint8_t power_fault_reg
Definition: plat_class.h:179
bool asic_1_status
Definition: plat_class.h:177
bool asic_2_status
Definition: plat_class.h:178
bool pwr_cbl_status
Definition: plat_class.h:175
uint8_t card_type
Definition: plat_class.h:176