configurations: add config file for OCP CX7 NIC

Add OCP CX7 NIC configuration to support thermal monitoring.

The TMP421 thermal chip is emulated by CX7 firmware and only implements
remote temperature (temp2), so "Labels" field is added to restrict
HwmonTempSensor to create sensor from temp2 only.

Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I4c502017a66567a4284ade5bef1d868736697451
diff --git a/configurations/cx7_ocp.json b/configurations/cx7_ocp.json
new file mode 100644
index 0000000..0968760
--- /dev/null
+++ b/configurations/cx7_ocp.json
@@ -0,0 +1,45 @@
+{
+    "Exposes": [
+        {
+            "Address": "$address",
+            "Bus": "$bus",
+            "Name": "OCP CX7 NIC FRU $bus",
+            "Type": "EEPROM"
+        },
+        {
+            "Address": "0x1f",
+            "Bus": "$bus",
+            "Labels": [
+                "temp2"
+            ],
+            "Name": "NIC Temp $bus",
+            "Name1": "NIC Temp $bus",
+            "Thresholds": [
+                {
+                    "Direction": "less than",
+                    "Index": 2,
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 5
+                },
+                {
+                    "Direction": "greater than",
+                    "Index": 2,
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 105
+                }
+            ],
+            "Type": "TMP421"
+        }
+    ],
+    "Name": "OCP CX7 NIC $bus",
+    "Probe": "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'Nvidia ConnectX-7 OCP3.0'})",
+    "Type": "Board",
+    "xyz.openbmc_project.Inventory.Decorator.Asset": {
+        "Manufacturer": "$BOARD_MANUFACTURER",
+        "Model": "$BOARD_PRODUCT_NAME",
+        "PartNumber": "$BOARD_PART_NUMBER",
+        "SerialNumber": "$BOARD_SERIAL_NUMBER"
+    }
+}
diff --git a/meson.build b/meson.build
index b633eb6..5b9cbbd 100644
--- a/meson.build
+++ b/meson.build
@@ -100,6 +100,7 @@
     'bnp_baseboard.json',
     'bellavista.json',
     'bonnell.json',
+    'cx7_ocp.json',
     'delta_awf2dc3200w_psu.json',
     'delta_dps-750xb_psu.json',
     'delta_dps-1600ab_psu.json',