meta-facebook: ventura: Add ventura entity-manager config
Introduce initial configuration files for ventura.
Change-Id: I153472f3917a110981403e690076246faaca0dd3
Signed-off-by: Jason Hsu <Jason-Hsu@quantatw.com>
diff --git a/configurations/ventura_rmc.json b/configurations/ventura_rmc.json
new file mode 100644
index 0000000..3856dde
--- /dev/null
+++ b/configurations/ventura_rmc.json
@@ -0,0 +1,327 @@
+{
+ "Exposes": [
+ {
+ "Address": "0x40",
+ "Bus": 10,
+ "Labels": [
+ "in1",
+ "curr1",
+ "power1"
+ ],
+ "Name": "RMC_M12_P24V",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Label": "curr1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 8.33
+ },
+ {
+ "Direction": "less than",
+ "Label": "curr1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": -0.05
+ },
+ {
+ "Direction": "greater than",
+ "Label": "in1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 25.2
+ },
+ {
+ "Direction": "less than",
+ "Label": "in1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 22.8
+ },
+ {
+ "Direction": "greater than",
+ "Label": "power1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 199.92
+ },
+ {
+ "Direction": "less than",
+ "Label": "power1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0
+ }
+ ],
+ "Type": "INA230",
+ "curr1_Name": "RMC_M12_P24V_CURR_A",
+ "in1_Name": "RMC_M12_P24V_VOLT_V",
+ "power1_Name": "RMC_M12_P24V_PWR_W"
+ },
+ {
+ "Address": "0x45",
+ "Bus": 10,
+ "Labels": [
+ "in1",
+ "curr1",
+ "power1"
+ ],
+ "Name": "RMC_RJ14_P24V",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Label": "curr1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 8.33
+ },
+ {
+ "Direction": "less than",
+ "Label": "curr1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": -0.05
+ },
+ {
+ "Direction": "greater than",
+ "Label": "in1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 25.2
+ },
+ {
+ "Direction": "less than",
+ "Label": "in1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 22.8
+ },
+ {
+ "Direction": "greater than",
+ "Label": "power1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 199.92
+ },
+ {
+ "Direction": "less than",
+ "Label": "power1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0
+ }
+ ],
+ "Type": "INA230",
+ "curr1_Name": "RMC_RJ14_P24V_CURR_A",
+ "in1_Name": "RMC_RJ14_P24V_VOLT_V",
+ "power1_Name": "RMC_RJ14_P24V_PWR_W"
+ },
+ {
+ "Address": "0x41",
+ "Bus": 10,
+ "Labels": [
+ "in0"
+ ],
+ "Name": "RMC_MEDUSA_RETURN",
+ "Thresholds": [
+ {
+ "Direction": "less than",
+ "Label": "in0",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 10.8
+ },
+ {
+ "Direction": "greater than",
+ "Label": "in0",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 13.2
+ }
+ ],
+ "Type": "INA238",
+ "in0_Name": "RMC_MEDUSA_RETURN_VDROP_V"
+ },
+ {
+ "Address": "0x43",
+ "Bus": 10,
+ "Labels": [
+ "in0"
+ ],
+ "Name": "RMC_MEDUSA_POSITIVE",
+ "Thresholds": [
+ {
+ "Direction": "less than",
+ "Label": "in0",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 10.8
+ },
+ {
+ "Direction": "greater than",
+ "Label": "in0",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 13.2
+ }
+ ],
+ "Type": "INA238",
+ "in0_Name": "RMC_MEDUSA_POSITIVE_VDROP_V"
+ },
+ {
+ "Address": "0x44",
+ "Bus": 10,
+ "Labels": [
+ "iout1",
+ "pin",
+ "temp1",
+ "vin",
+ "vout1"
+ ],
+ "Name": "RMC_HSC",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Label": "temp1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 100
+ },
+ {
+ "Direction": "greater than",
+ "Label": "vin",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 56
+ },
+ {
+ "Direction": "less than",
+ "Label": "vin",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 46
+ },
+ {
+ "Direction": "greater than",
+ "Label": "vout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 56
+ },
+ {
+ "Direction": "less than",
+ "Label": "vout1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 46
+ },
+ {
+ "Direction": "greater than",
+ "Label": "pin",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 334.4
+ }
+ ],
+ "Type": "LTC4287",
+ "iout1_Name": "RMC_HSC_CURR_A",
+ "pin_Name": "RMC_HSC_PWR_W",
+ "temp1_Name": "RMC_HSC_TEMP_C",
+ "vin_Name": "RMC_HSC_VIN_VOLT_V",
+ "vout1_Name": "RMC_HSC_VOUT_VOLT_V"
+ },
+ {
+ "Address": "0x4f",
+ "Bus": 5,
+ "Name": "RMC_TEMP_C",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 45
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0
+ }
+ ],
+ "Type": "TMP75"
+ },
+ {
+ "Address": "0x69",
+ "Bus": 10,
+ "Labels": [
+ "iout1",
+ "temp1",
+ "vin",
+ "vout1"
+ ],
+ "Name": "RMC_BRICK",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Label": "temp1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 100
+ },
+ {
+ "Direction": "less than",
+ "Label": "vin",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 46
+ },
+ {
+ "Direction": "greater than",
+ "Label": "vin",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 56
+ },
+ {
+ "Direction": "less than",
+ "Label": "vout1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 10.5
+ },
+ {
+ "Direction": "greater than",
+ "Label": "vout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 13.6
+ }
+ ],
+ "Type": "pmbus",
+ "iout1_Name": "RMC_BRICK_CURR_A",
+ "temp1_Name": "RMC_BRICK_TEMP_C",
+ "vin_Name": "RMC_BRICK_INPUT_VOLT_V",
+ "vout1_Name": "RMC_BRICK_OUTPUT_VOLT_V"
+ }
+ ],
+ "Name": "Ventura RMC",
+ "Probe": "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'Ventura RMC'})",
+ "Type": "Board",
+ "xyz.openbmc_project.Inventory.Decorator.Asset": {
+ "BuildDate": "$BOARD_MANUFACTURE_DATE",
+ "Manufacturer": "$BOARD_MANUFACTURER",
+ "Model": "$BOARD_PRODUCT_NAME",
+ "PartNumber": "$BOARD_PART_NUMBER",
+ "SerialNumber": "$BOARD_SERIAL_NUMBER",
+ "SparePartNumber": "$BOARD_INFO_AM1"
+ },
+ "xyz.openbmc_project.Inventory.Decorator.AssetTag": {
+ "AssetTag": "$PRODUCT_ASSET_TAG"
+ },
+ "xyz.openbmc_project.Inventory.Decorator.Revision": {
+ "Version": "$PRODUCT_VERSION"
+ },
+ "xyz.openbmc_project.Inventory.Item.NetworkInterface": {
+ "MACAddress": "$CHASSIS_INFO_AM2"
+ }
+}