configurations: santabarbara: add pdb1 2nd source config
- Add 2nd source PDB1 with the HSC XDP711.
- Add FRU BOARD_INFO_AM4 check to identify which source it is.
- Add Quanta MANUFACTURER check.
Change-Id: Icbf75aaaecd50c4fc360d7f17ab637d629547a71
Signed-off-by: Fred Chen <Fred.Chen@quantatw.com>
diff --git a/configurations/meson.build b/configurations/meson.build
index 928a777..065ae2b 100644
--- a/configurations/meson.build
+++ b/configurations/meson.build
@@ -160,6 +160,7 @@
'meta/santabarbara/santabarbara_mb_evt1.json',
'meta/santabarbara/santabarbara_pcie_switch_board.json',
'meta/santabarbara/santabarbara_pdb1.json',
+ 'meta/santabarbara/santabarbara_pdb1_vr_sni.json',
'meta/santabarbara/santabarbara_pdb2.json',
'meta/santabarbara/santabarbara_pttv.json',
'meta/santabarbara/santabarbara_rainbow.json',
diff --git a/configurations/meta/santabarbara/santabarbara_pdb1.json b/configurations/meta/santabarbara/santabarbara_pdb1.json
index 4b5ab24..5e11e8d 100644
--- a/configurations/meta/santabarbara/santabarbara_pdb1.json
+++ b/configurations/meta/santabarbara/santabarbara_pdb1.json
@@ -486,7 +486,7 @@
}
],
"Name": "Santa Barbara PDB1",
- "Probe": "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'Santa Barbara PDB1'})",
+ "Probe": "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'Santa Barbara PDB1', 'BOARD_MANUFACTURER': 'Quanta', 'BOARD_INFO_AM4': 'vr-adv'})",
"Type": "Board",
"xyz.openbmc_project.Inventory.Decorator.Asset": {
"BuildDate": "$BOARD_MANUFACTURE_DATE",
diff --git a/configurations/meta/santabarbara/santabarbara_pdb1_vr_sni.json b/configurations/meta/santabarbara/santabarbara_pdb1_vr_sni.json
new file mode 100644
index 0000000..1d6aa8a
--- /dev/null
+++ b/configurations/meta/santabarbara/santabarbara_pdb1_vr_sni.json
@@ -0,0 +1,497 @@
+{
+ "Exposes": [
+ {
+ "Address": "$address",
+ "Bus": "$bus",
+ "Name": "Santa Barbara PDB1 FRU",
+ "Type": "EEPROM"
+ },
+ {
+ "Address": "0x42",
+ "Bus": 45,
+ "Labels": [
+ "in0"
+ ],
+ "Name": "PDB1_P52V_SENSE",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Hysteresis": 0.05,
+ "Label": "in0",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1
+ },
+ {
+ "Direction": "less than",
+ "Hysteresis": 0.05,
+ "Label": "in0",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": -1
+ }
+ ],
+ "Type": "INA238",
+ "in0_Name": "PDB1_P52V_SENSE_VOLT_V"
+ },
+ {
+ "Address": "0x43",
+ "Bus": 45,
+ "Labels": [
+ "in0"
+ ],
+ "Name": "PDB1_GND_SENSE",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Hysteresis": 0.05,
+ "Label": "in0",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1
+ },
+ {
+ "Direction": "less than",
+ "Hysteresis": 0.05,
+ "Label": "in0",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": -1
+ }
+ ],
+ "Type": "INA238",
+ "in0_Name": "PDB1_GND_SENSE_VOLT_V"
+ },
+ {
+ "Address": "0x4c",
+ "Bus": 45,
+ "Labels": [
+ "curr1"
+ ],
+ "Name": "PDB1_BUSBAR_TSENSE_P1",
+ "Type": "INA238",
+ "curr1_Max": 0.1,
+ "curr1_Min": 0,
+ "curr1_Name": "PDB1_BUSBAR_TSENSE_P1_CURR_A",
+ "curr1_Scale": 50000
+ },
+ {
+ "Address": "0x4d",
+ "Bus": 45,
+ "Labels": [
+ "curr1"
+ ],
+ "Name": "PDB1_BUSBAR_TSENSE_P2",
+ "Type": "INA238",
+ "curr1_Max": 0.1,
+ "curr1_Min": 0,
+ "curr1_Name": "PDB1_BUSBAR_TSENSE_P2_CURR_A",
+ "curr1_Scale": 50000
+ },
+ {
+ "Address": "0x45",
+ "Bus": 46,
+ "Labels": [
+ "in1",
+ "curr1",
+ "power1"
+ ],
+ "Name": "PDB1_P52V_ASIC0_SENSE",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Label": "in1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 56
+ },
+ {
+ "Direction": "less than",
+ "Label": "in1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 46
+ },
+ {
+ "Direction": "greater than",
+ "Label": "curr1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 31
+ },
+ {
+ "Direction": "greater than",
+ "Label": "power1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1550
+ }
+ ],
+ "Type": "INA238",
+ "curr1_Name": "PDB1_P52V_ASIC0_SENSE_CURR_A",
+ "curr1_Offset": -0.0203,
+ "curr1_Scale": 994.629003382,
+ "in1_Name": "PDB1_P52V_ASIC0_SENSE_VOLT_V",
+ "power1_Name": "PDB1_P52V_ASIC0_SENSE_PWR_W",
+ "power1_Offset": -1.2513,
+ "power1_Scale": 992161.920825
+ },
+ {
+ "Address": "0x44",
+ "Bus": 46,
+ "Labels": [
+ "in1",
+ "curr1",
+ "power1"
+ ],
+ "Name": "PDB1_P52V_ASIC1_SENSE",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Label": "in1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 56
+ },
+ {
+ "Direction": "less than",
+ "Label": "in1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 46
+ },
+ {
+ "Direction": "greater than",
+ "Label": "curr1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 31
+ },
+ {
+ "Direction": "greater than",
+ "Label": "power1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1550
+ }
+ ],
+ "Type": "INA238",
+ "curr1_Name": "PDB1_P52V_ASIC1_SENSE_CURR_A",
+ "curr1_Offset": 0.035,
+ "curr1_Scale": 1000.200040008,
+ "in1_Name": "PDB1_P52V_ASIC1_SENSE_VOLT_V",
+ "power1_Name": "PDB1_P52V_ASIC1_SENSE_PWR_W",
+ "power1_Offset": 1.9937,
+ "power1_Scale": 1003814.495081
+ },
+ {
+ "Address": "0x41",
+ "Bus": 46,
+ "Labels": [
+ "in1",
+ "curr1",
+ "power1"
+ ],
+ "Name": "PDB1_P52V_ASIC2_SENSE",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Label": "in1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 56
+ },
+ {
+ "Direction": "less than",
+ "Label": "in1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 46
+ },
+ {
+ "Direction": "greater than",
+ "Label": "curr1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 31
+ },
+ {
+ "Direction": "greater than",
+ "Label": "power1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1550
+ }
+ ],
+ "Type": "INA238",
+ "curr1_Name": "PDB1_P52V_ASIC2_SENSE_CURR_A",
+ "curr1_Offset": 0.0355,
+ "curr1_Scale": 1001.50225338,
+ "in1_Name": "PDB1_P52V_ASIC2_SENSE_VOLT_V",
+ "power1_Name": "PDB1_P52V_ASIC2_SENSE_PWR_W",
+ "power1_Offset": 2.0714,
+ "power1_Scale": 1004217.7144
+ },
+ {
+ "Address": "0x40",
+ "Bus": 46,
+ "Labels": [
+ "in1",
+ "curr1",
+ "power1"
+ ],
+ "Name": "PDB1_P52V_ASIC3_SENSE",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Label": "in1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 56
+ },
+ {
+ "Direction": "less than",
+ "Label": "in1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 46
+ },
+ {
+ "Direction": "greater than",
+ "Label": "curr1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 31
+ },
+ {
+ "Direction": "greater than",
+ "Label": "power1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1550
+ }
+ ],
+ "Type": "INA238",
+ "curr1_Name": "PDB1_P52V_ASIC3_SENSE_CURR_A",
+ "curr1_Offset": 0.0115,
+ "curr1_Scale": 996.909580301,
+ "in1_Name": "PDB1_P52V_ASIC3_SENSE_VOLT_V",
+ "power1_Name": "PDB1_P52V_ASIC3_SENSE_PWR_W",
+ "power1_Offset": 0.0115,
+ "power1_Scale": 1000300.090027
+ },
+ {
+ "Address": "0x4a",
+ "Bus": 44,
+ "Name": "PDB1_TOP_TEMP_C",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Hysteresis": 0.9,
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 100
+ },
+ {
+ "Direction": "less than",
+ "Hysteresis": 0.1,
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 5
+ }
+ ],
+ "Type": "TMP75"
+ },
+ {
+ "Address": "0x4e",
+ "Bus": 44,
+ "Name": "PDB1_BOT_TEMP_C",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Hysteresis": 0.9,
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 100
+ },
+ {
+ "Direction": "less than",
+ "Hysteresis": 0.1,
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 5
+ }
+ ],
+ "Type": "TMP75"
+ },
+ {
+ "Address": "0x14",
+ "Bus": 47,
+ "Labels": [
+ "iout1",
+ "pin",
+ "temp1",
+ "vin",
+ "vout1"
+ ],
+ "Name": "PDB1_P52V_HSC1",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Label": "temp1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 120.0
+ },
+ {
+ "Direction": "less than",
+ "Label": "temp1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 10
+ },
+ {
+ "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": "iout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 120
+ },
+ {
+ "Direction": "greater than",
+ "Label": "pin",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 6120
+ }
+ ],
+ "Type": "XDP710",
+ "iout1_Name": "PDB1_P52V_HSC1_CURR_A",
+ "pin_Name": "PDB1_P52V_HSC1_PWR_W",
+ "temp1_Name": "PDB1_P52V_HSC1_TEMP_C",
+ "vin_Name": "PDB1_P52V_HSC1_VIN_VOLT_V",
+ "vout1_Name": "PDB1_P52V_HSC1_VOUT_VOLT_V"
+ },
+ {
+ "Address": "0x16",
+ "Bus": 47,
+ "Labels": [
+ "iout1",
+ "pin",
+ "temp1",
+ "vin",
+ "vout1"
+ ],
+ "Name": "PDB1_P52V_HSC2",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Label": "temp1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 120.0
+ },
+ {
+ "Direction": "less than",
+ "Label": "temp1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 10
+ },
+ {
+ "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": "iout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 170
+ },
+ {
+ "Direction": "greater than",
+ "Label": "pin",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 8670
+ }
+ ],
+ "Type": "XDP710",
+ "iout1_Name": "PDB1_P52V_HSC2_CURR_A",
+ "pin_Name": "PDB1_P52V_HSC2_PWR_W",
+ "temp1_Name": "PDB1_P52V_HSC2_TEMP_C",
+ "vin_Name": "PDB1_P52V_HSC2_VIN_VOLT_V",
+ "vout1_Name": "PDB1_P52V_HSC2_VOUT_VOLT_V"
+ }
+ ],
+ "Name": "Santa Barbara PDB1",
+ "Probe": "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'Santa Barbara PDB1', 'BOARD_MANUFACTURER': 'Quanta', 'BOARD_INFO_AM4': 'vr-sni'})",
+ "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"
+ }
+}