blob: a10a89e7ee36a93624f19f029c872b1f65a0c9bb [file] [log] [blame]
Patrick Williams75fe8cc2022-07-22 16:12:12 -05001# System states
2# state can change to next state in 2 ways:
3# - a process emits a GotoSystemState signal with state name to goto
4# - objects specified in EXIT_STATE_DEPEND have started
Yi Lie5fe5222016-06-16 13:02:52 -04005SYSTEM_STATES = [
Patrick Williams75fe8cc2022-07-22 16:12:12 -05006 "BASE_APPS",
7 "BMC_STARTING",
8 "BMC_READY",
9 "HOST_POWERING_ON",
10 "HOST_POWERED_ON",
11 "HOST_BOOTING",
12 "HOST_BOOTED",
13 "HOST_POWERED_OFF",
Yi Lie5fe5222016-06-16 13:02:52 -040014]
15
16EXIT_STATE_DEPEND = {
Patrick Williams75fe8cc2022-07-22 16:12:12 -050017 "BASE_APPS": {
18 "/org/openbmc/sensors": 0,
Yi Lie5fe5222016-06-16 13:02:52 -040019 },
Patrick Williams75fe8cc2022-07-22 16:12:12 -050020 "BMC_STARTING": {
21 "/org/openbmc/control/chassis0": 0,
22 "/org/openbmc/control/power0": 0,
23 "/org/openbmc/control/flash/bios": 0,
Yi Lie5fe5222016-06-16 13:02:52 -040024 },
25}
26
Yi Lie5fe5222016-06-16 13:02:52 -040027FRU_INSTANCES = {
Patrick Williams75fe8cc2022-07-22 16:12:12 -050028 "<inventory_root>/system": {
29 "fru_type": "SYSTEM",
30 "is_fru": True,
31 "present": "True",
32 },
33 "<inventory_root>/system/bios": {
34 "fru_type": "SYSTEM",
35 "is_fru": True,
36 "present": "True",
37 },
38 "<inventory_root>/system/misc": {
39 "fru_type": "SYSTEM",
40 "is_fru": False,
41 },
42 "<inventory_root>/system/chassis": {
43 "fru_type": "SYSTEM",
44 "is_fru": True,
45 "present": "True",
46 },
47 "<inventory_root>/system/chassis/motherboard": {
48 "fru_type": "MAIN_PLANAR",
49 "is_fru": True,
50 },
51 "<inventory_root>/system/systemevent": {
52 "fru_type": "SYSTEM_EVENT",
53 "is_fru": False,
54 },
55 "<inventory_root>/system/chassis/motherboard/refclock": {
56 "fru_type": "MAIN_PLANAR",
57 "is_fru": False,
58 },
59 "<inventory_root>/system/chassis/motherboard/pcieclock": {
60 "fru_type": "MAIN_PLANAR",
61 "is_fru": False,
62 },
63 "<inventory_root>/system/chassis/motherboard/todclock": {
64 "fru_type": "MAIN_PLANAR",
65 "is_fru": False,
66 },
67 "<inventory_root>/system/chassis/motherboard/apss": {
68 "fru_type": "MAIN_PLANAR",
69 "is_fru": False,
70 },
71 "<inventory_root>/system/chassis/fan0": {
72 "fru_type": "FAN",
73 "is_fru": True,
74 },
75 "<inventory_root>/system/chassis/fan1": {
76 "fru_type": "FAN",
77 "is_fru": True,
78 },
79 "<inventory_root>/system/chassis/fan2": {
80 "fru_type": "FAN",
81 "is_fru": True,
82 },
83 "<inventory_root>/system/chassis/fan3": {
84 "fru_type": "FAN",
85 "is_fru": True,
86 },
87 "<inventory_root>/system/chassis/motherboard/bmc": {
88 "fru_type": "BMC",
89 "is_fru": False,
90 "manufacturer": "ASPEED",
91 },
92 "<inventory_root>/system/chassis/motherboard/cpu0": {
93 "fru_type": "CPU",
94 "is_fru": True,
95 },
96 "<inventory_root>/system/chassis/motherboard/cpu1": {
97 "fru_type": "CPU",
98 "is_fru": True,
99 },
100 "<inventory_root>/system/chassis/motherboard/cpu0/core0": {
101 "fru_type": "CORE",
102 "is_fru": False,
103 },
104 "<inventory_root>/system/chassis/motherboard/cpu0/core1": {
105 "fru_type": "CORE",
106 "is_fru": False,
107 },
108 "<inventory_root>/system/chassis/motherboard/cpu0/core2": {
109 "fru_type": "CORE",
110 "is_fru": False,
111 },
112 "<inventory_root>/system/chassis/motherboard/cpu0/core3": {
113 "fru_type": "CORE",
114 "is_fru": False,
115 },
116 "<inventory_root>/system/chassis/motherboard/cpu0/core4": {
117 "fru_type": "CORE",
118 "is_fru": False,
119 },
120 "<inventory_root>/system/chassis/motherboard/cpu0/core5": {
121 "fru_type": "CORE",
122 "is_fru": False,
123 },
124 "<inventory_root>/system/chassis/motherboard/cpu0/core6": {
125 "fru_type": "CORE",
126 "is_fru": False,
127 },
128 "<inventory_root>/system/chassis/motherboard/cpu0/core7": {
129 "fru_type": "CORE",
130 "is_fru": False,
131 },
132 "<inventory_root>/system/chassis/motherboard/cpu0/core8": {
133 "fru_type": "CORE",
134 "is_fru": False,
135 },
136 "<inventory_root>/system/chassis/motherboard/cpu0/core9": {
137 "fru_type": "CORE",
138 "is_fru": False,
139 },
140 "<inventory_root>/system/chassis/motherboard/cpu0/core10": {
141 "fru_type": "CORE",
142 "is_fru": False,
143 },
144 "<inventory_root>/system/chassis/motherboard/cpu0/core11": {
145 "fru_type": "CORE",
146 "is_fru": False,
147 },
148 "<inventory_root>/system/chassis/motherboard/cpu1/core0": {
149 "fru_type": "CORE",
150 "is_fru": False,
151 },
152 "<inventory_root>/system/chassis/motherboard/cpu1/core1": {
153 "fru_type": "CORE",
154 "is_fru": False,
155 },
156 "<inventory_root>/system/chassis/motherboard/cpu1/core2": {
157 "fru_type": "CORE",
158 "is_fru": False,
159 },
160 "<inventory_root>/system/chassis/motherboard/cpu1/core3": {
161 "fru_type": "CORE",
162 "is_fru": False,
163 },
164 "<inventory_root>/system/chassis/motherboard/cpu1/core4": {
165 "fru_type": "CORE",
166 "is_fru": False,
167 },
168 "<inventory_root>/system/chassis/motherboard/cpu1/core5": {
169 "fru_type": "CORE",
170 "is_fru": False,
171 },
172 "<inventory_root>/system/chassis/motherboard/cpu1/core6": {
173 "fru_type": "CORE",
174 "is_fru": False,
175 },
176 "<inventory_root>/system/chassis/motherboard/cpu1/core7": {
177 "fru_type": "CORE",
178 "is_fru": False,
179 },
180 "<inventory_root>/system/chassis/motherboard/cpu1/core8": {
181 "fru_type": "CORE",
182 "is_fru": False,
183 },
184 "<inventory_root>/system/chassis/motherboard/cpu1/core9": {
185 "fru_type": "CORE",
186 "is_fru": False,
187 },
188 "<inventory_root>/system/chassis/motherboard/cpu1/core10": {
189 "fru_type": "CORE",
190 "is_fru": False,
191 },
192 "<inventory_root>/system/chassis/motherboard/cpu1/core11": {
193 "fru_type": "CORE",
194 "is_fru": False,
195 },
196 "<inventory_root>/system/chassis/motherboard/membuf0": {
197 "fru_type": "MEMORY_BUFFER",
198 "is_fru": False,
199 },
200 "<inventory_root>/system/chassis/motherboard/membuf1": {
201 "fru_type": "MEMORY_BUFFER",
202 "is_fru": False,
203 },
204 "<inventory_root>/system/chassis/motherboard/membuf2": {
205 "fru_type": "MEMORY_BUFFER",
206 "is_fru": False,
207 },
208 "<inventory_root>/system/chassis/motherboard/membuf3": {
209 "fru_type": "MEMORY_BUFFER",
210 "is_fru": False,
211 },
212 "<inventory_root>/system/chassis/motherboard/membuf4": {
213 "fru_type": "MEMORY_BUFFER",
214 "is_fru": False,
215 },
216 "<inventory_root>/system/chassis/motherboard/membuf5": {
217 "fru_type": "MEMORY_BUFFER",
218 "is_fru": False,
219 },
220 "<inventory_root>/system/chassis/motherboard/membuf6": {
221 "fru_type": "MEMORY_BUFFER",
222 "is_fru": False,
223 },
224 "<inventory_root>/system/chassis/motherboard/membuf7": {
225 "fru_type": "MEMORY_BUFFER",
226 "is_fru": False,
227 },
228 "<inventory_root>/system/chassis/motherboard/dimm0": {
229 "fru_type": "DIMM",
230 "is_fru": True,
231 },
232 "<inventory_root>/system/chassis/motherboard/dimm1": {
233 "fru_type": "DIMM",
234 "is_fru": True,
235 },
236 "<inventory_root>/system/chassis/motherboard/dimm2": {
237 "fru_type": "DIMM",
238 "is_fru": True,
239 },
240 "<inventory_root>/system/chassis/motherboard/dimm3": {
241 "fru_type": "DIMM",
242 "is_fru": True,
243 },
244 "<inventory_root>/system/chassis/motherboard/dimm4": {
245 "fru_type": "DIMM",
246 "is_fru": True,
247 },
248 "<inventory_root>/system/chassis/motherboard/dimm5": {
249 "fru_type": "DIMM",
250 "is_fru": True,
251 },
252 "<inventory_root>/system/chassis/motherboard/dimm6": {
253 "fru_type": "DIMM",
254 "is_fru": True,
255 },
256 "<inventory_root>/system/chassis/motherboard/dimm7": {
257 "fru_type": "DIMM",
258 "is_fru": True,
259 },
260 "<inventory_root>/system/chassis/motherboard/dimm8": {
261 "fru_type": "DIMM",
262 "is_fru": True,
263 },
264 "<inventory_root>/system/chassis/motherboard/dimm9": {
265 "fru_type": "DIMM",
266 "is_fru": True,
267 },
268 "<inventory_root>/system/chassis/motherboard/dimm10": {
269 "fru_type": "DIMM",
270 "is_fru": True,
271 },
272 "<inventory_root>/system/chassis/motherboard/dimm11": {
273 "fru_type": "DIMM",
274 "is_fru": True,
275 },
276 "<inventory_root>/system/chassis/motherboard/dimm12": {
277 "fru_type": "DIMM",
278 "is_fru": True,
279 },
280 "<inventory_root>/system/chassis/motherboard/dimm13": {
281 "fru_type": "DIMM",
282 "is_fru": True,
283 },
284 "<inventory_root>/system/chassis/motherboard/dimm14": {
285 "fru_type": "DIMM",
286 "is_fru": True,
287 },
288 "<inventory_root>/system/chassis/motherboard/dimm15": {
289 "fru_type": "DIMM",
290 "is_fru": True,
291 },
292 "<inventory_root>/system/chassis/motherboard/dimm16": {
293 "fru_type": "DIMM",
294 "is_fru": True,
295 },
296 "<inventory_root>/system/chassis/motherboard/dimm17": {
297 "fru_type": "DIMM",
298 "is_fru": True,
299 },
300 "<inventory_root>/system/chassis/motherboard/dimm18": {
301 "fru_type": "DIMM",
302 "is_fru": True,
303 },
304 "<inventory_root>/system/chassis/motherboard/dimm19": {
305 "fru_type": "DIMM",
306 "is_fru": True,
307 },
308 "<inventory_root>/system/chassis/motherboard/dimm20": {
309 "fru_type": "DIMM",
310 "is_fru": True,
311 },
312 "<inventory_root>/system/chassis/motherboard/dimm21": {
313 "fru_type": "DIMM",
314 "is_fru": True,
315 },
316 "<inventory_root>/system/chassis/motherboard/dimm22": {
317 "fru_type": "DIMM",
318 "is_fru": True,
319 },
320 "<inventory_root>/system/chassis/motherboard/dimm23": {
321 "fru_type": "DIMM",
322 "is_fru": True,
323 },
324 "<inventory_root>/system/chassis/motherboard/dimm24": {
325 "fru_type": "DIMM",
326 "is_fru": True,
327 },
328 "<inventory_root>/system/chassis/motherboard/dimm25": {
329 "fru_type": "DIMM",
330 "is_fru": True,
331 },
332 "<inventory_root>/system/chassis/motherboard/dimm26": {
333 "fru_type": "DIMM",
334 "is_fru": True,
335 },
336 "<inventory_root>/system/chassis/motherboard/dimm27": {
337 "fru_type": "DIMM",
338 "is_fru": True,
339 },
340 "<inventory_root>/system/chassis/motherboard/dimm28": {
341 "fru_type": "DIMM",
342 "is_fru": True,
343 },
344 "<inventory_root>/system/chassis/motherboard/dimm29": {
345 "fru_type": "DIMM",
346 "is_fru": True,
347 },
348 "<inventory_root>/system/chassis/motherboard/dimm30": {
349 "fru_type": "DIMM",
350 "is_fru": True,
351 },
352 "<inventory_root>/system/chassis/motherboard/dimm31": {
353 "fru_type": "DIMM",
354 "is_fru": True,
355 },
Yi Lie5fe5222016-06-16 13:02:52 -0400356}
357
358ID_LOOKUP = {
Patrick Williams75fe8cc2022-07-22 16:12:12 -0500359 "FRU": {
360 0x01: "<inventory_root>/system/chassis/motherboard/cpu0",
361 0x02: "<inventory_root>/system/chassis/motherboard/cpu1",
362 0x03: "<inventory_root>/system/chassis/motherboard",
363 0x04: "<inventory_root>/system/chassis/motherboard/membuf0",
364 0x05: "<inventory_root>/system/chassis/motherboard/membuf1",
365 0x06: "<inventory_root>/system/chassis/motherboard/membuf2",
366 0x07: "<inventory_root>/system/chassis/motherboard/membuf3",
367 0x08: "<inventory_root>/system/chassis/motherboard/membuf4",
368 0x09: "<inventory_root>/system/chassis/motherboard/membuf5",
369 0x0C: "<inventory_root>/system/chassis/motherboard/dimm0",
370 0x0D: "<inventory_root>/system/chassis/motherboard/dimm1",
371 0x0E: "<inventory_root>/system/chassis/motherboard/dimm2",
372 0x0F: "<inventory_root>/system/chassis/motherboard/dimm3",
373 0x10: "<inventory_root>/system/chassis/motherboard/dimm4",
374 0x11: "<inventory_root>/system/chassis/motherboard/dimm5",
375 0x12: "<inventory_root>/system/chassis/motherboard/dimm6",
376 0x13: "<inventory_root>/system/chassis/motherboard/dimm7",
377 0x14: "<inventory_root>/system/chassis/motherboard/dimm8",
378 0x15: "<inventory_root>/system/chassis/motherboard/dimm9",
379 0x16: "<inventory_root>/system/chassis/motherboard/dimm10",
380 0x17: "<inventory_root>/system/chassis/motherboard/dimm11",
381 0x18: "<inventory_root>/system/chassis/motherboard/dimm12",
382 0x19: "<inventory_root>/system/chassis/motherboard/dimm13",
383 0x1A: "<inventory_root>/system/chassis/motherboard/dimm14",
384 0x1B: "<inventory_root>/system/chassis/motherboard/dimm15",
385 0x1C: "<inventory_root>/system/chassis/motherboard/dimm16",
386 0x1D: "<inventory_root>/system/chassis/motherboard/dimm17",
387 0x1E: "<inventory_root>/system/chassis/motherboard/dimm18",
388 0x1F: "<inventory_root>/system/chassis/motherboard/dimm19",
389 0x20: "<inventory_root>/system/chassis/motherboard/dimm20",
390 0x21: "<inventory_root>/system/chassis/motherboard/dimm21",
391 0x22: "<inventory_root>/system/chassis/motherboard/dimm22",
392 0x23: "<inventory_root>/system/chassis/motherboard/dimm23",
393 0x24: "<inventory_root>/system/chassis/motherboard/dimm24",
394 0x25: "<inventory_root>/system/chassis/motherboard/dimm25",
395 0x26: "<inventory_root>/system/chassis/motherboard/dimm26",
396 0x27: "<inventory_root>/system/chassis/motherboard/dimm27",
397 0x28: "<inventory_root>/system/chassis/motherboard/dimm28",
398 0x29: "<inventory_root>/system/chassis/motherboard/dimm29",
399 0x2A: "<inventory_root>/system/chassis/motherboard/dimm30",
400 0x2B: "<inventory_root>/system/chassis/motherboard/dimm31",
Yi Lie5fe5222016-06-16 13:02:52 -0400401 },
Patrick Williams75fe8cc2022-07-22 16:12:12 -0500402 "FRU_STR": {
403 "PRODUCT_0": "<inventory_root>/system/bios",
404 "BOARD_1": "<inventory_root>/system/chassis/motherboard/cpu0",
405 "BOARD_2": "<inventory_root>/system/chassis/motherboard/cpu1",
406 "CHASSIS_3": "<inventory_root>/system/chassis/motherboard",
407 "BOARD_3": "<inventory_root>/system/misc",
408 "BOARD_4": "<inventory_root>/system/chassis/motherboard/membuf0",
409 "BOARD_5": "<inventory_root>/system/chassis/motherboard/membuf1",
410 "BOARD_6": "<inventory_root>/system/chassis/motherboard/membuf2",
411 "BOARD_7": "<inventory_root>/system/chassis/motherboard/membuf3",
412 "BOARD_8": "<inventory_root>/system/chassis/motherboard/membuf4",
413 "BOARD_9": "<inventory_root>/system/chassis/motherboard/membuf5",
414 "BOARD_10": "<inventory_root>/system/chassis/motherboard/membuf6",
415 "BOARD_11": "<inventory_root>/system/chassis/motherboard/membuf7",
416 "PRODUCT_12": "<inventory_root>/system/chassis/motherboard/dimm0",
417 "PRODUCT_13": "<inventory_root>/system/chassis/motherboard/dimm1",
418 "PRODUCT_14": "<inventory_root>/system/chassis/motherboard/dimm2",
419 "PRODUCT_15": "<inventory_root>/system/chassis/motherboard/dimm3",
420 "PRODUCT_16": "<inventory_root>/system/chassis/motherboard/dimm4",
421 "PRODUCT_17": "<inventory_root>/system/chassis/motherboard/dimm5",
422 "PRODUCT_18": "<inventory_root>/system/chassis/motherboard/dimm6",
423 "PRODUCT_19": "<inventory_root>/system/chassis/motherboard/dimm7",
424 "PRODUCT_20": "<inventory_root>/system/chassis/motherboard/dimm8",
425 "PRODUCT_21": "<inventory_root>/system/chassis/motherboard/dimm9",
426 "PRODUCT_22": "<inventory_root>/system/chassis/motherboard/dimm10",
427 "PRODUCT_23": "<inventory_root>/system/chassis/motherboard/dimm11",
428 "PRODUCT_24": "<inventory_root>/system/chassis/motherboard/dimm12",
429 "PRODUCT_25": "<inventory_root>/system/chassis/motherboard/dimm13",
430 "PRODUCT_26": "<inventory_root>/system/chassis/motherboard/dimm14",
431 "PRODUCT_27": "<inventory_root>/system/chassis/motherboard/dimm15",
432 "PRODUCT_28": "<inventory_root>/system/chassis/motherboard/dimm16",
433 "PRODUCT_29": "<inventory_root>/system/chassis/motherboard/dimm17",
434 "PRODUCT_30": "<inventory_root>/system/chassis/motherboard/dimm18",
435 "PRODUCT_31": "<inventory_root>/system/chassis/motherboard/dimm19",
436 "PRODUCT_32": "<inventory_root>/system/chassis/motherboard/dimm20",
437 "PRODUCT_33": "<inventory_root>/system/chassis/motherboard/dimm21",
438 "PRODUCT_34": "<inventory_root>/system/chassis/motherboard/dimm22",
439 "PRODUCT_35": "<inventory_root>/system/chassis/motherboard/dimm23",
440 "PRODUCT_36": "<inventory_root>/system/chassis/motherboard/dimm24",
441 "PRODUCT_37": "<inventory_root>/system/chassis/motherboard/dimm25",
442 "PRODUCT_38": "<inventory_root>/system/chassis/motherboard/dimm26",
443 "PRODUCT_39": "<inventory_root>/system/chassis/motherboard/dimm27",
444 "PRODUCT_40": "<inventory_root>/system/chassis/motherboard/dimm28",
445 "PRODUCT_41": "<inventory_root>/system/chassis/motherboard/dimm29",
446 "PRODUCT_42": "<inventory_root>/system/chassis/motherboard/dimm30",
447 "PRODUCT_43": "<inventory_root>/system/chassis/motherboard/dimm31",
448 "PRODUCT_47": "<inventory_root>/system/misc",
Yi Lie5fe5222016-06-16 13:02:52 -0400449 },
Patrick Williams75fe8cc2022-07-22 16:12:12 -0500450 "SENSOR": {
451 0x02: "/org/openbmc/sensors/host/HostStatus",
452 0x03: "/org/openbmc/sensors/host/BootProgress",
453 0x5A: "<inventory_root>/system/chassis/motherboard/cpu0",
454 0xA4: "<inventory_root>/system/chassis/motherboard/cpu1",
455 0x1E: "<inventory_root>/system/chassis/motherboard/dimm3",
456 0x1F: "<inventory_root>/system/chassis/motherboard/dimm2",
457 0x20: "<inventory_root>/system/chassis/motherboard/dimm1",
458 0x21: "<inventory_root>/system/chassis/motherboard/dimm0",
459 0x22: "<inventory_root>/system/chassis/motherboard/dimm7",
460 0x23: "<inventory_root>/system/chassis/motherboard/dimm6",
461 0x24: "<inventory_root>/system/chassis/motherboard/dimm5",
462 0x25: "<inventory_root>/system/chassis/motherboard/dimm4",
463 0x26: "<inventory_root>/system/chassis/motherboard/dimm11",
464 0x27: "<inventory_root>/system/chassis/motherboard/dimm10",
465 0x28: "<inventory_root>/system/chassis/motherboard/dimm9",
466 0x29: "<inventory_root>/system/chassis/motherboard/dimm8",
467 0x2A: "<inventory_root>/system/chassis/motherboard/dimm15",
468 0x2B: "<inventory_root>/system/chassis/motherboard/dimm14",
469 0x2C: "<inventory_root>/system/chassis/motherboard/dimm13",
470 0x2D: "<inventory_root>/system/chassis/motherboard/dimm12",
471 0x2E: "<inventory_root>/system/chassis/motherboard/dimm19",
472 0x2F: "<inventory_root>/system/chassis/motherboard/dimm18",
473 0x30: "<inventory_root>/system/chassis/motherboard/dimm17",
474 0x31: "<inventory_root>/system/chassis/motherboard/dimm16",
475 0x32: "<inventory_root>/system/chassis/motherboard/dimm23",
476 0x33: "<inventory_root>/system/chassis/motherboard/dimm22",
477 0x34: "<inventory_root>/system/chassis/motherboard/dimm21",
478 0x35: "<inventory_root>/system/chassis/motherboard/dimm20",
479 0x36: "<inventory_root>/system/chassis/motherboard/dimm27",
480 0x37: "<inventory_root>/system/chassis/motherboard/dimm26",
481 0x38: "<inventory_root>/system/chassis/motherboard/dimm25",
482 0x39: "<inventory_root>/system/chassis/motherboard/dimm24",
483 0x3A: "<inventory_root>/system/chassis/motherboard/dimm31",
484 0x3B: "<inventory_root>/system/chassis/motherboard/dimm30",
485 0x3C: "<inventory_root>/system/chassis/motherboard/dimm29",
486 0x3D: "<inventory_root>/system/chassis/motherboard/dimm28",
487 0x3E: "<inventory_root>/system/chassis/motherboard/cpu0/core0",
488 0x3F: "<inventory_root>/system/chassis/motherboard/cpu0/core1",
489 0x40: "<inventory_root>/system/chassis/motherboard/cpu0/core2",
490 0x41: "<inventory_root>/system/chassis/motherboard/cpu0/core3",
491 0x42: "<inventory_root>/system/chassis/motherboard/cpu0/core4",
492 0x43: "<inventory_root>/system/chassis/motherboard/cpu0/core5",
493 0x44: "<inventory_root>/system/chassis/motherboard/cpu0/core6",
494 0x45: "<inventory_root>/system/chassis/motherboard/cpu0/core7",
495 0x46: "<inventory_root>/system/chassis/motherboard/cpu0/core8",
496 0x47: "<inventory_root>/system/chassis/motherboard/cpu0/core9",
497 0x48: "<inventory_root>/system/chassis/motherboard/cpu0/core10",
498 0x49: "<inventory_root>/system/chassis/motherboard/cpu0/core11",
499 0x4A: "<inventory_root>/system/chassis/motherboard/cpu1/core0",
500 0x4B: "<inventory_root>/system/chassis/motherboard/cpu1/core1",
501 0x4C: "<inventory_root>/system/chassis/motherboard/cpu1/core2",
502 0x4D: "<inventory_root>/system/chassis/motherboard/cpu1/core3",
503 0x4E: "<inventory_root>/system/chassis/motherboard/cpu1/core4",
504 0x4F: "<inventory_root>/system/chassis/motherboard/cpu1/core5",
505 0x50: "<inventory_root>/system/chassis/motherboard/cpu1/core6",
506 0x51: "<inventory_root>/system/chassis/motherboard/cpu1/core7",
507 0x52: "<inventory_root>/system/chassis/motherboard/cpu1/core8",
508 0x53: "<inventory_root>/system/chassis/motherboard/cpu1/core9",
509 0x54: "<inventory_root>/system/chassis/motherboard/cpu1/core10",
510 0x55: "<inventory_root>/system/chassis/motherboard/cpu1/core11",
511 0x56: "<inventory_root>/system/chassis/motherboard/membuf0",
512 0x57: "<inventory_root>/system/chassis/motherboard/membuf1",
513 0x58: "<inventory_root>/system/chassis/motherboard/membuf2",
514 0x59: "<inventory_root>/system/chassis/motherboard/membuf3",
515 0x5A: "<inventory_root>/system/chassis/motherboard/membuf4",
516 0x5B: "<inventory_root>/system/chassis/motherboard/membuf5",
517 0x5C: "<inventory_root>/system/chassis/motherboard/membuf6",
518 0x5D: "<inventory_root>/system/chassis/motherboard/membuf7",
519 0x07: "/org/openbmc/sensors/host/BootCount",
520 0x0C: "<inventory_root>/system/chassis/motherboard",
521 0x01: "<inventory_root>/system/systemevent",
522 0x08: "<inventory_root>/system/powerlimit",
523 0x0D: "<inventory_root>/system/chassis/motherboard/refclock",
524 0x0E: "<inventory_root>/system/chassis/motherboard/pcieclock",
525 0x0F: "<inventory_root>/system/chassis/motherboard/todclock",
526 0x10: "<inventory_root>/system/chassis/motherboard/apss",
527 0x02: "/org/openbmc/sensors/host/OperatingSystemStatus",
528 0x04: "<inventory_root>/system/chassis/motherboard/pcielink",
529 0x0B: "/xyz/openbmc_project/sensors/chassis/PowerSupplyRedundancy",
530 0xDA: "/org/openbmc/sensors/host/TurboAllowed",
531 0xD8: "/org/openbmc/sensors/host/PowerSupplyDerating",
Yi Lie5fe5222016-06-16 13:02:52 -0400532 },
Patrick Williams75fe8cc2022-07-22 16:12:12 -0500533 "GPIO_PRESENT": {},
Yi Lie5fe5222016-06-16 13:02:52 -0400534}
535
Xo Wang4088ec32016-09-22 13:00:58 -0700536
Yi Lie5fe5222016-06-16 13:02:52 -0400537# Miscellaneous non-poll sensor with system specific properties.
538# The sensor id is the same as those defined in ID_LOOKUP['SENSOR'].
539MISC_SENSORS = {
Jayanth Othayothe688d942017-03-27 08:31:22 -0500540 # Garrison value is used, Not in P9 XML yet.
Yi Lie5fe5222016-06-16 13:02:52 -0400541}
Brad Bishop53066752016-09-21 08:48:04 -0400542
543# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4