Norman James | 3e5c859 | 2015-10-22 14:33:01 -0500 | [diff] [blame] | 1 | ## System states |
| 2 | ## state can change to next state in 2 ways: |
| 3 | ## - a process emits a GotoSystemState signal with state name to goto |
| 4 | ## - objects specified in EXIT_STATE_DEPEND have started |
Norman James | 362a80f | 2015-09-14 14:04:39 -0500 | [diff] [blame] | 5 | SYSTEM_STATES = [ |
Norman James | a9966b3 | 2015-10-28 06:55:58 -0500 | [diff] [blame] | 6 | 'BASE_APPS', |
Norman James | 3e5c859 | 2015-10-22 14:33:01 -0500 | [diff] [blame] | 7 | 'BMC_STARTING', |
Norman James | 8ea118d | 2015-11-17 08:58:04 -0600 | [diff] [blame] | 8 | 'BMC_STARTING2', |
Norman James | 3e5c859 | 2015-10-22 14:33:01 -0500 | [diff] [blame] | 9 | 'BMC_READY', |
| 10 | 'HOST_POWERING_ON', |
| 11 | 'HOST_POWERED_ON', |
Brad Bishop | 2c0e614 | 2016-06-06 00:02:24 -0400 | [diff] [blame] | 12 | 'INVENTORY_UPLOADED', |
Norman James | 3e5c859 | 2015-10-22 14:33:01 -0500 | [diff] [blame] | 13 | 'HOST_BOOTING', |
Norman James | 2656f33 | 2015-10-26 06:42:41 -0500 | [diff] [blame] | 14 | 'HOST_BOOTED', |
Norman James | 3cb0f98 | 2015-12-03 01:07:16 -0600 | [diff] [blame] | 15 | 'HOST_POWERED_OFF', |
Norman James | 362a80f | 2015-09-14 14:04:39 -0500 | [diff] [blame] | 16 | ] |
| 17 | |
Norman James | 3e5c859 | 2015-10-22 14:33:01 -0500 | [diff] [blame] | 18 | EXIT_STATE_DEPEND = { |
Norman James | a9966b3 | 2015-10-28 06:55:58 -0500 | [diff] [blame] | 19 | 'BASE_APPS' : { |
Norman James | 76abea3 | 2015-10-29 06:17:54 -0500 | [diff] [blame] | 20 | '/org/openbmc/sensors': 0, |
Norman James | a9966b3 | 2015-10-28 06:55:58 -0500 | [diff] [blame] | 21 | }, |
Norman James | 3e5c859 | 2015-10-22 14:33:01 -0500 | [diff] [blame] | 22 | 'BMC_STARTING' : { |
Norman James | 3e5c859 | 2015-10-22 14:33:01 -0500 | [diff] [blame] | 23 | '/org/openbmc/control/power0' : 0, |
Norman James | b38ea5a | 2015-10-28 12:44:56 -0500 | [diff] [blame] | 24 | '/org/openbmc/control/host0' : 0, |
Norman James | 2943cc6 | 2015-10-28 18:59:53 -0500 | [diff] [blame] | 25 | '/org/openbmc/control/flash/bios' : 0, |
Norman James | 67b3bcc | 2015-11-11 10:41:38 -0600 | [diff] [blame] | 26 | '/org/openbmc/sensors/speed/fan5': 0, |
Norman James | 98e1f7b | 2015-11-24 22:17:56 -0600 | [diff] [blame] | 27 | '/org/openbmc/inventory/system/chassis/io_board' : 0, |
Norman James | 8ea118d | 2015-11-17 08:58:04 -0600 | [diff] [blame] | 28 | }, |
| 29 | 'BMC_STARTING2' : { |
Ken | fb444c5 | 2015-12-18 17:56:30 -0600 | [diff] [blame] | 30 | '/org/openbmc/control/fans' : 0, |
Norman James | f5d2e5c | 2015-11-20 09:18:00 -0600 | [diff] [blame] | 31 | '/org/openbmc/control/chassis0': 0, |
Norman James | 8ea118d | 2015-11-17 08:58:04 -0600 | [diff] [blame] | 32 | }, |
Norman James | 3e5c859 | 2015-10-22 14:33:01 -0500 | [diff] [blame] | 33 | } |
| 34 | |
Norman James | 8887267 | 2015-09-21 16:51:35 -0500 | [diff] [blame] | 35 | FRU_INSTANCES = { |
Norman James | 7427e58 | 2015-12-03 17:54:54 -0600 | [diff] [blame] | 36 | '<inventory_root>/system' : { 'fru_type' : 'SYSTEM','is_fru' : True, 'present' : "True" }, |
Norman James | 3bb97d9 | 2015-12-18 14:57:22 -0600 | [diff] [blame] | 37 | '<inventory_root>/system/bios' : { 'fru_type' : 'SYSTEM','is_fru' : True, 'present' : "True" }, |
| 38 | '<inventory_root>/system/misc' : { 'fru_type' : 'SYSTEM','is_fru' : False, }, |
Norman James | 19e4591 | 2015-10-04 20:19:41 -0500 | [diff] [blame] | 39 | |
Norman James | 7427e58 | 2015-12-03 17:54:54 -0600 | [diff] [blame] | 40 | '<inventory_root>/system/chassis' : { 'fru_type' : 'SYSTEM','is_fru' : True, 'present' : "True" }, |
Norman James | 3e5c859 | 2015-10-22 14:33:01 -0500 | [diff] [blame] | 41 | |
| 42 | '<inventory_root>/system/chassis/motherboard' : { 'fru_type' : 'MAIN_PLANAR','is_fru' : True, }, |
| 43 | '<inventory_root>/system/chassis/io_board' : { 'fru_type' : 'DAUGHTER_CARD','is_fru' : True, }, |
Norman James | 2abcddb | 2016-01-19 14:05:00 -0600 | [diff] [blame] | 44 | '<inventory_root>/system/chassis/sas_expander' : { 'fru_type' : 'DAUGHTER_CARD','is_fru' : True, }, |
| 45 | '<inventory_root>/system/chassis/hdd_backplane' : { 'fru_type' : 'DAUGHTER_CARD','is_fru' : True, }, |
Norman James | 3e5c859 | 2015-10-22 14:33:01 -0500 | [diff] [blame] | 46 | |
Norman James | 7427e58 | 2015-12-03 17:54:54 -0600 | [diff] [blame] | 47 | '<inventory_root>/system/systemevent' : { 'fru_type' : 'SYSTEM_EVENT', 'is_fru' : False, }, |
| 48 | '<inventory_root>/system/chassis/motherboard/refclock' : { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, |
| 49 | '<inventory_root>/system/chassis/motherboard/pcieclock': { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, |
| 50 | '<inventory_root>/system/chassis/motherboard/todclock' : { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, |
| 51 | '<inventory_root>/system/chassis/motherboard/apss' : { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, |
Norman James | 3e5c859 | 2015-10-22 14:33:01 -0500 | [diff] [blame] | 52 | |
| 53 | '<inventory_root>/system/chassis/fan0' : { 'fru_type' : 'FAN','is_fru' : True, }, |
| 54 | '<inventory_root>/system/chassis/fan1' : { 'fru_type' : 'FAN','is_fru' : True, }, |
| 55 | '<inventory_root>/system/chassis/fan2' : { 'fru_type' : 'FAN','is_fru' : True, }, |
| 56 | '<inventory_root>/system/chassis/fan3' : { 'fru_type' : 'FAN','is_fru' : True, }, |
| 57 | '<inventory_root>/system/chassis/fan4' : { 'fru_type' : 'FAN','is_fru' : True, }, |
Norman James | 2abcddb | 2016-01-19 14:05:00 -0600 | [diff] [blame] | 58 | '<inventory_root>/system/chassis/fan5' : { 'fru_type' : 'FAN','is_fru' : True, }, |
Norman James | 3e5c859 | 2015-10-22 14:33:01 -0500 | [diff] [blame] | 59 | |
| 60 | '<inventory_root>/system/chassis/motherboard/bmc' : { 'fru_type' : 'BMC','is_fru' : False, 'manufacturer' : 'ASPEED' }, |
| 61 | |
| 62 | '<inventory_root>/system/chassis/motherboard/cpu0' : { 'fru_type' : 'CPU', 'is_fru' : True, }, |
| 63 | '<inventory_root>/system/chassis/motherboard/cpu1' : { 'fru_type' : 'CPU', 'is_fru' : True, }, |
| 64 | |
| 65 | '<inventory_root>/system/chassis/motherboard/cpu0/core0' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 66 | '<inventory_root>/system/chassis/motherboard/cpu0/core1' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 67 | '<inventory_root>/system/chassis/motherboard/cpu0/core2' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 68 | '<inventory_root>/system/chassis/motherboard/cpu0/core3' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 69 | '<inventory_root>/system/chassis/motherboard/cpu0/core4' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 70 | '<inventory_root>/system/chassis/motherboard/cpu0/core5' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 71 | '<inventory_root>/system/chassis/motherboard/cpu0/core6' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 72 | '<inventory_root>/system/chassis/motherboard/cpu0/core7' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 73 | '<inventory_root>/system/chassis/motherboard/cpu0/core8' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 74 | '<inventory_root>/system/chassis/motherboard/cpu0/core9' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 75 | '<inventory_root>/system/chassis/motherboard/cpu0/core10': { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 76 | '<inventory_root>/system/chassis/motherboard/cpu0/core11': { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 77 | |
| 78 | '<inventory_root>/system/chassis/motherboard/cpu1/core0' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 79 | '<inventory_root>/system/chassis/motherboard/cpu1/core1' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 80 | '<inventory_root>/system/chassis/motherboard/cpu1/core2' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 81 | '<inventory_root>/system/chassis/motherboard/cpu1/core3' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 82 | '<inventory_root>/system/chassis/motherboard/cpu1/core4' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 83 | '<inventory_root>/system/chassis/motherboard/cpu1/core5' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 84 | '<inventory_root>/system/chassis/motherboard/cpu1/core6' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 85 | '<inventory_root>/system/chassis/motherboard/cpu1/core7' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 86 | '<inventory_root>/system/chassis/motherboard/cpu1/core8' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 87 | '<inventory_root>/system/chassis/motherboard/cpu1/core9' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 88 | '<inventory_root>/system/chassis/motherboard/cpu1/core10' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
Norman James | 7427e58 | 2015-12-03 17:54:54 -0600 | [diff] [blame] | 89 | '<inventory_root>/system/chassis/motherboard/cpu1/core11' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
Ken | fb444c5 | 2015-12-18 17:56:30 -0600 | [diff] [blame] | 90 | |
Norman James | 3bb97d9 | 2015-12-18 14:57:22 -0600 | [diff] [blame] | 91 | '<inventory_root>/system/chassis/motherboard/membuf0' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, |
| 92 | '<inventory_root>/system/chassis/motherboard/membuf1' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, |
| 93 | '<inventory_root>/system/chassis/motherboard/membuf2' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, |
| 94 | '<inventory_root>/system/chassis/motherboard/membuf3' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, |
| 95 | '<inventory_root>/system/chassis/motherboard/membuf4' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, |
| 96 | '<inventory_root>/system/chassis/motherboard/membuf5' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, |
| 97 | '<inventory_root>/system/chassis/motherboard/membuf6' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, |
| 98 | '<inventory_root>/system/chassis/motherboard/membuf7' : { 'fru_type' : 'MEMORY_BUFFER', 'is_fru' : False, }, |
Norman James | 3e5c859 | 2015-10-22 14:33:01 -0500 | [diff] [blame] | 99 | |
| 100 | '<inventory_root>/system/chassis/motherboard/dimm0' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 101 | '<inventory_root>/system/chassis/motherboard/dimm1' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 102 | '<inventory_root>/system/chassis/motherboard/dimm2' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 103 | '<inventory_root>/system/chassis/motherboard/dimm3' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 104 | '<inventory_root>/system/chassis/motherboard/dimm4' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 105 | '<inventory_root>/system/chassis/motherboard/dimm5' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 106 | '<inventory_root>/system/chassis/motherboard/dimm6' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 107 | '<inventory_root>/system/chassis/motherboard/dimm7' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 108 | '<inventory_root>/system/chassis/motherboard/dimm8' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 109 | '<inventory_root>/system/chassis/motherboard/dimm9' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 110 | '<inventory_root>/system/chassis/motherboard/dimm10' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 111 | '<inventory_root>/system/chassis/motherboard/dimm11' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 112 | '<inventory_root>/system/chassis/motherboard/dimm12' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 113 | '<inventory_root>/system/chassis/motherboard/dimm13' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 114 | '<inventory_root>/system/chassis/motherboard/dimm14' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 115 | '<inventory_root>/system/chassis/motherboard/dimm15' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 116 | '<inventory_root>/system/chassis/motherboard/dimm16' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 117 | '<inventory_root>/system/chassis/motherboard/dimm17' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 118 | '<inventory_root>/system/chassis/motherboard/dimm18' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 119 | '<inventory_root>/system/chassis/motherboard/dimm19' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 120 | '<inventory_root>/system/chassis/motherboard/dimm20' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 121 | '<inventory_root>/system/chassis/motherboard/dimm21' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 122 | '<inventory_root>/system/chassis/motherboard/dimm22' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 123 | '<inventory_root>/system/chassis/motherboard/dimm23' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 124 | '<inventory_root>/system/chassis/motherboard/dimm24' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 125 | '<inventory_root>/system/chassis/motherboard/dimm25' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 126 | '<inventory_root>/system/chassis/motherboard/dimm26' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 127 | '<inventory_root>/system/chassis/motherboard/dimm27' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 128 | '<inventory_root>/system/chassis/motherboard/dimm28' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 129 | '<inventory_root>/system/chassis/motherboard/dimm29' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 130 | '<inventory_root>/system/chassis/motherboard/dimm30' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 131 | '<inventory_root>/system/chassis/motherboard/dimm31' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 132 | |
| 133 | '<inventory_root>/system/chassis/io_board/pcie_slot0_riser' : { 'fru_type' : 'PCIE_RISER', 'is_fru' : True,}, |
| 134 | '<inventory_root>/system/chassis/io_board/pcie_slot1_riser' : { 'fru_type' : 'PCIE_RISER', 'is_fru' : True,}, |
Norman James | 7427e58 | 2015-12-03 17:54:54 -0600 | [diff] [blame] | 135 | '<inventory_root>/system/chassis/io_board/pcie_slot2_riser' : { 'fru_type' : 'PCIE_RISER', 'is_fru' : True,}, |
Norman James | 3e5c859 | 2015-10-22 14:33:01 -0500 | [diff] [blame] | 136 | '<inventory_root>/system/chassis/io_board/pcie_slot0' : { 'fru_type' : 'PCIE_CARD', 'is_fru' : True,}, |
| 137 | '<inventory_root>/system/chassis/io_board/pcie_slot1' : { 'fru_type' : 'PCIE_CARD', 'is_fru' : True,}, |
Norman James | 8ea118d | 2015-11-17 08:58:04 -0600 | [diff] [blame] | 138 | '<inventory_root>/system/chassis/io_board/pcie_slot2' : { 'fru_type' : 'PCIE_CARD', 'is_fru' : True,}, |
Norman James | 3e5c859 | 2015-10-22 14:33:01 -0500 | [diff] [blame] | 139 | '<inventory_root>/system/chassis/io_board/pcie_mezz0' : { 'fru_type' : 'PCIE_CARD', 'is_fru' : True,}, |
| 140 | '<inventory_root>/system/chassis/io_board/pcie_mezz1' : { 'fru_type' : 'PCIE_CARD', 'is_fru' : True,}, |
Norman James | 8887267 | 2015-09-21 16:51:35 -0500 | [diff] [blame] | 141 | } |
Norman James | 362a80f | 2015-09-14 14:04:39 -0500 | [diff] [blame] | 142 | |
Norman James | 19e4591 | 2015-10-04 20:19:41 -0500 | [diff] [blame] | 143 | ID_LOOKUP = { |
| 144 | 'FRU' : { |
Ken | d6affe6 | 2015-11-05 14:44:01 +0800 | [diff] [blame] | 145 | 0x03 : '<inventory_root>/system/chassis/motherboard', |
Norman James | 4f4bb6e | 2015-11-09 10:53:23 -0600 | [diff] [blame] | 146 | 0x40 : '<inventory_root>/system/chassis/io_board', |
Norman James | 3e5c859 | 2015-10-22 14:33:01 -0500 | [diff] [blame] | 147 | 0x01 : '<inventory_root>/system/chassis/motherboard/cpu0', |
Ken | d6affe6 | 2015-11-05 14:44:01 +0800 | [diff] [blame] | 148 | 0x02 : '<inventory_root>/system/chassis/motherboard/cpu1', |
Norman James | 3bb97d9 | 2015-12-18 14:57:22 -0600 | [diff] [blame] | 149 | 0x04 : '<inventory_root>/system/chassis/motherboard/membuf0', |
| 150 | 0x05 : '<inventory_root>/system/chassis/motherboard/membuf1', |
| 151 | 0x06 : '<inventory_root>/system/chassis/motherboard/membuf2', |
| 152 | 0x07 : '<inventory_root>/system/chassis/motherboard/membuf3', |
| 153 | 0x08 : '<inventory_root>/system/chassis/motherboard/membuf4', |
| 154 | 0x09 : '<inventory_root>/system/chassis/motherboard/membuf5', |
| 155 | 0x0a : '<inventory_root>/system/chassis/motherboard/membuf6', |
| 156 | 0x0b : '<inventory_root>/system/chassis/motherboard/membuf7', |
Ken | d6affe6 | 2015-11-05 14:44:01 +0800 | [diff] [blame] | 157 | 0x0c : '<inventory_root>/system/chassis/motherboard/dimm0', |
| 158 | 0x0d : '<inventory_root>/system/chassis/motherboard/dimm1', |
| 159 | 0x0e : '<inventory_root>/system/chassis/motherboard/dimm2', |
| 160 | 0x0f : '<inventory_root>/system/chassis/motherboard/dimm3', |
| 161 | 0x10 : '<inventory_root>/system/chassis/motherboard/dimm4', |
| 162 | 0x11 : '<inventory_root>/system/chassis/motherboard/dimm5', |
| 163 | 0x12 : '<inventory_root>/system/chassis/motherboard/dimm6', |
| 164 | 0x13 : '<inventory_root>/system/chassis/motherboard/dimm7', |
| 165 | 0x14 : '<inventory_root>/system/chassis/motherboard/dimm8', |
| 166 | 0x15 : '<inventory_root>/system/chassis/motherboard/dimm9', |
| 167 | 0x16 : '<inventory_root>/system/chassis/motherboard/dimm10', |
| 168 | 0x17 : '<inventory_root>/system/chassis/motherboard/dimm11', |
| 169 | 0x18 : '<inventory_root>/system/chassis/motherboard/dimm12', |
| 170 | 0x19 : '<inventory_root>/system/chassis/motherboard/dimm13', |
| 171 | 0x1a : '<inventory_root>/system/chassis/motherboard/dimm14', |
| 172 | 0x1b : '<inventory_root>/system/chassis/motherboard/dimm15', |
| 173 | 0x1c : '<inventory_root>/system/chassis/motherboard/dimm16', |
| 174 | 0x1d : '<inventory_root>/system/chassis/motherboard/dimm17', |
| 175 | 0x1e : '<inventory_root>/system/chassis/motherboard/dimm18', |
| 176 | 0x1f : '<inventory_root>/system/chassis/motherboard/dimm19', |
| 177 | 0x20 : '<inventory_root>/system/chassis/motherboard/dimm20', |
| 178 | 0x21 : '<inventory_root>/system/chassis/motherboard/dimm21', |
| 179 | 0x22 : '<inventory_root>/system/chassis/motherboard/dimm22', |
| 180 | 0x23 : '<inventory_root>/system/chassis/motherboard/dimm23', |
| 181 | 0x24 : '<inventory_root>/system/chassis/motherboard/dimm24', |
| 182 | 0x25 : '<inventory_root>/system/chassis/motherboard/dimm25', |
| 183 | 0x26 : '<inventory_root>/system/chassis/motherboard/dimm26', |
| 184 | 0x27 : '<inventory_root>/system/chassis/motherboard/dimm27', |
| 185 | 0x28 : '<inventory_root>/system/chassis/motherboard/dimm28', |
| 186 | 0x29 : '<inventory_root>/system/chassis/motherboard/dimm29', |
| 187 | 0x2a : '<inventory_root>/system/chassis/motherboard/dimm30', |
| 188 | 0x2b : '<inventory_root>/system/chassis/motherboard/dimm31', |
| 189 | 0x33 : '<inventory_root>/system', |
Norman James | 3e5c859 | 2015-10-22 14:33:01 -0500 | [diff] [blame] | 190 | }, |
| 191 | 'FRU_STR' : { |
Norman James | 3bb97d9 | 2015-12-18 14:57:22 -0600 | [diff] [blame] | 192 | 'PRODUCT_0' : '<inventory_root>/system/bios', |
| 193 | 'BOARD_3' : '<inventory_root>/system/misc', |
| 194 | 'PRODUCT_51' : '<inventory_root>/system/misc', |
Norman James | 1316210 | 2015-11-23 21:04:06 -0600 | [diff] [blame] | 195 | 'BOARD_100' : '<inventory_root>/system/chassis/io_board', |
Norman James | 2abcddb | 2016-01-19 14:05:00 -0600 | [diff] [blame] | 196 | 'BOARD_101' : '<inventory_root>/system/chassis/sas_expander', |
| 197 | 'BOARD_102' : '<inventory_root>/system/chassis/hdd_backplane', |
Norman James | 7427e58 | 2015-12-03 17:54:54 -0600 | [diff] [blame] | 198 | 'CHASSIS_3' : '<inventory_root>/system/chassis/motherboard', |
Norman James | 4f4bb6e | 2015-11-09 10:53:23 -0600 | [diff] [blame] | 199 | 'BOARD_1' : '<inventory_root>/system/chassis/motherboard/cpu0', |
| 200 | 'BOARD_2' : '<inventory_root>/system/chassis/motherboard/cpu1', |
Norman James | 3bb97d9 | 2015-12-18 14:57:22 -0600 | [diff] [blame] | 201 | 'BOARD_4' : '<inventory_root>/system/chassis/motherboard/membuf0', |
| 202 | 'BOARD_5' : '<inventory_root>/system/chassis/motherboard/membuf1', |
| 203 | 'BOARD_6' : '<inventory_root>/system/chassis/motherboard/membuf2', |
| 204 | 'BOARD_7' : '<inventory_root>/system/chassis/motherboard/membuf3', |
| 205 | 'BOARD_8' : '<inventory_root>/system/chassis/motherboard/membuf4', |
| 206 | 'BOARD_9' : '<inventory_root>/system/chassis/motherboard/membuf5', |
| 207 | 'BOARD_10' : '<inventory_root>/system/chassis/motherboard/membuf6', |
| 208 | 'BOARD_11' : '<inventory_root>/system/chassis/motherboard/membuf7', |
Norman James | 4f4bb6e | 2015-11-09 10:53:23 -0600 | [diff] [blame] | 209 | 'PRODUCT_12' : '<inventory_root>/system/chassis/motherboard/dimm0', |
| 210 | 'PRODUCT_13' : '<inventory_root>/system/chassis/motherboard/dimm1', |
| 211 | 'PRODUCT_14' : '<inventory_root>/system/chassis/motherboard/dimm2', |
| 212 | 'PRODUCT_15' : '<inventory_root>/system/chassis/motherboard/dimm3', |
| 213 | 'PRODUCT_16' : '<inventory_root>/system/chassis/motherboard/dimm4', |
| 214 | 'PRODUCT_17' : '<inventory_root>/system/chassis/motherboard/dimm5', |
| 215 | 'PRODUCT_18' : '<inventory_root>/system/chassis/motherboard/dimm6', |
| 216 | 'PRODUCT_19' : '<inventory_root>/system/chassis/motherboard/dimm7', |
| 217 | 'PRODUCT_20' : '<inventory_root>/system/chassis/motherboard/dimm8', |
| 218 | 'PRODUCT_21' : '<inventory_root>/system/chassis/motherboard/dimm9', |
| 219 | 'PRODUCT_22' : '<inventory_root>/system/chassis/motherboard/dimm10', |
| 220 | 'PRODUCT_23' : '<inventory_root>/system/chassis/motherboard/dimm11', |
| 221 | 'PRODUCT_24' : '<inventory_root>/system/chassis/motherboard/dimm12', |
| 222 | 'PRODUCT_25' : '<inventory_root>/system/chassis/motherboard/dimm13', |
| 223 | 'PRODUCT_26' : '<inventory_root>/system/chassis/motherboard/dimm14', |
| 224 | 'PRODUCT_27' : '<inventory_root>/system/chassis/motherboard/dimm15', |
| 225 | 'PRODUCT_28' : '<inventory_root>/system/chassis/motherboard/dimm16', |
| 226 | 'PRODUCT_29' : '<inventory_root>/system/chassis/motherboard/dimm17', |
| 227 | 'PRODUCT_30' : '<inventory_root>/system/chassis/motherboard/dimm18', |
| 228 | 'PRODUCT_31' : '<inventory_root>/system/chassis/motherboard/dimm19', |
| 229 | 'PRODUCT_32' : '<inventory_root>/system/chassis/motherboard/dimm20', |
| 230 | 'PRODUCT_33' : '<inventory_root>/system/chassis/motherboard/dimm21', |
| 231 | 'PRODUCT_34' : '<inventory_root>/system/chassis/motherboard/dimm22', |
| 232 | 'PRODUCT_35' : '<inventory_root>/system/chassis/motherboard/dimm23', |
| 233 | 'PRODUCT_36' : '<inventory_root>/system/chassis/motherboard/dimm24', |
| 234 | 'PRODUCT_37' : '<inventory_root>/system/chassis/motherboard/dimm25', |
| 235 | 'PRODUCT_38' : '<inventory_root>/system/chassis/motherboard/dimm26', |
| 236 | 'PRODUCT_39' : '<inventory_root>/system/chassis/motherboard/dimm27', |
| 237 | 'PRODUCT_40' : '<inventory_root>/system/chassis/motherboard/dimm28', |
| 238 | 'PRODUCT_41' : '<inventory_root>/system/chassis/motherboard/dimm29', |
| 239 | 'PRODUCT_42' : '<inventory_root>/system/chassis/motherboard/dimm30', |
| 240 | 'PRODUCT_43' : '<inventory_root>/system/chassis/motherboard/dimm31', |
Norman James | 19e4591 | 2015-10-04 20:19:41 -0500 | [diff] [blame] | 241 | }, |
| 242 | 'SENSOR' : { |
Norman James | 7427e58 | 2015-12-03 17:54:54 -0600 | [diff] [blame] | 243 | 0x35 : '<inventory_root>/system/systemevent', |
| 244 | 0x36 : '<inventory_root>/system/powerlimit', |
Ken | d6affe6 | 2015-11-05 14:44:01 +0800 | [diff] [blame] | 245 | 0x34 : '<inventory_root>/system/chassis/motherboard', |
Norman James | 7427e58 | 2015-12-03 17:54:54 -0600 | [diff] [blame] | 246 | 0x31 : '<inventory_root>/system/chassis/motherboard/pcielink', |
| 247 | 0x37 : '<inventory_root>/system/chassis/motherboard/refclock', |
| 248 | 0x38 : '<inventory_root>/system/chassis/motherboard/pcieclock', |
| 249 | 0x39 : '<inventory_root>/system/chassis/motherboard/todclock', |
Ken | fb444c5 | 2015-12-18 17:56:30 -0600 | [diff] [blame] | 250 | 0x3A : '<inventory_root>/system/chassis/motherboard/apss', |
Ken | d6affe6 | 2015-11-05 14:44:01 +0800 | [diff] [blame] | 251 | 0x0c : '<inventory_root>/system/chassis/motherboard/cpu0', |
| 252 | 0x0e : '<inventory_root>/system/chassis/motherboard/cpu1', |
| 253 | 0xc8 : '<inventory_root>/system/chassis/motherboard/cpu0/core0', |
| 254 | 0xc9 : '<inventory_root>/system/chassis/motherboard/cpu0/core1', |
| 255 | 0xca : '<inventory_root>/system/chassis/motherboard/cpu0/core2', |
| 256 | 0xcb : '<inventory_root>/system/chassis/motherboard/cpu0/core3', |
| 257 | 0xcc : '<inventory_root>/system/chassis/motherboard/cpu0/core4', |
| 258 | 0xcd : '<inventory_root>/system/chassis/motherboard/cpu0/core5', |
| 259 | 0xce : '<inventory_root>/system/chassis/motherboard/cpu0/core6', |
| 260 | 0xcf : '<inventory_root>/system/chassis/motherboard/cpu0/core7', |
| 261 | 0xd0 : '<inventory_root>/system/chassis/motherboard/cpu0/core8', |
| 262 | 0xd1 : '<inventory_root>/system/chassis/motherboard/cpu0/core9', |
| 263 | 0xd2 : '<inventory_root>/system/chassis/motherboard/cpu0/core10', |
| 264 | 0xd3 : '<inventory_root>/system/chassis/motherboard/cpu0/core11', |
Norman James | 7427e58 | 2015-12-03 17:54:54 -0600 | [diff] [blame] | 265 | 0xd4 : '<inventory_root>/system/chassis/motherboard/cpu1/core0', |
| 266 | 0xd5 : '<inventory_root>/system/chassis/motherboard/cpu1/core1', |
| 267 | 0xd6 : '<inventory_root>/system/chassis/motherboard/cpu1/core2', |
| 268 | 0xd7 : '<inventory_root>/system/chassis/motherboard/cpu1/core3', |
| 269 | 0xd8 : '<inventory_root>/system/chassis/motherboard/cpu1/core4', |
| 270 | 0xd9 : '<inventory_root>/system/chassis/motherboard/cpu1/core5', |
| 271 | 0xda : '<inventory_root>/system/chassis/motherboard/cpu1/core6', |
| 272 | 0xdb : '<inventory_root>/system/chassis/motherboard/cpu1/core7', |
| 273 | 0xdc : '<inventory_root>/system/chassis/motherboard/cpu1/core8', |
| 274 | 0xdd : '<inventory_root>/system/chassis/motherboard/cpu1/core9', |
| 275 | 0xde : '<inventory_root>/system/chassis/motherboard/cpu1/core10', |
| 276 | 0xdf : '<inventory_root>/system/chassis/motherboard/cpu1/core11', |
Norman James | 3bb97d9 | 2015-12-18 14:57:22 -0600 | [diff] [blame] | 277 | 0x40 : '<inventory_root>/system/chassis/motherboard/membuf0', |
| 278 | 0x41 : '<inventory_root>/system/chassis/motherboard/membuf1', |
| 279 | 0x42 : '<inventory_root>/system/chassis/motherboard/membuf2', |
| 280 | 0x43 : '<inventory_root>/system/chassis/motherboard/membuf3', |
| 281 | 0x44 : '<inventory_root>/system/chassis/motherboard/membuf4', |
| 282 | 0x45 : '<inventory_root>/system/chassis/motherboard/membuf5', |
| 283 | 0x46 : '<inventory_root>/system/chassis/motherboard/membuf6', |
| 284 | 0x47 : '<inventory_root>/system/chassis/motherboard/membuf7', |
Ken | d6affe6 | 2015-11-05 14:44:01 +0800 | [diff] [blame] | 285 | 0x10 : '<inventory_root>/system/chassis/motherboard/dimm0', |
| 286 | 0x11 : '<inventory_root>/system/chassis/motherboard/dimm1', |
| 287 | 0x12 : '<inventory_root>/system/chassis/motherboard/dimm2', |
| 288 | 0x13 : '<inventory_root>/system/chassis/motherboard/dimm3', |
| 289 | 0x14 : '<inventory_root>/system/chassis/motherboard/dimm4', |
| 290 | 0x15 : '<inventory_root>/system/chassis/motherboard/dimm5', |
| 291 | 0x16 : '<inventory_root>/system/chassis/motherboard/dimm6', |
| 292 | 0x17 : '<inventory_root>/system/chassis/motherboard/dimm7', |
| 293 | 0x18 : '<inventory_root>/system/chassis/motherboard/dimm8', |
| 294 | 0x19 : '<inventory_root>/system/chassis/motherboard/dimm9', |
| 295 | 0x1a : '<inventory_root>/system/chassis/motherboard/dimm10', |
| 296 | 0x1b : '<inventory_root>/system/chassis/motherboard/dimm11', |
| 297 | 0x1c : '<inventory_root>/system/chassis/motherboard/dimm12', |
| 298 | 0x1d : '<inventory_root>/system/chassis/motherboard/dimm13', |
| 299 | 0x1e : '<inventory_root>/system/chassis/motherboard/dimm14', |
| 300 | 0x1f : '<inventory_root>/system/chassis/motherboard/dimm15', |
| 301 | 0x20 : '<inventory_root>/system/chassis/motherboard/dimm16', |
| 302 | 0x21 : '<inventory_root>/system/chassis/motherboard/dimm17', |
| 303 | 0x22 : '<inventory_root>/system/chassis/motherboard/dimm18', |
| 304 | 0x23 : '<inventory_root>/system/chassis/motherboard/dimm19', |
| 305 | 0x24 : '<inventory_root>/system/chassis/motherboard/dimm20', |
| 306 | 0x25 : '<inventory_root>/system/chassis/motherboard/dimm21', |
| 307 | 0x26 : '<inventory_root>/system/chassis/motherboard/dimm22', |
| 308 | 0x27 : '<inventory_root>/system/chassis/motherboard/dimm23', |
| 309 | 0x28 : '<inventory_root>/system/chassis/motherboard/dimm24', |
| 310 | 0x29 : '<inventory_root>/system/chassis/motherboard/dimm25', |
| 311 | 0x2a : '<inventory_root>/system/chassis/motherboard/dimm26', |
| 312 | 0x2b : '<inventory_root>/system/chassis/motherboard/dimm27', |
| 313 | 0x2c : '<inventory_root>/system/chassis/motherboard/dimm28', |
| 314 | 0x2d : '<inventory_root>/system/chassis/motherboard/dimm29', |
| 315 | 0x2e : '<inventory_root>/system/chassis/motherboard/dimm30', |
Ken | fb444c5 | 2015-12-18 17:56:30 -0600 | [diff] [blame] | 316 | 0x2f : '<inventory_root>/system/chassis/motherboard/dimm31', |
Chris Austen | 4c9ea5d | 2015-12-09 23:26:08 -0600 | [diff] [blame] | 317 | 0x09 : '/org/openbmc/sensors/host/BootCount', |
| 318 | 0x05 : '/org/openbmc/sensors/host/BootProgress', |
| 319 | 0x04 : '/org/openbmc/sensors/host/HostStatus', |
Norman James | 86f2a07 | 2016-01-30 22:48:54 -0600 | [diff] [blame] | 320 | 0x08 : '/org/openbmc/sensors/host/cpu0/OccStatus', |
| 321 | 0x0A : '/org/openbmc/sensors/host/cpu1/OccStatus', |
Chris Austen | 4c9ea5d | 2015-12-09 23:26:08 -0600 | [diff] [blame] | 322 | 0x32 : '/org/openbmc/sensors/host/OperatingSystemStatus', |
| 323 | 0x33 : '/org/openbmc/sensors/host/powercap', |
Norman James | 19e4591 | 2015-10-04 20:19:41 -0500 | [diff] [blame] | 324 | }, |
| 325 | 'GPIO_PRESENT' : { |
Ken | fb444c5 | 2015-12-18 17:56:30 -0600 | [diff] [blame] | 326 | 'SLOT0_RISER_PRESENT' : '<inventory_root>/system/chassis/io_board/pcie_slot0_riser', |
| 327 | 'SLOT1_RISER_PRESENT' : '<inventory_root>/system/chassis/io_board/pcie_slot1_riser', |
| 328 | 'SLOT2_RISER_PRESENT' : '<inventory_root>/system/chassis/io_board/pcie_slot2_riser', |
| 329 | 'SLOT0_PRESENT' : '<inventory_root>/system/chassis/io_board/pcie_slot0', |
| 330 | 'SLOT1_PRESENT' : '<inventory_root>/system/chassis/io_board/pcie_slot1', |
| 331 | 'SLOT2_PRESENT' : '<inventory_root>/system/chassis/io_board/pcie_slot2', |
| 332 | 'MEZZ0_PRESENT' : '<inventory_root>/system/chassis/io_board/pcie_mezz0', |
| 333 | 'MEZZ1_PRESENT' : '<inventory_root>/system/chassis/io_board/pcie_mezz1', |
Norman James | 19e4591 | 2015-10-04 20:19:41 -0500 | [diff] [blame] | 334 | } |
| 335 | } |
Norman James | 362a80f | 2015-09-14 14:04:39 -0500 | [diff] [blame] | 336 | |
Norman James | ce46e3e | 2015-08-30 22:25:55 -0500 | [diff] [blame] | 337 | GPIO_CONFIG = {} |
Norman James | b38ea5a | 2015-10-28 12:44:56 -0500 | [diff] [blame] | 338 | GPIO_CONFIG['FSI_CLK'] = { 'gpio_pin': 'A4', 'direction': 'out' } |
| 339 | GPIO_CONFIG['FSI_DATA'] = { 'gpio_pin': 'A5', 'direction': 'out' } |
| 340 | GPIO_CONFIG['FSI_ENABLE'] = { 'gpio_pin': 'D0', 'direction': 'out' } |
| 341 | GPIO_CONFIG['POWER_PIN'] = { 'gpio_pin': 'E1', 'direction': 'out' } |
| 342 | GPIO_CONFIG['CRONUS_SEL'] = { 'gpio_pin': 'A6', 'direction': 'out' } |
| 343 | GPIO_CONFIG['PGOOD'] = { 'gpio_pin': 'C7', 'direction': 'in' } |
Norman James | 2943cc6 | 2015-10-28 18:59:53 -0500 | [diff] [blame] | 344 | GPIO_CONFIG['POWER_BUTTON'] = { 'gpio_pin': 'E0', 'direction': 'both' } |
Norman James | e62f445 | 2015-10-31 17:33:10 -0500 | [diff] [blame] | 345 | GPIO_CONFIG['PCIE_RESET'] = { 'gpio_pin': 'B5', 'direction': 'out' } |
| 346 | GPIO_CONFIG['USB_RESET'] = { 'gpio_pin': 'B6', 'direction': 'out' } |
Ken | fb444c5 | 2015-12-18 17:56:30 -0600 | [diff] [blame] | 347 | |
Ken | 584747e | 2016-05-18 15:18:05 +0800 | [diff] [blame] | 348 | GPIO_CONFIG['IDBTN'] = { 'gpio_pin': 'Q7', 'direction': 'out' } |
Ken | fb444c5 | 2015-12-18 17:56:30 -0600 | [diff] [blame] | 349 | GPIO_CONFIG['BMC_THROTTLE'] = { 'gpio_pin': 'J3', 'direction': 'out' } |
| 350 | GPIO_CONFIG['RESET_BUTTON'] = { 'gpio_pin': 'E2', 'direction': 'both' } |
| 351 | GPIO_CONFIG['CPLD_TCK'] = { 'gpio_pin': 'P0', 'direction': 'out' } |
| 352 | GPIO_CONFIG['CPLD_TDO'] = { 'gpio_pin': 'P1', 'direction': 'out' } |
| 353 | GPIO_CONFIG['CPLD_TDI'] = { 'gpio_pin': 'P2', 'direction': 'out' } |
| 354 | GPIO_CONFIG['CPLD_TMS'] = { 'gpio_pin': 'P3', 'direction': 'out' } |
Adriana Kobylak | 341c8c2 | 2016-06-16 09:20:55 -0500 | [diff] [blame] | 355 | GPIO_CONFIG['CHECKSTOP'] = { 'gpio_pin': 'P5', 'direction': 'falling' } |
Ken | fb444c5 | 2015-12-18 17:56:30 -0600 | [diff] [blame] | 356 | |
Norman James | b38ea5a | 2015-10-28 12:44:56 -0500 | [diff] [blame] | 357 | GPIO_CONFIG['SLOT0_RISER_PRESENT'] = { 'gpio_pin': 'N0', 'direction': 'in' } |
| 358 | GPIO_CONFIG['SLOT1_RISER_PRESENT'] = { 'gpio_pin': 'N1', 'direction': 'in' } |
| 359 | GPIO_CONFIG['SLOT2_RISER_PRESENT'] = { 'gpio_pin': 'N2', 'direction': 'in' } |
| 360 | GPIO_CONFIG['SLOT0_PRESENT'] = { 'gpio_pin': 'N3', 'direction': 'in' } |
| 361 | GPIO_CONFIG['SLOT1_PRESENT'] = { 'gpio_pin': 'N4', 'direction': 'in' } |
| 362 | GPIO_CONFIG['SLOT2_PRESENT'] = { 'gpio_pin': 'N5', 'direction': 'in' } |
| 363 | GPIO_CONFIG['MEZZ0_PRESENT'] = { 'gpio_pin': 'O0', 'direction': 'in' } |
| 364 | GPIO_CONFIG['MEZZ1_PRESENT'] = { 'gpio_pin': 'O1', 'direction': 'in' } |
Norman James | a9966b3 | 2015-10-28 06:55:58 -0500 | [diff] [blame] | 365 | |
Norman James | 3cb0f98 | 2015-12-03 01:07:16 -0600 | [diff] [blame] | 366 | HWMON_CONFIG = { |
Norman James | 3bb97d9 | 2015-12-18 14:57:22 -0600 | [diff] [blame] | 367 | '0-004a' : { |
Ken | fb444c5 | 2015-12-18 17:56:30 -0600 | [diff] [blame] | 368 | 'names' : { |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 369 | 'temp1_input' : { 'object_path' : 'temperature/ambient','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
Norman James | 3bb97d9 | 2015-12-18 14:57:22 -0600 | [diff] [blame] | 370 | } |
Norman James | 3cb0f98 | 2015-12-03 01:07:16 -0600 | [diff] [blame] | 371 | }, |
Lei YU | 25a2243 | 2016-10-14 11:45:05 +0800 | [diff] [blame] | 372 | '0-0068' : { |
| 373 | 'names' : { |
| 374 | 'temp1_input' : { 'object_path' : 'temperature/rtc','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 375 | } |
| 376 | }, |
Norman James | 3cb0f98 | 2015-12-03 01:07:16 -0600 | [diff] [blame] | 377 | '6-002d' : { |
Norman James | 3bb97d9 | 2015-12-18 14:57:22 -0600 | [diff] [blame] | 378 | 'names' : { |
| 379 | 'pwm1' : { 'object_path' : 'speed/fan0','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 380 | 'pwm2' : { 'object_path' : 'speed/fan1','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
Ken | fb444c5 | 2015-12-18 17:56:30 -0600 | [diff] [blame] | 381 | 'pwm3' : { 'object_path' : 'speed/fan2','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
Yi Li | 2f3213f | 2016-08-03 11:09:55 +0800 | [diff] [blame] | 382 | 'fan1_input' : { 'object_path' : 'tach/fan5L','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 383 | 'fan2_input' : { 'object_path' : 'tach/fan5H','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 384 | 'fan3_input' : { 'object_path' : 'tach/fan4L','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 385 | 'fan4_input' : { 'object_path' : 'tach/fan4H','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 386 | 'fan5_input' : { 'object_path' : 'tach/fan3L','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 387 | 'fan6_input' : { 'object_path' : 'tach/fan3H','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
Ken | fb444c5 | 2015-12-18 17:56:30 -0600 | [diff] [blame] | 388 | 'in1_input' : { 'object_path' : 'voltage/P1V35_CPU0_BUF4','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 389 | 'in2_input' : { 'object_path' : 'voltage/P0V9_CPU0_BUF1','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 390 | 'in3_input' : { 'object_path' : 'voltage/P0V9_CPU0_BUF2','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 391 | 'in4_input' : { 'object_path' : 'voltage/P0V9_CPU0_BUF3','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 392 | 'in5_input' : { 'object_path' : 'voltage/P0V9_CPU0_BUF4','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 393 | 'in6_input' : { 'object_path' : 'voltage/P1V09_CPU0_BUF1','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 394 | 'in7_input' : { 'object_path' : 'voltage/P1V09_CPU0_BUF2','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 395 | 'in8_input' : { 'object_path' : 'voltage/P1V09_CPU0_BUF3','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 396 | 'in9_input' : { 'object_path' : 'voltage/P1V09_CPU0_BUF4','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 397 | 'in10_input' : { 'object_path' : 'voltage/P0V97_CPU0','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 398 | 'in11_input' : { 'object_path' : 'voltage/P1V1_MEM0','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 399 | 'in12_input' : { 'object_path' : 'voltage/P1V35_CPU0_BUF1','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 400 | 'in13_input' : { 'object_path' : 'voltage/P1V35_CPU0_BUF2','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 401 | 'in14_input' : { 'object_path' : 'voltage/P1V35_CPU0_BUF3','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
Norman James | 3bb97d9 | 2015-12-18 14:57:22 -0600 | [diff] [blame] | 402 | } |
Norman James | 3cb0f98 | 2015-12-03 01:07:16 -0600 | [diff] [blame] | 403 | }, |
| 404 | '6-002e' : { |
Norman James | 3bb97d9 | 2015-12-18 14:57:22 -0600 | [diff] [blame] | 405 | 'names' : { |
| 406 | 'pwm1' : { 'object_path' : 'speed/fan3','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 407 | 'pwm2' : { 'object_path' : 'speed/fan4','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 408 | 'pwm3' : { 'object_path' : 'speed/fan5','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
Yi Li | 2f3213f | 2016-08-03 11:09:55 +0800 | [diff] [blame] | 409 | 'fan1_input' : { 'object_path' : 'tach/fan2L','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 410 | 'fan2_input' : { 'object_path' : 'tach/fan2H','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 411 | 'fan3_input' : { 'object_path' : 'tach/fan1L','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 412 | 'fan4_input' : { 'object_path' : 'tach/fan1H','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 413 | 'fan5_input' : { 'object_path' : 'tach/fan0L','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 414 | 'fan6_input' : { 'object_path' : 'tach/fan0H','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
Ken | fb444c5 | 2015-12-18 17:56:30 -0600 | [diff] [blame] | 415 | 'in1_input' : { 'object_path' : 'voltage/P1V35_CPU1_BUF4','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 416 | 'in2_input' : { 'object_path' : 'voltage/P0V9_CPU1_BUF1','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 417 | 'in3_input' : { 'object_path' : 'voltage/P0V9_CPU1_BUF2','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 418 | 'in4_input' : { 'object_path' : 'voltage/P0V9_CPU1_BUF3','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 419 | 'in5_input' : { 'object_path' : 'voltage/P0V9_CPU1_BUF4','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 420 | 'in6_input' : { 'object_path' : 'voltage/P1V09_CPU1_BUF1','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 421 | 'in7_input' : { 'object_path' : 'voltage/P1V09_CPU1_BUF2','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 422 | 'in8_input' : { 'object_path' : 'voltage/P1V09_CPU1_BUF3','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 423 | 'in9_input' : { 'object_path' : 'voltage/P1V09_CPU1_BUF4','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 424 | 'in10_input' : { 'object_path' : 'voltage/P0V97_CPU1','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 425 | 'in11_input' : { 'object_path' : 'voltage/P1V1_MEM1','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 426 | 'in12_input' : { 'object_path' : 'voltage/P1V35_CPU1_BUF1','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 427 | 'in13_input' : { 'object_path' : 'voltage/P1V35_CPU1_BUF2','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
| 428 | 'in14_input' : { 'object_path' : 'voltage/P1V35_CPU1_BUF3','poll_interval' : 10000,'scale' : 1,'units' : '' }, |
Norman James | 3bb97d9 | 2015-12-18 14:57:22 -0600 | [diff] [blame] | 429 | } |
Ken | fb444c5 | 2015-12-18 17:56:30 -0600 | [diff] [blame] | 430 | }, |
Norman James | 3cb0f98 | 2015-12-03 01:07:16 -0600 | [diff] [blame] | 431 | '3-0050' : { |
Yi Li | 155f93f | 2016-01-30 15:30:14 +0800 | [diff] [blame] | 432 | 'names' : { |
| 433 | 'caps_curr_powercap' : { 'object_path' : 'powercap/curr_cap','poll_interval' : 10000,'scale' : 1,'units' : 'W' }, |
| 434 | 'caps_curr_powerreading' : { 'object_path' : 'powercap/system_power','poll_interval' : 10000,'scale' : 1,'units' : 'W' }, |
| 435 | 'caps_max_powercap' : { 'object_path' : 'powercap/max_cap','poll_interval' : 10000,'scale' : 1,'units' : 'W' }, |
| 436 | 'caps_min_powercap' : { 'object_path' : 'powercap/min_cap','poll_interval' : 10000,'scale' : 1,'units' : 'W' }, |
| 437 | 'caps_norm_powercap' : { 'object_path' : 'powercap/n_cap','poll_interval' : 10000,'scale' : 1,'units' : 'W' }, |
| 438 | 'caps_user_powerlimit' : { 'object_path' : 'powercap/user_cap','poll_interval' : 10000,'scale' : 1,'units' : 'W' }, |
| 439 | }, |
Norman James | 3bb97d9 | 2015-12-18 14:57:22 -0600 | [diff] [blame] | 440 | 'labels' : { |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 441 | '176' : { 'object_path' : 'temperature/cpu0/core0','poll_interval' : 5000,'scale' : -3,'units' : 'C', |
Norman James | 72567ba | 2016-01-13 16:57:48 -0600 | [diff] [blame] | 442 | 'critical_upper' : 100, 'critical_lower' : -100, 'warning_upper' : 90, 'warning_lower' : -99, 'emergency_enabled' : True }, |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 443 | '177' : { 'object_path' : 'temperature/cpu0/core1','poll_interval' : 5000,'scale' : -3,'units' : 'C', |
Norman James | 72567ba | 2016-01-13 16:57:48 -0600 | [diff] [blame] | 444 | 'critical_upper' : 100, 'critical_lower' : -100, 'warning_upper' : 90, 'warning_lower' : -99, 'emergency_enabled' : True }, |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 445 | '178' : { 'object_path' : 'temperature/cpu0/core2','poll_interval' : 5000,'scale' : -3,'units' : 'C', |
Norman James | 72567ba | 2016-01-13 16:57:48 -0600 | [diff] [blame] | 446 | 'critical_upper' : 100, 'critical_lower' : -100, 'warning_upper' : 90, 'warning_lower' : -99, 'emergency_enabled' : True }, |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 447 | '179' : { 'object_path' : 'temperature/cpu0/core3','poll_interval' : 5000,'scale' : -3,'units' : 'C', |
Norman James | 72567ba | 2016-01-13 16:57:48 -0600 | [diff] [blame] | 448 | 'critical_upper' : 100, 'critical_lower' : -100, 'warning_upper' : 90, 'warning_lower' : -99, 'emergency_enabled' : True }, |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 449 | '180' : { 'object_path' : 'temperature/cpu0/core4','poll_interval' : 5000,'scale' : -3,'units' : 'C', |
Norman James | 72567ba | 2016-01-13 16:57:48 -0600 | [diff] [blame] | 450 | 'critical_upper' : 100, 'critical_lower' : -100, 'warning_upper' : 90, 'warning_lower' : -99, 'emergency_enabled' : True }, |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 451 | '181' : { 'object_path' : 'temperature/cpu0/core5','poll_interval' : 5000,'scale' : -3,'units' : 'C', |
Norman James | 72567ba | 2016-01-13 16:57:48 -0600 | [diff] [blame] | 452 | 'critical_upper' : 100, 'critical_lower' : -100, 'warning_upper' : 90, 'warning_lower' : -99, 'emergency_enabled' : True }, |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 453 | '182' : { 'object_path' : 'temperature/cpu0/core6','poll_interval' : 5000,'scale' : -3,'units' : 'C', |
Norman James | 72567ba | 2016-01-13 16:57:48 -0600 | [diff] [blame] | 454 | 'critical_upper' : 100, 'critical_lower' : -100, 'warning_upper' : 90, 'warning_lower' : -99, 'emergency_enabled' : True }, |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 455 | '183' : { 'object_path' : 'temperature/cpu0/core7','poll_interval' : 5000,'scale' : -3,'units' : 'C', |
Norman James | 72567ba | 2016-01-13 16:57:48 -0600 | [diff] [blame] | 456 | 'critical_upper' : 100, 'critical_lower' : -100, 'warning_upper' : 90, 'warning_lower' : -99, 'emergency_enabled' : True }, |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 457 | '184' : { 'object_path' : 'temperature/cpu0/core8','poll_interval' : 5000,'scale' : -3,'units' : 'C', |
Norman James | 72567ba | 2016-01-13 16:57:48 -0600 | [diff] [blame] | 458 | 'critical_upper' : 100, 'critical_lower' : -100, 'warning_upper' : 90, 'warning_lower' : -99, 'emergency_enabled' : True }, |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 459 | '185' : { 'object_path' : 'temperature/cpu0/core9','poll_interval' : 5000,'scale' : -3,'units' : 'C', |
Norman James | 72567ba | 2016-01-13 16:57:48 -0600 | [diff] [blame] | 460 | 'critical_upper' : 100, 'critical_lower' : -100, 'warning_upper' : 90, 'warning_lower' : -99, 'emergency_enabled' : True }, |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 461 | '186' : { 'object_path' : 'temperature/cpu0/core10','poll_interval' : 5000,'scale' : -3,'units' : 'C', |
Norman James | 72567ba | 2016-01-13 16:57:48 -0600 | [diff] [blame] | 462 | 'critical_upper' : 100, 'critical_lower' : -100, 'warning_upper' : 90, 'warning_lower' : -99, 'emergency_enabled' : True }, |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 463 | '187' : { 'object_path' : 'temperature/cpu0/core11','poll_interval' : 5000,'scale' : -3,'units' : 'C', |
Norman James | 72567ba | 2016-01-13 16:57:48 -0600 | [diff] [blame] | 464 | 'critical_upper' : 100, 'critical_lower' : -100, 'warning_upper' : 90, 'warning_lower' : -99, 'emergency_enabled' : True }, |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 465 | '102' : { 'object_path' : 'temperature/dimm0','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 466 | '103' : { 'object_path' : 'temperature/dimm1','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 467 | '104' : { 'object_path' : 'temperature/dimm2','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 468 | '105' : { 'object_path' : 'temperature/dimm3','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 469 | '106' : { 'object_path' : 'temperature/dimm4','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 470 | '107' : { 'object_path' : 'temperature/dimm5','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 471 | '108' : { 'object_path' : 'temperature/dimm6','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 472 | '109' : { 'object_path' : 'temperature/dimm7','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 473 | '110' : { 'object_path' : 'temperature/dimm8','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 474 | '111' : { 'object_path' : 'temperature/dimm9','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 475 | '112' : { 'object_path' : 'temperature/dimm10','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 476 | '113' : { 'object_path' : 'temperature/dimm11','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 477 | '114' : { 'object_path' : 'temperature/dimm12','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 478 | '115' : { 'object_path' : 'temperature/dimm13','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 479 | '116' : { 'object_path' : 'temperature/dimm14','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 480 | '117' : { 'object_path' : 'temperature/dimm15','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 481 | '94' : { 'object_path' : 'temperature/membuf0','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 482 | '95' : { 'object_path' : 'temperature/membuf1','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 483 | '96' : { 'object_path' : 'temperature/membuf2','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 484 | '97' : { 'object_path' : 'temperature/membuf3','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
Norman James | 3bb97d9 | 2015-12-18 14:57:22 -0600 | [diff] [blame] | 485 | } |
Norman James | 3cb0f98 | 2015-12-03 01:07:16 -0600 | [diff] [blame] | 486 | }, |
| 487 | '3-0051' : { |
Norman James | 3bb97d9 | 2015-12-18 14:57:22 -0600 | [diff] [blame] | 488 | 'labels' : { |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 489 | '188' : { 'object_path' : 'temperature/cpu1/core0','poll_interval' : 5000,'scale' : -3,'units' : 'C', |
Norman James | 72567ba | 2016-01-13 16:57:48 -0600 | [diff] [blame] | 490 | 'critical_upper' : 100, 'critical_lower' : -100, 'warning_upper' : 90, 'warning_lower' : -99, 'emergency_enabled' : True }, |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 491 | '189' : { 'object_path' : 'temperature/cpu1/core1','poll_interval' : 5000,'scale' : -3,'units' : 'C', |
Norman James | 72567ba | 2016-01-13 16:57:48 -0600 | [diff] [blame] | 492 | 'critical_upper' : 100, 'critical_lower' : -100, 'warning_upper' : 90, 'warning_lower' : -99, 'emergency_enabled' : True }, |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 493 | '190' : { 'object_path' : 'temperature/cpu1/core2','poll_interval' : 5000,'scale' : -3,'units' : 'C', |
Norman James | 72567ba | 2016-01-13 16:57:48 -0600 | [diff] [blame] | 494 | 'critical_upper' : 100, 'critical_lower' : -100, 'warning_upper' : 90, 'warning_lower' : -99, 'emergency_enabled' : True }, |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 495 | '191' : { 'object_path' : 'temperature/cpu1/core3','poll_interval' : 5000,'scale' : -3,'units' : 'C', |
Norman James | 72567ba | 2016-01-13 16:57:48 -0600 | [diff] [blame] | 496 | 'critical_upper' : 100, 'critical_lower' : -100, 'warning_upper' : 90, 'warning_lower' : -99, 'emergency_enabled' : True }, |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 497 | '192' : { 'object_path' : 'temperature/cpu1/core4','poll_interval' : 5000,'scale' : -3,'units' : 'C', |
Norman James | 72567ba | 2016-01-13 16:57:48 -0600 | [diff] [blame] | 498 | 'critical_upper' : 100, 'critical_lower' : -100, 'warning_upper' : 90, 'warning_lower' : -99, 'emergency_enabled' : True }, |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 499 | '193' : { 'object_path' : 'temperature/cpu1/core5','poll_interval' : 5000,'scale' : -3,'units' : 'C', |
Norman James | 72567ba | 2016-01-13 16:57:48 -0600 | [diff] [blame] | 500 | 'critical_upper' : 100, 'critical_lower' : -100, 'warning_upper' : 90, 'warning_lower' : -99, 'emergency_enabled' : True }, |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 501 | '194' : { 'object_path' : 'temperature/cpu1/core6','poll_interval' : 5000,'scale' : -3,'units' : 'C', |
Norman James | 72567ba | 2016-01-13 16:57:48 -0600 | [diff] [blame] | 502 | 'critical_upper' : 100, 'critical_lower' : -100, 'warning_upper' : 90, 'warning_lower' : -99, 'emergency_enabled' : True }, |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 503 | '195' : { 'object_path' : 'temperature/cpu1/core7','poll_interval' : 5000,'scale' : -3,'units' : 'C', |
Norman James | 72567ba | 2016-01-13 16:57:48 -0600 | [diff] [blame] | 504 | 'critical_upper' : 100, 'critical_lower' : -100, 'warning_upper' : 90, 'warning_lower' : -99, 'emergency_enabled' : True }, |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 505 | '196' : { 'object_path' : 'temperature/cpu1/core8','poll_interval' : 5000,'scale' : -3,'units' : 'C', |
Norman James | 72567ba | 2016-01-13 16:57:48 -0600 | [diff] [blame] | 506 | 'critical_upper' : 100, 'critical_lower' : -100, 'warning_upper' : 90, 'warning_lower' : -99, 'emergency_enabled' : True }, |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 507 | '197' : { 'object_path' : 'temperature/cpu1/core9','poll_interval' : 5000,'scale' : -3,'units' : 'C', |
Norman James | 72567ba | 2016-01-13 16:57:48 -0600 | [diff] [blame] | 508 | 'critical_upper' : 100, 'critical_lower' : -100, 'warning_upper' : 90, 'warning_lower' : -99, 'emergency_enabled' : True }, |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 509 | '198' : { 'object_path' : 'temperature/cpu1/core10','poll_interval' : 5000,'scale' : -3,'units' : 'C', |
Norman James | 72567ba | 2016-01-13 16:57:48 -0600 | [diff] [blame] | 510 | 'critical_upper' : 100, 'critical_lower' : -100, 'warning_upper' : 90, 'warning_lower' : -99, 'emergency_enabled' : True }, |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 511 | '199' : { 'object_path' : 'temperature/cpu1/core11','poll_interval' : 5000,'scale' : -3,'units' : 'C', |
Norman James | 72567ba | 2016-01-13 16:57:48 -0600 | [diff] [blame] | 512 | 'critical_upper' : 100, 'critical_lower' : -100, 'warning_upper' : 90, 'warning_lower' : -99, 'emergency_enabled' : True }, |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 513 | '118' : { 'object_path' : 'temperature/dimm16','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 514 | '119' : { 'object_path' : 'temperature/dimm17','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 515 | '120' : { 'object_path' : 'temperature/dimm18','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 516 | '121' : { 'object_path' : 'temperature/dimm19','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 517 | '122' : { 'object_path' : 'temperature/dimm20','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 518 | '123' : { 'object_path' : 'temperature/dimm21','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 519 | '124' : { 'object_path' : 'temperature/dimm22','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 520 | '125' : { 'object_path' : 'temperature/dimm23','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 521 | '126' : { 'object_path' : 'temperature/dimm24','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 522 | '127' : { 'object_path' : 'temperature/dimm25','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 523 | '128' : { 'object_path' : 'temperature/dimm26','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 524 | '129' : { 'object_path' : 'temperature/dimm27','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 525 | '130' : { 'object_path' : 'temperature/dimm28','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 526 | '131' : { 'object_path' : 'temperature/dimm29','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 527 | '132' : { 'object_path' : 'temperature/dimm30','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 528 | '133' : { 'object_path' : 'temperature/dimm31','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 529 | '98' : { 'object_path' : 'temperature/membuf4','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 530 | '99' : { 'object_path' : 'temperature/membuf5','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 531 | '100' : { 'object_path' : 'temperature/membuf6','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
| 532 | '101' : { 'object_path' : 'temperature/membuf7','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, |
Norman James | 3bb97d9 | 2015-12-18 14:57:22 -0600 | [diff] [blame] | 533 | } |
Norman James | 3cb0f98 | 2015-12-03 01:07:16 -0600 | [diff] [blame] | 534 | }, |
Yi Li | a8260c8 | 2016-03-16 14:37:57 +0800 | [diff] [blame] | 535 | '4-0010' : { |
| 536 | 'names' : { |
| 537 | # Barreleye uses 0.25 millioohms sense resistor for adm1278 |
| 538 | # To convert Iout register value Y to real-world value X, use an equation: |
| 539 | # X= 1/m * (Y * 10^-R - b), here m = 800 * R_sense, and R_sense is expressed in milliohms. |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 540 | # The adm1278 driver did the conversion. |
| 541 | # We need to convert to the base unit from mA/mV. Scale is an exponent (10^x) |
| 542 | 'curr1_input' : { 'object_path' : 'HSCA/Iout','poll_interval' : 5000,'adjust' : 0.25,'scale' : -3,'units' : 'A' }, |
| 543 | 'in2_input' : { 'object_path' : 'HSCA/Vout','poll_interval' : 5000,'scale' : -3,'units' : 'V' }, |
Yi Li | a8260c8 | 2016-03-16 14:37:57 +0800 | [diff] [blame] | 544 | } |
| 545 | }, |
| 546 | '5-0010' : { |
| 547 | 'names' : { |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 548 | 'curr1_input' : { 'object_path' : 'HSCB/Iout','poll_interval' : 5000,'adjust' : 0.25,'scale' : -3,'units' : 'A' }, |
| 549 | 'in2_input' : { 'object_path' : 'HSCB/Vout','poll_interval' : 5000,'scale' : -3,'units' : 'V' }, |
Yi Li | a8260c8 | 2016-03-16 14:37:57 +0800 | [diff] [blame] | 550 | } |
| 551 | }, |
| 552 | '6-0010' : { |
| 553 | 'names' : { |
Edward A. James | c14f6fe | 2016-08-11 11:02:15 -0500 | [diff] [blame] | 554 | 'curr1_input' : { 'object_path' : 'HSCC/Iout','poll_interval' : 5000,'adjust' : 0.25,'scale' : -3,'units' : 'A' }, |
| 555 | 'in2_input' : { 'object_path' : 'HSCC/Vout','poll_interval' : 5000,'scale' : -3,'units' : 'V' }, |
Yi Li | a8260c8 | 2016-03-16 14:37:57 +0800 | [diff] [blame] | 556 | } |
| 557 | }, |
Norman James | 3cb0f98 | 2015-12-03 01:07:16 -0600 | [diff] [blame] | 558 | } |
Norman James | a9966b3 | 2015-10-28 06:55:58 -0500 | [diff] [blame] | 559 | |
Lei YU | 75a18a2 | 2016-11-22 01:47:47 +0800 | [diff] [blame] | 560 | GPIO_CONFIGS = { |
| 561 | 'power_config' : { |
| 562 | 'power_good_in' : 'PGOOD', |
| 563 | 'power_up_outs' : [ |
| 564 | ('POWER_PIN', False), |
| 565 | ], |
| 566 | 'reset_outs' : [ |
| 567 | ('USB_RESET', False), |
| 568 | ], |
| 569 | 'pci_reset_outs': [ |
| 570 | # net name, polarity, reset hold |
| 571 | ('PCIE_RESET', False, False), |
| 572 | ], |
| 573 | }, |
| 574 | 'hostctl_config' : { |
| 575 | 'fsi_data' : 'FSI_DATA', |
| 576 | 'fsi_clk' : 'FSI_CLK', |
| 577 | 'fsi_enable' : 'FSI_ENABLE', |
| 578 | 'cronus_sel' : 'CRONUS_SEL', |
| 579 | 'optionals' : [ |
| 580 | ('BMC_THROTTLE', True), |
| 581 | ('IDBTN', False), |
| 582 | ], |
| 583 | }, |
Xo Wang | 4088ec3 | 2016-09-22 13:00:58 -0700 | [diff] [blame] | 584 | } |
| 585 | |
Yi Li | 54decc8 | 2016-05-05 17:42:56 +0800 | [diff] [blame] | 586 | # Miscellaneous non-poll sensor with system specific properties. |
| 587 | # The sensor id is the same as those defined in ID_LOOKUP['SENSOR']. |
| 588 | MISC_SENSORS = { |
| 589 | 0x09 : { 'class' : 'BootCountSensor' }, |
| 590 | 0x05 : { 'class' : 'BootProgressSensor' }, |
| 591 | 0x08 : { 'class' : 'OccStatusSensor', |
Joel Stanley | d4bca7b | 2017-03-06 14:42:10 +1030 | [diff] [blame^] | 592 | 'os_path' : '/sys/bus/i2c/devices/3-0050/online' }, |
Yi Li | 54decc8 | 2016-05-05 17:42:56 +0800 | [diff] [blame] | 593 | 0x0A : { 'class' : 'OccStatusSensor', |
Joel Stanley | d4bca7b | 2017-03-06 14:42:10 +1030 | [diff] [blame^] | 594 | 'os_path' : '/sys/bus/i2c/devices/3-0051/online' }, |
Yi Li | 54decc8 | 2016-05-05 17:42:56 +0800 | [diff] [blame] | 595 | 0x32 : { 'class' : 'OperatingSystemStatusSensor' }, |
| 596 | 0x33 : { 'class' : 'PowerCap', |
| 597 | 'os_path' : '/sys/class/hwmon/hwmon3/user_powercap' }, |
| 598 | } |
Brad Bishop | 5306675 | 2016-09-21 08:48:04 -0400 | [diff] [blame] | 599 | |
| 600 | # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 |