17#ifndef PLAT_SENSOR_TABLE_H
18#define PLAT_SENSOR_TABLE_H
37#define BB_TMP75_ADDR (0x9E >> 1)
38#define BPB_TMP75_ADDR (0x90 >> 1)
39#define BB_ADM1272_ADDR (0x26 >> 1)
40#define BPB_ADM1272_ADDR (0x20 >> 1)
41#define BPB_ADS112C_1_ADDR (0x88 >> 1)
42#define BPB_ADS112C_2_ADDR (0x8A >> 1)
43#define BPB_ADS112C_3_ADDR (0x82 >> 1)
44#define BPB_ADS112C_4_ADDR (0x80 >> 1)
45#define BPB_BRICK_12V_ADDR (0x40 >> 1)
46#define SB_ADS112C_1_ADDR (0x80 >> 1)
47#define SB_ADS112C_2_ADDR (0x82 >> 1)
48#define SB_ADS112C_3_ADDR (0x88 >> 1)
49#define BPB_NCT7363_ADDR (0x40 >> 1)
50#define FB_NCT7363_ADDR (0x42 >> 1)
51#define PB_NCT7363_ADDR (0x40 >> 1)
52#define HDC1080_ADDR (0x80 >> 1)
53#define SB_TMP461_1_ADDR (0x90 >> 1)
54#define SB_TMP461_2_ADDR (0x92 >> 1)
55#define SB_TMP461_3_ADDR (0x94 >> 1)
56#define SB_TMP461_4_ADDR (0x96 >> 1)
57#define SB_NCT214_1_ADDR (0x30 >> 1)
58#define SB_NCT214_2_ADDR (0x52 >> 1)
59#define SB_NCT214_3_ADDR (0x98 >> 1)
60#define SB_NCT214_4_ADDR (0x32 >> 1)
61#define FB_ADM1272_ADDR (0x22 >> 1)
62#define PB_ADM1272_ADDR (0x24 >> 1)
63#define PDB_INA238_U14_ADDR (0x8A >> 1)
64#define PDB_INA238_U15_ADDR (0x82 >> 1)
65#define PDB_MAX11617_U99_ADDR (0x6A >> 1)
66#define PDB_ADS1015_U101_ADDR (0x90 >> 1)
67#define FIO_TMP75_ADDR (0x96 >> 1)
70#define TMP75_TEMP_OFFSET 0x00
72#define SENSOR_NUM_FB_1_HSC_TEMP_C 0x00
73#define SENSOR_NUM_FB_1_HSC_P48V_VIN_VOLT_V 0x01
74#define SENSOR_NUM_FB_1_HSC_P48V_IOUT_CURR_A 0x02
75#define SENSOR_NUM_FB_1_HSC_P48V_PIN_PWR_W 0x03
76#define SENSOR_NUM_FB_2_HSC_TEMP_C 0x04
77#define SENSOR_NUM_FB_2_HSC_P48V_VIN_VOLT_V 0x05
78#define SENSOR_NUM_FB_2_HSC_P48V_IOUT_CURR_A 0x06
79#define SENSOR_NUM_FB_2_HSC_P48V_PIN_PWR_W 0x07
80#define SENSOR_NUM_FB_3_HSC_TEMP_C 0x08
81#define SENSOR_NUM_FB_3_HSC_P48V_VIN_VOLT_V 0x09
82#define SENSOR_NUM_FB_3_HSC_P48V_IOUT_CURR_A 0x0A
83#define SENSOR_NUM_FB_3_HSC_P48V_PIN_PWR_W 0x0B
84#define SENSOR_NUM_FB_4_HSC_TEMP_C 0x0C
85#define SENSOR_NUM_FB_4_HSC_P48V_VIN_VOLT_V 0x0D
86#define SENSOR_NUM_FB_4_HSC_P48V_IOUT_CURR_A 0x0E
87#define SENSOR_NUM_FB_4_HSC_P48V_PIN_PWR_W 0x0F
88#define SENSOR_NUM_FB_5_HSC_TEMP_C 0x10
89#define SENSOR_NUM_FB_5_HSC_P48V_VIN_VOLT_V 0x11
90#define SENSOR_NUM_FB_5_HSC_P48V_IOUT_CURR_A 0x12
91#define SENSOR_NUM_FB_5_HSC_P48V_PIN_PWR_W 0x13
92#define SENSOR_NUM_FB_6_HSC_TEMP_C 0x14
93#define SENSOR_NUM_FB_6_HSC_P48V_VIN_VOLT_V 0x15
94#define SENSOR_NUM_FB_6_HSC_P48V_IOUT_CURR_A 0x16
95#define SENSOR_NUM_FB_6_HSC_P48V_PIN_PWR_W 0x17
96#define SENSOR_NUM_FB_7_HSC_TEMP_C 0x18
97#define SENSOR_NUM_FB_7_HSC_P48V_VIN_VOLT_V 0x19
98#define SENSOR_NUM_FB_7_HSC_P48V_IOUT_CURR_A 0x1A
99#define SENSOR_NUM_FB_7_HSC_P48V_PIN_PWR_W 0x1B
100#define SENSOR_NUM_FB_8_HSC_TEMP_C 0x1C
101#define SENSOR_NUM_FB_8_HSC_P48V_VIN_VOLT_V 0x1D
102#define SENSOR_NUM_FB_8_HSC_P48V_IOUT_CURR_A 0x1E
103#define SENSOR_NUM_FB_8_HSC_P48V_PIN_PWR_W 0x1F
104#define SENSOR_NUM_FB_9_HSC_TEMP_C 0x20
105#define SENSOR_NUM_FB_9_HSC_P48V_VIN_VOLT_V 0x21
106#define SENSOR_NUM_FB_9_HSC_P48V_IOUT_CURR_A 0x22
107#define SENSOR_NUM_FB_9_HSC_P48V_PIN_PWR_W 0x23
108#define SENSOR_NUM_FB_10_HSC_TEMP_C 0x24
109#define SENSOR_NUM_FB_10_HSC_P48V_VIN_VOLT_V 0x25
110#define SENSOR_NUM_FB_10_HSC_P48V_IOUT_CURR_A 0x26
111#define SENSOR_NUM_FB_10_HSC_P48V_PIN_PWR_W 0x27
112#define SENSOR_NUM_FB_11_HSC_TEMP_C 0x28
113#define SENSOR_NUM_FB_11_HSC_P48V_VIN_VOLT_V 0x29
114#define SENSOR_NUM_FB_11_HSC_P48V_IOUT_CURR_A 0x2A
115#define SENSOR_NUM_FB_11_HSC_P48V_PIN_PWR_W 0x2B
116#define SENSOR_NUM_FB_12_HSC_TEMP_C 0x2C
117#define SENSOR_NUM_FB_12_HSC_P48V_VIN_VOLT_V 0x2D
118#define SENSOR_NUM_FB_12_HSC_P48V_IOUT_CURR_A 0x2E
119#define SENSOR_NUM_FB_12_HSC_P48V_PIN_PWR_W 0x2F
120#define SENSOR_NUM_FB_13_HSC_TEMP_C 0x30
121#define SENSOR_NUM_FB_13_HSC_P48V_VIN_VOLT_V 0x31
122#define SENSOR_NUM_FB_13_HSC_P48V_IOUT_CURR_A 0x32
123#define SENSOR_NUM_FB_13_HSC_P48V_PIN_PWR_W 0x33
124#define SENSOR_NUM_FB_14_HSC_TEMP_C 0x34
125#define SENSOR_NUM_FB_14_HSC_P48V_VIN_VOLT_V 0x35
126#define SENSOR_NUM_FB_14_HSC_P48V_IOUT_CURR_A 0x36
127#define SENSOR_NUM_FB_14_HSC_P48V_PIN_PWR_W 0x37
128#define SENSOR_NUM_PB_1_HSC_P48V_TEMP_C 0x38
129#define SENSOR_NUM_PB_1_HSC_P48V_VIN_VOLT_V 0x39
130#define SENSOR_NUM_PB_1_HSC_P48V_IOUT_CURR_A 0x3A
131#define SENSOR_NUM_PB_1_HSC_P48V_PIN_PWR_W 0x3B
132#define SENSOR_NUM_PB_2_HSC_P48V_TEMP_C 0x3C
133#define SENSOR_NUM_PB_2_HSC_P48V_VIN_VOLT_V 0x3D
134#define SENSOR_NUM_PB_2_HSC_P48V_IOUT_CURR_A 0x3E
135#define SENSOR_NUM_PB_2_HSC_P48V_PIN_PWR_W 0x3F
136#define SENSOR_NUM_PB_3_HSC_P48V_TEMP_C 0x40
137#define SENSOR_NUM_PB_3_HSC_P48V_VIN_VOLT_V 0x41
138#define SENSOR_NUM_PB_3_HSC_P48V_IOUT_CURR_A 0x42
139#define SENSOR_NUM_PB_3_HSC_P48V_PIN_PWR_W 0x43
140#define SENSOR_NUM_BB_HSC_P48V_TEMP_C 0x44
141#define SENSOR_NUM_BB_HSC_P48V_VIN_VOLT_V 0x45
142#define SENSOR_NUM_BB_HSC_P48V_IOUT_CURR_A 0x46
143#define SENSOR_NUM_BB_HSC_P48V_PIN_PWR_W 0x47
144#define SENSOR_NUM_BPB_HSC_P48V_TEMP_C 0x48
145#define SENSOR_NUM_BPB_HSC_P48V_VIN_VOLT_V 0x49
146#define SENSOR_NUM_BPB_HSC_P48V_IOUT_CURR_A 0x4A
147#define SENSOR_NUM_BPB_HSC_P48V_PIN_PWR_W 0x4B
148#define SENSOR_NUM_FB_1_FAN_TACH_RPM 0x4C
149#define SENSOR_NUM_FB_2_FAN_TACH_RPM 0x4D
150#define SENSOR_NUM_FB_3_FAN_TACH_RPM 0x4E
151#define SENSOR_NUM_FB_4_FAN_TACH_RPM 0x4F
152#define SENSOR_NUM_FB_5_FAN_TACH_RPM 0x50
153#define SENSOR_NUM_FB_6_FAN_TACH_RPM 0x51
154#define SENSOR_NUM_FB_7_FAN_TACH_RPM 0x52
155#define SENSOR_NUM_FB_8_FAN_TACH_RPM 0x53
156#define SENSOR_NUM_FB_9_FAN_TACH_RPM 0x54
157#define SENSOR_NUM_FB_10_FAN_TACH_RPM 0x55
158#define SENSOR_NUM_FB_11_FAN_TACH_RPM 0x56
159#define SENSOR_NUM_FB_12_FAN_TACH_RPM 0x57
160#define SENSOR_NUM_FB_13_FAN_TACH_RPM 0x58
161#define SENSOR_NUM_FB_14_FAN_TACH_RPM 0x59
162#define SENSOR_NUM_PB_1_PUMP_TACH_RPM 0x5A
163#define SENSOR_NUM_PB_1_FAN_1_TACH_RPM 0x5B
164#define SENSOR_NUM_PB_1_FAN_2_TACH_RPM 0x5C
165#define SENSOR_NUM_PB_2_PUMP_TACH_RPM 0x5D
166#define SENSOR_NUM_PB_2_FAN_1_TACH_RPM 0x5E
167#define SENSOR_NUM_PB_2_FAN_2_TACH_RPM 0x5F
168#define SENSOR_NUM_PB_3_PUMP_TACH_RPM 0x60
169#define SENSOR_NUM_PB_3_FAN_1_TACH_RPM 0x61
170#define SENSOR_NUM_PB_3_FAN_2_TACH_RPM 0x62
171#define SENSOR_NUM_MB_FAN1_TACH_RPM 0x63
172#define SENSOR_NUM_MB_FAN2_TACH_RPM 0x64
173#define SENSOR_NUM_BPB_RACK_LEVEL_1 0x65
174#define SENSOR_NUM_BPB_RACK_LEVEL_2 0x66
175#define SENSOR_NUM_BPB_RPU_COOLANT_INLET_P_KPA 0x67
176#define SENSOR_NUM_BPB_RPU_COOLANT_OUTLET_P_KPA 0x68
177#define SENSOR_NUM_BPB_RACK_PRESSURE_3_P_KPA 0x69
178#define SENSOR_NUM_BPB_RACK_PRESSURE_4_P_KPA 0x6A
179#define SENSOR_NUM_SB_HEX_PRESSURE_1_P_KPA 0x6B
180#define SENSOR_NUM_SB_HEX_PRESSURE_2_P_KPA 0x6C
181#define SENSOR_NUM_BPB_RPU_COOLANT_FLOW_RATE_LPM 0x6D
182#define SENSOR_NUM_FB_1_HEX_OUTLET_TEMP_C 0x6E
183#define SENSOR_NUM_FB_2_HEX_OUTLET_TEMP_C 0x6F
184#define SENSOR_NUM_FB_3_HEX_OUTLET_TEMP_C 0x70
185#define SENSOR_NUM_FB_4_HEX_OUTLET_TEMP_C 0x71
186#define SENSOR_NUM_FB_5_HEX_OUTLET_TEMP_C 0x72
187#define SENSOR_NUM_FB_6_HEX_OUTLET_TEMP_C 0x73
188#define SENSOR_NUM_FB_7_HEX_OUTLET_TEMP_C 0x74
189#define SENSOR_NUM_FB_8_HEX_OUTLET_TEMP_C 0x75
190#define SENSOR_NUM_FB_9_HEX_OUTLET_TEMP_C 0x76
191#define SENSOR_NUM_FB_10_HEX_OUTLET_TEMP_C 0x77
192#define SENSOR_NUM_FB_11_HEX_OUTLET_TEMP_C 0x78
193#define SENSOR_NUM_FB_12_HEX_OUTLET_TEMP_C 0x79
194#define SENSOR_NUM_FB_13_HEX_OUTLET_TEMP_C 0x7A
195#define SENSOR_NUM_FB_14_HEX_OUTLET_TEMP_C 0x7B
196#define SENSOR_NUM_PB_1_HDC1080DMBR_TEMP_C 0x7C
197#define SENSOR_NUM_PB_2_HDC1080DMBR_TEMP_C 0x7D
198#define SENSOR_NUM_PB_3_HDC1080DMBR_TEMP_C 0x7E
199#define SENSOR_NUM_BB_TMP75_TEMP_C 0x7F
200#define SENSOR_NUM_BPB_RPU_OUTLET_TEMP_C 0x80
201#define SENSOR_NUM_BPB_RPU_COOLANT_INLET_TEMP_C 0x81
202#define SENSOR_NUM_BPB_RPU_COOLANT_OUTLET_TEMP_C 0x82
203#define SENSOR_NUM_BPB_HEX_WATER_INLET_TEMP_C 0x83
204#define SENSOR_NUM_MB_RPU_AIR_INLET_TEMP_C 0x84
205#define SENSOR_NUM_PDB_HDC1080DMBR_TEMP_C 0x85
206#define SENSOR_NUM_SB_HEX_AIR_INLET_1_TEMP_C 0x86
207#define SENSOR_NUM_SB_HEX_AIR_INLET_2_TEMP_C 0x87
208#define SENSOR_NUM_SB_HEX_AIR_INLET_3_TEMP_C 0x88
209#define SENSOR_NUM_SB_HEX_AIR_INLET_4_TEMP_C 0x89
210#define SENSOR_NUM_FB_1_HUM_PCT_RH 0x8A
211#define SENSOR_NUM_FB_2_HUM_PCT_RH 0x8B
212#define SENSOR_NUM_FB_3_HUM_PCT_RH 0x8C
213#define SENSOR_NUM_FB_4_HUM_PCT_RH 0x8D
214#define SENSOR_NUM_FB_5_HUM_PCT_RH 0x8E
215#define SENSOR_NUM_FB_6_HUM_PCT_RH 0x8F
216#define SENSOR_NUM_FB_7_HUM_PCT_RH 0x90
217#define SENSOR_NUM_FB_8_HUM_PCT_RH 0x91
218#define SENSOR_NUM_FB_9_HUM_PCT_RH 0x92
219#define SENSOR_NUM_FB_10_HUM_PCT_RH 0x93
220#define SENSOR_NUM_FB_11_HUM_PCT_RH 0x94
221#define SENSOR_NUM_FB_12_HUM_PCT_RH 0x95
222#define SENSOR_NUM_FB_13_HUM_PCT_RH 0x96
223#define SENSOR_NUM_FB_14_HUM_PCT_RH 0x97
224#define SENSOR_NUM_MB_HUM_PCT_RH 0x98
225#define SENSOR_NUM_PDB_HUM_PCT_RH 0x99
226#define SENSOR_NUM_PB_1_HUM_PCT_RH 0x9A
227#define SENSOR_NUM_PB_2_HUM_PCT_RH 0x9B
228#define SENSOR_NUM_PB_3_HUM_PCT_RH 0x9C
229#define SENSOR_NUM_V_12_AUX 0x9D
230#define SENSOR_NUM_V_5_AUX 0x9E
231#define SENSOR_NUM_V_3_3_AUX 0x9F
232#define SENSOR_NUM_V_1_2_AUX 0xA0
233#define SENSOR_NUM_V_5_USB 0xA1
234#define SENSOR_NUM_BPB_CDU_COOLANT_LEAKAGE_VOLT_V 0xA2
235#define SENSOR_NUM_BPB_RACK_COOLANT_LEAKAGE_VOLT_V 0xA3
236#define SENSOR_NUM_SB_TTV_COOLANT_LEAKAGE_1_VOLT_V 0xA4
237#define SENSOR_NUM_SB_TTV_COOLANT_LEAKAGE_2_VOLT_V 0xA5
238#define SENSOR_NUM_SB_TTV_COOLANT_LEAKAGE_3_VOLT_V 0xA6
239#define SENSOR_NUM_PDB_48V_SENSE_DIFF_POS_VOLT_V 0xA7
240#define SENSOR_NUM_PDB_48V_SENSE_DIFF_NEG_VOLT_V 0xA8
241#define SENSOR_NUM_BPB_BRICK_12V_VIN_VOLT_V 0xA9
242#define SENSOR_NUM_BPB_BRICK_12V_VOUT_VOLT_V 0xAA
243#define SENSOR_NUM_BPB_BRICK_12V_IOUT_CURR_A 0xAB
244#define SENSOR_NUM_BPB_BRICK_12V_TEMP_C 0xAC
245#define SENSOR_NUM_BPB_RPU_LEVEL 0xAD
248#define SENSOR_NUM_RPU_PWR_W 0xC0
249#define SENSOR_NUM_HEX_PWR_W 0xC1
250#define SENSOR_NUM_AALC_TOTAL_PWR_W 0xC2
251#define SENSOR_NUM_HEX_CURR_A 0xC3
252#define SENSOR_NUM_HEX_EXTERNAL_Y_FILTER 0xC4
253#define SENSOR_NUM_FAN_PRSNT 0xC5
254#define SENSOR_NUM_SB_HEX_AIR_INLET_AVG_TEMP_C 0xC6
255#define SENSOR_NUM_COOLING_CAPACITY 0xC7
258#define SENSOR_NUM_IT_LEAK_0_GPIO 0xD0
259#define SENSOR_NUM_IT_LEAK_1_GPIO 0xD1
260#define SENSOR_NUM_IT_LEAK_2_GPIO 0xD2
261#define SENSOR_NUM_IT_LEAK_3_GPIO 0xD3
264#define SENSOR_NUM_EMERGENCY_BUTTON_TRIGGERED 0xE0
uint8_t sensor_num
Definition: storage_handler.h:6