Yang Chen | bb1e932 | 2024-12-18 21:20:50 +0800 | [diff] [blame] | 1 | [ |
| 2 | { |
| 3 | "Exposes": [ |
| 4 | { |
| 5 | "BridgeGpio": [ |
| 6 | { |
| 7 | "Name": "BAT_DETECT", |
| 8 | "Polarity": "High", |
| 9 | "SetupTime": 1 |
| 10 | } |
| 11 | ], |
| 12 | "Index": 7, |
| 13 | "Name": "CMM_P3V_BAT_VOLT_V", |
| 14 | "PollRate": 86400, |
| 15 | "ScaleFactor": 0.333333, |
| 16 | "Thresholds": [ |
| 17 | { |
| 18 | "Direction": "greater than", |
| 19 | "Name": "upper critical", |
| 20 | "Severity": 1, |
| 21 | "Value": 3.4 |
| 22 | }, |
| 23 | { |
| 24 | "Direction": "less than", |
| 25 | "Name": "lower critical", |
| 26 | "Severity": 1, |
| 27 | "Value": 2.6 |
| 28 | } |
| 29 | ], |
| 30 | "Type": "ADC" |
| 31 | }, |
| 32 | { |
| 33 | "Address": "0x40", |
| 34 | "Bus": 0, |
| 35 | "Labels": [ |
| 36 | "in1", |
| 37 | "curr1", |
| 38 | "power1" |
| 39 | ], |
| 40 | "Name": "CMM_PMON_P24V", |
| 41 | "Thresholds": [ |
| 42 | { |
| 43 | "Direction": "greater than", |
| 44 | "Label": "curr1", |
| 45 | "Name": "upper critical", |
| 46 | "Severity": 1, |
| 47 | "Value": 8.33 |
| 48 | }, |
| 49 | { |
| 50 | "Direction": "less than", |
| 51 | "Label": "curr1", |
| 52 | "Name": "lower critical", |
| 53 | "Severity": 1, |
| 54 | "Value": -0.05 |
| 55 | }, |
| 56 | { |
| 57 | "Direction": "greater than", |
| 58 | "Label": "in1", |
| 59 | "Name": "upper critical", |
| 60 | "Severity": 1, |
| 61 | "Value": 25.2 |
| 62 | }, |
| 63 | { |
| 64 | "Direction": "less than", |
| 65 | "Label": "in1", |
| 66 | "Name": "lower critical", |
| 67 | "Severity": 1, |
| 68 | "Value": 22.8 |
| 69 | }, |
| 70 | { |
| 71 | "Direction": "greater than", |
| 72 | "Label": "power1", |
| 73 | "Name": "upper critical", |
| 74 | "Severity": 1, |
| 75 | "Value": 199.92 |
| 76 | }, |
| 77 | { |
| 78 | "Direction": "less than", |
| 79 | "Label": "power1", |
| 80 | "Name": "lower critical", |
| 81 | "Severity": 1, |
| 82 | "Value": 0 |
| 83 | } |
| 84 | ], |
| 85 | "Type": "INA230", |
| 86 | "curr1_Name": "CMM_PMON_P24V_CURR_A", |
| 87 | "in1_Name": "CMM_PMON_P24V_VOLT_V", |
| 88 | "power1_Name": "CMM_PMON_P24V_PWR_W" |
| 89 | }, |
| 90 | { |
| 91 | "Address": "0x41", |
| 92 | "Bus": 0, |
| 93 | "Labels": [ |
| 94 | "in1", |
| 95 | "curr1", |
| 96 | "power1" |
| 97 | ], |
| 98 | "Name": "CMM_PMON_P12V", |
| 99 | "Thresholds": [ |
| 100 | { |
| 101 | "Direction": "greater than", |
| 102 | "Label": "curr1", |
| 103 | "Name": "upper critical", |
| 104 | "Severity": 1, |
| 105 | "Value": 5.24 |
| 106 | }, |
| 107 | { |
| 108 | "Direction": "less than", |
| 109 | "Label": "curr1", |
| 110 | "Name": "lower critical", |
| 111 | "Severity": 1, |
| 112 | "Value": -0.05 |
| 113 | }, |
| 114 | { |
| 115 | "Direction": "greater than", |
| 116 | "Label": "in1", |
| 117 | "Name": "upper critical", |
| 118 | "Severity": 1, |
| 119 | "Value": 13 |
| 120 | }, |
| 121 | { |
| 122 | "Direction": "less than", |
| 123 | "Label": "in1", |
| 124 | "Name": "lower critical", |
| 125 | "Severity": 1, |
| 126 | "Value": 11 |
| 127 | }, |
| 128 | { |
| 129 | "Direction": "greater than", |
| 130 | "Label": "power1", |
| 131 | "Name": "upper critical", |
| 132 | "Severity": 1, |
| 133 | "Value": 62.88 |
| 134 | }, |
| 135 | { |
| 136 | "Direction": "less than", |
| 137 | "Label": "power1", |
| 138 | "Name": "lower critical", |
| 139 | "Severity": 1, |
| 140 | "Value": 0 |
| 141 | } |
| 142 | ], |
| 143 | "Type": "INA230", |
| 144 | "curr1_Name": "CMM_PMON_P12V_CURR_A", |
| 145 | "in1_Name": "CMM_PMON_P12V_VOLT_V", |
| 146 | "power1_Name": "CMM_PMON_P12V_PWR_W" |
| 147 | }, |
| 148 | { |
| 149 | "Address": "0x44", |
| 150 | "Bus": 0, |
| 151 | "Labels": [ |
| 152 | "vin", |
| 153 | "vout1", |
| 154 | "iout1", |
| 155 | "pin" |
| 156 | ], |
| 157 | "Name": "CMM_HSC", |
| 158 | "Thresholds": [ |
| 159 | { |
| 160 | "Direction": "greater than", |
| 161 | "Label": "vin", |
| 162 | "Name": "upper critical", |
| 163 | "Severity": 1, |
| 164 | "Value": 56 |
| 165 | }, |
| 166 | { |
| 167 | "Direction": "less than", |
| 168 | "Label": "vin", |
| 169 | "Name": "lower critical", |
| 170 | "Severity": 1, |
| 171 | "Value": 46 |
| 172 | }, |
| 173 | { |
| 174 | "Direction": "greater than", |
| 175 | "Label": "vout1", |
| 176 | "Name": "upper critical", |
| 177 | "Severity": 1, |
| 178 | "Value": 56 |
| 179 | }, |
| 180 | { |
| 181 | "Direction": "less than", |
| 182 | "Label": "vout1", |
| 183 | "Name": "lower critical", |
| 184 | "Severity": 1, |
| 185 | "Value": 46 |
| 186 | }, |
| 187 | { |
| 188 | "Direction": "greater than", |
| 189 | "Label": "iout1", |
| 190 | "Name": "upper critical", |
| 191 | "Severity": 1, |
| 192 | "Value": 6.08 |
| 193 | }, |
| 194 | { |
| 195 | "Direction": "less than", |
| 196 | "Label": "iout1", |
| 197 | "Name": "lower critical", |
| 198 | "Severity": 1, |
| 199 | "Value": -0.05 |
| 200 | }, |
| 201 | { |
| 202 | "Direction": "greater than", |
| 203 | "Label": "pin", |
| 204 | "Name": "upper critical", |
| 205 | "Severity": 1, |
| 206 | "Value": 334.4 |
| 207 | }, |
| 208 | { |
| 209 | "Direction": "less than", |
| 210 | "Label": "pin", |
| 211 | "Name": "lower critical", |
| 212 | "Severity": 1, |
| 213 | "Value": 0 |
| 214 | } |
| 215 | ], |
| 216 | "Type": "LTC4287", |
| 217 | "iout1_Name": "CMM_HSC_CURR_A", |
| 218 | "iout1_Scale": 1010, |
| 219 | "pin_Name": "CMM_HSC_PWR_W", |
| 220 | "pin_Scale": 1010101, |
| 221 | "vin_Name": "CMM_HSC_VIN_VOLT_V", |
| 222 | "vout1_Name": "CMM_HSC_VOUT_VOLT_V" |
| 223 | }, |
| 224 | { |
| 225 | "Address": "0x4f", |
| 226 | "Bus": 1, |
| 227 | "Name": "CMM_OUTLET_TEMP_C", |
| 228 | "Thresholds": [ |
| 229 | { |
| 230 | "Direction": "greater than", |
| 231 | "Name": "upper critical", |
| 232 | "Severity": 1, |
| 233 | "Value": 80 |
| 234 | }, |
| 235 | { |
| 236 | "Direction": "less than", |
| 237 | "Name": "lower critical", |
| 238 | "Severity": 1, |
| 239 | "Value": 0 |
| 240 | } |
| 241 | ], |
| 242 | "Type": "TMP75" |
| 243 | } |
| 244 | ], |
| 245 | "Name": "Minerva CMM", |
| 246 | "Probe": [ |
| 247 | "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'Minerva CMM EVT', 'BOARD_PART_NUMBER': '3IF0MMA0000'})", |
| 248 | "OR", |
| 249 | "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'Minerva CMM ', 'BOARD_INFO_AM4': 'hsc-ltc'})" |
| 250 | ], |
| 251 | "Type": "Board", |
| 252 | "xyz.openbmc_project.Inventory.Decorator.Asset": { |
| 253 | "BuildDate": "$BOARD_MANUFACTURE_DATE", |
| 254 | "Manufacturer": "$BOARD_MANUFACTURER", |
| 255 | "Model": "$BOARD_PRODUCT_NAME", |
| 256 | "PartNumber": "$BOARD_PART_NUMBER", |
| 257 | "SerialNumber": "$BOARD_SERIAL_NUMBER", |
| 258 | "SparePartNumber": "$BOARD_INFO_AM1" |
Yang Chen | 535568c | 2023-11-23 15:47:04 +0800 | [diff] [blame] | 259 | }, |
Yang Chen | bb1e932 | 2024-12-18 21:20:50 +0800 | [diff] [blame] | 260 | "xyz.openbmc_project.Inventory.Decorator.AssetTag": { |
| 261 | "AssetTag": "$PRODUCT_ASSET_TAG" |
Yang Chen | 535568c | 2023-11-23 15:47:04 +0800 | [diff] [blame] | 262 | }, |
Yang Chen | bb1e932 | 2024-12-18 21:20:50 +0800 | [diff] [blame] | 263 | "xyz.openbmc_project.Inventory.Item.Board.Motherboard": { |
| 264 | "ProductId": 1 |
Yang Chen | 535568c | 2023-11-23 15:47:04 +0800 | [diff] [blame] | 265 | }, |
Yang Chen | bb1e932 | 2024-12-18 21:20:50 +0800 | [diff] [blame] | 266 | "xyz.openbmc_project.Inventory.Item.NetworkInterface": { |
| 267 | "MACAddress": "$CHASSIS_INFO_AM2" |
Yang Chen | 535568c | 2023-11-23 15:47:04 +0800 | [diff] [blame] | 268 | } |
Yang Chen | de7a1b2 | 2024-05-02 16:39:22 +0800 | [diff] [blame] | 269 | }, |
Yang Chen | bb1e932 | 2024-12-18 21:20:50 +0800 | [diff] [blame] | 270 | { |
| 271 | "Exposes": [], |
| 272 | "Name": "Minerva Chassis", |
| 273 | "Probe": [ |
| 274 | "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'Minerva CMM EVT', 'BOARD_PART_NUMBER': '3IF0MMA0000'})", |
| 275 | "OR", |
| 276 | "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'Minerva CMM ', 'BOARD_INFO_AM4': 'hsc-ltc'})" |
| 277 | ], |
| 278 | "Type": "Chassis", |
| 279 | "xyz.openbmc_project.Inventory.Decorator.Asset": { |
| 280 | "Manufacturer": "$PRODUCT_MANUFACTURER", |
| 281 | "Model": "$PRODUCT_PRODUCT_NAME", |
| 282 | "PartNumber": "$PRODUCT_PART_NUMBER", |
| 283 | "SerialNumber": "$PRODUCT_INFO_AM2", |
| 284 | "SparePartNumber": "$PRODUCT_FRU_VERSION_ID" |
| 285 | }, |
| 286 | "xyz.openbmc_project.Inventory.Decorator.AssetTag": { |
| 287 | "AssetTag": "$PRODUCT_INFO_AM3" |
| 288 | } |
Yang Chen | 535568c | 2023-11-23 15:47:04 +0800 | [diff] [blame] | 289 | } |
Yang Chen | bb1e932 | 2024-12-18 21:20:50 +0800 | [diff] [blame] | 290 | ] |