configurations: add Broadcom 100G OCP NIC
Add a new config file to support Broadcom 100G OCP NIC.
Test Results:
```
root@bmc:~# busctl introspect xyz.openbmc_project.EntityManager /xyz/openbmc_project/inventory/system/board/BRCM_OCP_NIC_FRU_27
NAME TYPE SIGNATURE RESULT/VALUE FLAGS
org.freedesktop.DBus.Introspectable interface - - -
.Introspect method - s -
org.freedesktop.DBus.Peer interface - - -
.GetMachineId method - s -
.Ping method - - -
org.freedesktop.DBus.Properties interface - - -
.Get method ss v -
.GetAll method s a{sv} -
.Set method ssv - -
.PropertiesChanged signal sa{sv}as - -
xyz.openbmc_project.AddObject interface - - -
.AddObject method a{sv} - -
xyz.openbmc_project.Inventory.Decorator.Asset interface - - -
.Manufacturer property s "Broadcom" emits-change
.Model property s "BRCM 100G 1P 57504 OCP Mezz" emits-change
.PartNumber property s "BCM957504-N1100FYT" emits-change
.SerialNumber property s "N1100FY2408T002ZFG" emits-change
xyz.openbmc_project.Inventory.Item.Board interface - - -
.Name property s "BRCM OCP NIC FRU 27" emits-change
.Probe property s "xyz.openbmc_project.FruDevice({\'BOARD… emits-change
.Type property s "Board" emits-change
```
```
root@bmc:~# busctl introspect xyz.openbmc_project.EntityManager /xyz/openbmc_project/inventory/system/board/BRCM_OCP_NIC_FRU_27/BRCM_OCP_NIC_FRU_27
NAME TYPE SIGNATURE RESULT/VALUE FLAGS
org.freedesktop.DBus.Introspectable interface - - -
.Introspect method - s -
org.freedesktop.DBus.Peer interface - - -
.GetMachineId method - s -
.Ping method - - -
org.freedesktop.DBus.Properties interface - - -
.Get method ss v -
.GetAll method s a{sv} -
.Set method ssv - -
.PropertiesChanged signal sa{sv}as - -
xyz.openbmc_project.Configuration.EEPROM interface - - -
.Address property t 80 emits-change
.Bus property t 27 emits-change
.Name property s "BRCM OCP NIC FRU 27" emits-change
.Type property s "EEPROM" emits-change
```
```
root@bmc:~# busctl introspect xyz.openbmc_project.EntityManager /xyz/openbmc_project/inventory/system/board/BRCM_OCP_NIC_FRU_27/NIC_Temp_27
NAME TYPE SIGNATURE RESULT/VALUE FLAGS
org.freedesktop.DBus.Introspectable interface - - -
.Introspect method - s -
org.freedesktop.DBus.Peer interface - - -
.GetMachineId method - s -
.Ping method - - -
org.freedesktop.DBus.Properties interface - - -
.Get method ss v -
.GetAll method s a{sv} -
.Set method ssv - -
.PropertiesChanged signal sa{sv}as - -
xyz.openbmc_project.Configuration.TMP421 interface - - -
.Address property t 31 emits-change
.Bus property t 27 emits-change
.Labels property as 1 "temp2" emits-change
.Name property s "NIC Temp 27" emits-change
.Name1 property s "NIC Temp 27" emits-change
.Type property s "TMP421" emits-change
xyz.openbmc_project.Configuration.TMP421.Thresholds0 interface - - -
.Delete method - - -
.Direction property s "greater than" emits-change writable
.Index property d 2 emits-change writable
.Name property s "upper critical" emits-change writable
.Severity property d 1 emits-change writable
.Value property d 105 emits-change writable
```
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I809761ef938050494800cf4a6c85110a2c802276
diff --git a/configurations/brcm_100g_1p_ocp_mezz.json b/configurations/brcm_100g_1p_ocp_mezz.json
new file mode 100644
index 0000000..52a695a
--- /dev/null
+++ b/configurations/brcm_100g_1p_ocp_mezz.json
@@ -0,0 +1,38 @@
+{
+ "Exposes": [
+ {
+ "Address": "$address",
+ "Bus": "$bus",
+ "Name": "BRCM OCP NIC FRU $bus",
+ "Type": "EEPROM"
+ },
+ {
+ "Address": "0x1f",
+ "Bus": "$bus",
+ "Labels": [
+ "temp2"
+ ],
+ "Name": "NIC Temp $bus",
+ "Name1": "NIC Temp $bus",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Index": 2,
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 105
+ }
+ ],
+ "Type": "TMP421"
+ }
+ ],
+ "Name": "BRCM OCP NIC FRU $bus",
+ "Probe": "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'BRCM 100G 1P.*57504 OCP Mezz'})",
+ "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 29f5b09..9aa26bc 100644
--- a/meson.build
+++ b/meson.build
@@ -101,6 +101,7 @@
'bnp_baseboard.json',
'bellavista.json',
'bonnell.json',
+ 'brcm_100g_1p_ocp_mezz.json',
'brcm_200g_1p_ocp_mezz.json',
'cx7_ocp.json',
'delta_awf2dc3200w_psu.json',