configurations: Add Minerva Harma system

Introduce initial configuration files for Minerva Harma system

- harma_bsm: BMC storage module
- harma_fanboard: Fan board
- harma_mb: Motherboard
- harma_nic: NIC Mezz
- harma_scm: SCM board
- minerva_pdb: PDB board
- minerva_pttv: Power and thermal test vehicle
- minerva_sitv: Signal integrity test vehicle

Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I7ff14af2d07c21c58b540499b598547c979339f6
diff --git a/configurations/harma_mb.json b/configurations/harma_mb.json
new file mode 100644
index 0000000..a46fa36
--- /dev/null
+++ b/configurations/harma_mb.json
@@ -0,0 +1,502 @@
+{
+    "Exposes": [
+        {
+            "BridgeGpio": [
+                {
+                    "Name": "rtc-battery-voltage-read-enable",
+                    "Polarity": "High",
+                    "SetupTime": 1
+                }
+            ],
+            "Index": 7,
+            "Name": "MB_P3V_BAT_VOLT_V",
+            "ScaleFactor": 0.333333333,
+            "Thresholds": [
+                {
+                    "Direction": "greater than",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 3.4
+                },
+                {
+                    "Direction": "less than",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 2.6
+                }
+            ],
+            "Type": "ADC"
+        },
+        {
+            "Address": "0x1d",
+            "Bus": 29,
+            "Labels": [
+                "in1",
+                "in2",
+                "in3",
+                "in4",
+                "in5"
+            ],
+            "Name": "MB_ADC0",
+            "Type": "ADC128D818",
+            "in1_Name": "MB_PVDD11_S3_VOLT_V",
+            "in2_Name": "MB_P3V3_STBY_VOLT_V",
+            "in2_Scale": 500,
+            "in3_Name": "MB_PVDD18_S5_VOLT_V",
+            "in4_Name": "MB_P12V_AUX_VOLT_V",
+            "in4_Scale": 151.515151515,
+            "in5_Name": "MB_P12V_STBY_VOLT_V",
+            "in5_Scale": 151.515151515
+        },
+        {
+            "Address": "0x1f",
+            "Bus": 29,
+            "Labels": [
+                "in0",
+                "in1",
+                "in2",
+                "in3",
+                "in4",
+                "in5"
+            ],
+            "Name": "MB_ADC1",
+            "Type": "ADC128D818",
+            "in0_Name": "MB_P12V_MEM0_VOLT_V",
+            "in0_Scale": 151.515151515,
+            "in1_Name": "MB_P5V_STBY_VOLT_V",
+            "in1_Scale": 281.29395218,
+            "in2_Name": "MB_PVDD33_S5_VOLT_V",
+            "in2_Scale": 500,
+            "in3_Name": "MB_P1V8_STBY_VOLT_V",
+            "in4_Name": "MB_P12V_MEM1_VOLT_V",
+            "in4_Scale": 151.515151515,
+            "in5_Name": "MB_P1V8_CPU_RT_VOLT_V"
+        },
+        {
+            "Address": "$address",
+            "Bus": "$bus",
+            "Name": "MB FRU",
+            "Type": "EEPROM"
+        },
+        {
+            "Address": "0x45",
+            "Bus": 23,
+            "Labels": [
+                "in1",
+                "curr1",
+                "power1"
+            ],
+            "Name": "MB_E1S0",
+            "Thresholds": [
+                {
+                    "Direction": "greater than",
+                    "Label": "in1",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 13.2
+                },
+                {
+                    "Direction": "less than",
+                    "Label": "in1",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 10.8
+                }
+            ],
+            "Type": "INA230",
+            "curr1_Name": "MB_E1S0_P12V_CURR_A",
+            "in1_Name": "MB_E1S0_P12V_VOLT_V",
+            "power1_Name": "MB_E1S0_P12V_PWR_W"
+        },
+        {
+            "Address": "0x45",
+            "Bus": 22,
+            "Labels": [
+                "in1",
+                "curr1",
+                "power1"
+            ],
+            "Name": "MB_E1S1",
+            "Thresholds": [
+                {
+                    "Direction": "greater than",
+                    "Label": "in1",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 13.2
+                },
+                {
+                    "Direction": "less than",
+                    "Label": "in1",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 10.8
+                }
+            ],
+            "Type": "INA230",
+            "curr1_Name": "MB_E1S1_P12V_CURR_A",
+            "in1_Name": "MB_E1S1_P12V_VOLT_V",
+            "power1_Name": "MB_E1S1_P12V_PWR_W"
+        },
+        {
+            "Address": "0x4B",
+            "Bus": 28,
+            "Labels": [
+                "iout1",
+                "vout1",
+                "pout1",
+                "temp1"
+            ],
+            "Name": "MB_VR_CPU_PVDD11",
+            "Type": "MP2856",
+            "iout1_Name": "MB_VR_CPU_PVDD11_CURR_A",
+            "pout1_Name": "MB_VR_CPU_PVDD11_PWR_W",
+            "temp1_Name": "MB_VR_CPU_PVDD11_TEMP_C",
+            "vout1_Name": "MB_VR_CPU_PVDD11_VOLT_V"
+        },
+        {
+            "Address": "0x4F",
+            "Bus": 28,
+            "Labels": [
+                "iout1",
+                "iout2",
+                "vout1",
+                "vout2",
+                "pout1",
+                "pout2",
+                "temp1",
+                "temp2"
+            ],
+            "Name": "MB_VR_CPU_VCORE0_SOC",
+            "Type": "MP2857",
+            "iout1_Name": "MB_VR_CPU_VCORE0_CURR_A",
+            "iout2_Name": "MB_VR_CPU_SOC_CURR_A",
+            "pout1_Name": "MB_VR_CPU_VCORE0_PWR_W",
+            "pout2_Name": "MB_VR_CPU_SOC_PWR_W",
+            "temp1_Name": "MB_VR_CPU_VCORE0_TEMP_C",
+            "temp2_Name": "MB_VR_CPU_SOC_TEMP_C",
+            "vout1_Name": "MB_VR_CPU_VCORE0_VOLT_V",
+            "vout2_Name": "MB_VR_CPU_SOC_VOLT_V"
+        },
+        {
+            "Address": "0x4E",
+            "Bus": 28,
+            "Labels": [
+                "iout1",
+                "iout2",
+                "vout1",
+                "vout2",
+                "pout1",
+                "pout2",
+                "temp1",
+                "temp2"
+            ],
+            "Name": "MB_VR_CPU_VCORE1_PDDIO",
+            "Type": "MP2857",
+            "iout1_Name": "MB_VR_CPU_VCORE1_CURR_A",
+            "iout2_Name": "MB_VR_CPU_PDDIO_CURR_A",
+            "pout1_Name": "MB_VR_CPU_VCORE1_PWR_W",
+            "pout2_Name": "MB_VR_CPU_PDDIO_PWR_W",
+            "temp1_Name": "MB_VR_CPU_VCORE1_TEMP_C",
+            "temp2_Name": "MB_VR_CPU_PDDIO_TEMP_C",
+            "vout1_Name": "MB_VR_CPU_VCORE1_VOLT_V",
+            "vout2_Name": "MB_VR_CPU_PDDIO_VOLT_V"
+        },
+        {
+            "Address": "0x20",
+            "Bus": 28,
+            "Labels": [
+                "iout1",
+                "vin",
+                "vout1",
+                "pout1",
+                "temp1"
+            ],
+            "Name": "MB_HSC",
+            "Type": "MP5990",
+            "iout1_Name": "MB_HSC_CURR_A",
+            "pout1_Name": "MB_HSC_PWR_W",
+            "temp1_Name": "MB_HSC_TEMP_C",
+            "vin_Name": "MB_HSC_VIN_VOLT_V",
+            "vout1_Name": "MB_HSC_VOUT_VOLT_V"
+        },
+        {
+            "Address": "0x6a",
+            "Bus": 23,
+            "Name": "MB_E1S0_TEMP_C",
+            "Thresholds": [
+                {
+                    "Direction": "greater than",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 70
+                },
+                {
+                    "Direction": "less than",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 5
+                }
+            ],
+            "Type": "NVME1000"
+        },
+        {
+            "Address": "0x6a",
+            "Bus": 22,
+            "Name": "MB_E1S1_TEMP_C",
+            "Thresholds": [
+                {
+                    "Direction": "greater than",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 70
+                },
+                {
+                    "Direction": "less than",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 5
+                }
+            ],
+            "Type": "NVME1000"
+        },
+        {
+            "Address": "0x24",
+            "Bus": 12,
+            "Name": "MB_RETIMER0_TEMP_C",
+            "PowerState": "On",
+            "Thresholds": [
+                {
+                    "Direction": "greater than",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 107
+                },
+                {
+                    "Direction": "greater than",
+                    "Name": "upper non critical",
+                    "Severity": 0,
+                    "Value": 105
+                },
+                {
+                    "Direction": "less than",
+                    "Name": "lower non critical",
+                    "Severity": 0,
+                    "Value": 5
+                },
+                {
+                    "Direction": "less than",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": -7
+                }
+            ],
+            "Type": "PT5161L"
+        },
+        {
+            "Address": "0x24",
+            "Bus": 21,
+            "Name": "MB_RETIMER1_TEMP_C",
+            "PowerState": "On",
+            "Thresholds": [
+                {
+                    "Direction": "greater than",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 107
+                },
+                {
+                    "Direction": "greater than",
+                    "Name": "upper non critical",
+                    "Severity": 0,
+                    "Value": 105
+                },
+                {
+                    "Direction": "less than",
+                    "Name": "lower non critical",
+                    "Severity": 0,
+                    "Value": 5
+                },
+                {
+                    "Direction": "less than",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": -7
+                }
+            ],
+            "Type": "PT5161L"
+        },
+        {
+            "Address": "0x3C",
+            "Bus": 7,
+            "Labels": [
+                "power1",
+                "power2",
+                "power3",
+                "power4",
+                "power5",
+                "power6",
+                "power7",
+                "power8",
+                "power9",
+                "temp1",
+                "temp2",
+                "temp3",
+                "temp4",
+                "temp5",
+                "temp6",
+                "temp7",
+                "temp8"
+            ],
+            "Name": "SBRMI",
+            "PowerState": "BiosPost",
+            "Thresholds": [
+                {
+                    "Direction": "greater than",
+                    "Label": "power1",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 420
+                },
+                {
+                    "Direction": "greater than",
+                    "Label": "temp1",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 85
+                },
+                {
+                    "Direction": "greater than",
+                    "Label": "temp2",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 85
+                },
+                {
+                    "Direction": "greater than",
+                    "Label": "temp3",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 85
+                },
+                {
+                    "Direction": "greater than",
+                    "Label": "temp4",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 85
+                },
+                {
+                    "Direction": "greater than",
+                    "Label": "temp5",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 85
+                },
+                {
+                    "Direction": "greater than",
+                    "Label": "temp6",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 85
+                },
+                {
+                    "Direction": "greater than",
+                    "Label": "temp7",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 85
+                },
+                {
+                    "Direction": "greater than",
+                    "Label": "temp8",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 85
+                }
+            ],
+            "Type": "SBRMI",
+            "power1_Name": "MB_CPU_PKG_PWR_W",
+            "power2_Name": "MB_DIMM_A0_PWR_W",
+            "power3_Name": "MB_DIMM_A1_PWR_W",
+            "power4_Name": "MB_DIMM_A2_PWR_W",
+            "power5_Name": "MB_DIMM_A4_PWR_W",
+            "power6_Name": "MB_DIMM_A6_PWR_W",
+            "power7_Name": "MB_DIMM_A7_PWR_W",
+            "power8_Name": "MB_DIMM_A8_PWR_W",
+            "power9_Name": "MB_DIMM_A10_PWR_W",
+            "temp1_Name": "MB_DIMM_A0_TEMP_C",
+            "temp2_Name": "MB_DIMM_A1_TEMP_C",
+            "temp3_Name": "MB_DIMM_A2_TEMP_C",
+            "temp4_Name": "MB_DIMM_A4_TEMP_C",
+            "temp5_Name": "MB_DIMM_A6_TEMP_C",
+            "temp6_Name": "MB_DIMM_A7_TEMP_C",
+            "temp7_Name": "MB_DIMM_A8_TEMP_C",
+            "temp8_Name": "MB_DIMM_A10_TEMP_C"
+        },
+        {
+            "Address": "0x4C",
+            "Bus": 7,
+            "Name": "MB_CPU_TEMP_C",
+            "PowerState": "On",
+            "Thresholds": [
+                {
+                    "Direction": "greater than",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 90
+                }
+            ],
+            "Type": "SBTSI"
+        },
+        {
+            "Address": "0x49",
+            "Bus": 29,
+            "Name": "MB_OUTLET_TEMP_C",
+            "Thresholds": [
+                {
+                    "Direction": "less than",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 5
+                },
+                {
+                    "Direction": "greater than",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 75
+                }
+            ],
+            "Type": "TMP75"
+        },
+        {
+            "Address": "0x4A",
+            "Bus": 29,
+            "Name": "MB_INLET_TEMP_C",
+            "Thresholds": [
+                {
+                    "Direction": "less than",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 5
+                },
+                {
+                    "Direction": "greater than",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 55
+                }
+            ],
+            "Type": "TMP75"
+        }
+    ],
+    "Name": "Harma MB",
+    "Probe": "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'Harma MB '})",
+    "Type": "Board",
+    "xyz.openbmc_project.Inventory.Decorator.Asset": {
+        "Manufacturer": "$PRODUCT_MANUFACTURER",
+        "Model": "$PRODUCT_PRODUCT_NAME",
+        "PartNumber": "$PRODUCT_PART_NUMBER",
+        "SerialNumber": "$PRODUCT_SERIAL_NUMBER"
+    }
+}