diff options
author | Raptor Engineering Development Team <support@raptorengineering.com> | 2018-01-01 14:17:55 -0600 |
---|---|---|
committer | Raptor Engineering Development Team <support@raptorengineering.com> | 2019-04-19 10:20:27 +0000 |
commit | 35f8df79f77800b08df7ce13d3e99915da918007 (patch) | |
tree | 1bebcc6e177046e221d5822513c87746f43e095b | |
parent | c8334f3258cb80839e49defe386d33c196929215 (diff) | |
download | blackbird-skeleton-35f8df79f77800b08df7ce13d3e99915da918007.tar.gz blackbird-skeleton-35f8df79f77800b08df7ce13d3e99915da918007.zip |
Adjust for Talos™ II
-rw-r--r-- | configs/Barreleye.py | 392 | ||||
-rw-r--r-- | configs/Firestone.py | 380 | ||||
-rw-r--r-- | configs/Garrison.py | 381 | ||||
-rw-r--r-- | configs/Lanyang.py | 320 | ||||
-rw-r--r-- | configs/Palmetto.py | 91 | ||||
-rw-r--r-- | configs/S2600wf.py | 10 | ||||
-rw-r--r-- | configs/Talos.py (renamed from configs/Romulus.py) | 2 | ||||
-rw-r--r-- | configs/Witherspoon.py | 306 | ||||
-rw-r--r-- | configs/Zaius.py | 320 |
9 files changed, 1 insertions, 2201 deletions
diff --git a/configs/Barreleye.py b/configs/Barreleye.py deleted file mode 100644 index 5762a69..0000000 --- a/configs/Barreleye.py +++ /dev/null @@ -1,392 +0,0 @@ -## System states -## state can change to next state in 2 ways: -## - a process emits a GotoSystemState signal with state name to goto -## - objects specified in EXIT_STATE_DEPEND have started -SYSTEM_STATES = [ - 'BASE_APPS', - 'BMC_STARTING', - 'BMC_STARTING2', - 'BMC_READY', - 'HOST_POWERING_ON', - 'HOST_POWERED_ON', - 'INVENTORY_UPLOADED', - 'HOST_BOOTING', - 'HOST_BOOTED', - 'HOST_POWERED_OFF', -] - -EXIT_STATE_DEPEND = { - 'BASE_APPS' : { - '/org/openbmc/sensors': 0, - }, - 'BMC_STARTING' : { - '/org/openbmc/control/power0' : 0, - '/org/openbmc/control/host0' : 0, - '/org/openbmc/control/flash/bios' : 0, - }, - 'BMC_STARTING2' : { - '/org/openbmc/control/fans' : 0, - '/org/openbmc/control/chassis0': 0, - }, -} - -FRU_INSTANCES = { - '<inventory_root>/system' : { 'fru_type' : 'SYSTEM','is_fru' : True, 'present' : "True" }, - '<inventory_root>/system/bios' : { 'fru_type' : 'SYSTEM','is_fru' : True, 'present' : "True" }, - '<inventory_root>/system/misc' : { 'fru_type' : 'SYSTEM','is_fru' : False, }, - - '<inventory_root>/system/chassis' : { 'fru_type' : 'SYSTEM','is_fru' : True, 'present' : "True" }, - - '<inventory_root>/system/chassis/motherboard' : { 'fru_type' : 'MAIN_PLANAR','is_fru' : True, }, - '<inventory_root>/system/chassis/io_board' : { 'fru_type' : 'DAUGHTER_CARD','is_fru' : True, }, - '<inventory_root>/system/chassis/sas_expander' : { 'fru_type' : 'DAUGHTER_CARD','is_fru' : True, }, - '<inventory_root>/system/chassis/hdd_backplane' : { 'fru_type' : 'DAUGHTER_CARD','is_fru' : True, }, - - '<inventory_root>/system/systemevent' : { 'fru_type' : 'SYSTEM_EVENT', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/refclock' : { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/pcieclock': { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/todclock' : { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/apss' : { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, - - '<inventory_root>/system/chassis/fan0' : { 'fru_type' : 'FAN','is_fru' : True, }, - '<inventory_root>/system/chassis/fan1' : { 'fru_type' : 'FAN','is_fru' : True, }, - '<inventory_root>/system/chassis/fan2' : { 'fru_type' : 'FAN','is_fru' : True, }, - '<inventory_root>/system/chassis/fan3' : { 'fru_type' : 'FAN','is_fru' : True, }, - '<inventory_root>/system/chassis/fan4' : { 'fru_type' : 'FAN','is_fru' : True, }, - '<inventory_root>/system/chassis/fan5' : { 'fru_type' : 'FAN','is_fru' : True, }, - - '<inventory_root>/system/chassis/motherboard/bmc' : { 'fru_type' : 'BMC','is_fru' : False, 'manufacturer' : 'ASPEED' }, - - '<inventory_root>/system/chassis/motherboard/cpu0' : { 'fru_type' : 'CPU', 'is_fru' : True, }, - '<inventory_root>/system/chassis/motherboard/cpu1' : { 'fru_type' : 'CPU', 'is_fru' : True, }, - - '<inventory_root>/system/chassis/motherboard/cpu0/core0' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core1' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core2' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core3' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core4' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core5' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core6' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core7' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core8' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core9' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core10': { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core11': { 'fru_type' : 'CORE', 'is_fru' : False, }, - - '<inventory_root>/system/chassis/motherboard/cpu1/core0' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core1' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core2' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core3' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core4' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core5' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core6' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core7' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core8' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core9' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core10' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core11' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - - '<inventory_root>/system/chassis/motherboard/membuf0' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/membuf1' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/membuf2' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/membuf3' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/membuf4' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/membuf5' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/membuf6' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/membuf7' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - - '<inventory_root>/system/chassis/motherboard/dimm0' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm1' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm2' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm3' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm4' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm5' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm6' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm7' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm8' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm9' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm10' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm11' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm12' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm13' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm14' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm15' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm16' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm17' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm18' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm19' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm20' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm21' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm22' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm23' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm24' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm25' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm26' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm27' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm28' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm29' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm30' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm31' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - - '<inventory_root>/system/chassis/io_board/pcie_slot0_riser' : { 'fru_type' : 'PCIE_RISER', 'is_fru' : True,}, - '<inventory_root>/system/chassis/io_board/pcie_slot1_riser' : { 'fru_type' : 'PCIE_RISER', 'is_fru' : True,}, - '<inventory_root>/system/chassis/io_board/pcie_slot2_riser' : { 'fru_type' : 'PCIE_RISER', 'is_fru' : True,}, - '<inventory_root>/system/chassis/io_board/pcie_slot0' : { 'fru_type' : 'PCIE_CARD', 'is_fru' : True,}, - '<inventory_root>/system/chassis/io_board/pcie_slot1' : { 'fru_type' : 'PCIE_CARD', 'is_fru' : True,}, - '<inventory_root>/system/chassis/io_board/pcie_slot2' : { 'fru_type' : 'PCIE_CARD', 'is_fru' : True,}, - '<inventory_root>/system/chassis/io_board/pcie_mezz0' : { 'fru_type' : 'PCIE_CARD', 'is_fru' : True,}, - '<inventory_root>/system/chassis/io_board/pcie_mezz1' : { 'fru_type' : 'PCIE_CARD', 'is_fru' : True,}, -} - -ID_LOOKUP = { - 'FRU' : { - 0x03 : '<inventory_root>/system/chassis/motherboard', - 0x40 : '<inventory_root>/system/chassis/io_board', - 0x01 : '<inventory_root>/system/chassis/motherboard/cpu0', - 0x02 : '<inventory_root>/system/chassis/motherboard/cpu1', - 0x04 : '<inventory_root>/system/chassis/motherboard/membuf0', - 0x05 : '<inventory_root>/system/chassis/motherboard/membuf1', - 0x06 : '<inventory_root>/system/chassis/motherboard/membuf2', - 0x07 : '<inventory_root>/system/chassis/motherboard/membuf3', - 0x08 : '<inventory_root>/system/chassis/motherboard/membuf4', - 0x09 : '<inventory_root>/system/chassis/motherboard/membuf5', - 0x0a : '<inventory_root>/system/chassis/motherboard/membuf6', - 0x0b : '<inventory_root>/system/chassis/motherboard/membuf7', - 0x0c : '<inventory_root>/system/chassis/motherboard/dimm0', - 0x0d : '<inventory_root>/system/chassis/motherboard/dimm1', - 0x0e : '<inventory_root>/system/chassis/motherboard/dimm2', - 0x0f : '<inventory_root>/system/chassis/motherboard/dimm3', - 0x10 : '<inventory_root>/system/chassis/motherboard/dimm4', - 0x11 : '<inventory_root>/system/chassis/motherboard/dimm5', - 0x12 : '<inventory_root>/system/chassis/motherboard/dimm6', - 0x13 : '<inventory_root>/system/chassis/motherboard/dimm7', - 0x14 : '<inventory_root>/system/chassis/motherboard/dimm8', - 0x15 : '<inventory_root>/system/chassis/motherboard/dimm9', - 0x16 : '<inventory_root>/system/chassis/motherboard/dimm10', - 0x17 : '<inventory_root>/system/chassis/motherboard/dimm11', - 0x18 : '<inventory_root>/system/chassis/motherboard/dimm12', - 0x19 : '<inventory_root>/system/chassis/motherboard/dimm13', - 0x1a : '<inventory_root>/system/chassis/motherboard/dimm14', - 0x1b : '<inventory_root>/system/chassis/motherboard/dimm15', - 0x1c : '<inventory_root>/system/chassis/motherboard/dimm16', - 0x1d : '<inventory_root>/system/chassis/motherboard/dimm17', - 0x1e : '<inventory_root>/system/chassis/motherboard/dimm18', - 0x1f : '<inventory_root>/system/chassis/motherboard/dimm19', - 0x20 : '<inventory_root>/system/chassis/motherboard/dimm20', - 0x21 : '<inventory_root>/system/chassis/motherboard/dimm21', - 0x22 : '<inventory_root>/system/chassis/motherboard/dimm22', - 0x23 : '<inventory_root>/system/chassis/motherboard/dimm23', - 0x24 : '<inventory_root>/system/chassis/motherboard/dimm24', - 0x25 : '<inventory_root>/system/chassis/motherboard/dimm25', - 0x26 : '<inventory_root>/system/chassis/motherboard/dimm26', - 0x27 : '<inventory_root>/system/chassis/motherboard/dimm27', - 0x28 : '<inventory_root>/system/chassis/motherboard/dimm28', - 0x29 : '<inventory_root>/system/chassis/motherboard/dimm29', - 0x2a : '<inventory_root>/system/chassis/motherboard/dimm30', - 0x2b : '<inventory_root>/system/chassis/motherboard/dimm31', - 0x33 : '<inventory_root>/system', - }, - 'FRU_STR' : { - 'PRODUCT_0' : '<inventory_root>/system/bios', - 'BOARD_3' : '<inventory_root>/system/misc', - 'PRODUCT_51' : '<inventory_root>/system/misc', - 'BOARD_100' : '<inventory_root>/system/chassis/io_board', - 'BOARD_101' : '<inventory_root>/system/chassis/sas_expander', - 'BOARD_102' : '<inventory_root>/system/chassis/hdd_backplane', - 'CHASSIS_3' : '<inventory_root>/system/chassis/motherboard', - 'BOARD_1' : '<inventory_root>/system/chassis/motherboard/cpu0', - 'BOARD_2' : '<inventory_root>/system/chassis/motherboard/cpu1', - 'BOARD_4' : '<inventory_root>/system/chassis/motherboard/membuf0', - 'BOARD_5' : '<inventory_root>/system/chassis/motherboard/membuf1', - 'BOARD_6' : '<inventory_root>/system/chassis/motherboard/membuf2', - 'BOARD_7' : '<inventory_root>/system/chassis/motherboard/membuf3', - 'BOARD_8' : '<inventory_root>/system/chassis/motherboard/membuf4', - 'BOARD_9' : '<inventory_root>/system/chassis/motherboard/membuf5', - 'BOARD_10' : '<inventory_root>/system/chassis/motherboard/membuf6', - 'BOARD_11' : '<inventory_root>/system/chassis/motherboard/membuf7', - 'PRODUCT_12' : '<inventory_root>/system/chassis/motherboard/dimm0', - 'PRODUCT_13' : '<inventory_root>/system/chassis/motherboard/dimm1', - 'PRODUCT_14' : '<inventory_root>/system/chassis/motherboard/dimm2', - 'PRODUCT_15' : '<inventory_root>/system/chassis/motherboard/dimm3', - 'PRODUCT_16' : '<inventory_root>/system/chassis/motherboard/dimm4', - 'PRODUCT_17' : '<inventory_root>/system/chassis/motherboard/dimm5', - 'PRODUCT_18' : '<inventory_root>/system/chassis/motherboard/dimm6', - 'PRODUCT_19' : '<inventory_root>/system/chassis/motherboard/dimm7', - 'PRODUCT_20' : '<inventory_root>/system/chassis/motherboard/dimm8', - 'PRODUCT_21' : '<inventory_root>/system/chassis/motherboard/dimm9', - 'PRODUCT_22' : '<inventory_root>/system/chassis/motherboard/dimm10', - 'PRODUCT_23' : '<inventory_root>/system/chassis/motherboard/dimm11', - 'PRODUCT_24' : '<inventory_root>/system/chassis/motherboard/dimm12', - 'PRODUCT_25' : '<inventory_root>/system/chassis/motherboard/dimm13', - 'PRODUCT_26' : '<inventory_root>/system/chassis/motherboard/dimm14', - 'PRODUCT_27' : '<inventory_root>/system/chassis/motherboard/dimm15', - 'PRODUCT_28' : '<inventory_root>/system/chassis/motherboard/dimm16', - 'PRODUCT_29' : '<inventory_root>/system/chassis/motherboard/dimm17', - 'PRODUCT_30' : '<inventory_root>/system/chassis/motherboard/dimm18', - 'PRODUCT_31' : '<inventory_root>/system/chassis/motherboard/dimm19', - 'PRODUCT_32' : '<inventory_root>/system/chassis/motherboard/dimm20', - 'PRODUCT_33' : '<inventory_root>/system/chassis/motherboard/dimm21', - 'PRODUCT_34' : '<inventory_root>/system/chassis/motherboard/dimm22', - 'PRODUCT_35' : '<inventory_root>/system/chassis/motherboard/dimm23', - 'PRODUCT_36' : '<inventory_root>/system/chassis/motherboard/dimm24', - 'PRODUCT_37' : '<inventory_root>/system/chassis/motherboard/dimm25', - 'PRODUCT_38' : '<inventory_root>/system/chassis/motherboard/dimm26', - 'PRODUCT_39' : '<inventory_root>/system/chassis/motherboard/dimm27', - 'PRODUCT_40' : '<inventory_root>/system/chassis/motherboard/dimm28', - 'PRODUCT_41' : '<inventory_root>/system/chassis/motherboard/dimm29', - 'PRODUCT_42' : '<inventory_root>/system/chassis/motherboard/dimm30', - 'PRODUCT_43' : '<inventory_root>/system/chassis/motherboard/dimm31', - }, - 'SENSOR' : { - 0x35 : '<inventory_root>/system/systemevent', - 0x36 : '<inventory_root>/system/powerlimit', - 0x34 : '<inventory_root>/system/chassis/motherboard', - 0x31 : '<inventory_root>/system/chassis/motherboard/pcielink', - 0x37 : '<inventory_root>/system/chassis/motherboard/refclock', - 0x38 : '<inventory_root>/system/chassis/motherboard/pcieclock', - 0x39 : '<inventory_root>/system/chassis/motherboard/todclock', - 0x3A : '<inventory_root>/system/chassis/motherboard/apss', - 0x0c : '<inventory_root>/system/chassis/motherboard/cpu0', - 0x0e : '<inventory_root>/system/chassis/motherboard/cpu1', - 0xc8 : '<inventory_root>/system/chassis/motherboard/cpu0/core0', - 0xc9 : '<inventory_root>/system/chassis/motherboard/cpu0/core1', - 0xca : '<inventory_root>/system/chassis/motherboard/cpu0/core2', - 0xcb : '<inventory_root>/system/chassis/motherboard/cpu0/core3', - 0xcc : '<inventory_root>/system/chassis/motherboard/cpu0/core4', - 0xcd : '<inventory_root>/system/chassis/motherboard/cpu0/core5', - 0xce : '<inventory_root>/system/chassis/motherboard/cpu0/core6', - 0xcf : '<inventory_root>/system/chassis/motherboard/cpu0/core7', - 0xd0 : '<inventory_root>/system/chassis/motherboard/cpu0/core8', - 0xd1 : '<inventory_root>/system/chassis/motherboard/cpu0/core9', - 0xd2 : '<inventory_root>/system/chassis/motherboard/cpu0/core10', - 0xd3 : '<inventory_root>/system/chassis/motherboard/cpu0/core11', - 0xd4 : '<inventory_root>/system/chassis/motherboard/cpu1/core0', - 0xd5 : '<inventory_root>/system/chassis/motherboard/cpu1/core1', - 0xd6 : '<inventory_root>/system/chassis/motherboard/cpu1/core2', - 0xd7 : '<inventory_root>/system/chassis/motherboard/cpu1/core3', - 0xd8 : '<inventory_root>/system/chassis/motherboard/cpu1/core4', - 0xd9 : '<inventory_root>/system/chassis/motherboard/cpu1/core5', - 0xda : '<inventory_root>/system/chassis/motherboard/cpu1/core6', - 0xdb : '<inventory_root>/system/chassis/motherboard/cpu1/core7', - 0xdc : '<inventory_root>/system/chassis/motherboard/cpu1/core8', - 0xdd : '<inventory_root>/system/chassis/motherboard/cpu1/core9', - 0xde : '<inventory_root>/system/chassis/motherboard/cpu1/core10', - 0xdf : '<inventory_root>/system/chassis/motherboard/cpu1/core11', - 0x40 : '<inventory_root>/system/chassis/motherboard/membuf0', - 0x41 : '<inventory_root>/system/chassis/motherboard/membuf1', - 0x42 : '<inventory_root>/system/chassis/motherboard/membuf2', - 0x43 : '<inventory_root>/system/chassis/motherboard/membuf3', - 0x44 : '<inventory_root>/system/chassis/motherboard/membuf4', - 0x45 : '<inventory_root>/system/chassis/motherboard/membuf5', - 0x46 : '<inventory_root>/system/chassis/motherboard/membuf6', - 0x47 : '<inventory_root>/system/chassis/motherboard/membuf7', - 0x10 : '<inventory_root>/system/chassis/motherboard/dimm0', - 0x11 : '<inventory_root>/system/chassis/motherboard/dimm1', - 0x12 : '<inventory_root>/system/chassis/motherboard/dimm2', - 0x13 : '<inventory_root>/system/chassis/motherboard/dimm3', - 0x14 : '<inventory_root>/system/chassis/motherboard/dimm4', - 0x15 : '<inventory_root>/system/chassis/motherboard/dimm5', - 0x16 : '<inventory_root>/system/chassis/motherboard/dimm6', - 0x17 : '<inventory_root>/system/chassis/motherboard/dimm7', - 0x18 : '<inventory_root>/system/chassis/motherboard/dimm8', - 0x19 : '<inventory_root>/system/chassis/motherboard/dimm9', - 0x1a : '<inventory_root>/system/chassis/motherboard/dimm10', - 0x1b : '<inventory_root>/system/chassis/motherboard/dimm11', - 0x1c : '<inventory_root>/system/chassis/motherboard/dimm12', - 0x1d : '<inventory_root>/system/chassis/motherboard/dimm13', - 0x1e : '<inventory_root>/system/chassis/motherboard/dimm14', - 0x1f : '<inventory_root>/system/chassis/motherboard/dimm15', - 0x20 : '<inventory_root>/system/chassis/motherboard/dimm16', - 0x21 : '<inventory_root>/system/chassis/motherboard/dimm17', - 0x22 : '<inventory_root>/system/chassis/motherboard/dimm18', - 0x23 : '<inventory_root>/system/chassis/motherboard/dimm19', - 0x24 : '<inventory_root>/system/chassis/motherboard/dimm20', - 0x25 : '<inventory_root>/system/chassis/motherboard/dimm21', - 0x26 : '<inventory_root>/system/chassis/motherboard/dimm22', - 0x27 : '<inventory_root>/system/chassis/motherboard/dimm23', - 0x28 : '<inventory_root>/system/chassis/motherboard/dimm24', - 0x29 : '<inventory_root>/system/chassis/motherboard/dimm25', - 0x2a : '<inventory_root>/system/chassis/motherboard/dimm26', - 0x2b : '<inventory_root>/system/chassis/motherboard/dimm27', - 0x2c : '<inventory_root>/system/chassis/motherboard/dimm28', - 0x2d : '<inventory_root>/system/chassis/motherboard/dimm29', - 0x2e : '<inventory_root>/system/chassis/motherboard/dimm30', - 0x2f : '<inventory_root>/system/chassis/motherboard/dimm31', - 0x09 : '/org/openbmc/sensors/host/BootCount', - 0x05 : '/org/openbmc/sensors/host/BootProgress', - 0x04 : '/org/openbmc/sensors/host/HostStatus', - 0x32 : '/org/openbmc/sensors/host/OperatingSystemStatus', - }, - 'GPIO_PRESENT' : { - 'SLOT0_RISER_PRESENT' : '<inventory_root>/system/chassis/io_board/pcie_slot0_riser', - 'SLOT1_RISER_PRESENT' : '<inventory_root>/system/chassis/io_board/pcie_slot1_riser', - 'SLOT2_RISER_PRESENT' : '<inventory_root>/system/chassis/io_board/pcie_slot2_riser', - 'SLOT0_PRESENT' : '<inventory_root>/system/chassis/io_board/pcie_slot0', - 'SLOT1_PRESENT' : '<inventory_root>/system/chassis/io_board/pcie_slot1', - 'SLOT2_PRESENT' : '<inventory_root>/system/chassis/io_board/pcie_slot2', - 'MEZZ0_PRESENT' : '<inventory_root>/system/chassis/io_board/pcie_mezz0', - 'MEZZ1_PRESENT' : '<inventory_root>/system/chassis/io_board/pcie_mezz1', - } -} - -GPIO_CONFIG = {} -GPIO_CONFIG['FSI_CLK'] = { 'gpio_pin': 'A4', 'direction': 'out' } -GPIO_CONFIG['FSI_DATA'] = { 'gpio_pin': 'A5', 'direction': 'out' } -GPIO_CONFIG['FSI_ENABLE'] = { 'gpio_pin': 'D0', 'direction': 'out' } -GPIO_CONFIG['POWER_PIN'] = { 'gpio_pin': 'E1', 'direction': 'out' } -GPIO_CONFIG['CRONUS_SEL'] = { 'gpio_pin': 'A6', 'direction': 'out' } -GPIO_CONFIG['PGOOD'] = { 'gpio_pin': 'C7', 'direction': 'in' } -GPIO_CONFIG['POWER_BUTTON'] = { 'gpio_pin': 'E0', 'direction': 'both' } -GPIO_CONFIG['PCIE_RESET'] = { 'gpio_pin': 'B5', 'direction': 'out' } -GPIO_CONFIG['USB_RESET'] = { 'gpio_pin': 'B6', 'direction': 'out' } - -GPIO_CONFIG['IDBTN'] = { 'gpio_pin': 'Q7', 'direction': 'out' } -GPIO_CONFIG['BMC_THROTTLE'] = { 'gpio_pin': 'J3', 'direction': 'out' } -GPIO_CONFIG['RESET_BUTTON'] = { 'gpio_pin': 'E2', 'direction': 'both' } -GPIO_CONFIG['CPLD_TCK'] = { 'gpio_pin': 'P0', 'direction': 'out' } -GPIO_CONFIG['CPLD_TDO'] = { 'gpio_pin': 'P1', 'direction': 'out' } -GPIO_CONFIG['CPLD_TDI'] = { 'gpio_pin': 'P2', 'direction': 'out' } -GPIO_CONFIG['CPLD_TMS'] = { 'gpio_pin': 'P3', 'direction': 'out' } -GPIO_CONFIG['CHECKSTOP'] = { 'gpio_pin': 'P5', 'direction': 'falling' } - -GPIO_CONFIG['SLOT0_RISER_PRESENT'] = { 'gpio_pin': 'N0', 'direction': 'in' } -GPIO_CONFIG['SLOT1_RISER_PRESENT'] = { 'gpio_pin': 'N1', 'direction': 'in' } -GPIO_CONFIG['SLOT2_RISER_PRESENT'] = { 'gpio_pin': 'N2', 'direction': 'in' } -GPIO_CONFIG['SLOT0_PRESENT'] = { 'gpio_pin': 'N3', 'direction': 'in' } -GPIO_CONFIG['SLOT1_PRESENT'] = { 'gpio_pin': 'N4', 'direction': 'in' } -GPIO_CONFIG['SLOT2_PRESENT'] = { 'gpio_pin': 'N5', 'direction': 'in' } -GPIO_CONFIG['MEZZ0_PRESENT'] = { 'gpio_pin': 'O0', 'direction': 'in' } -GPIO_CONFIG['MEZZ1_PRESENT'] = { 'gpio_pin': 'O1', 'direction': 'in' } - -GPIO_CONFIGS = { - 'power_config' : { - 'power_good_in' : 'PGOOD', - 'power_up_outs' : [ - ('POWER_PIN', False), - ], - 'reset_outs' : [ - ('USB_RESET', False), - ], - 'pci_reset_outs': [ - # net name, polarity, reset hold - ('PCIE_RESET', False, False), - ], - }, - 'hostctl_config' : { - 'fsi_data' : 'FSI_DATA', - 'fsi_clk' : 'FSI_CLK', - 'fsi_enable' : 'FSI_ENABLE', - 'cronus_sel' : 'CRONUS_SEL', - 'optionals' : [ - ('BMC_THROTTLE', True), - ('IDBTN', False), - ], - }, -} - -# Miscellaneous non-poll sensor with system specific properties. -# The sensor id is the same as those defined in ID_LOOKUP['SENSOR']. -MISC_SENSORS = { -} - -# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 diff --git a/configs/Firestone.py b/configs/Firestone.py deleted file mode 100644 index 7edc60d..0000000 --- a/configs/Firestone.py +++ /dev/null @@ -1,380 +0,0 @@ -## System states -## state can change to next state in 2 ways: -## - a process emits a GotoSystemState signal with state name to goto -## - objects specified in EXIT_STATE_DEPEND have started -SYSTEM_STATES = [ - 'BASE_APPS', - 'BMC_STARTING', - 'BMC_READY', - 'HOST_POWERING_ON', - 'HOST_POWERED_ON', - 'HOST_BOOTING', - 'HOST_BOOTED', - 'HOST_POWERED_OFF', -] - -EXIT_STATE_DEPEND = { - 'BASE_APPS' : { - '/org/openbmc/sensors': 0, - }, - 'BMC_STARTING' : { - '/org/openbmc/control/chassis0': 0, - '/org/openbmc/control/power0' : 0, - '/org/openbmc/control/host0' : 0, - '/org/openbmc/control/flash/bios' : 0, - }, -} - -FRU_INSTANCES = { - '<inventory_root>/system' : { 'fru_type' : 'SYSTEM','is_fru' : True, 'present' : "True" }, - '<inventory_root>/system/bios' : { 'fru_type' : 'SYSTEM','is_fru' : True, 'present' : "True" }, - '<inventory_root>/system/misc' : { 'fru_type' : 'SYSTEM','is_fru' : False, }, - - '<inventory_root>/system/chassis' : { 'fru_type' : 'SYSTEM','is_fru' : True, 'present' : "True" }, - - '<inventory_root>/system/chassis/motherboard' : { 'fru_type' : 'MAIN_PLANAR','is_fru' : True, }, - - '<inventory_root>/system/systemevent' : { 'fru_type' : 'SYSTEM_EVENT', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/refclock' : { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/pcieclock': { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/todclock' : { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/apss' : { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, - - '<inventory_root>/system/chassis/fan0' : { 'fru_type' : 'FAN','is_fru' : True, }, - '<inventory_root>/system/chassis/fan1' : { 'fru_type' : 'FAN','is_fru' : True, }, - '<inventory_root>/system/chassis/fan2' : { 'fru_type' : 'FAN','is_fru' : True, }, - '<inventory_root>/system/chassis/fan3' : { 'fru_type' : 'FAN','is_fru' : True, }, - - '<inventory_root>/system/chassis/motherboard/bmc' : { 'fru_type' : 'BMC','is_fru' : False, 'manufacturer' : 'ASPEED' }, - - '<inventory_root>/system/chassis/motherboard/cpu0' : { 'fru_type' : 'CPU', 'is_fru' : True, }, - '<inventory_root>/system/chassis/motherboard/cpu1' : { 'fru_type' : 'CPU', 'is_fru' : True, }, - - '<inventory_root>/system/chassis/motherboard/cpu0/core0' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core1' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core2' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core3' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core4' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core5' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core6' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core7' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core8' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core9' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core10': { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core11': { 'fru_type' : 'CORE', 'is_fru' : False, }, - - '<inventory_root>/system/chassis/motherboard/cpu1/core0' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core1' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core2' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core3' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core4' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core5' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core6' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core7' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core8' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core9' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core10' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core11' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - - '<inventory_root>/system/chassis/motherboard/membuf0' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/membuf1' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/membuf2' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/membuf3' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/membuf4' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/membuf5' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/membuf6' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/membuf7' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - - '<inventory_root>/system/chassis/motherboard/dimm0' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm1' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm2' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm3' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm4' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm5' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm6' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm7' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm8' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm9' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm10' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm11' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm12' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm13' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm14' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm15' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm16' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm17' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm18' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm19' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm20' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm21' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm22' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm23' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm24' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm25' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm26' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm27' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm28' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm29' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm30' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm31' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, -} - -ID_LOOKUP = { - 'FRU' : { - 0x01 : '<inventory_root>/system/chassis/motherboard/cpu0', - 0x02 : '<inventory_root>/system/chassis/motherboard/cpu1', - 0x03 : '<inventory_root>/system/chassis/motherboard', - 0x04 : '<inventory_root>/system/chassis/motherboard/membuf0', - 0x05 : '<inventory_root>/system/chassis/motherboard/membuf1', - 0x06 : '<inventory_root>/system/chassis/motherboard/membuf2', - 0x07 : '<inventory_root>/system/chassis/motherboard/membuf3', - 0x08 : '<inventory_root>/system/chassis/motherboard/membuf4', - 0x09 : '<inventory_root>/system/chassis/motherboard/membuf5', - 0x0c : '<inventory_root>/system/chassis/motherboard/dimm0', - 0x0d : '<inventory_root>/system/chassis/motherboard/dimm1', - 0x0e : '<inventory_root>/system/chassis/motherboard/dimm2', - 0x0f : '<inventory_root>/system/chassis/motherboard/dimm3', - 0x10 : '<inventory_root>/system/chassis/motherboard/dimm4', - 0x11 : '<inventory_root>/system/chassis/motherboard/dimm5', - 0x12 : '<inventory_root>/system/chassis/motherboard/dimm6', - 0x13 : '<inventory_root>/system/chassis/motherboard/dimm7', - 0x14 : '<inventory_root>/system/chassis/motherboard/dimm8', - 0x15 : '<inventory_root>/system/chassis/motherboard/dimm9', - 0x16 : '<inventory_root>/system/chassis/motherboard/dimm10', - 0x17 : '<inventory_root>/system/chassis/motherboard/dimm11', - 0x18 : '<inventory_root>/system/chassis/motherboard/dimm12', - 0x19 : '<inventory_root>/system/chassis/motherboard/dimm13', - 0x1a : '<inventory_root>/system/chassis/motherboard/dimm14', - 0x1b : '<inventory_root>/system/chassis/motherboard/dimm15', - 0x1c : '<inventory_root>/system/chassis/motherboard/dimm16', - 0x1d : '<inventory_root>/system/chassis/motherboard/dimm17', - 0x1e : '<inventory_root>/system/chassis/motherboard/dimm18', - 0x1f : '<inventory_root>/system/chassis/motherboard/dimm19', - 0x20 : '<inventory_root>/system/chassis/motherboard/dimm20', - 0x21 : '<inventory_root>/system/chassis/motherboard/dimm21', - 0x22 : '<inventory_root>/system/chassis/motherboard/dimm22', - 0x23 : '<inventory_root>/system/chassis/motherboard/dimm23', - 0x24 : '<inventory_root>/system/chassis/motherboard/dimm24', - 0x25 : '<inventory_root>/system/chassis/motherboard/dimm25', - 0x26 : '<inventory_root>/system/chassis/motherboard/dimm26', - 0x27 : '<inventory_root>/system/chassis/motherboard/dimm27', - 0x28 : '<inventory_root>/system/chassis/motherboard/dimm28', - 0x29 : '<inventory_root>/system/chassis/motherboard/dimm29', - 0x2a : '<inventory_root>/system/chassis/motherboard/dimm30', - 0x2b : '<inventory_root>/system/chassis/motherboard/dimm31', - }, - 'FRU_STR' : { - 'PRODUCT_0' : '<inventory_root>/system/bios', - 'BOARD_1' : '<inventory_root>/system/chassis/motherboard/cpu0', - 'BOARD_2' : '<inventory_root>/system/chassis/motherboard/cpu1', - 'CHASSIS_3' : '<inventory_root>/system/chassis/motherboard', - 'BOARD_3' : '<inventory_root>/system/misc', - 'BOARD_4' : '<inventory_root>/system/chassis/motherboard/membuf0', - 'BOARD_5' : '<inventory_root>/system/chassis/motherboard/membuf1', - 'BOARD_6' : '<inventory_root>/system/chassis/motherboard/membuf2', - 'BOARD_7' : '<inventory_root>/system/chassis/motherboard/membuf3', - 'BOARD_8' : '<inventory_root>/system/chassis/motherboard/membuf4', - 'BOARD_9' : '<inventory_root>/system/chassis/motherboard/membuf5', - 'BOARD_10' : '<inventory_root>/system/chassis/motherboard/membuf6', - 'BOARD_11' : '<inventory_root>/system/chassis/motherboard/membuf7', - 'PRODUCT_12' : '<inventory_root>/system/chassis/motherboard/dimm0', - 'PRODUCT_13' : '<inventory_root>/system/chassis/motherboard/dimm1', - 'PRODUCT_14' : '<inventory_root>/system/chassis/motherboard/dimm2', - 'PRODUCT_15' : '<inventory_root>/system/chassis/motherboard/dimm3', - 'PRODUCT_16' : '<inventory_root>/system/chassis/motherboard/dimm4', - 'PRODUCT_17' : '<inventory_root>/system/chassis/motherboard/dimm5', - 'PRODUCT_18' : '<inventory_root>/system/chassis/motherboard/dimm6', - 'PRODUCT_19' : '<inventory_root>/system/chassis/motherboard/dimm7', - 'PRODUCT_20' : '<inventory_root>/system/chassis/motherboard/dimm8', - 'PRODUCT_21' : '<inventory_root>/system/chassis/motherboard/dimm9', - 'PRODUCT_22' : '<inventory_root>/system/chassis/motherboard/dimm10', - 'PRODUCT_23' : '<inventory_root>/system/chassis/motherboard/dimm11', - 'PRODUCT_24' : '<inventory_root>/system/chassis/motherboard/dimm12', - 'PRODUCT_25' : '<inventory_root>/system/chassis/motherboard/dimm13', - 'PRODUCT_26' : '<inventory_root>/system/chassis/motherboard/dimm14', - 'PRODUCT_27' : '<inventory_root>/system/chassis/motherboard/dimm15', - 'PRODUCT_28' : '<inventory_root>/system/chassis/motherboard/dimm16', - 'PRODUCT_29' : '<inventory_root>/system/chassis/motherboard/dimm17', - 'PRODUCT_30' : '<inventory_root>/system/chassis/motherboard/dimm18', - 'PRODUCT_31' : '<inventory_root>/system/chassis/motherboard/dimm19', - 'PRODUCT_32' : '<inventory_root>/system/chassis/motherboard/dimm20', - 'PRODUCT_33' : '<inventory_root>/system/chassis/motherboard/dimm21', - 'PRODUCT_34' : '<inventory_root>/system/chassis/motherboard/dimm22', - 'PRODUCT_35' : '<inventory_root>/system/chassis/motherboard/dimm23', - 'PRODUCT_36' : '<inventory_root>/system/chassis/motherboard/dimm24', - 'PRODUCT_37' : '<inventory_root>/system/chassis/motherboard/dimm25', - 'PRODUCT_38' : '<inventory_root>/system/chassis/motherboard/dimm26', - 'PRODUCT_39' : '<inventory_root>/system/chassis/motherboard/dimm27', - 'PRODUCT_40' : '<inventory_root>/system/chassis/motherboard/dimm28', - 'PRODUCT_41' : '<inventory_root>/system/chassis/motherboard/dimm29', - 'PRODUCT_42' : '<inventory_root>/system/chassis/motherboard/dimm30', - 'PRODUCT_43' : '<inventory_root>/system/chassis/motherboard/dimm31', - 'PRODUCT_47' : '<inventory_root>/system/misc', - }, - 'SENSOR' : { - 0x04 : '/org/openbmc/sensors/host/HostStatus', - 0x05 : '/org/openbmc/sensors/host/BootProgress', - 0x0c : '<inventory_root>/system/chassis/motherboard/cpu0', - 0x0e : '<inventory_root>/system/chassis/motherboard/cpu1', - 0x1e : '<inventory_root>/system/chassis/motherboard/dimm3', - 0x1f : '<inventory_root>/system/chassis/motherboard/dimm2', - 0x20 : '<inventory_root>/system/chassis/motherboard/dimm1', - 0x21 : '<inventory_root>/system/chassis/motherboard/dimm0', - 0x22 : '<inventory_root>/system/chassis/motherboard/dimm7', - 0x23 : '<inventory_root>/system/chassis/motherboard/dimm6', - 0x24 : '<inventory_root>/system/chassis/motherboard/dimm5', - 0x25 : '<inventory_root>/system/chassis/motherboard/dimm4', - 0x26 : '<inventory_root>/system/chassis/motherboard/dimm11', - 0x27 : '<inventory_root>/system/chassis/motherboard/dimm10', - 0x28 : '<inventory_root>/system/chassis/motherboard/dimm9', - 0x29 : '<inventory_root>/system/chassis/motherboard/dimm8', - 0x2a : '<inventory_root>/system/chassis/motherboard/dimm15', - 0x2b : '<inventory_root>/system/chassis/motherboard/dimm14', - 0x2c : '<inventory_root>/system/chassis/motherboard/dimm13', - 0x2d : '<inventory_root>/system/chassis/motherboard/dimm12', - 0x2e : '<inventory_root>/system/chassis/motherboard/dimm19', - 0x2f : '<inventory_root>/system/chassis/motherboard/dimm18', - 0x30 : '<inventory_root>/system/chassis/motherboard/dimm17', - 0x31 : '<inventory_root>/system/chassis/motherboard/dimm16', - 0x32 : '<inventory_root>/system/chassis/motherboard/dimm23', - 0x33 : '<inventory_root>/system/chassis/motherboard/dimm22', - 0x34 : '<inventory_root>/system/chassis/motherboard/dimm21', - 0x35 : '<inventory_root>/system/chassis/motherboard/dimm20', - 0x36 : '<inventory_root>/system/chassis/motherboard/dimm27', - 0x37 : '<inventory_root>/system/chassis/motherboard/dimm26', - 0x38 : '<inventory_root>/system/chassis/motherboard/dimm25', - 0x39 : '<inventory_root>/system/chassis/motherboard/dimm24', - 0x3a : '<inventory_root>/system/chassis/motherboard/dimm31', - 0x3b : '<inventory_root>/system/chassis/motherboard/dimm30', - 0x3c : '<inventory_root>/system/chassis/motherboard/dimm29', - 0x3d : '<inventory_root>/system/chassis/motherboard/dimm28', - 0x3e : '<inventory_root>/system/chassis/motherboard/cpu0/core0', - 0x3f : '<inventory_root>/system/chassis/motherboard/cpu0/core1', - 0x40 : '<inventory_root>/system/chassis/motherboard/cpu0/core2', - 0x41 : '<inventory_root>/system/chassis/motherboard/cpu0/core3', - 0x42 : '<inventory_root>/system/chassis/motherboard/cpu0/core4', - 0x43 : '<inventory_root>/system/chassis/motherboard/cpu0/core5', - 0x44 : '<inventory_root>/system/chassis/motherboard/cpu0/core6', - 0x45 : '<inventory_root>/system/chassis/motherboard/cpu0/core7', - 0x46 : '<inventory_root>/system/chassis/motherboard/cpu0/core8', - 0x47 : '<inventory_root>/system/chassis/motherboard/cpu0/core9', - 0x48 : '<inventory_root>/system/chassis/motherboard/cpu0/core10', - 0x49 : '<inventory_root>/system/chassis/motherboard/cpu0/core11', - 0x4a : '<inventory_root>/system/chassis/motherboard/cpu1/core0', - 0x4b : '<inventory_root>/system/chassis/motherboard/cpu1/core1', - 0x4c : '<inventory_root>/system/chassis/motherboard/cpu1/core2', - 0x4d : '<inventory_root>/system/chassis/motherboard/cpu1/core3', - 0x4e : '<inventory_root>/system/chassis/motherboard/cpu1/core4', - 0x4f : '<inventory_root>/system/chassis/motherboard/cpu1/core5', - 0x50 : '<inventory_root>/system/chassis/motherboard/cpu1/core6', - 0x51 : '<inventory_root>/system/chassis/motherboard/cpu1/core7', - 0x52 : '<inventory_root>/system/chassis/motherboard/cpu1/core8', - 0x53 : '<inventory_root>/system/chassis/motherboard/cpu1/core9', - 0x54 : '<inventory_root>/system/chassis/motherboard/cpu1/core10', - 0x55 : '<inventory_root>/system/chassis/motherboard/cpu1/core11', - 0x56 : '<inventory_root>/system/chassis/motherboard/membuf0', - 0x57 : '<inventory_root>/system/chassis/motherboard/membuf1', - 0x58 : '<inventory_root>/system/chassis/motherboard/membuf2', - 0x59 : '<inventory_root>/system/chassis/motherboard/membuf3', - 0x5a : '<inventory_root>/system/chassis/motherboard/membuf4', - 0x5b : '<inventory_root>/system/chassis/motherboard/membuf5', - 0x5c : '<inventory_root>/system/chassis/motherboard/membuf6', - 0x5d : '<inventory_root>/system/chassis/motherboard/membuf7', - 0x5f : '/org/openbmc/sensors/host/BootCount', - 0x60 : '<inventory_root>/system/chassis/motherboard', - 0x61 : '<inventory_root>/system/systemevent', - 0x62 : '<inventory_root>/system/powerlimit', - 0x63 : '<inventory_root>/system/chassis/motherboard/refclock', - 0x64 : '<inventory_root>/system/chassis/motherboard/pcieclock', - 0xb1 : '<inventory_root>/system/chassis/motherboard/todclock', - 0xb2 : '<inventory_root>/system/chassis/motherboard/apss', - 0xb5 : '/org/openbmc/sensors/host/OperatingSystemStatus', - 0xb6 : '<inventory_root>/system/chassis/motherboard/pcielink', - }, - 'GPIO_PRESENT' : {} -} - -GPIO_CONFIG = {} -GPIO_CONFIG['BMC_POWER_UP'] = \ - {'gpio_pin': 'D1', 'direction': 'out'} -GPIO_CONFIG['SYS_PWROK_BUFF'] = \ - {'gpio_pin': 'D2', 'direction': 'in'} -GPIO_CONFIG['BMC_WD_CLEAR_PULSE_N'] = \ - {'gpio_pin': 'N4', 'direction': 'out'} -GPIO_CONFIG['CM1_OE_R_N'] = \ - {'gpio_pin': 'Q6', 'direction': 'out'} -GPIO_CONFIG['BMC_CP0_RESET_N'] = \ - {'gpio_pin': 'O2', 'direction': 'out'} -GPIO_CONFIG['BMC_CFAM_RESET_N_R'] = \ - {'gpio_pin': 'J2', 'direction': 'out'} -GPIO_CONFIG['PEX8718_DEVICES_RESET_N'] = \ - {'gpio_pin': 'B6', 'direction': 'out'} -GPIO_CONFIG['CP0_DEVICES_RESET_N'] = \ - {'gpio_pin': 'N3', 'direction': 'out'} -GPIO_CONFIG['CP1_DEVICES_RESET_N'] = \ - {'gpio_pin': 'N5', 'direction': 'out'} -GPIO_CONFIG['IDBTN'] = \ - { 'gpio_pin': 'Q7', 'direction': 'out' } -GPIO_CONFIG['FSI_DATA'] = \ - {'gpio_pin': 'A5', 'direction': 'out'} -GPIO_CONFIG['FSI_CLK'] = \ - {'gpio_pin': 'A4', 'direction': 'out'} -GPIO_CONFIG['FSI_ENABLE'] = \ - {'gpio_pin': 'D0', 'direction': 'out'} -GPIO_CONFIG['CRONUS_SEL'] = \ - {'gpio_pin': 'A6', 'direction': 'out'} -GPIO_CONFIG['BMC_THROTTLE'] = \ - {'gpio_pin': 'J3', 'direction': 'out'} - -GPIO_CONFIG['POWER_BUTTON'] = \ - {'gpio_pin': 'E0', 'direction': 'both'} -GPIO_CONFIG['RESET_BUTTON'] = \ - {'gpio_pin': 'E4', 'direction': 'both'} -GPIO_CONFIG['CHECKSTOP'] = \ - {'gpio_pin': 'H0', 'direction': 'falling'} - -GPIO_CONFIG['PS0_PRES_N'] = \ - {'gpio_pin': 'P7', 'direction': 'in'} -GPIO_CONFIG['PS1_PRES_N'] = \ - {'gpio_pin': 'N0', 'direction': 'in'} -GPIO_CONFIG['CARD_PRES_N'] = \ - {'gpio_pin': 'J0', 'direction': 'in'} - -GPIO_CONFIGS = { - 'power_config' : { - 'power_good_in' : 'SYS_PWROK_BUFF', - 'power_up_outs' : [ - ('BMC_POWER_UP', True), - ], - 'reset_outs' : [ - ('CM1_OE_R_N', True), - ('BMC_CP0_RESET_N', False), - ('BMC_CFAM_RESET_N_R', False), - ], - 'pci_reset_outs': [ - # net name, polarity, reset hold - # if 'reset hold' set to 'True', BMC will hold pci reset until host CPU ready to drive PCI - ('PEX8718_DEVICES_RESET_N', False, True), - ('CP0_DEVICES_RESET_N', False, True), - ('CP1_DEVICES_RESET_N', False, True), - ], - }, - 'hostctl_config' : { - 'fsi_data' : 'FSI_DATA', - 'fsi_clk' : 'FSI_CLK', - 'fsi_enable' : 'FSI_ENABLE', - 'cronus_sel' : 'CRONUS_SEL', - 'optionals' : [ - ('BMC_THROTTLE', True), - ('IDBTN', False), - ], - }, -} - - -# Miscellaneous non-poll sensor with system specific properties. -# The sensor id is the same as those defined in ID_LOOKUP['SENSOR']. -MISC_SENSORS = { -} - -# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 diff --git a/configs/Garrison.py b/configs/Garrison.py deleted file mode 100644 index aff1964..0000000 --- a/configs/Garrison.py +++ /dev/null @@ -1,381 +0,0 @@ -## System states -## state can change to next state in 2 ways: -## - a process emits a GotoSystemState signal with state name to goto -## - objects specified in EXIT_STATE_DEPEND have started -SYSTEM_STATES = [ - 'BASE_APPS', - 'BMC_STARTING', - 'BMC_READY', - 'HOST_POWERING_ON', - 'HOST_POWERED_ON', - 'HOST_BOOTING', - 'HOST_BOOTED', - 'HOST_POWERED_OFF', -] - -EXIT_STATE_DEPEND = { - 'BASE_APPS' : { - '/org/openbmc/sensors': 0, - }, - 'BMC_STARTING' : { - '/org/openbmc/control/chassis0': 0, - '/org/openbmc/control/power0' : 0, - '/org/openbmc/control/host0' : 0, - '/org/openbmc/control/flash/bios' : 0, - }, -} - -FRU_INSTANCES = { - '<inventory_root>/system' : { 'fru_type' : 'SYSTEM','is_fru' : True, 'present' : "True" }, - '<inventory_root>/system/bios' : { 'fru_type' : 'SYSTEM','is_fru' : True, 'present' : "True" }, - '<inventory_root>/system/misc' : { 'fru_type' : 'SYSTEM','is_fru' : False, }, - - '<inventory_root>/system/chassis' : { 'fru_type' : 'SYSTEM','is_fru' : True, 'present' : "True" }, - - '<inventory_root>/system/chassis/motherboard' : { 'fru_type' : 'MAIN_PLANAR','is_fru' : True, }, - - '<inventory_root>/system/systemevent' : { 'fru_type' : 'SYSTEM_EVENT', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/refclock' : { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/pcieclock': { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/todclock' : { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/apss' : { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, - - '<inventory_root>/system/chassis/fan0' : { 'fru_type' : 'FAN','is_fru' : True, }, - '<inventory_root>/system/chassis/fan1' : { 'fru_type' : 'FAN','is_fru' : True, }, - '<inventory_root>/system/chassis/fan2' : { 'fru_type' : 'FAN','is_fru' : True, }, - '<inventory_root>/system/chassis/fan3' : { 'fru_type' : 'FAN','is_fru' : True, }, - - '<inventory_root>/system/chassis/motherboard/bmc' : { 'fru_type' : 'BMC','is_fru' : False, 'manufacturer' : 'ASPEED' }, - - '<inventory_root>/system/chassis/motherboard/cpu0' : { 'fru_type' : 'CPU', 'is_fru' : True, }, - '<inventory_root>/system/chassis/motherboard/cpu1' : { 'fru_type' : 'CPU', 'is_fru' : True, }, - - '<inventory_root>/system/chassis/motherboard/cpu0/core0' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core1' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core2' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core3' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core4' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core5' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core6' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core7' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core8' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core9' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core10': { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core11': { 'fru_type' : 'CORE', 'is_fru' : False, }, - - '<inventory_root>/system/chassis/motherboard/cpu1/core0' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core1' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core2' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core3' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core4' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core5' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core6' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core7' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core8' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core9' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core10' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core11' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - - '<inventory_root>/system/chassis/motherboard/membuf0' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/membuf1' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/membuf2' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/membuf3' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/membuf4' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/membuf5' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/membuf6' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/membuf7' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - - '<inventory_root>/system/chassis/motherboard/dimm0' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm1' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm2' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm3' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm4' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm5' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm6' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm7' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm8' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm9' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm10' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm11' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm12' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm13' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm14' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm15' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm16' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm17' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm18' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm19' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm20' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm21' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm22' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm23' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm24' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm25' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm26' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm27' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm28' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm29' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm30' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm31' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, -} - -ID_LOOKUP = { - 'FRU' : { - 0x01 : '<inventory_root>/system/chassis/motherboard/cpu0', - 0x02 : '<inventory_root>/system/chassis/motherboard/cpu1', - 0x03 : '<inventory_root>/system/chassis/motherboard', - 0x04 : '<inventory_root>/system/chassis/motherboard/membuf0', - 0x05 : '<inventory_root>/system/chassis/motherboard/membuf1', - 0x06 : '<inventory_root>/system/chassis/motherboard/membuf2', - 0x07 : '<inventory_root>/system/chassis/motherboard/membuf3', - 0x08 : '<inventory_root>/system/chassis/motherboard/membuf4', - 0x09 : '<inventory_root>/system/chassis/motherboard/membuf5', - 0x0c : '<inventory_root>/system/chassis/motherboard/dimm0', - 0x0d : '<inventory_root>/system/chassis/motherboard/dimm1', - 0x0e : '<inventory_root>/system/chassis/motherboard/dimm2', - 0x0f : '<inventory_root>/system/chassis/motherboard/dimm3', - 0x10 : '<inventory_root>/system/chassis/motherboard/dimm4', - 0x11 : '<inventory_root>/system/chassis/motherboard/dimm5', - 0x12 : '<inventory_root>/system/chassis/motherboard/dimm6', - 0x13 : '<inventory_root>/system/chassis/motherboard/dimm7', - 0x14 : '<inventory_root>/system/chassis/motherboard/dimm8', - 0x15 : '<inventory_root>/system/chassis/motherboard/dimm9', - 0x16 : '<inventory_root>/system/chassis/motherboard/dimm10', - 0x17 : '<inventory_root>/system/chassis/motherboard/dimm11', - 0x18 : '<inventory_root>/system/chassis/motherboard/dimm12', - 0x19 : '<inventory_root>/system/chassis/motherboard/dimm13', - 0x1a : '<inventory_root>/system/chassis/motherboard/dimm14', - 0x1b : '<inventory_root>/system/chassis/motherboard/dimm15', - 0x1c : '<inventory_root>/system/chassis/motherboard/dimm16', - 0x1d : '<inventory_root>/system/chassis/motherboard/dimm17', - 0x1e : '<inventory_root>/system/chassis/motherboard/dimm18', - 0x1f : '<inventory_root>/system/chassis/motherboard/dimm19', - 0x20 : '<inventory_root>/system/chassis/motherboard/dimm20', - 0x21 : '<inventory_root>/system/chassis/motherboard/dimm21', - 0x22 : '<inventory_root>/system/chassis/motherboard/dimm22', - 0x23 : '<inventory_root>/system/chassis/motherboard/dimm23', - 0x24 : '<inventory_root>/system/chassis/motherboard/dimm24', - 0x25 : '<inventory_root>/system/chassis/motherboard/dimm25', - 0x26 : '<inventory_root>/system/chassis/motherboard/dimm26', - 0x27 : '<inventory_root>/system/chassis/motherboard/dimm27', - 0x28 : '<inventory_root>/system/chassis/motherboard/dimm28', - 0x29 : '<inventory_root>/system/chassis/motherboard/dimm29', - 0x2a : '<inventory_root>/system/chassis/motherboard/dimm30', - 0x2b : '<inventory_root>/system/chassis/motherboard/dimm31', - }, - 'FRU_STR' : { - 'PRODUCT_0' : '<inventory_root>/system/bios', - 'BOARD_1' : '<inventory_root>/system/chassis/motherboard/cpu0', - 'BOARD_2' : '<inventory_root>/system/chassis/motherboard/cpu1', - 'CHASSIS_3' : '<inventory_root>/system/chassis/motherboard', - 'BOARD_3' : '<inventory_root>/system/misc', - 'BOARD_4' : '<inventory_root>/system/chassis/motherboard/membuf0', - 'BOARD_5' : '<inventory_root>/system/chassis/motherboard/membuf1', - 'BOARD_6' : '<inventory_root>/system/chassis/motherboard/membuf2', - 'BOARD_7' : '<inventory_root>/system/chassis/motherboard/membuf3', - 'BOARD_8' : '<inventory_root>/system/chassis/motherboard/membuf4', - 'BOARD_9' : '<inventory_root>/system/chassis/motherboard/membuf5', - 'BOARD_10' : '<inventory_root>/system/chassis/motherboard/membuf6', - 'BOARD_11' : '<inventory_root>/system/chassis/motherboard/membuf7', - 'PRODUCT_12' : '<inventory_root>/system/chassis/motherboard/dimm0', - 'PRODUCT_13' : '<inventory_root>/system/chassis/motherboard/dimm1', - 'PRODUCT_14' : '<inventory_root>/system/chassis/motherboard/dimm2', - 'PRODUCT_15' : '<inventory_root>/system/chassis/motherboard/dimm3', - 'PRODUCT_16' : '<inventory_root>/system/chassis/motherboard/dimm4', - 'PRODUCT_17' : '<inventory_root>/system/chassis/motherboard/dimm5', - 'PRODUCT_18' : '<inventory_root>/system/chassis/motherboard/dimm6', - 'PRODUCT_19' : '<inventory_root>/system/chassis/motherboard/dimm7', - 'PRODUCT_20' : '<inventory_root>/system/chassis/motherboard/dimm8', - 'PRODUCT_21' : '<inventory_root>/system/chassis/motherboard/dimm9', - 'PRODUCT_22' : '<inventory_root>/system/chassis/motherboard/dimm10', - 'PRODUCT_23' : '<inventory_root>/system/chassis/motherboard/dimm11', - 'PRODUCT_24' : '<inventory_root>/system/chassis/motherboard/dimm12', - 'PRODUCT_25' : '<inventory_root>/system/chassis/motherboard/dimm13', - 'PRODUCT_26' : '<inventory_root>/system/chassis/motherboard/dimm14', - 'PRODUCT_27' : '<inventory_root>/system/chassis/motherboard/dimm15', - 'PRODUCT_28' : '<inventory_root>/system/chassis/motherboard/dimm16', - 'PRODUCT_29' : '<inventory_root>/system/chassis/motherboard/dimm17', - 'PRODUCT_30' : '<inventory_root>/system/chassis/motherboard/dimm18', - 'PRODUCT_31' : '<inventory_root>/system/chassis/motherboard/dimm19', - 'PRODUCT_32' : '<inventory_root>/system/chassis/motherboard/dimm20', - 'PRODUCT_33' : '<inventory_root>/system/chassis/motherboard/dimm21', - 'PRODUCT_34' : '<inventory_root>/system/chassis/motherboard/dimm22', - 'PRODUCT_35' : '<inventory_root>/system/chassis/motherboard/dimm23', - 'PRODUCT_36' : '<inventory_root>/system/chassis/motherboard/dimm24', - 'PRODUCT_37' : '<inventory_root>/system/chassis/motherboard/dimm25', - 'PRODUCT_38' : '<inventory_root>/system/chassis/motherboard/dimm26', - 'PRODUCT_39' : '<inventory_root>/system/chassis/motherboard/dimm27', - 'PRODUCT_40' : '<inventory_root>/system/chassis/motherboard/dimm28', - 'PRODUCT_41' : '<inventory_root>/system/chassis/motherboard/dimm29', - 'PRODUCT_42' : '<inventory_root>/system/chassis/motherboard/dimm30', - 'PRODUCT_43' : '<inventory_root>/system/chassis/motherboard/dimm31', - 'PRODUCT_47' : '<inventory_root>/system/misc', - }, - 'SENSOR' : { - 0x04 : '/org/openbmc/sensors/host/HostStatus', - 0x05 : '/org/openbmc/sensors/host/BootProgress', - 0x0c : '<inventory_root>/system/chassis/motherboard/cpu0', - 0x0e : '<inventory_root>/system/chassis/motherboard/cpu1', - 0x1e : '<inventory_root>/system/chassis/motherboard/dimm3', - 0x1f : '<inventory_root>/system/chassis/motherboard/dimm2', - 0x20 : '<inventory_root>/system/chassis/motherboard/dimm1', - 0x21 : '<inventory_root>/system/chassis/motherboard/dimm0', - 0x22 : '<inventory_root>/system/chassis/motherboard/dimm7', - 0x23 : '<inventory_root>/system/chassis/motherboard/dimm6', - 0x24 : '<inventory_root>/system/chassis/motherboard/dimm5', - 0x25 : '<inventory_root>/system/chassis/motherboard/dimm4', - 0x26 : '<inventory_root>/system/chassis/motherboard/dimm11', - 0x27 : '<inventory_root>/system/chassis/motherboard/dimm10', - 0x28 : '<inventory_root>/system/chassis/motherboard/dimm9', - 0x29 : '<inventory_root>/system/chassis/motherboard/dimm8', - 0x2a : '<inventory_root>/system/chassis/motherboard/dimm15', - 0x2b : '<inventory_root>/system/chassis/motherboard/dimm14', - 0x2c : '<inventory_root>/system/chassis/motherboard/dimm13', - 0x2d : '<inventory_root>/system/chassis/motherboard/dimm12', - 0x2e : '<inventory_root>/system/chassis/motherboard/dimm19', - 0x2f : '<inventory_root>/system/chassis/motherboard/dimm18', - 0x30 : '<inventory_root>/system/chassis/motherboard/dimm17', - 0x31 : '<inventory_root>/system/chassis/motherboard/dimm16', - 0x32 : '<inventory_root>/system/chassis/motherboard/dimm23', - 0x33 : '<inventory_root>/system/chassis/motherboard/dimm22', - 0x34 : '<inventory_root>/system/chassis/motherboard/dimm21', - 0x35 : '<inventory_root>/system/chassis/motherboard/dimm20', - 0x36 : '<inventory_root>/system/chassis/motherboard/dimm27', - 0x37 : '<inventory_root>/system/chassis/motherboard/dimm26', - 0x38 : '<inventory_root>/system/chassis/motherboard/dimm25', - 0x39 : '<inventory_root>/system/chassis/motherboard/dimm24', - 0x3a : '<inventory_root>/system/chassis/motherboard/dimm31', - 0x3b : '<inventory_root>/system/chassis/motherboard/dimm30', - 0x3c : '<inventory_root>/system/chassis/motherboard/dimm29', - 0x3d : '<inventory_root>/system/chassis/motherboard/dimm28', - 0x3e : '<inventory_root>/system/chassis/motherboard/cpu0/core0', - 0x3f : '<inventory_root>/system/chassis/motherboard/cpu0/core1', - 0x40 : '<inventory_root>/system/chassis/motherboard/cpu0/core2', - 0x41 : '<inventory_root>/system/chassis/motherboard/cpu0/core3', - 0x42 : '<inventory_root>/system/chassis/motherboard/cpu0/core4', - 0x43 : '<inventory_root>/system/chassis/motherboard/cpu0/core5', - 0x44 : '<inventory_root>/system/chassis/motherboard/cpu0/core6', - 0x45 : '<inventory_root>/system/chassis/motherboard/cpu0/core7', - 0x46 : '<inventory_root>/system/chassis/motherboard/cpu0/core8', - 0x47 : '<inventory_root>/system/chassis/motherboard/cpu0/core9', - 0x48 : '<inventory_root>/system/chassis/motherboard/cpu0/core10', - 0x49 : '<inventory_root>/system/chassis/motherboard/cpu0/core11', - 0x4a : '<inventory_root>/system/chassis/motherboard/cpu1/core0', - 0x4b : '<inventory_root>/system/chassis/motherboard/cpu1/core1', - 0x4c : '<inventory_root>/system/chassis/motherboard/cpu1/core2', - 0x4d : '<inventory_root>/system/chassis/motherboard/cpu1/core3', - 0x4e : '<inventory_root>/system/chassis/motherboard/cpu1/core4', - 0x4f : '<inventory_root>/system/chassis/motherboard/cpu1/core5', - 0x50 : '<inventory_root>/system/chassis/motherboard/cpu1/core6', - 0x51 : '<inventory_root>/system/chassis/motherboard/cpu1/core7', - 0x52 : '<inventory_root>/system/chassis/motherboard/cpu1/core8', - 0x53 : '<inventory_root>/system/chassis/motherboard/cpu1/core9', - 0x54 : '<inventory_root>/system/chassis/motherboard/cpu1/core10', - 0x55 : '<inventory_root>/system/chassis/motherboard/cpu1/core11', - 0x56 : '<inventory_root>/system/chassis/motherboard/membuf0', - 0x57 : '<inventory_root>/system/chassis/motherboard/membuf1', - 0x58 : '<inventory_root>/system/chassis/motherboard/membuf2', - 0x59 : '<inventory_root>/system/chassis/motherboard/membuf3', - 0x5a : '<inventory_root>/system/chassis/motherboard/membuf4', - 0x5b : '<inventory_root>/system/chassis/motherboard/membuf5', - 0x5c : '<inventory_root>/system/chassis/motherboard/membuf6', - 0x5d : '<inventory_root>/system/chassis/motherboard/membuf7', - 0x5f : '/org/openbmc/sensors/host/BootCount', - 0x60 : '<inventory_root>/system/chassis/motherboard', - 0x61 : '<inventory_root>/system/systemevent', - 0x62 : '<inventory_root>/system/powerlimit', - 0x63 : '<inventory_root>/system/chassis/motherboard/refclock', - 0x64 : '<inventory_root>/system/chassis/motherboard/pcieclock', - 0xb1 : '<inventory_root>/system/chassis/motherboard/todclock', - 0xb2 : '<inventory_root>/system/chassis/motherboard/apss', - 0xb5 : '/org/openbmc/sensors/host/OperatingSystemStatus', - 0xb6 : '<inventory_root>/system/chassis/motherboard/pcielink', - }, - 'GPIO_PRESENT' : {} -} - -GPIO_CONFIG = {} -GPIO_CONFIG['BMC_POWER_UP'] = \ - {'gpio_pin': 'D1', 'direction': 'out'} -GPIO_CONFIG['SYS_PWROK_BUFF'] = \ - {'gpio_pin': 'D2', 'direction': 'in'} -GPIO_CONFIG['BMC_WD_CLEAR_PULSE_N'] = \ - {'gpio_pin': 'N4', 'direction': 'out'} -GPIO_CONFIG['CM1_OE_R_N'] = \ - {'gpio_pin': 'Q6', 'direction': 'out'} -GPIO_CONFIG['BMC_CP0_RESET_N'] = \ - {'gpio_pin': 'O2', 'direction': 'out'} -GPIO_CONFIG['BMC_CFAM_RESET_N_R'] = \ - {'gpio_pin': 'J2', 'direction': 'out'} -GPIO_CONFIG['PEX8718_DEVICES_RESET_N'] = \ - {'gpio_pin': 'B6', 'direction': 'out'} -GPIO_CONFIG['CP0_DEVICES_RESET_N'] = \ - {'gpio_pin': 'N3', 'direction': 'out'} -GPIO_CONFIG['CP1_DEVICES_RESET_N'] = \ - {'gpio_pin': 'N5', 'direction': 'out'} - -GPIO_CONFIG['FSI_DATA'] = \ - {'gpio_pin': 'A5', 'direction': 'out'} -GPIO_CONFIG['FSI_CLK'] = \ - {'gpio_pin': 'A4', 'direction': 'out'} -GPIO_CONFIG['FSI_ENABLE'] = \ - {'gpio_pin': 'D0', 'direction': 'out'} -GPIO_CONFIG['CRONUS_SEL'] = \ - {'gpio_pin': 'A6', 'direction': 'out'} -GPIO_CONFIG['BMC_THROTTLE'] = \ - {'gpio_pin': 'J3', 'direction': 'out'} - -GPIO_CONFIG['IDBTN'] = \ - { 'gpio_pin': 'Q7', 'direction': 'out' } -GPIO_CONFIG['POWER_BUTTON'] = \ - {'gpio_pin': 'E0', 'direction': 'both'} -GPIO_CONFIG['RESET_BUTTON'] = \ - {'gpio_pin': 'E4', 'direction': 'both'} -GPIO_CONFIG['CHECKSTOP'] = \ - {'gpio_pin': 'H0', 'direction': 'falling'} - -GPIO_CONFIG['PS0_PRES_N'] = \ - {'gpio_pin': 'P7', 'direction': 'in'} -GPIO_CONFIG['PS1_PRES_N'] = \ - {'gpio_pin': 'N0', 'direction': 'in'} -GPIO_CONFIG['CARD_PRES_N'] = \ - {'gpio_pin': 'J0', 'direction': 'in'} - -GPIO_CONFIGS = { - 'power_config' : { - 'power_good_in' : 'SYS_PWROK_BUFF', - 'power_up_outs' : [ - ('BMC_POWER_UP', True), - ], - 'reset_outs' : [ - ('CM1_OE_R_N', True), - ('BMC_CP0_RESET_N', False), - ('BMC_CFAM_RESET_N_R', False), - ], - 'pci_reset_outs': [ - # net name, polarity, reset hold - # if 'reset hold' set to 'True', BMC will hold pci reset until host CPU ready to drive PCI - ('PEX8718_DEVICES_RESET_N', False, True), - ('CP0_DEVICES_RESET_N', False, True), - ('CP1_DEVICES_RESET_N', False, True), - ], - }, - 'hostctl_config' : { - 'fsi_data' : 'FSI_DATA', - 'fsi_clk' : 'FSI_CLK', - 'fsi_enable' : 'FSI_ENABLE', - 'cronus_sel' : 'CRONUS_SEL', - 'optionals' : [ - ('BMC_THROTTLE', True), - ('IDBTN', False), - ], - }, -} - - -# Miscellaneous non-poll sensor with system specific properties. -# The sensor id is the same as those defined in ID_LOOKUP['SENSOR']. -MISC_SENSORS = { -} - -# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 diff --git a/configs/Lanyang.py b/configs/Lanyang.py deleted file mode 100644 index fcabc1f..0000000 --- a/configs/Lanyang.py +++ /dev/null @@ -1,320 +0,0 @@ -## System states -## state can change to next state in 2 ways: -## - a process emits a GotoSystemState signal with state name to goto -## - objects specified in EXIT_STATE_DEPEND have started -SYSTEM_STATES = [ - 'BASE_APPS', - 'BMC_STARTING', - 'BMC_READY', - 'HOST_POWERING_ON', - 'HOST_POWERED_ON', - 'HOST_BOOTING', - 'HOST_BOOTED', - 'HOST_POWERED_OFF', -] - -EXIT_STATE_DEPEND = { - 'BASE_APPS' : { - '/org/openbmc/sensors': 0, - }, - 'BMC_STARTING' : { - '/org/openbmc/control/chassis0': 0, - '/org/openbmc/control/power0' : 0, - '/org/openbmc/control/flash/bios' : 0, - }, -} - -FRU_INSTANCES = { - '<inventory_root>/system' : { 'fru_type' : 'SYSTEM','is_fru' : True, 'present' : "True" }, - '<inventory_root>/system/bios' : { 'fru_type' : 'SYSTEM','is_fru' : True, 'present' : "True" }, - '<inventory_root>/system/misc' : { 'fru_type' : 'SYSTEM','is_fru' : False, }, - - '<inventory_root>/system/chassis' : { 'fru_type' : 'SYSTEM','is_fru' : True, 'present' : "True" }, - - '<inventory_root>/system/chassis/motherboard' : { 'fru_type' : 'MAIN_PLANAR','is_fru' : True, }, - - '<inventory_root>/system/systemevent' : { 'fru_type' : 'SYSTEM_EVENT', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/refclock' : { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/pcieclock': { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/todclock' : { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, - - '<inventory_root>/system/chassis/fan0' : { 'fru_type' : 'FAN','is_fru' : True, }, - '<inventory_root>/system/chassis/fan1' : { 'fru_type' : 'FAN','is_fru' : True, }, - '<inventory_root>/system/chassis/fan2' : { 'fru_type' : 'FAN','is_fru' : True, }, - - '<inventory_root>/system/chassis/motherboard/bmc' : { 'fru_type' : 'BMC','is_fru' : False, 'manufacturer' : 'ASPEED' }, - - '<inventory_root>/system/chassis/motherboard/cpu0' : { 'fru_type' : 'CPU', 'is_fru' : True, }, - '<inventory_root>/system/chassis/motherboard/cpu1' : { 'fru_type' : 'CPU', 'is_fru' : True, }, - - '<inventory_root>/system/chassis/motherboard/cpu0/core0' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core1' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core2' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core3' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core4' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core5' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core6' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core7' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core8' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core9' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core10': { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core11': { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core12' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core13' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core14' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core15' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core16' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core17' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core18' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core19' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core20' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core21' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core22': { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core23': { 'fru_type' : 'CORE', 'is_fru' : False, }, - - '<inventory_root>/system/chassis/motherboard/cpu1/core0' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core1' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core2' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core3' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core4' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core5' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core6' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core7' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core8' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core9' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core10' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core11' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core12' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core13' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core14' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core15' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core16' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core17' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core18' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core19' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core20' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core21' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core22' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core23' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - - '<inventory_root>/system/chassis/motherboard/dimm0' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm1' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm2' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm3' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm4' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm5' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm6' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm7' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm8' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm9' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm10' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm11' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm12' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm13' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm14' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm15' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm16' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm17' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm18' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm19' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm20' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm21' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm22' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm23' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm24' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm25' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm26' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm27' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm28' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm29' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm30' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm31' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, -} - -ID_LOOKUP = { - 'FRU' : { - 0x01 : '<inventory_root>/system/chassis/motherboard/cpu0', - 0x02 : '<inventory_root>/system/chassis/motherboard/cpu1', - 0x03 : '<inventory_root>/system/chassis/motherboard', - 0x04 : '<inventory_root>/system/chassis/motherboard/membuf0', - 0x05 : '<inventory_root>/system/chassis/motherboard/membuf1', - 0x06 : '<inventory_root>/system/chassis/motherboard/membuf2', - 0x07 : '<inventory_root>/system/chassis/motherboard/membuf3', - 0x08 : '<inventory_root>/system/chassis/motherboard/membuf4', - 0x09 : '<inventory_root>/system/chassis/motherboard/membuf5', - 0x0c : '<inventory_root>/system/chassis/motherboard/dimm0', - 0x0d : '<inventory_root>/system/chassis/motherboard/dimm1', - 0x0e : '<inventory_root>/system/chassis/motherboard/dimm2', - 0x0f : '<inventory_root>/system/chassis/motherboard/dimm3', - 0x10 : '<inventory_root>/system/chassis/motherboard/dimm4', - 0x11 : '<inventory_root>/system/chassis/motherboard/dimm5', - 0x12 : '<inventory_root>/system/chassis/motherboard/dimm6', - 0x13 : '<inventory_root>/system/chassis/motherboard/dimm7', - 0x14 : '<inventory_root>/system/chassis/motherboard/dimm8', - 0x15 : '<inventory_root>/system/chassis/motherboard/dimm9', - 0x16 : '<inventory_root>/system/chassis/motherboard/dimm10', - 0x17 : '<inventory_root>/system/chassis/motherboard/dimm11', - 0x18 : '<inventory_root>/system/chassis/motherboard/dimm12', - 0x19 : '<inventory_root>/system/chassis/motherboard/dimm13', - 0x1a : '<inventory_root>/system/chassis/motherboard/dimm14', - 0x1b : '<inventory_root>/system/chassis/motherboard/dimm15', - 0x1c : '<inventory_root>/system/chassis/motherboard/dimm16', - 0x1d : '<inventory_root>/system/chassis/motherboard/dimm17', - 0x1e : '<inventory_root>/system/chassis/motherboard/dimm18', - 0x1f : '<inventory_root>/system/chassis/motherboard/dimm19', - 0x20 : '<inventory_root>/system/chassis/motherboard/dimm20', - 0x21 : '<inventory_root>/system/chassis/motherboard/dimm21', - 0x22 : '<inventory_root>/system/chassis/motherboard/dimm22', - 0x23 : '<inventory_root>/system/chassis/motherboard/dimm23', - 0x24 : '<inventory_root>/system/chassis/motherboard/dimm24', - 0x25 : '<inventory_root>/system/chassis/motherboard/dimm25', - 0x26 : '<inventory_root>/system/chassis/motherboard/dimm26', - 0x27 : '<inventory_root>/system/chassis/motherboard/dimm27', - 0x28 : '<inventory_root>/system/chassis/motherboard/dimm28', - 0x29 : '<inventory_root>/system/chassis/motherboard/dimm29', - 0x2a : '<inventory_root>/system/chassis/motherboard/dimm30', - 0x2b : '<inventory_root>/system/chassis/motherboard/dimm31', - }, - 'FRU_STR' : { - 'PRODUCT_0' : '<inventory_root>/system/bios', - 'BOARD_1' : '<inventory_root>/system/chassis/motherboard/cpu0', - 'BOARD_2' : '<inventory_root>/system/chassis/motherboard/cpu1', - 'CHASSIS_3' : '<inventory_root>/system/chassis/motherboard', - 'BOARD_3' : '<inventory_root>/system/misc', - 'PRODUCT_12' : '<inventory_root>/system/chassis/motherboard/dimm0', - 'PRODUCT_13' : '<inventory_root>/system/chassis/motherboard/dimm1', - 'PRODUCT_14' : '<inventory_root>/system/chassis/motherboard/dimm2', - 'PRODUCT_15' : '<inventory_root>/system/chassis/motherboard/dimm3', - 'PRODUCT_16' : '<inventory_root>/system/chassis/motherboard/dimm4', - 'PRODUCT_17' : '<inventory_root>/system/chassis/motherboard/dimm5', - 'PRODUCT_18' : '<inventory_root>/system/chassis/motherboard/dimm6', - 'PRODUCT_19' : '<inventory_root>/system/chassis/motherboard/dimm7', - 'PRODUCT_20' : '<inventory_root>/system/chassis/motherboard/dimm8', - 'PRODUCT_21' : '<inventory_root>/system/chassis/motherboard/dimm9', - 'PRODUCT_22' : '<inventory_root>/system/chassis/motherboard/dimm10', - 'PRODUCT_23' : '<inventory_root>/system/chassis/motherboard/dimm11', - 'PRODUCT_24' : '<inventory_root>/system/chassis/motherboard/dimm12', - 'PRODUCT_25' : '<inventory_root>/system/chassis/motherboard/dimm13', - 'PRODUCT_26' : '<inventory_root>/system/chassis/motherboard/dimm14', - 'PRODUCT_27' : '<inventory_root>/system/chassis/motherboard/dimm15', - 'PRODUCT_28' : '<inventory_root>/system/chassis/motherboard/dimm16', - 'PRODUCT_29' : '<inventory_root>/system/chassis/motherboard/dimm17', - 'PRODUCT_30' : '<inventory_root>/system/chassis/motherboard/dimm18', - 'PRODUCT_31' : '<inventory_root>/system/chassis/motherboard/dimm19', - 'PRODUCT_32' : '<inventory_root>/system/chassis/motherboard/dimm20', - 'PRODUCT_33' : '<inventory_root>/system/chassis/motherboard/dimm21', - 'PRODUCT_34' : '<inventory_root>/system/chassis/motherboard/dimm22', - 'PRODUCT_35' : '<inventory_root>/system/chassis/motherboard/dimm23', - 'PRODUCT_36' : '<inventory_root>/system/chassis/motherboard/dimm24', - 'PRODUCT_37' : '<inventory_root>/system/chassis/motherboard/dimm25', - 'PRODUCT_38' : '<inventory_root>/system/chassis/motherboard/dimm26', - 'PRODUCT_39' : '<inventory_root>/system/chassis/motherboard/dimm27', - 'PRODUCT_40' : '<inventory_root>/system/chassis/motherboard/dimm28', - 'PRODUCT_41' : '<inventory_root>/system/chassis/motherboard/dimm29', - 'PRODUCT_42' : '<inventory_root>/system/chassis/motherboard/dimm30', - 'PRODUCT_43' : '<inventory_root>/system/chassis/motherboard/dimm31', - 'PRODUCT_47' : '<inventory_root>/system/misc', - }, - 'SENSOR' : { - 0x02 : '/org/openbmc/sensors/host/HostStatus', - 0x03 : '/org/openbmc/sensors/host/BootProgress', - 0x21 : '<inventory_root>/system/chassis/motherboard/cpu0', - 0x71 : '<inventory_root>/system/chassis/motherboard/cpu1', - 0xc7 : '<inventory_root>/system/chassis/motherboard/dimm3', - 0xc5 : '<inventory_root>/system/chassis/motherboard/dimm2', - 0xc3 : '<inventory_root>/system/chassis/motherboard/dimm1', - 0xc1 : '<inventory_root>/system/chassis/motherboard/dimm0', - 0xcf : '<inventory_root>/system/chassis/motherboard/dimm7', - 0xcd : '<inventory_root>/system/chassis/motherboard/dimm6', - 0xcb : '<inventory_root>/system/chassis/motherboard/dimm5', - 0xc9 : '<inventory_root>/system/chassis/motherboard/dimm4', - 0xd7 : '<inventory_root>/system/chassis/motherboard/dimm11', - 0xd5 : '<inventory_root>/system/chassis/motherboard/dimm10', - 0xd3 : '<inventory_root>/system/chassis/motherboard/dimm9', - 0xd1 : '<inventory_root>/system/chassis/motherboard/dimm8', - 0xdf : '<inventory_root>/system/chassis/motherboard/dimm15', - 0xdd : '<inventory_root>/system/chassis/motherboard/dimm14', - 0xdb : '<inventory_root>/system/chassis/motherboard/dimm13', - 0xd9 : '<inventory_root>/system/chassis/motherboard/dimm12', - 0xe7 : '<inventory_root>/system/chassis/motherboard/dimm19', - 0xe5 : '<inventory_root>/system/chassis/motherboard/dimm18', - 0xe3 : '<inventory_root>/system/chassis/motherboard/dimm17', - 0xe1 : '<inventory_root>/system/chassis/motherboard/dimm16', - 0xef : '<inventory_root>/system/chassis/motherboard/dimm23', - 0xed : '<inventory_root>/system/chassis/motherboard/dimm22', - 0xeb : '<inventory_root>/system/chassis/motherboard/dimm21', - 0xe9 : '<inventory_root>/system/chassis/motherboard/dimm20', - 0xf7 : '<inventory_root>/system/chassis/motherboard/dimm27', - 0xf5 : '<inventory_root>/system/chassis/motherboard/dimm26', - 0xf3 : '<inventory_root>/system/chassis/motherboard/dimm25', - 0xf1 : '<inventory_root>/system/chassis/motherboard/dimm24', - 0xff : '<inventory_root>/system/chassis/motherboard/dimm31', - 0xfd : '<inventory_root>/system/chassis/motherboard/dimm30', - 0xfb : '<inventory_root>/system/chassis/motherboard/dimm29', - 0xf9 : '<inventory_root>/system/chassis/motherboard/dimm28', - 0x23 : '<inventory_root>/system/chassis/motherboard/cpu0/core0', - 0x26 : '<inventory_root>/system/chassis/motherboard/cpu0/core1', - 0x29 : '<inventory_root>/system/chassis/motherboard/cpu0/core2', - 0x2c : '<inventory_root>/system/chassis/motherboard/cpu0/core3', - 0x2f : '<inventory_root>/system/chassis/motherboard/cpu0/core4', - 0x32 : '<inventory_root>/system/chassis/motherboard/cpu0/core5', - 0x35 : '<inventory_root>/system/chassis/motherboard/cpu0/core6', - 0x38 : '<inventory_root>/system/chassis/motherboard/cpu0/core7', - 0x3b : '<inventory_root>/system/chassis/motherboard/cpu0/core8', - 0x3e : '<inventory_root>/system/chassis/motherboard/cpu0/core9', - 0x41 : '<inventory_root>/system/chassis/motherboard/cpu0/core10', - 0x44 : '<inventory_root>/system/chassis/motherboard/cpu0/core11', - 0x47 : '<inventory_root>/system/chassis/motherboard/cpu0/core12', - 0x4a : '<inventory_root>/system/chassis/motherboard/cpu0/core13', - 0x4d : '<inventory_root>/system/chassis/motherboard/cpu0/core14', - 0x50 : '<inventory_root>/system/chassis/motherboard/cpu0/core15', - 0x53 : '<inventory_root>/system/chassis/motherboard/cpu0/core16', - 0x56 : '<inventory_root>/system/chassis/motherboard/cpu0/core17', - 0x59 : '<inventory_root>/system/chassis/motherboard/cpu0/core18', - 0x5c : '<inventory_root>/system/chassis/motherboard/cpu0/core19', - 0x5f : '<inventory_root>/system/chassis/motherboard/cpu0/core20', - 0x62 : '<inventory_root>/system/chassis/motherboard/cpu0/core21', - 0x65 : '<inventory_root>/system/chassis/motherboard/cpu1/core22', - 0x68 : '<inventory_root>/system/chassis/motherboard/cpu1/core23', - 0x73 : '<inventory_root>/system/chassis/motherboard/cpu1/core0', - 0x76 : '<inventory_root>/system/chassis/motherboard/cpu1/core1', - 0x79 : '<inventory_root>/system/chassis/motherboard/cpu1/core2', - 0x7c : '<inventory_root>/system/chassis/motherboard/cpu1/core3', - 0x7f : '<inventory_root>/system/chassis/motherboard/cpu1/core4', - 0x82 : '<inventory_root>/system/chassis/motherboard/cpu1/core5', - 0x85 : '<inventory_root>/system/chassis/motherboard/cpu1/core6', - 0x88 : '<inventory_root>/system/chassis/motherboard/cpu1/core7', - 0x8b : '<inventory_root>/system/chassis/motherboard/cpu1/core8', - 0x8e : '<inventory_root>/system/chassis/motherboard/cpu1/core9', - 0x91 : '<inventory_root>/system/chassis/motherboard/cpu1/core10', - 0x94 : '<inventory_root>/system/chassis/motherboard/cpu1/core11', - 0x97 : '<inventory_root>/system/chassis/motherboard/cpu1/core12', - 0x9a : '<inventory_root>/system/chassis/motherboard/cpu1/core13', - 0x9d : '<inventory_root>/system/chassis/motherboard/cpu1/core14', - 0xa0 : '<inventory_root>/system/chassis/motherboard/cpu1/core15', - 0xa3 : '<inventory_root>/system/chassis/motherboard/cpu1/core16', - 0xa6 : '<inventory_root>/system/chassis/motherboard/cpu1/core17', - 0xa9 : '<inventory_root>/system/chassis/motherboard/cpu1/core18', - 0xac : '<inventory_root>/system/chassis/motherboard/cpu1/core19', - 0xaf : '<inventory_root>/system/chassis/motherboard/cpu1/core20', - 0xb2 : '<inventory_root>/system/chassis/motherboard/cpu1/core21', - 0xb5 : '<inventory_root>/system/chassis/motherboard/cpu1/core22', - 0xb8 : '<inventory_root>/system/chassis/motherboard/cpu1/core23', - 0x07 : '/org/openbmc/sensors/host/BootCount', - 0x10 : '<inventory_root>/system/chassis/motherboard', - 0x01 : '<inventory_root>/system/systemevent', - 0x11 : '<inventory_root>/system/chassis/motherboard/refclock', - 0x12 : '<inventory_root>/system/chassis/motherboard/pcieclock', - 0x13 : '<inventory_root>/system/chassis/motherboard/todclock', - 0x02 : '/org/openbmc/sensors/host/OperatingSystemStatus', - 0x04 : '<inventory_root>/system/chassis/motherboard/pcielink', - }, - 'GPIO_PRESENT' : {} -} - -# Miscellaneous non-poll sensor with system specific properties. -# The sensor id is the same as those defined in ID_LOOKUP['SENSOR']. -MISC_SENSORS = { -} - -# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 diff --git a/configs/Palmetto.py b/configs/Palmetto.py deleted file mode 100644 index b750530..0000000 --- a/configs/Palmetto.py +++ /dev/null @@ -1,91 +0,0 @@ -## System states -## state can change to next state in 2 ways: -## - a process emits a GotoSystemState signal with state name to goto -## - objects specified in EXIT_STATE_DEPEND have started -SYSTEM_STATES = [ - 'BASE_APPS', - 'BMC_STARTING', - 'BMC_READY', - 'HOST_POWERING_ON', - 'HOST_POWERED_ON', - 'HOST_BOOTING', - 'HOST_BOOTED', - 'HOST_POWERED_OFF', -] - -EXIT_STATE_DEPEND = { - 'BASE_APPS' : { - '/org/openbmc/sensors': 0, - }, - 'BMC_STARTING' : { - '/org/openbmc/control/chassis0': 0, - '/org/openbmc/control/power0' : 0, - '/org/openbmc/control/led/identify' : 0, - '/org/openbmc/control/host0' : 0, - '/org/openbmc/control/flash/bios' : 0, - } -} - -ID_LOOKUP = { - 'FRU' : { - 0x0d : '<inventory_root>/system/chassis', - 0x34 : '<inventory_root>/system/chassis/motherboard', - 0x01 : '<inventory_root>/system/chassis/motherboard/cpu', - 0x02 : '<inventory_root>/system/chassis/motherboard/membuf', - 0x03 : '<inventory_root>/system/chassis/motherboard/dimm0', - 0x04 : '<inventory_root>/system/chassis/motherboard/dimm1', - 0x05 : '<inventory_root>/system/chassis/motherboard/dimm2', - 0x06 : '<inventory_root>/system/chassis/motherboard/dimm3', - 0x35 : '<inventory_root>/system', - }, - 'FRU_STR' : { - 'PRODUCT_15' : '<inventory_root>/system', - 'CHASSIS_2' : '<inventory_root>/system/chassis', - 'BOARD_1' : '<inventory_root>/system/chassis/motherboard/cpu', - 'BOARD_2' : '<inventory_root>/system/chassis/motherboard/membuf', - 'BOARD_14' : '<inventory_root>/system/chassis/motherboard', - 'PRODUCT_3' : '<inventory_root>/system/chassis/motherboard/dimm0', - 'PRODUCT_4' : '<inventory_root>/system/chassis/motherboard/dimm1', - 'PRODUCT_5' : '<inventory_root>/system/chassis/motherboard/dimm2', - 'PRODUCT_6' : '<inventory_root>/system/chassis/motherboard/dimm3', - }, - 'SENSOR' : { - 0x34 : '<inventory_root>/system/chassis/motherboard', - 0x37 : '<inventory_root>/system/chassis/motherboard/refclock', - 0x38 : '<inventory_root>/system/chassis/motherboard/pcieclock', - 0x39 : '<inventory_root>/system/chassis/motherboard/todclock', - 0x3A : '<inventory_root>/system/chassis/apss', - 0x2f : '<inventory_root>/system/chassis/motherboard/cpu', - 0x22 : '<inventory_root>/system/chassis/motherboard/cpu/core1', - 0x23 : '<inventory_root>/system/chassis/motherboard/cpu/core2', - 0x24 : '<inventory_root>/system/chassis/motherboard/cpu/core3', - 0x25 : '<inventory_root>/system/chassis/motherboard/cpu/core4', - 0x26 : '<inventory_root>/system/chassis/motherboard/cpu/core5', - 0x27 : '<inventory_root>/system/chassis/motherboard/cpu/core6', - 0x28 : '<inventory_root>/system/chassis/motherboard/cpu/core9', - 0x29 : '<inventory_root>/system/chassis/motherboard/cpu/core10', - 0x2a : '<inventory_root>/system/chassis/motherboard/cpu/core11', - 0x2b : '<inventory_root>/system/chassis/motherboard/cpu/core12', - 0x2c : '<inventory_root>/system/chassis/motherboard/cpu/core13', - 0x2d : '<inventory_root>/system/chassis/motherboard/cpu/core14', - 0x2e : '<inventory_root>/system/chassis/motherboard/membuf', - 0x1e : '<inventory_root>/system/chassis/motherboard/dimm0', - 0x1f : '<inventory_root>/system/chassis/motherboard/dimm1', - 0x20 : '<inventory_root>/system/chassis/motherboard/dimm2', - 0x21 : '<inventory_root>/system/chassis/motherboard/dimm3', - 0x09 : '/org/openbmc/sensors/host/BootCount', - 0x05 : '/org/openbmc/sensors/host/BootProgress', - 0x32 : '/org/openbmc/sensors/host/OperatingSystemStatus', - }, - 'GPIO_PRESENT' : { - 'SLOT0_PRESENT' : '<inventory_root>/system/chassis/motherboard/pciecard_x16', - 'SLOT1_PRESENT' : '<inventory_root>/system/chassis/motherboard/pciecard_x8', - } -} - -# Miscellaneous non-poll sensor with system specific properties. -# The sensor id is the same as those defined in ID_LOOKUP['SENSOR']. -MISC_SENSORS = { -} - -# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 diff --git a/configs/S2600wf.py b/configs/S2600wf.py deleted file mode 100644 index 4d041a9..0000000 --- a/configs/S2600wf.py +++ /dev/null @@ -1,10 +0,0 @@ -## System states -## state can change to next state in 2 ways: -## - a process emits a GotoSystemState signal with state name to goto -## - objects specified in EXIT_STATE_DEPEND have started -SYSTEM_STATES = [ -] - -FRU_INSTANCES = { - '<inventory_root>/system/chassis/motherboard/bmc' : { 'fru_type' : 'BMC','is_fru' : False, 'manufacturer' : 'ASPEED' }, -} diff --git a/configs/Romulus.py b/configs/Talos.py index 4460d74..1b51997 100644 --- a/configs/Romulus.py +++ b/configs/Talos.py @@ -1,4 +1,4 @@ -# Romulus.py +# Talos.py # SYSTEM_STATES = [ diff --git a/configs/Witherspoon.py b/configs/Witherspoon.py deleted file mode 100644 index 75c8188..0000000 --- a/configs/Witherspoon.py +++ /dev/null @@ -1,306 +0,0 @@ -## System states -## state can change to next state in 2 ways: -## - a process emits a GotoSystemState signal with state name to goto -## - objects specified in EXIT_STATE_DEPEND have started -SYSTEM_STATES = [ - 'BASE_APPS', - 'BMC_STARTING', - 'BMC_READY', - 'HOST_POWERING_ON', - 'HOST_POWERED_ON', - 'HOST_BOOTING', - 'HOST_BOOTED', - 'HOST_POWERED_OFF', -] - -EXIT_STATE_DEPEND = { - 'BASE_APPS' : { - '/org/openbmc/sensors': 0, - }, - 'BMC_STARTING' : { - '/org/openbmc/control/chassis0': 0, - '/org/openbmc/control/power0' : 0, - '/org/openbmc/control/flash/bios' : 0, - }, -} - -FRU_INSTANCES = { - '<inventory_root>/system' : { 'fru_type' : 'SYSTEM','is_fru' : True, 'present' : "True" }, - '<inventory_root>/system/bios' : { 'fru_type' : 'SYSTEM','is_fru' : True, 'present' : "True" }, - '<inventory_root>/system/misc' : { 'fru_type' : 'SYSTEM','is_fru' : False, }, - - '<inventory_root>/system/chassis' : { 'fru_type' : 'SYSTEM','is_fru' : True, 'present' : "True" }, - - '<inventory_root>/system/chassis/motherboard' : { 'fru_type' : 'MAIN_PLANAR','is_fru' : True, }, - - '<inventory_root>/system/systemevent' : { 'fru_type' : 'SYSTEM_EVENT', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/refclock' : { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/pcieclock': { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/todclock' : { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/apss' : { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, - - '<inventory_root>/system/chassis/fan0' : { 'fru_type' : 'FAN','is_fru' : True, }, - '<inventory_root>/system/chassis/fan1' : { 'fru_type' : 'FAN','is_fru' : True, }, - '<inventory_root>/system/chassis/fan2' : { 'fru_type' : 'FAN','is_fru' : True, }, - '<inventory_root>/system/chassis/fan3' : { 'fru_type' : 'FAN','is_fru' : True, }, - - '<inventory_root>/system/chassis/motherboard/bmc' : { 'fru_type' : 'BMC','is_fru' : False, 'manufacturer' : 'ASPEED' }, - - '<inventory_root>/system/chassis/motherboard/cpu0' : { 'fru_type' : 'CPU', 'is_fru' : True, }, - '<inventory_root>/system/chassis/motherboard/cpu1' : { 'fru_type' : 'CPU', 'is_fru' : True, }, - - '<inventory_root>/system/chassis/motherboard/cpu0/core0' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core1' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core2' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core3' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core4' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core5' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core6' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core7' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core8' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core9' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core10': { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core11': { 'fru_type' : 'CORE', 'is_fru' : False, }, - - '<inventory_root>/system/chassis/motherboard/cpu1/core0' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core1' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core2' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core3' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core4' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core5' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core6' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core7' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core8' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core9' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core10' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core11' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - - '<inventory_root>/system/chassis/motherboard/membuf0' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/membuf1' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/membuf2' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/membuf3' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/membuf4' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/membuf5' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/membuf6' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/membuf7' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, - - '<inventory_root>/system/chassis/motherboard/dimm0' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm1' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm2' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm3' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm4' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm5' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm6' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm7' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm8' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm9' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm10' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm11' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm12' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm13' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm14' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm15' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm16' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm17' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm18' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm19' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm20' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm21' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm22' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm23' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm24' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm25' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm26' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm27' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm28' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm29' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm30' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm31' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, -} - -ID_LOOKUP = { - 'FRU' : { - 0x01 : '<inventory_root>/system/chassis/motherboard/cpu0', - 0x02 : '<inventory_root>/system/chassis/motherboard/cpu1', - 0x03 : '<inventory_root>/system/chassis/motherboard', - 0x04 : '<inventory_root>/system/chassis/motherboard/membuf0', - 0x05 : '<inventory_root>/system/chassis/motherboard/membuf1', - 0x06 : '<inventory_root>/system/chassis/motherboard/membuf2', - 0x07 : '<inventory_root>/system/chassis/motherboard/membuf3', - 0x08 : '<inventory_root>/system/chassis/motherboard/membuf4', - 0x09 : '<inventory_root>/system/chassis/motherboard/membuf5', - 0x0c : '<inventory_root>/system/chassis/motherboard/dimm0', - 0x0d : '<inventory_root>/system/chassis/motherboard/dimm1', - 0x0e : '<inventory_root>/system/chassis/motherboard/dimm2', - 0x0f : '<inventory_root>/system/chassis/motherboard/dimm3', - 0x10 : '<inventory_root>/system/chassis/motherboard/dimm4', - 0x11 : '<inventory_root>/system/chassis/motherboard/dimm5', - 0x12 : '<inventory_root>/system/chassis/motherboard/dimm6', - 0x13 : '<inventory_root>/system/chassis/motherboard/dimm7', - 0x14 : '<inventory_root>/system/chassis/motherboard/dimm8', - 0x15 : '<inventory_root>/system/chassis/motherboard/dimm9', - 0x16 : '<inventory_root>/system/chassis/motherboard/dimm10', - 0x17 : '<inventory_root>/system/chassis/motherboard/dimm11', - 0x18 : '<inventory_root>/system/chassis/motherboard/dimm12', - 0x19 : '<inventory_root>/system/chassis/motherboard/dimm13', - 0x1a : '<inventory_root>/system/chassis/motherboard/dimm14', - 0x1b : '<inventory_root>/system/chassis/motherboard/dimm15', - 0x1c : '<inventory_root>/system/chassis/motherboard/dimm16', - 0x1d : '<inventory_root>/system/chassis/motherboard/dimm17', - 0x1e : '<inventory_root>/system/chassis/motherboard/dimm18', - 0x1f : '<inventory_root>/system/chassis/motherboard/dimm19', - 0x20 : '<inventory_root>/system/chassis/motherboard/dimm20', - 0x21 : '<inventory_root>/system/chassis/motherboard/dimm21', - 0x22 : '<inventory_root>/system/chassis/motherboard/dimm22', - 0x23 : '<inventory_root>/system/chassis/motherboard/dimm23', - 0x24 : '<inventory_root>/system/chassis/motherboard/dimm24', - 0x25 : '<inventory_root>/system/chassis/motherboard/dimm25', - 0x26 : '<inventory_root>/system/chassis/motherboard/dimm26', - 0x27 : '<inventory_root>/system/chassis/motherboard/dimm27', - 0x28 : '<inventory_root>/system/chassis/motherboard/dimm28', - 0x29 : '<inventory_root>/system/chassis/motherboard/dimm29', - 0x2a : '<inventory_root>/system/chassis/motherboard/dimm30', - 0x2b : '<inventory_root>/system/chassis/motherboard/dimm31', - }, - 'FRU_STR' : { - 'PRODUCT_0' : '<inventory_root>/system/bios', - 'BOARD_1' : '<inventory_root>/system/chassis/motherboard/cpu0', - 'BOARD_2' : '<inventory_root>/system/chassis/motherboard/cpu1', - 'CHASSIS_3' : '<inventory_root>/system/chassis/motherboard', - 'BOARD_3' : '<inventory_root>/system/misc', - 'BOARD_4' : '<inventory_root>/system/chassis/motherboard/membuf0', - 'BOARD_5' : '<inventory_root>/system/chassis/motherboard/membuf1', - 'BOARD_6' : '<inventory_root>/system/chassis/motherboard/membuf2', - 'BOARD_7' : '<inventory_root>/system/chassis/motherboard/membuf3', - 'BOARD_8' : '<inventory_root>/system/chassis/motherboard/membuf4', - 'BOARD_9' : '<inventory_root>/system/chassis/motherboard/membuf5', - 'BOARD_10' : '<inventory_root>/system/chassis/motherboard/membuf6', - 'BOARD_11' : '<inventory_root>/system/chassis/motherboard/membuf7', - 'PRODUCT_12' : '<inventory_root>/system/chassis/motherboard/dimm0', - 'PRODUCT_13' : '<inventory_root>/system/chassis/motherboard/dimm1', - 'PRODUCT_14' : '<inventory_root>/system/chassis/motherboard/dimm2', - 'PRODUCT_15' : '<inventory_root>/system/chassis/motherboard/dimm3', - 'PRODUCT_16' : '<inventory_root>/system/chassis/motherboard/dimm4', - 'PRODUCT_17' : '<inventory_root>/system/chassis/motherboard/dimm5', - 'PRODUCT_18' : '<inventory_root>/system/chassis/motherboard/dimm6', - 'PRODUCT_19' : '<inventory_root>/system/chassis/motherboard/dimm7', - 'PRODUCT_20' : '<inventory_root>/system/chassis/motherboard/dimm8', - 'PRODUCT_21' : '<inventory_root>/system/chassis/motherboard/dimm9', - 'PRODUCT_22' : '<inventory_root>/system/chassis/motherboard/dimm10', - 'PRODUCT_23' : '<inventory_root>/system/chassis/motherboard/dimm11', - 'PRODUCT_24' : '<inventory_root>/system/chassis/motherboard/dimm12', - 'PRODUCT_25' : '<inventory_root>/system/chassis/motherboard/dimm13', - 'PRODUCT_26' : '<inventory_root>/system/chassis/motherboard/dimm14', - 'PRODUCT_27' : '<inventory_root>/system/chassis/motherboard/dimm15', - 'PRODUCT_28' : '<inventory_root>/system/chassis/motherboard/dimm16', - 'PRODUCT_29' : '<inventory_root>/system/chassis/motherboard/dimm17', - 'PRODUCT_30' : '<inventory_root>/system/chassis/motherboard/dimm18', - 'PRODUCT_31' : '<inventory_root>/system/chassis/motherboard/dimm19', - 'PRODUCT_32' : '<inventory_root>/system/chassis/motherboard/dimm20', - 'PRODUCT_33' : '<inventory_root>/system/chassis/motherboard/dimm21', - 'PRODUCT_34' : '<inventory_root>/system/chassis/motherboard/dimm22', - 'PRODUCT_35' : '<inventory_root>/system/chassis/motherboard/dimm23', - 'PRODUCT_36' : '<inventory_root>/system/chassis/motherboard/dimm24', - 'PRODUCT_37' : '<inventory_root>/system/chassis/motherboard/dimm25', - 'PRODUCT_38' : '<inventory_root>/system/chassis/motherboard/dimm26', - 'PRODUCT_39' : '<inventory_root>/system/chassis/motherboard/dimm27', - 'PRODUCT_40' : '<inventory_root>/system/chassis/motherboard/dimm28', - 'PRODUCT_41' : '<inventory_root>/system/chassis/motherboard/dimm29', - 'PRODUCT_42' : '<inventory_root>/system/chassis/motherboard/dimm30', - 'PRODUCT_43' : '<inventory_root>/system/chassis/motherboard/dimm31', - 'PRODUCT_47' : '<inventory_root>/system/misc', - }, - 'SENSOR' : { - 0x02 : '/org/openbmc/sensors/host/HostStatus', - 0x03 : '/org/openbmc/sensors/host/BootProgress', - 0x5a : '<inventory_root>/system/chassis/motherboard/cpu0', - 0xa4 : '<inventory_root>/system/chassis/motherboard/cpu1', - 0x1e : '<inventory_root>/system/chassis/motherboard/dimm3', - 0x1f : '<inventory_root>/system/chassis/motherboard/dimm2', - 0x20 : '<inventory_root>/system/chassis/motherboard/dimm1', - 0x21 : '<inventory_root>/system/chassis/motherboard/dimm0', - 0x22 : '<inventory_root>/system/chassis/motherboard/dimm7', - 0x23 : '<inventory_root>/system/chassis/motherboard/dimm6', - 0x24 : '<inventory_root>/system/chassis/motherboard/dimm5', - 0x25 : '<inventory_root>/system/chassis/motherboard/dimm4', - 0x26 : '<inventory_root>/system/chassis/motherboard/dimm11', - 0x27 : '<inventory_root>/system/chassis/motherboard/dimm10', - 0x28 : '<inventory_root>/system/chassis/motherboard/dimm9', - 0x29 : '<inventory_root>/system/chassis/motherboard/dimm8', - 0x2a : '<inventory_root>/system/chassis/motherboard/dimm15', - 0x2b : '<inventory_root>/system/chassis/motherboard/dimm14', - 0x2c : '<inventory_root>/system/chassis/motherboard/dimm13', - 0x2d : '<inventory_root>/system/chassis/motherboard/dimm12', - 0x2e : '<inventory_root>/system/chassis/motherboard/dimm19', - 0x2f : '<inventory_root>/system/chassis/motherboard/dimm18', - 0x30 : '<inventory_root>/system/chassis/motherboard/dimm17', - 0x31 : '<inventory_root>/system/chassis/motherboard/dimm16', - 0x32 : '<inventory_root>/system/chassis/motherboard/dimm23', - 0x33 : '<inventory_root>/system/chassis/motherboard/dimm22', - 0x34 : '<inventory_root>/system/chassis/motherboard/dimm21', - 0x35 : '<inventory_root>/system/chassis/motherboard/dimm20', - 0x36 : '<inventory_root>/system/chassis/motherboard/dimm27', - 0x37 : '<inventory_root>/system/chassis/motherboard/dimm26', - 0x38 : '<inventory_root>/system/chassis/motherboard/dimm25', - 0x39 : '<inventory_root>/system/chassis/motherboard/dimm24', - 0x3a : '<inventory_root>/system/chassis/motherboard/dimm31', - 0x3b : '<inventory_root>/system/chassis/motherboard/dimm30', - 0x3c : '<inventory_root>/system/chassis/motherboard/dimm29', - 0x3d : '<inventory_root>/system/chassis/motherboard/dimm28', - 0x3e : '<inventory_root>/system/chassis/motherboard/cpu0/core0', - 0x3f : '<inventory_root>/system/chassis/motherboard/cpu0/core1', - 0x40 : '<inventory_root>/system/chassis/motherboard/cpu0/core2', - 0x41 : '<inventory_root>/system/chassis/motherboard/cpu0/core3', - 0x42 : '<inventory_root>/system/chassis/motherboard/cpu0/core4', - 0x43 : '<inventory_root>/system/chassis/motherboard/cpu0/core5', - 0x44 : '<inventory_root>/system/chassis/motherboard/cpu0/core6', - 0x45 : '<inventory_root>/system/chassis/motherboard/cpu0/core7', - 0x46 : '<inventory_root>/system/chassis/motherboard/cpu0/core8', - 0x47 : '<inventory_root>/system/chassis/motherboard/cpu0/core9', - 0x48 : '<inventory_root>/system/chassis/motherboard/cpu0/core10', - 0x49 : '<inventory_root>/system/chassis/motherboard/cpu0/core11', - 0x4a : '<inventory_root>/system/chassis/motherboard/cpu1/core0', - 0x4b : '<inventory_root>/system/chassis/motherboard/cpu1/core1', - 0x4c : '<inventory_root>/system/chassis/motherboard/cpu1/core2', - 0x4d : '<inventory_root>/system/chassis/motherboard/cpu1/core3', - 0x4e : '<inventory_root>/system/chassis/motherboard/cpu1/core4', - 0x4f : '<inventory_root>/system/chassis/motherboard/cpu1/core5', - 0x50 : '<inventory_root>/system/chassis/motherboard/cpu1/core6', - 0x51 : '<inventory_root>/system/chassis/motherboard/cpu1/core7', - 0x52 : '<inventory_root>/system/chassis/motherboard/cpu1/core8', - 0x53 : '<inventory_root>/system/chassis/motherboard/cpu1/core9', - 0x54 : '<inventory_root>/system/chassis/motherboard/cpu1/core10', - 0x55 : '<inventory_root>/system/chassis/motherboard/cpu1/core11', - 0x56 : '<inventory_root>/system/chassis/motherboard/membuf0', - 0x57 : '<inventory_root>/system/chassis/motherboard/membuf1', - 0x58 : '<inventory_root>/system/chassis/motherboard/membuf2', - 0x59 : '<inventory_root>/system/chassis/motherboard/membuf3', - 0x5a : '<inventory_root>/system/chassis/motherboard/membuf4', - 0x5b : '<inventory_root>/system/chassis/motherboard/membuf5', - 0x5c : '<inventory_root>/system/chassis/motherboard/membuf6', - 0x5d : '<inventory_root>/system/chassis/motherboard/membuf7', - 0x07 : '/org/openbmc/sensors/host/BootCount', - 0x0c : '<inventory_root>/system/chassis/motherboard', - 0x01 : '<inventory_root>/system/systemevent', - 0x08 : '<inventory_root>/system/powerlimit', - 0x0d : '<inventory_root>/system/chassis/motherboard/refclock', - 0x0e : '<inventory_root>/system/chassis/motherboard/pcieclock', - 0x0f : '<inventory_root>/system/chassis/motherboard/todclock', - 0x10 : '<inventory_root>/system/chassis/motherboard/apss', - 0x02 : '/org/openbmc/sensors/host/OperatingSystemStatus', - 0x04 : '<inventory_root>/system/chassis/motherboard/pcielink', - 0x0b : '/xyz/openbmc_project/sensors/chassis/PowerSupplyRedundancy', - 0xda : '/org/openbmc/sensors/host/TurboAllowed', - 0xD8 : '/org/openbmc/sensors/host/PowerSupplyDerating', - }, - 'GPIO_PRESENT' : {} -} - - -# Miscellaneous non-poll sensor with system specific properties. -# The sensor id is the same as those defined in ID_LOOKUP['SENSOR']. -MISC_SENSORS = { - # Garrison value is used, Not in P9 XML yet. -} - -# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 diff --git a/configs/Zaius.py b/configs/Zaius.py deleted file mode 100644 index fcabc1f..0000000 --- a/configs/Zaius.py +++ /dev/null @@ -1,320 +0,0 @@ -## System states -## state can change to next state in 2 ways: -## - a process emits a GotoSystemState signal with state name to goto -## - objects specified in EXIT_STATE_DEPEND have started -SYSTEM_STATES = [ - 'BASE_APPS', - 'BMC_STARTING', - 'BMC_READY', - 'HOST_POWERING_ON', - 'HOST_POWERED_ON', - 'HOST_BOOTING', - 'HOST_BOOTED', - 'HOST_POWERED_OFF', -] - -EXIT_STATE_DEPEND = { - 'BASE_APPS' : { - '/org/openbmc/sensors': 0, - }, - 'BMC_STARTING' : { - '/org/openbmc/control/chassis0': 0, - '/org/openbmc/control/power0' : 0, - '/org/openbmc/control/flash/bios' : 0, - }, -} - -FRU_INSTANCES = { - '<inventory_root>/system' : { 'fru_type' : 'SYSTEM','is_fru' : True, 'present' : "True" }, - '<inventory_root>/system/bios' : { 'fru_type' : 'SYSTEM','is_fru' : True, 'present' : "True" }, - '<inventory_root>/system/misc' : { 'fru_type' : 'SYSTEM','is_fru' : False, }, - - '<inventory_root>/system/chassis' : { 'fru_type' : 'SYSTEM','is_fru' : True, 'present' : "True" }, - - '<inventory_root>/system/chassis/motherboard' : { 'fru_type' : 'MAIN_PLANAR','is_fru' : True, }, - - '<inventory_root>/system/systemevent' : { 'fru_type' : 'SYSTEM_EVENT', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/refclock' : { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/pcieclock': { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/todclock' : { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, - - '<inventory_root>/system/chassis/fan0' : { 'fru_type' : 'FAN','is_fru' : True, }, - '<inventory_root>/system/chassis/fan1' : { 'fru_type' : 'FAN','is_fru' : True, }, - '<inventory_root>/system/chassis/fan2' : { 'fru_type' : 'FAN','is_fru' : True, }, - - '<inventory_root>/system/chassis/motherboard/bmc' : { 'fru_type' : 'BMC','is_fru' : False, 'manufacturer' : 'ASPEED' }, - - '<inventory_root>/system/chassis/motherboard/cpu0' : { 'fru_type' : 'CPU', 'is_fru' : True, }, - '<inventory_root>/system/chassis/motherboard/cpu1' : { 'fru_type' : 'CPU', 'is_fru' : True, }, - - '<inventory_root>/system/chassis/motherboard/cpu0/core0' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core1' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core2' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core3' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core4' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core5' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core6' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core7' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core8' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core9' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core10': { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core11': { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core12' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core13' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core14' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core15' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core16' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core17' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core18' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core19' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core20' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core21' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core22': { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu0/core23': { 'fru_type' : 'CORE', 'is_fru' : False, }, - - '<inventory_root>/system/chassis/motherboard/cpu1/core0' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core1' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core2' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core3' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core4' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core5' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core6' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core7' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core8' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core9' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core10' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core11' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core12' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core13' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core14' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core15' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core16' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core17' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core18' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core19' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core20' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core21' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core22' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - '<inventory_root>/system/chassis/motherboard/cpu1/core23' : { 'fru_type' : 'CORE', 'is_fru' : False, }, - - '<inventory_root>/system/chassis/motherboard/dimm0' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm1' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm2' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm3' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm4' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm5' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm6' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm7' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm8' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm9' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm10' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm11' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm12' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm13' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm14' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm15' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm16' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm17' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm18' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm19' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm20' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm21' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm22' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm23' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm24' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm25' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm26' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm27' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm28' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm29' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm30' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, - '<inventory_root>/system/chassis/motherboard/dimm31' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, -} - -ID_LOOKUP = { - 'FRU' : { - 0x01 : '<inventory_root>/system/chassis/motherboard/cpu0', - 0x02 : '<inventory_root>/system/chassis/motherboard/cpu1', - 0x03 : '<inventory_root>/system/chassis/motherboard', - 0x04 : '<inventory_root>/system/chassis/motherboard/membuf0', - 0x05 : '<inventory_root>/system/chassis/motherboard/membuf1', - 0x06 : '<inventory_root>/system/chassis/motherboard/membuf2', - 0x07 : '<inventory_root>/system/chassis/motherboard/membuf3', - 0x08 : '<inventory_root>/system/chassis/motherboard/membuf4', - 0x09 : '<inventory_root>/system/chassis/motherboard/membuf5', - 0x0c : '<inventory_root>/system/chassis/motherboard/dimm0', - 0x0d : '<inventory_root>/system/chassis/motherboard/dimm1', - 0x0e : '<inventory_root>/system/chassis/motherboard/dimm2', - 0x0f : '<inventory_root>/system/chassis/motherboard/dimm3', - 0x10 : '<inventory_root>/system/chassis/motherboard/dimm4', - 0x11 : '<inventory_root>/system/chassis/motherboard/dimm5', - 0x12 : '<inventory_root>/system/chassis/motherboard/dimm6', - 0x13 : '<inventory_root>/system/chassis/motherboard/dimm7', - 0x14 : '<inventory_root>/system/chassis/motherboard/dimm8', - 0x15 : '<inventory_root>/system/chassis/motherboard/dimm9', - 0x16 : '<inventory_root>/system/chassis/motherboard/dimm10', - 0x17 : '<inventory_root>/system/chassis/motherboard/dimm11', - 0x18 : '<inventory_root>/system/chassis/motherboard/dimm12', - 0x19 : '<inventory_root>/system/chassis/motherboard/dimm13', - 0x1a : '<inventory_root>/system/chassis/motherboard/dimm14', - 0x1b : '<inventory_root>/system/chassis/motherboard/dimm15', - 0x1c : '<inventory_root>/system/chassis/motherboard/dimm16', - 0x1d : '<inventory_root>/system/chassis/motherboard/dimm17', - 0x1e : '<inventory_root>/system/chassis/motherboard/dimm18', - 0x1f : '<inventory_root>/system/chassis/motherboard/dimm19', - 0x20 : '<inventory_root>/system/chassis/motherboard/dimm20', - 0x21 : '<inventory_root>/system/chassis/motherboard/dimm21', - 0x22 : '<inventory_root>/system/chassis/motherboard/dimm22', - 0x23 : '<inventory_root>/system/chassis/motherboard/dimm23', - 0x24 : '<inventory_root>/system/chassis/motherboard/dimm24', - 0x25 : '<inventory_root>/system/chassis/motherboard/dimm25', - 0x26 : '<inventory_root>/system/chassis/motherboard/dimm26', - 0x27 : '<inventory_root>/system/chassis/motherboard/dimm27', - 0x28 : '<inventory_root>/system/chassis/motherboard/dimm28', - 0x29 : '<inventory_root>/system/chassis/motherboard/dimm29', - 0x2a : '<inventory_root>/system/chassis/motherboard/dimm30', - 0x2b : '<inventory_root>/system/chassis/motherboard/dimm31', - }, - 'FRU_STR' : { - 'PRODUCT_0' : '<inventory_root>/system/bios', - 'BOARD_1' : '<inventory_root>/system/chassis/motherboard/cpu0', - 'BOARD_2' : '<inventory_root>/system/chassis/motherboard/cpu1', - 'CHASSIS_3' : '<inventory_root>/system/chassis/motherboard', - 'BOARD_3' : '<inventory_root>/system/misc', - 'PRODUCT_12' : '<inventory_root>/system/chassis/motherboard/dimm0', - 'PRODUCT_13' : '<inventory_root>/system/chassis/motherboard/dimm1', - 'PRODUCT_14' : '<inventory_root>/system/chassis/motherboard/dimm2', - 'PRODUCT_15' : '<inventory_root>/system/chassis/motherboard/dimm3', - 'PRODUCT_16' : '<inventory_root>/system/chassis/motherboard/dimm4', - 'PRODUCT_17' : '<inventory_root>/system/chassis/motherboard/dimm5', - 'PRODUCT_18' : '<inventory_root>/system/chassis/motherboard/dimm6', - 'PRODUCT_19' : '<inventory_root>/system/chassis/motherboard/dimm7', - 'PRODUCT_20' : '<inventory_root>/system/chassis/motherboard/dimm8', - 'PRODUCT_21' : '<inventory_root>/system/chassis/motherboard/dimm9', - 'PRODUCT_22' : '<inventory_root>/system/chassis/motherboard/dimm10', - 'PRODUCT_23' : '<inventory_root>/system/chassis/motherboard/dimm11', - 'PRODUCT_24' : '<inventory_root>/system/chassis/motherboard/dimm12', - 'PRODUCT_25' : '<inventory_root>/system/chassis/motherboard/dimm13', - 'PRODUCT_26' : '<inventory_root>/system/chassis/motherboard/dimm14', - 'PRODUCT_27' : '<inventory_root>/system/chassis/motherboard/dimm15', - 'PRODUCT_28' : '<inventory_root>/system/chassis/motherboard/dimm16', - 'PRODUCT_29' : '<inventory_root>/system/chassis/motherboard/dimm17', - 'PRODUCT_30' : '<inventory_root>/system/chassis/motherboard/dimm18', - 'PRODUCT_31' : '<inventory_root>/system/chassis/motherboard/dimm19', - 'PRODUCT_32' : '<inventory_root>/system/chassis/motherboard/dimm20', - 'PRODUCT_33' : '<inventory_root>/system/chassis/motherboard/dimm21', - 'PRODUCT_34' : '<inventory_root>/system/chassis/motherboard/dimm22', - 'PRODUCT_35' : '<inventory_root>/system/chassis/motherboard/dimm23', - 'PRODUCT_36' : '<inventory_root>/system/chassis/motherboard/dimm24', - 'PRODUCT_37' : '<inventory_root>/system/chassis/motherboard/dimm25', - 'PRODUCT_38' : '<inventory_root>/system/chassis/motherboard/dimm26', - 'PRODUCT_39' : '<inventory_root>/system/chassis/motherboard/dimm27', - 'PRODUCT_40' : '<inventory_root>/system/chassis/motherboard/dimm28', - 'PRODUCT_41' : '<inventory_root>/system/chassis/motherboard/dimm29', - 'PRODUCT_42' : '<inventory_root>/system/chassis/motherboard/dimm30', - 'PRODUCT_43' : '<inventory_root>/system/chassis/motherboard/dimm31', - 'PRODUCT_47' : '<inventory_root>/system/misc', - }, - 'SENSOR' : { - 0x02 : '/org/openbmc/sensors/host/HostStatus', - 0x03 : '/org/openbmc/sensors/host/BootProgress', - 0x21 : '<inventory_root>/system/chassis/motherboard/cpu0', - 0x71 : '<inventory_root>/system/chassis/motherboard/cpu1', - 0xc7 : '<inventory_root>/system/chassis/motherboard/dimm3', - 0xc5 : '<inventory_root>/system/chassis/motherboard/dimm2', - 0xc3 : '<inventory_root>/system/chassis/motherboard/dimm1', - 0xc1 : '<inventory_root>/system/chassis/motherboard/dimm0', - 0xcf : '<inventory_root>/system/chassis/motherboard/dimm7', - 0xcd : '<inventory_root>/system/chassis/motherboard/dimm6', - 0xcb : '<inventory_root>/system/chassis/motherboard/dimm5', - 0xc9 : '<inventory_root>/system/chassis/motherboard/dimm4', - 0xd7 : '<inventory_root>/system/chassis/motherboard/dimm11', - 0xd5 : '<inventory_root>/system/chassis/motherboard/dimm10', - 0xd3 : '<inventory_root>/system/chassis/motherboard/dimm9', - 0xd1 : '<inventory_root>/system/chassis/motherboard/dimm8', - 0xdf : '<inventory_root>/system/chassis/motherboard/dimm15', - 0xdd : '<inventory_root>/system/chassis/motherboard/dimm14', - 0xdb : '<inventory_root>/system/chassis/motherboard/dimm13', - 0xd9 : '<inventory_root>/system/chassis/motherboard/dimm12', - 0xe7 : '<inventory_root>/system/chassis/motherboard/dimm19', - 0xe5 : '<inventory_root>/system/chassis/motherboard/dimm18', - 0xe3 : '<inventory_root>/system/chassis/motherboard/dimm17', - 0xe1 : '<inventory_root>/system/chassis/motherboard/dimm16', - 0xef : '<inventory_root>/system/chassis/motherboard/dimm23', - 0xed : '<inventory_root>/system/chassis/motherboard/dimm22', - 0xeb : '<inventory_root>/system/chassis/motherboard/dimm21', - 0xe9 : '<inventory_root>/system/chassis/motherboard/dimm20', - 0xf7 : '<inventory_root>/system/chassis/motherboard/dimm27', - 0xf5 : '<inventory_root>/system/chassis/motherboard/dimm26', - 0xf3 : '<inventory_root>/system/chassis/motherboard/dimm25', - 0xf1 : '<inventory_root>/system/chassis/motherboard/dimm24', - 0xff : '<inventory_root>/system/chassis/motherboard/dimm31', - 0xfd : '<inventory_root>/system/chassis/motherboard/dimm30', - 0xfb : '<inventory_root>/system/chassis/motherboard/dimm29', - 0xf9 : '<inventory_root>/system/chassis/motherboard/dimm28', - 0x23 : '<inventory_root>/system/chassis/motherboard/cpu0/core0', - 0x26 : '<inventory_root>/system/chassis/motherboard/cpu0/core1', - 0x29 : '<inventory_root>/system/chassis/motherboard/cpu0/core2', - 0x2c : '<inventory_root>/system/chassis/motherboard/cpu0/core3', - 0x2f : '<inventory_root>/system/chassis/motherboard/cpu0/core4', - 0x32 : '<inventory_root>/system/chassis/motherboard/cpu0/core5', - 0x35 : '<inventory_root>/system/chassis/motherboard/cpu0/core6', - 0x38 : '<inventory_root>/system/chassis/motherboard/cpu0/core7', - 0x3b : '<inventory_root>/system/chassis/motherboard/cpu0/core8', - 0x3e : '<inventory_root>/system/chassis/motherboard/cpu0/core9', - 0x41 : '<inventory_root>/system/chassis/motherboard/cpu0/core10', - 0x44 : '<inventory_root>/system/chassis/motherboard/cpu0/core11', - 0x47 : '<inventory_root>/system/chassis/motherboard/cpu0/core12', - 0x4a : '<inventory_root>/system/chassis/motherboard/cpu0/core13', - 0x4d : '<inventory_root>/system/chassis/motherboard/cpu0/core14', - 0x50 : '<inventory_root>/system/chassis/motherboard/cpu0/core15', - 0x53 : '<inventory_root>/system/chassis/motherboard/cpu0/core16', - 0x56 : '<inventory_root>/system/chassis/motherboard/cpu0/core17', - 0x59 : '<inventory_root>/system/chassis/motherboard/cpu0/core18', - 0x5c : '<inventory_root>/system/chassis/motherboard/cpu0/core19', - 0x5f : '<inventory_root>/system/chassis/motherboard/cpu0/core20', - 0x62 : '<inventory_root>/system/chassis/motherboard/cpu0/core21', - 0x65 : '<inventory_root>/system/chassis/motherboard/cpu1/core22', - 0x68 : '<inventory_root>/system/chassis/motherboard/cpu1/core23', - 0x73 : '<inventory_root>/system/chassis/motherboard/cpu1/core0', - 0x76 : '<inventory_root>/system/chassis/motherboard/cpu1/core1', - 0x79 : '<inventory_root>/system/chassis/motherboard/cpu1/core2', - 0x7c : '<inventory_root>/system/chassis/motherboard/cpu1/core3', - 0x7f : '<inventory_root>/system/chassis/motherboard/cpu1/core4', - 0x82 : '<inventory_root>/system/chassis/motherboard/cpu1/core5', - 0x85 : '<inventory_root>/system/chassis/motherboard/cpu1/core6', - 0x88 : '<inventory_root>/system/chassis/motherboard/cpu1/core7', - 0x8b : '<inventory_root>/system/chassis/motherboard/cpu1/core8', - 0x8e : '<inventory_root>/system/chassis/motherboard/cpu1/core9', - 0x91 : '<inventory_root>/system/chassis/motherboard/cpu1/core10', - 0x94 : '<inventory_root>/system/chassis/motherboard/cpu1/core11', - 0x97 : '<inventory_root>/system/chassis/motherboard/cpu1/core12', - 0x9a : '<inventory_root>/system/chassis/motherboard/cpu1/core13', - 0x9d : '<inventory_root>/system/chassis/motherboard/cpu1/core14', - 0xa0 : '<inventory_root>/system/chassis/motherboard/cpu1/core15', - 0xa3 : '<inventory_root>/system/chassis/motherboard/cpu1/core16', - 0xa6 : '<inventory_root>/system/chassis/motherboard/cpu1/core17', - 0xa9 : '<inventory_root>/system/chassis/motherboard/cpu1/core18', - 0xac : '<inventory_root>/system/chassis/motherboard/cpu1/core19', - 0xaf : '<inventory_root>/system/chassis/motherboard/cpu1/core20', - 0xb2 : '<inventory_root>/system/chassis/motherboard/cpu1/core21', - 0xb5 : '<inventory_root>/system/chassis/motherboard/cpu1/core22', - 0xb8 : '<inventory_root>/system/chassis/motherboard/cpu1/core23', - 0x07 : '/org/openbmc/sensors/host/BootCount', - 0x10 : '<inventory_root>/system/chassis/motherboard', - 0x01 : '<inventory_root>/system/systemevent', - 0x11 : '<inventory_root>/system/chassis/motherboard/refclock', - 0x12 : '<inventory_root>/system/chassis/motherboard/pcieclock', - 0x13 : '<inventory_root>/system/chassis/motherboard/todclock', - 0x02 : '/org/openbmc/sensors/host/OperatingSystemStatus', - 0x04 : '<inventory_root>/system/chassis/motherboard/pcielink', - }, - 'GPIO_PRESENT' : {} -} - -# Miscellaneous non-poll sensor with system specific properties. -# The sensor id is the same as those defined in ID_LOOKUP['SENSOR']. -MISC_SENSORS = { -} - -# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 |