configurations: add santabarbara EVB tray config

Santabarbara EVB tray used to measure and verify ASIC peripheral
signals, with a simplified PDB integrating PDB1 and PDB2.

Change-Id: I80c1bb0855bd743d0c537a274651676948f5ebcf
Signed-off-by: Fred Chen <Fred.Chen@quantatw.com>
diff --git a/configurations/meson.build b/configurations/meson.build
index 1ca5a8c..81debf3 100644
--- a/configurations/meson.build
+++ b/configurations/meson.build
@@ -111,6 +111,7 @@
     'meta/minerva_sitv.json',
     'meta/minerva_tahan_smb.json',
     'meta/santabarbara_e1s_bp.json',
+    'meta/santabarbara_evb_pdb2.json',
     'meta/santabarbara_mb.json',
     'meta/santabarbara_pcie_switch_board.json',
     'meta/santabarbara_pdb1.json',
diff --git a/configurations/meta/santabarbara_evb_pdb2.json b/configurations/meta/santabarbara_evb_pdb2.json
new file mode 100644
index 0000000..7fbf498
--- /dev/null
+++ b/configurations/meta/santabarbara_evb_pdb2.json
@@ -0,0 +1,484 @@
+{
+    "Exposes": [
+        {
+            "Address": "$address",
+            "Bus": "$bus",
+            "Name": "Santa Barbara EVB_PDB2 FRU",
+            "Type": "EEPROM"
+        },
+        {
+            "Address": "0x23",
+            "Bus": 43,
+            "Connector": {
+                "Name": "EVB_PDB2_FAN0_TACH_IL",
+                "Pwm": 0,
+                "PwmName": "EVB_PDB2_FAN0_PWM_PCT",
+                "Tachs": [
+                    9
+                ]
+            },
+            "Index": 9,
+            "Name": "EVB_PDB2_FAN0_TACH_IL_SPEED_RPM",
+            "PowerState": "Always",
+            "Thresholds": [
+                {
+                    "Direction": "greater than",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 40000
+                },
+                {
+                    "Direction": "less than",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 1000
+                }
+            ],
+            "Type": "I2CFan"
+        },
+        {
+            "Address": "0x23",
+            "Bus": 43,
+            "Connector": {
+                "Name": "EVB_PDB2_FAN0_TACH_OL",
+                "Pwm": 0,
+                "PwmName": "EVB_PDB2_FAN0_PWM_PCT",
+                "Tachs": [
+                    10
+                ]
+            },
+            "Index": 10,
+            "Name": "EVB_PDB2_FAN0_TACH_OL_SPEED_RPM",
+            "PowerState": "Always",
+            "Thresholds": [
+                {
+                    "Direction": "greater than",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 40000
+                },
+                {
+                    "Direction": "less than",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 1000
+                }
+            ],
+            "Type": "I2CFan"
+        },
+        {
+            "Address": "0x23",
+            "Bus": 43,
+            "Connector": {
+                "Name": "EVB_PDB2_FAN2_TACH_IL",
+                "Pwm": 8,
+                "PwmName": "EVB_PDB2_FAN2_PWM_PCT",
+                "Tachs": [
+                    1
+                ]
+            },
+            "Index": 1,
+            "Name": "EVB_PDB2_FAN2_TACH_IL_SPEED_RPM",
+            "PowerState": "Always",
+            "Thresholds": [
+                {
+                    "Direction": "greater than",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 40000
+                },
+                {
+                    "Direction": "less than",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 1000
+                }
+            ],
+            "Type": "I2CFan"
+        },
+        {
+            "Address": "0x23",
+            "Bus": 43,
+            "Connector": {
+                "Name": "EVB_PDB2_FAN2_TACH_OL",
+                "Pwm": 8,
+                "PwmName": "EVB_PDB2_FAN2_PWM_PCT",
+                "Tachs": [
+                    2
+                ]
+            },
+            "Index": 2,
+            "Name": "EVB_PDB2_FAN2_TACH_OL_SPEED_RPM",
+            "PowerState": "Always",
+            "Thresholds": [
+                {
+                    "Direction": "greater than",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 40000
+                },
+                {
+                    "Direction": "less than",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 1000
+                }
+            ],
+            "Type": "I2CFan"
+        },
+        {
+            "Address": "0x23",
+            "Bus": 43,
+            "Connector": {
+                "Name": "EVB_PDB2_FAN1_TACH_IL",
+                "Pwm": 4,
+                "PwmName": "EVB_PDB2_FAN1_PWM_PCT",
+                "Tachs": [
+                    13
+                ]
+            },
+            "Index": 13,
+            "Name": "EVB_PDB2_FAN1_TACH_IL_SPEED_RPM",
+            "PowerState": "Always",
+            "Thresholds": [
+                {
+                    "Direction": "greater than",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 40000
+                },
+                {
+                    "Direction": "less than",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 1000
+                }
+            ],
+            "Type": "I2CFan"
+        },
+        {
+            "Address": "0x23",
+            "Bus": 43,
+            "Connector": {
+                "Name": "EVB_PDB2_FAN1_TACH_OL",
+                "Pwm": 4,
+                "PwmName": "EVB_PDB2_FAN1_PWM_PCT",
+                "Tachs": [
+                    14
+                ]
+            },
+            "Index": 14,
+            "Name": "EVB_PDB2_FAN1_TACH_OL_SPEED_RPM",
+            "PowerState": "Always",
+            "Thresholds": [
+                {
+                    "Direction": "greater than",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 40000
+                },
+                {
+                    "Direction": "less than",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 1000
+                }
+            ],
+            "Type": "I2CFan"
+        },
+        {
+            "Address": "0x23",
+            "Bus": 43,
+            "Connector": {
+                "Name": "EVB_PDB2_FAN3_TACH_IL",
+                "Pwm": 12,
+                "PwmName": "EVB_PDB2_FAN3_PWM_PCT",
+                "Tachs": [
+                    5
+                ]
+            },
+            "Index": 5,
+            "Name": "EVB_PDB2_FAN3_TACH_IL_SPEED_RPM",
+            "PowerState": "Always",
+            "Thresholds": [
+                {
+                    "Direction": "greater than",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 40000
+                },
+                {
+                    "Direction": "less than",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 1000
+                }
+            ],
+            "Type": "I2CFan"
+        },
+        {
+            "Address": "0x23",
+            "Bus": 43,
+            "Connector": {
+                "Name": "EVB_PDB2_FAN3_TACH_OL",
+                "Pwm": 12,
+                "PwmName": "EVB_PDB2_FAN3_PWM_PCT",
+                "Tachs": [
+                    6
+                ]
+            },
+            "Index": 6,
+            "Name": "EVB_PDB2_FAN3_TACH_OL_SPEED_RPM",
+            "PowerState": "Always",
+            "Thresholds": [
+                {
+                    "Direction": "greater than",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 40000
+                },
+                {
+                    "Direction": "less than",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 1000
+                }
+            ],
+            "Type": "I2CFan"
+        },
+        {
+            "Address": "0x2",
+            "Bus": 43,
+            "Connector": {
+                "Name": "EVB_PDB2_FAN4_TACH_IL",
+                "Pwm": 0,
+                "PwmName": "EVB_PDB2_FAN4_PWM_PCT",
+                "Tachs": [
+                    9
+                ]
+            },
+            "Index": 9,
+            "Name": "EVB_PDB2_FAN4_TACH_IL_SPEED_RPM",
+            "PowerState": "Always",
+            "Thresholds": [
+                {
+                    "Direction": "greater than",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 40000
+                },
+                {
+                    "Direction": "less than",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 1000
+                }
+            ],
+            "Type": "I2CFan"
+        },
+        {
+            "Address": "0x2",
+            "Bus": 43,
+            "Connector": {
+                "Name": "EVB_PDB2_FAN4_TACH_OL",
+                "Pwm": 0,
+                "PwmName": "EVB_PDB2_FAN4_PWM_PCT",
+                "Tachs": [
+                    10
+                ]
+            },
+            "Index": 10,
+            "Name": "EVB_PDB2_FAN4_TACH_OL_SPEED_RPM",
+            "PowerState": "Always",
+            "Thresholds": [
+                {
+                    "Direction": "greater than",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 40000
+                },
+                {
+                    "Direction": "less than",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 1000
+                }
+            ],
+            "Type": "I2CFan"
+        },
+        {
+            "Address": "0x2",
+            "Bus": 43,
+            "Connector": {
+                "Name": "EVB_PDB2_FAN5_TACH_IL",
+                "Pwm": 4,
+                "PwmName": "EVB_PDB2_FAN5_PWM_PCT",
+                "Tachs": [
+                    13
+                ]
+            },
+            "Index": 13,
+            "Name": "EVB_PDB2_FAN5_TACH_IL_SPEED_RPM",
+            "PowerState": "Always",
+            "Thresholds": [
+                {
+                    "Direction": "greater than",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 40000
+                },
+                {
+                    "Direction": "less than",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 1000
+                }
+            ],
+            "Type": "I2CFan"
+        },
+        {
+            "Address": "0x2",
+            "Bus": 43,
+            "Connector": {
+                "Name": "EVB_PDB2_FAN5_TACH_OL",
+                "Pwm": 4,
+                "PwmName": "EVB_PDB2_FAN5_PWM_PCT",
+                "Tachs": [
+                    14
+                ]
+            },
+            "Index": 14,
+            "Name": "EVB_PDB2_FAN5_TACH_OL_SPEED_RPM",
+            "PowerState": "Always",
+            "Thresholds": [
+                {
+                    "Direction": "greater than",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 40000
+                },
+                {
+                    "Direction": "less than",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 1000
+                }
+            ],
+            "Type": "I2CFan"
+        },
+        {
+            "Address": "0x4a",
+            "Bus": 40,
+            "Name": "EVB_PDB2_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": 40,
+            "Name": "EVB_PDB2_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": "0x69",
+            "Bus": 42,
+            "Labels": [
+                "iout1",
+                "pout1",
+                "temp1",
+                "vout1"
+            ],
+            "Name": "EVB_PDB2_P12V_BRICK",
+            "Thresholds": [
+                {
+                    "Direction": "greater than",
+                    "Label": "iout1",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 109.78
+                },
+                {
+                    "Direction": "greater than",
+                    "Label": "pout1",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 1384.3258
+                },
+                {
+                    "Direction": "greater than",
+                    "Label": "temp1",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 100
+                },
+                {
+                    "Direction": "greater than",
+                    "Label": "vout1",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 12.61
+                },
+                {
+                    "Direction": "less than",
+                    "Label": "vout1",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 11.39
+                }
+            ],
+            "Type": "pmbus",
+            "iout1_Name": "EVB_PDB2_P12V_BRICK_CURR_A",
+            "pout1_Name": "EVB_PDB2_P12V_BRICK_POUT_PWR_W",
+            "temp1_Name": "EVB_PDB2_P12V_BRICK_TEMP_C",
+            "vout1_Name": "EVB_PDB2_P12V_BRICK_VOUT_VOLT_V"
+        }
+    ],
+    "Name": "Santa Barbara EVB_PDB2",
+    "Probe": "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'Santa Barbara EVB_PDB2', 'BOARD_MANUFACTURER': 'Quanta'})",
+    "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"
+    }
+}