configurations: Add Mt.Mitchell's cards
This commit add Mt.Mitchell's card configurations:
1. PowerSupply board to mtmitchell_mb.json
2. Backplane card to mtmitchell_bp.json
3. Riser card to mtmitchell_riser.json
Test: Latest CI build passed
Signed-off-by: Chau Ly <chaul@amperecomputing.com>
Change-Id: Idd8a06262af0c362cc5f76bb36df63303f75f46e
diff --git a/configurations/mtmitchell_bp.json b/configurations/mtmitchell_bp.json
new file mode 100644
index 0000000..5167caf
--- /dev/null
+++ b/configurations/mtmitchell_bp.json
@@ -0,0 +1,87 @@
+{
+ "Exposes": [
+ {
+ "Address": "$address",
+ "Bus": "$bus",
+ "Name": "Mitchell BP_$BUS % 100 + 1",
+ "Type": "EEPROM"
+ },
+ {
+ "Address": "0x6a",
+ "Bus": "$BUS % 100 * 8 + 48 + 0",
+ "Name": "nvme$BUS % 100 * 8 + 0",
+ "Type": "NVME1000"
+ },
+ {
+ "Address": "0x6a",
+ "Bus": "$BUS % 100 * 8 + 48 + 1",
+ "Name": "nvme$BUS % 100 * 8 + 1",
+ "Type": "NVME1000"
+ },
+ {
+ "Address": "0x6a",
+ "Bus": "$BUS % 100 * 8 + 48 + 2",
+ "Name": "nvme$BUS % 100 * 8 + 2",
+ "Type": "NVME1000"
+ },
+ {
+ "Address": "0x6a",
+ "Bus": "$BUS % 100 * 8 + 48 + 3",
+ "Name": "nvme$BUS % 100 * 8 + 3",
+ "Type": "NVME1000"
+ },
+ {
+ "Address": "0x6a",
+ "Bus": "$BUS % 100 * 8 + 48 + 4",
+ "Name": "nvme$BUS % 100 * 8 + 4",
+ "Type": "NVME1000"
+ },
+ {
+ "Address": "0x6a",
+ "Bus": "$BUS % 100 * 8 + 48 + 5",
+ "Name": "nvme$BUS % 100 * 8 + 5",
+ "Type": "NVME1000"
+ },
+ {
+ "Address": "0x6a",
+ "Bus": "$BUS % 100 * 8 + 48 + 6",
+ "Name": "nvme$BUS % 100 * 8 + 6",
+ "Type": "NVME1000"
+ },
+ {
+ "Address": "0x6a",
+ "Bus": "$BUS % 100 * 8 + 48 + 7",
+ "Name": "nvme$BUS % 100 * 8 + 7",
+ "Type": "NVME1000"
+ },
+ {
+ "Address": "0x4C",
+ "Bus": "$bus",
+ "Name": "FrontBPTemp$BUS % 100 + 1",
+ "Type": "TMP75"
+ }
+ ],
+ "Name": "Mitchell BP_$BUS % 100",
+ "Probe": [
+ "xyz.openbmc_project.FruDevice({'BOARD_PART_NUMBER': 'YZBB-01650-105'})",
+ "OR",
+ "xyz.openbmc_project.FruDevice({'BOARD_PART_NUMBER': 'YZBB-02856-102'})",
+ "AND",
+ "FOUND('Mt.Mitchell_Motherboard')"
+ ],
+ "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"
+ },
+ "xyz.openbmc_project.Inventory.Decorator.Replaceable": {
+ "FieldReplaceable": false,
+ "HotPluggable": false
+ },
+ "xyz.openbmc_project.Inventory.Decorator.Revision": {
+ "Version": "$BOARD_INFO_AM1"
+ }
+}
diff --git a/configurations/mtmitchell_mb.json b/configurations/mtmitchell_mb.json
index d218b67..69a303b 100644
--- a/configurations/mtmitchell_mb.json
+++ b/configurations/mtmitchell_mb.json
@@ -2280,5 +2280,37 @@
"Version": "$PRODUCT_VERSION"
},
"xyz.openbmc_project.Inventory.Item.System": {}
+ },
+ {
+ "Exposes": [
+ {
+ "ConnectsToType": "MB Upstream Port",
+ "Name": "PowerSupply$ADDRESS % 80 Downstream Port",
+ "PowerPort": true,
+ "Type": "DownstreamPort"
+ }
+ ],
+ "Name": "PowerSupply$ADDRESS % 80",
+ "Probe": [
+ "xyz.openbmc_project.FruDevice({'BUS': 2, 'ADDRESS': 80})",
+ "OR",
+ "xyz.openbmc_project.FruDevice({'BUS': 2, 'ADDRESS': 81})",
+ "AND",
+ "FOUND('Mt.Mitchell_Motherboard')"
+ ],
+ "Type": "PowerSupply",
+ "xyz.openbmc_project.Inventory.Decorator.Asset": {
+ "Manufacturer": "$PRODUCT_MANUFACTURER",
+ "Model": "$PRODUCT_PRODUCT_NAME",
+ "PartNumber": "$PRODUCT_PART_NUMBER",
+ "SerialNumber": "$PRODUCT_SERIAL_NUMBER"
+ },
+ "xyz.openbmc_project.Inventory.Decorator.AssetTag": {
+ "AssetTag": "$PRODUCT_ASSET_TAG"
+ },
+ "xyz.openbmc_project.Inventory.Decorator.Replaceable": {
+ "FieldReplaceable": false,
+ "HotPluggable": false
+ }
}
]
diff --git a/configurations/mtmitchell_riser.json b/configurations/mtmitchell_riser.json
new file mode 100644
index 0000000..75c613b
--- /dev/null
+++ b/configurations/mtmitchell_riser.json
@@ -0,0 +1,31 @@
+{
+ "Exposes": [
+ {
+ "Address": "$address",
+ "Bus": "$bus",
+ "Name": "Mitchell_Riser_$BUS - 38",
+ "Type": "EEPROM"
+ }
+ ],
+ "Name": "Mitchell_Riser_$BUS - 38",
+ "Probe": [
+ "xyz.openbmc_project.FruDevice({'BOARD_PART_NUMBER': '.*YZRI-02759-103.*'})",
+ "AND",
+ "FOUND('Mt.Mitchell_Motherboard')"
+ ],
+ "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"
+ },
+ "xyz.openbmc_project.Inventory.Decorator.Replaceable": {
+ "FieldReplaceable": false,
+ "HotPluggable": false
+ },
+ "xyz.openbmc_project.Inventory.Decorator.Revision": {
+ "Version": "$BOARD_INFO_AM1"
+ }
+}
diff --git a/meson.build b/meson.build
index 555de7a..78ab453 100644
--- a/meson.build
+++ b/meson.build
@@ -154,10 +154,12 @@
'mori_bmc.json',
'mori_motherboard.json',
'mtjade.json',
- 'mtmitchell_bmc.json',
- 'mtmitchell_mb.json',
'mtjefferson_bmc.json',
'mtjefferson_mb.json',
+ 'mtmitchell_bmc.json',
+ 'mtmitchell_bp.json',
+ 'mtmitchell_mb.json',
+ 'mtmitchell_riser.json',
'mudflap.json',
'nf5280m7_baseboard.json',
'nisqually.json',