blob: 837c607800781790f8e936b45b162bdad418f03a [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
Ken Chen8506f282017-04-26 10:52:28 +08005SYSTEM_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",
Ken Chen8506f282017-04-26 10:52:28 +080014]
15
16EXIT_STATE_DEPEND = {
Patrick Williams75fe8cc2022-07-22 16:12:12 -050017 "BASE_APPS": {
18 "/org/openbmc/sensors": 0,
Ken Chen8506f282017-04-26 10:52:28 +080019 },
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,
Ken Chen8506f282017-04-26 10:52:28 +080024 },
25}
26
27FRU_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/fan0": {
68 "fru_type": "FAN",
69 "is_fru": True,
70 },
71 "<inventory_root>/system/chassis/fan1": {
72 "fru_type": "FAN",
73 "is_fru": True,
74 },
75 "<inventory_root>/system/chassis/fan2": {
76 "fru_type": "FAN",
77 "is_fru": True,
78 },
79 "<inventory_root>/system/chassis/motherboard/bmc": {
80 "fru_type": "BMC",
81 "is_fru": False,
82 "manufacturer": "ASPEED",
83 },
84 "<inventory_root>/system/chassis/motherboard/cpu0": {
85 "fru_type": "CPU",
86 "is_fru": True,
87 },
88 "<inventory_root>/system/chassis/motherboard/cpu1": {
89 "fru_type": "CPU",
90 "is_fru": True,
91 },
92 "<inventory_root>/system/chassis/motherboard/cpu0/core0": {
93 "fru_type": "CORE",
94 "is_fru": False,
95 },
96 "<inventory_root>/system/chassis/motherboard/cpu0/core1": {
97 "fru_type": "CORE",
98 "is_fru": False,
99 },
100 "<inventory_root>/system/chassis/motherboard/cpu0/core2": {
101 "fru_type": "CORE",
102 "is_fru": False,
103 },
104 "<inventory_root>/system/chassis/motherboard/cpu0/core3": {
105 "fru_type": "CORE",
106 "is_fru": False,
107 },
108 "<inventory_root>/system/chassis/motherboard/cpu0/core4": {
109 "fru_type": "CORE",
110 "is_fru": False,
111 },
112 "<inventory_root>/system/chassis/motherboard/cpu0/core5": {
113 "fru_type": "CORE",
114 "is_fru": False,
115 },
116 "<inventory_root>/system/chassis/motherboard/cpu0/core6": {
117 "fru_type": "CORE",
118 "is_fru": False,
119 },
120 "<inventory_root>/system/chassis/motherboard/cpu0/core7": {
121 "fru_type": "CORE",
122 "is_fru": False,
123 },
124 "<inventory_root>/system/chassis/motherboard/cpu0/core8": {
125 "fru_type": "CORE",
126 "is_fru": False,
127 },
128 "<inventory_root>/system/chassis/motherboard/cpu0/core9": {
129 "fru_type": "CORE",
130 "is_fru": False,
131 },
132 "<inventory_root>/system/chassis/motherboard/cpu0/core10": {
133 "fru_type": "CORE",
134 "is_fru": False,
135 },
136 "<inventory_root>/system/chassis/motherboard/cpu0/core11": {
137 "fru_type": "CORE",
138 "is_fru": False,
139 },
140 "<inventory_root>/system/chassis/motherboard/cpu0/core12": {
141 "fru_type": "CORE",
142 "is_fru": False,
143 },
144 "<inventory_root>/system/chassis/motherboard/cpu0/core13": {
145 "fru_type": "CORE",
146 "is_fru": False,
147 },
148 "<inventory_root>/system/chassis/motherboard/cpu0/core14": {
149 "fru_type": "CORE",
150 "is_fru": False,
151 },
152 "<inventory_root>/system/chassis/motherboard/cpu0/core15": {
153 "fru_type": "CORE",
154 "is_fru": False,
155 },
156 "<inventory_root>/system/chassis/motherboard/cpu0/core16": {
157 "fru_type": "CORE",
158 "is_fru": False,
159 },
160 "<inventory_root>/system/chassis/motherboard/cpu0/core17": {
161 "fru_type": "CORE",
162 "is_fru": False,
163 },
164 "<inventory_root>/system/chassis/motherboard/cpu0/core18": {
165 "fru_type": "CORE",
166 "is_fru": False,
167 },
168 "<inventory_root>/system/chassis/motherboard/cpu0/core19": {
169 "fru_type": "CORE",
170 "is_fru": False,
171 },
172 "<inventory_root>/system/chassis/motherboard/cpu0/core20": {
173 "fru_type": "CORE",
174 "is_fru": False,
175 },
176 "<inventory_root>/system/chassis/motherboard/cpu0/core21": {
177 "fru_type": "CORE",
178 "is_fru": False,
179 },
180 "<inventory_root>/system/chassis/motherboard/cpu0/core22": {
181 "fru_type": "CORE",
182 "is_fru": False,
183 },
184 "<inventory_root>/system/chassis/motherboard/cpu0/core23": {
185 "fru_type": "CORE",
186 "is_fru": False,
187 },
188 "<inventory_root>/system/chassis/motherboard/cpu1/core0": {
189 "fru_type": "CORE",
190 "is_fru": False,
191 },
192 "<inventory_root>/system/chassis/motherboard/cpu1/core1": {
193 "fru_type": "CORE",
194 "is_fru": False,
195 },
196 "<inventory_root>/system/chassis/motherboard/cpu1/core2": {
197 "fru_type": "CORE",
198 "is_fru": False,
199 },
200 "<inventory_root>/system/chassis/motherboard/cpu1/core3": {
201 "fru_type": "CORE",
202 "is_fru": False,
203 },
204 "<inventory_root>/system/chassis/motherboard/cpu1/core4": {
205 "fru_type": "CORE",
206 "is_fru": False,
207 },
208 "<inventory_root>/system/chassis/motherboard/cpu1/core5": {
209 "fru_type": "CORE",
210 "is_fru": False,
211 },
212 "<inventory_root>/system/chassis/motherboard/cpu1/core6": {
213 "fru_type": "CORE",
214 "is_fru": False,
215 },
216 "<inventory_root>/system/chassis/motherboard/cpu1/core7": {
217 "fru_type": "CORE",
218 "is_fru": False,
219 },
220 "<inventory_root>/system/chassis/motherboard/cpu1/core8": {
221 "fru_type": "CORE",
222 "is_fru": False,
223 },
224 "<inventory_root>/system/chassis/motherboard/cpu1/core9": {
225 "fru_type": "CORE",
226 "is_fru": False,
227 },
228 "<inventory_root>/system/chassis/motherboard/cpu1/core10": {
229 "fru_type": "CORE",
230 "is_fru": False,
231 },
232 "<inventory_root>/system/chassis/motherboard/cpu1/core11": {
233 "fru_type": "CORE",
234 "is_fru": False,
235 },
236 "<inventory_root>/system/chassis/motherboard/cpu1/core12": {
237 "fru_type": "CORE",
238 "is_fru": False,
239 },
240 "<inventory_root>/system/chassis/motherboard/cpu1/core13": {
241 "fru_type": "CORE",
242 "is_fru": False,
243 },
244 "<inventory_root>/system/chassis/motherboard/cpu1/core14": {
245 "fru_type": "CORE",
246 "is_fru": False,
247 },
248 "<inventory_root>/system/chassis/motherboard/cpu1/core15": {
249 "fru_type": "CORE",
250 "is_fru": False,
251 },
252 "<inventory_root>/system/chassis/motherboard/cpu1/core16": {
253 "fru_type": "CORE",
254 "is_fru": False,
255 },
256 "<inventory_root>/system/chassis/motherboard/cpu1/core17": {
257 "fru_type": "CORE",
258 "is_fru": False,
259 },
260 "<inventory_root>/system/chassis/motherboard/cpu1/core18": {
261 "fru_type": "CORE",
262 "is_fru": False,
263 },
264 "<inventory_root>/system/chassis/motherboard/cpu1/core19": {
265 "fru_type": "CORE",
266 "is_fru": False,
267 },
268 "<inventory_root>/system/chassis/motherboard/cpu1/core20": {
269 "fru_type": "CORE",
270 "is_fru": False,
271 },
272 "<inventory_root>/system/chassis/motherboard/cpu1/core21": {
273 "fru_type": "CORE",
274 "is_fru": False,
275 },
276 "<inventory_root>/system/chassis/motherboard/cpu1/core22": {
277 "fru_type": "CORE",
278 "is_fru": False,
279 },
280 "<inventory_root>/system/chassis/motherboard/cpu1/core23": {
281 "fru_type": "CORE",
282 "is_fru": False,
283 },
284 "<inventory_root>/system/chassis/motherboard/dimm0": {
285 "fru_type": "DIMM",
286 "is_fru": True,
287 },
288 "<inventory_root>/system/chassis/motherboard/dimm1": {
289 "fru_type": "DIMM",
290 "is_fru": True,
291 },
292 "<inventory_root>/system/chassis/motherboard/dimm2": {
293 "fru_type": "DIMM",
294 "is_fru": True,
295 },
296 "<inventory_root>/system/chassis/motherboard/dimm3": {
297 "fru_type": "DIMM",
298 "is_fru": True,
299 },
300 "<inventory_root>/system/chassis/motherboard/dimm4": {
301 "fru_type": "DIMM",
302 "is_fru": True,
303 },
304 "<inventory_root>/system/chassis/motherboard/dimm5": {
305 "fru_type": "DIMM",
306 "is_fru": True,
307 },
308 "<inventory_root>/system/chassis/motherboard/dimm6": {
309 "fru_type": "DIMM",
310 "is_fru": True,
311 },
312 "<inventory_root>/system/chassis/motherboard/dimm7": {
313 "fru_type": "DIMM",
314 "is_fru": True,
315 },
316 "<inventory_root>/system/chassis/motherboard/dimm8": {
317 "fru_type": "DIMM",
318 "is_fru": True,
319 },
320 "<inventory_root>/system/chassis/motherboard/dimm9": {
321 "fru_type": "DIMM",
322 "is_fru": True,
323 },
324 "<inventory_root>/system/chassis/motherboard/dimm10": {
325 "fru_type": "DIMM",
326 "is_fru": True,
327 },
328 "<inventory_root>/system/chassis/motherboard/dimm11": {
329 "fru_type": "DIMM",
330 "is_fru": True,
331 },
332 "<inventory_root>/system/chassis/motherboard/dimm12": {
333 "fru_type": "DIMM",
334 "is_fru": True,
335 },
336 "<inventory_root>/system/chassis/motherboard/dimm13": {
337 "fru_type": "DIMM",
338 "is_fru": True,
339 },
340 "<inventory_root>/system/chassis/motherboard/dimm14": {
341 "fru_type": "DIMM",
342 "is_fru": True,
343 },
344 "<inventory_root>/system/chassis/motherboard/dimm15": {
345 "fru_type": "DIMM",
346 "is_fru": True,
347 },
348 "<inventory_root>/system/chassis/motherboard/dimm16": {
349 "fru_type": "DIMM",
350 "is_fru": True,
351 },
352 "<inventory_root>/system/chassis/motherboard/dimm17": {
353 "fru_type": "DIMM",
354 "is_fru": True,
355 },
356 "<inventory_root>/system/chassis/motherboard/dimm18": {
357 "fru_type": "DIMM",
358 "is_fru": True,
359 },
360 "<inventory_root>/system/chassis/motherboard/dimm19": {
361 "fru_type": "DIMM",
362 "is_fru": True,
363 },
364 "<inventory_root>/system/chassis/motherboard/dimm20": {
365 "fru_type": "DIMM",
366 "is_fru": True,
367 },
368 "<inventory_root>/system/chassis/motherboard/dimm21": {
369 "fru_type": "DIMM",
370 "is_fru": True,
371 },
372 "<inventory_root>/system/chassis/motherboard/dimm22": {
373 "fru_type": "DIMM",
374 "is_fru": True,
375 },
376 "<inventory_root>/system/chassis/motherboard/dimm23": {
377 "fru_type": "DIMM",
378 "is_fru": True,
379 },
380 "<inventory_root>/system/chassis/motherboard/dimm24": {
381 "fru_type": "DIMM",
382 "is_fru": True,
383 },
384 "<inventory_root>/system/chassis/motherboard/dimm25": {
385 "fru_type": "DIMM",
386 "is_fru": True,
387 },
388 "<inventory_root>/system/chassis/motherboard/dimm26": {
389 "fru_type": "DIMM",
390 "is_fru": True,
391 },
392 "<inventory_root>/system/chassis/motherboard/dimm27": {
393 "fru_type": "DIMM",
394 "is_fru": True,
395 },
396 "<inventory_root>/system/chassis/motherboard/dimm28": {
397 "fru_type": "DIMM",
398 "is_fru": True,
399 },
400 "<inventory_root>/system/chassis/motherboard/dimm29": {
401 "fru_type": "DIMM",
402 "is_fru": True,
403 },
404 "<inventory_root>/system/chassis/motherboard/dimm30": {
405 "fru_type": "DIMM",
406 "is_fru": True,
407 },
408 "<inventory_root>/system/chassis/motherboard/dimm31": {
409 "fru_type": "DIMM",
410 "is_fru": True,
411 },
Ken Chen8506f282017-04-26 10:52:28 +0800412}
413
414ID_LOOKUP = {
Patrick Williams75fe8cc2022-07-22 16:12:12 -0500415 "FRU": {
416 0x01: "<inventory_root>/system/chassis/motherboard/cpu0",
417 0x02: "<inventory_root>/system/chassis/motherboard/cpu1",
418 0x03: "<inventory_root>/system/chassis/motherboard",
419 0x04: "<inventory_root>/system/chassis/motherboard/membuf0",
420 0x05: "<inventory_root>/system/chassis/motherboard/membuf1",
421 0x06: "<inventory_root>/system/chassis/motherboard/membuf2",
422 0x07: "<inventory_root>/system/chassis/motherboard/membuf3",
423 0x08: "<inventory_root>/system/chassis/motherboard/membuf4",
424 0x09: "<inventory_root>/system/chassis/motherboard/membuf5",
425 0x0C: "<inventory_root>/system/chassis/motherboard/dimm0",
426 0x0D: "<inventory_root>/system/chassis/motherboard/dimm1",
427 0x0E: "<inventory_root>/system/chassis/motherboard/dimm2",
428 0x0F: "<inventory_root>/system/chassis/motherboard/dimm3",
429 0x10: "<inventory_root>/system/chassis/motherboard/dimm4",
430 0x11: "<inventory_root>/system/chassis/motherboard/dimm5",
431 0x12: "<inventory_root>/system/chassis/motherboard/dimm6",
432 0x13: "<inventory_root>/system/chassis/motherboard/dimm7",
433 0x14: "<inventory_root>/system/chassis/motherboard/dimm8",
434 0x15: "<inventory_root>/system/chassis/motherboard/dimm9",
435 0x16: "<inventory_root>/system/chassis/motherboard/dimm10",
436 0x17: "<inventory_root>/system/chassis/motherboard/dimm11",
437 0x18: "<inventory_root>/system/chassis/motherboard/dimm12",
438 0x19: "<inventory_root>/system/chassis/motherboard/dimm13",
439 0x1A: "<inventory_root>/system/chassis/motherboard/dimm14",
440 0x1B: "<inventory_root>/system/chassis/motherboard/dimm15",
441 0x1C: "<inventory_root>/system/chassis/motherboard/dimm16",
442 0x1D: "<inventory_root>/system/chassis/motherboard/dimm17",
443 0x1E: "<inventory_root>/system/chassis/motherboard/dimm18",
444 0x1F: "<inventory_root>/system/chassis/motherboard/dimm19",
445 0x20: "<inventory_root>/system/chassis/motherboard/dimm20",
446 0x21: "<inventory_root>/system/chassis/motherboard/dimm21",
447 0x22: "<inventory_root>/system/chassis/motherboard/dimm22",
448 0x23: "<inventory_root>/system/chassis/motherboard/dimm23",
449 0x24: "<inventory_root>/system/chassis/motherboard/dimm24",
450 0x25: "<inventory_root>/system/chassis/motherboard/dimm25",
451 0x26: "<inventory_root>/system/chassis/motherboard/dimm26",
452 0x27: "<inventory_root>/system/chassis/motherboard/dimm27",
453 0x28: "<inventory_root>/system/chassis/motherboard/dimm28",
454 0x29: "<inventory_root>/system/chassis/motherboard/dimm29",
455 0x2A: "<inventory_root>/system/chassis/motherboard/dimm30",
456 0x2B: "<inventory_root>/system/chassis/motherboard/dimm31",
Ken Chen8506f282017-04-26 10:52:28 +0800457 },
Patrick Williams75fe8cc2022-07-22 16:12:12 -0500458 "FRU_STR": {
459 "PRODUCT_0": "<inventory_root>/system/bios",
460 "BOARD_1": "<inventory_root>/system/chassis/motherboard/cpu0",
461 "BOARD_2": "<inventory_root>/system/chassis/motherboard/cpu1",
462 "CHASSIS_3": "<inventory_root>/system/chassis/motherboard",
463 "BOARD_3": "<inventory_root>/system/misc",
464 "PRODUCT_12": "<inventory_root>/system/chassis/motherboard/dimm0",
465 "PRODUCT_13": "<inventory_root>/system/chassis/motherboard/dimm1",
466 "PRODUCT_14": "<inventory_root>/system/chassis/motherboard/dimm2",
467 "PRODUCT_15": "<inventory_root>/system/chassis/motherboard/dimm3",
468 "PRODUCT_16": "<inventory_root>/system/chassis/motherboard/dimm4",
469 "PRODUCT_17": "<inventory_root>/system/chassis/motherboard/dimm5",
470 "PRODUCT_18": "<inventory_root>/system/chassis/motherboard/dimm6",
471 "PRODUCT_19": "<inventory_root>/system/chassis/motherboard/dimm7",
472 "PRODUCT_20": "<inventory_root>/system/chassis/motherboard/dimm8",
473 "PRODUCT_21": "<inventory_root>/system/chassis/motherboard/dimm9",
474 "PRODUCT_22": "<inventory_root>/system/chassis/motherboard/dimm10",
475 "PRODUCT_23": "<inventory_root>/system/chassis/motherboard/dimm11",
476 "PRODUCT_24": "<inventory_root>/system/chassis/motherboard/dimm12",
477 "PRODUCT_25": "<inventory_root>/system/chassis/motherboard/dimm13",
478 "PRODUCT_26": "<inventory_root>/system/chassis/motherboard/dimm14",
479 "PRODUCT_27": "<inventory_root>/system/chassis/motherboard/dimm15",
480 "PRODUCT_28": "<inventory_root>/system/chassis/motherboard/dimm16",
481 "PRODUCT_29": "<inventory_root>/system/chassis/motherboard/dimm17",
482 "PRODUCT_30": "<inventory_root>/system/chassis/motherboard/dimm18",
483 "PRODUCT_31": "<inventory_root>/system/chassis/motherboard/dimm19",
484 "PRODUCT_32": "<inventory_root>/system/chassis/motherboard/dimm20",
485 "PRODUCT_33": "<inventory_root>/system/chassis/motherboard/dimm21",
486 "PRODUCT_34": "<inventory_root>/system/chassis/motherboard/dimm22",
487 "PRODUCT_35": "<inventory_root>/system/chassis/motherboard/dimm23",
488 "PRODUCT_36": "<inventory_root>/system/chassis/motherboard/dimm24",
489 "PRODUCT_37": "<inventory_root>/system/chassis/motherboard/dimm25",
490 "PRODUCT_38": "<inventory_root>/system/chassis/motherboard/dimm26",
491 "PRODUCT_39": "<inventory_root>/system/chassis/motherboard/dimm27",
492 "PRODUCT_40": "<inventory_root>/system/chassis/motherboard/dimm28",
493 "PRODUCT_41": "<inventory_root>/system/chassis/motherboard/dimm29",
494 "PRODUCT_42": "<inventory_root>/system/chassis/motherboard/dimm30",
495 "PRODUCT_43": "<inventory_root>/system/chassis/motherboard/dimm31",
496 "PRODUCT_47": "<inventory_root>/system/misc",
Ken Chen8506f282017-04-26 10:52:28 +0800497 },
Patrick Williams75fe8cc2022-07-22 16:12:12 -0500498 "SENSOR": {
499 0x02: "/org/openbmc/sensors/host/HostStatus",
500 0x03: "/org/openbmc/sensors/host/BootProgress",
501 0x21: "<inventory_root>/system/chassis/motherboard/cpu0",
502 0x71: "<inventory_root>/system/chassis/motherboard/cpu1",
503 0xC7: "<inventory_root>/system/chassis/motherboard/dimm3",
504 0xC5: "<inventory_root>/system/chassis/motherboard/dimm2",
505 0xC3: "<inventory_root>/system/chassis/motherboard/dimm1",
506 0xC1: "<inventory_root>/system/chassis/motherboard/dimm0",
507 0xCF: "<inventory_root>/system/chassis/motherboard/dimm7",
508 0xCD: "<inventory_root>/system/chassis/motherboard/dimm6",
509 0xCB: "<inventory_root>/system/chassis/motherboard/dimm5",
510 0xC9: "<inventory_root>/system/chassis/motherboard/dimm4",
511 0xD7: "<inventory_root>/system/chassis/motherboard/dimm11",
512 0xD5: "<inventory_root>/system/chassis/motherboard/dimm10",
513 0xD3: "<inventory_root>/system/chassis/motherboard/dimm9",
514 0xD1: "<inventory_root>/system/chassis/motherboard/dimm8",
515 0xDF: "<inventory_root>/system/chassis/motherboard/dimm15",
516 0xDD: "<inventory_root>/system/chassis/motherboard/dimm14",
517 0xDB: "<inventory_root>/system/chassis/motherboard/dimm13",
518 0xD9: "<inventory_root>/system/chassis/motherboard/dimm12",
519 0xE7: "<inventory_root>/system/chassis/motherboard/dimm19",
520 0xE5: "<inventory_root>/system/chassis/motherboard/dimm18",
521 0xE3: "<inventory_root>/system/chassis/motherboard/dimm17",
522 0xE1: "<inventory_root>/system/chassis/motherboard/dimm16",
523 0xEF: "<inventory_root>/system/chassis/motherboard/dimm23",
524 0xED: "<inventory_root>/system/chassis/motherboard/dimm22",
525 0xEB: "<inventory_root>/system/chassis/motherboard/dimm21",
526 0xE9: "<inventory_root>/system/chassis/motherboard/dimm20",
527 0xF7: "<inventory_root>/system/chassis/motherboard/dimm27",
528 0xF5: "<inventory_root>/system/chassis/motherboard/dimm26",
529 0xF3: "<inventory_root>/system/chassis/motherboard/dimm25",
530 0xF1: "<inventory_root>/system/chassis/motherboard/dimm24",
531 0xFF: "<inventory_root>/system/chassis/motherboard/dimm31",
532 0xFD: "<inventory_root>/system/chassis/motherboard/dimm30",
533 0xFB: "<inventory_root>/system/chassis/motherboard/dimm29",
534 0xF9: "<inventory_root>/system/chassis/motherboard/dimm28",
535 0x23: "<inventory_root>/system/chassis/motherboard/cpu0/core0",
536 0x26: "<inventory_root>/system/chassis/motherboard/cpu0/core1",
537 0x29: "<inventory_root>/system/chassis/motherboard/cpu0/core2",
538 0x2C: "<inventory_root>/system/chassis/motherboard/cpu0/core3",
539 0x2F: "<inventory_root>/system/chassis/motherboard/cpu0/core4",
540 0x32: "<inventory_root>/system/chassis/motherboard/cpu0/core5",
541 0x35: "<inventory_root>/system/chassis/motherboard/cpu0/core6",
542 0x38: "<inventory_root>/system/chassis/motherboard/cpu0/core7",
543 0x3B: "<inventory_root>/system/chassis/motherboard/cpu0/core8",
544 0x3E: "<inventory_root>/system/chassis/motherboard/cpu0/core9",
545 0x41: "<inventory_root>/system/chassis/motherboard/cpu0/core10",
546 0x44: "<inventory_root>/system/chassis/motherboard/cpu0/core11",
547 0x47: "<inventory_root>/system/chassis/motherboard/cpu0/core12",
548 0x4A: "<inventory_root>/system/chassis/motherboard/cpu0/core13",
549 0x4D: "<inventory_root>/system/chassis/motherboard/cpu0/core14",
550 0x50: "<inventory_root>/system/chassis/motherboard/cpu0/core15",
551 0x53: "<inventory_root>/system/chassis/motherboard/cpu0/core16",
552 0x56: "<inventory_root>/system/chassis/motherboard/cpu0/core17",
553 0x59: "<inventory_root>/system/chassis/motherboard/cpu0/core18",
554 0x5C: "<inventory_root>/system/chassis/motherboard/cpu0/core19",
555 0x5F: "<inventory_root>/system/chassis/motherboard/cpu0/core20",
556 0x62: "<inventory_root>/system/chassis/motherboard/cpu0/core21",
557 0x65: "<inventory_root>/system/chassis/motherboard/cpu1/core22",
558 0x68: "<inventory_root>/system/chassis/motherboard/cpu1/core23",
559 0x73: "<inventory_root>/system/chassis/motherboard/cpu1/core0",
560 0x76: "<inventory_root>/system/chassis/motherboard/cpu1/core1",
561 0x79: "<inventory_root>/system/chassis/motherboard/cpu1/core2",
562 0x7C: "<inventory_root>/system/chassis/motherboard/cpu1/core3",
563 0x7F: "<inventory_root>/system/chassis/motherboard/cpu1/core4",
564 0x82: "<inventory_root>/system/chassis/motherboard/cpu1/core5",
565 0x85: "<inventory_root>/system/chassis/motherboard/cpu1/core6",
566 0x88: "<inventory_root>/system/chassis/motherboard/cpu1/core7",
567 0x8B: "<inventory_root>/system/chassis/motherboard/cpu1/core8",
568 0x8E: "<inventory_root>/system/chassis/motherboard/cpu1/core9",
569 0x91: "<inventory_root>/system/chassis/motherboard/cpu1/core10",
570 0x94: "<inventory_root>/system/chassis/motherboard/cpu1/core11",
571 0x97: "<inventory_root>/system/chassis/motherboard/cpu1/core12",
572 0x9A: "<inventory_root>/system/chassis/motherboard/cpu1/core13",
573 0x9D: "<inventory_root>/system/chassis/motherboard/cpu1/core14",
574 0xA0: "<inventory_root>/system/chassis/motherboard/cpu1/core15",
575 0xA3: "<inventory_root>/system/chassis/motherboard/cpu1/core16",
576 0xA6: "<inventory_root>/system/chassis/motherboard/cpu1/core17",
577 0xA9: "<inventory_root>/system/chassis/motherboard/cpu1/core18",
578 0xAC: "<inventory_root>/system/chassis/motherboard/cpu1/core19",
579 0xAF: "<inventory_root>/system/chassis/motherboard/cpu1/core20",
580 0xB2: "<inventory_root>/system/chassis/motherboard/cpu1/core21",
581 0xB5: "<inventory_root>/system/chassis/motherboard/cpu1/core22",
582 0xB8: "<inventory_root>/system/chassis/motherboard/cpu1/core23",
583 0x07: "/org/openbmc/sensors/host/BootCount",
584 0x10: "<inventory_root>/system/chassis/motherboard",
585 0x01: "<inventory_root>/system/systemevent",
586 0x11: "<inventory_root>/system/chassis/motherboard/refclock",
587 0x12: "<inventory_root>/system/chassis/motherboard/pcieclock",
588 0x13: "<inventory_root>/system/chassis/motherboard/todclock",
589 0x02: "/org/openbmc/sensors/host/OperatingSystemStatus",
590 0x04: "<inventory_root>/system/chassis/motherboard/pcielink",
Ken Chen8506f282017-04-26 10:52:28 +0800591 },
Patrick Williams75fe8cc2022-07-22 16:12:12 -0500592 "GPIO_PRESENT": {},
Ken Chen8506f282017-04-26 10:52:28 +0800593}
594
Ken Chen8506f282017-04-26 10:52:28 +0800595# Miscellaneous non-poll sensor with system specific properties.
596# The sensor id is the same as those defined in ID_LOOKUP['SENSOR'].
Patrick Williams75fe8cc2022-07-22 16:12:12 -0500597MISC_SENSORS = {}
Ken Chen8506f282017-04-26 10:52:28 +0800598
599# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4