configs: mtjefferson: Add Riser card config
This commit adds configurations for Riser card to the new
mtjefferson_riser.json.
Change-Id: I33763c20d311ba71f58df75316969def092420d2
Signed-off-by: Hieu Huynh <hieuh@os.amperecomputing.com>
Signed-off-by: Chau Ly <chaul@amperecomputing.com>
diff --git a/configurations/meson.build b/configurations/meson.build
index 81debf3..c2f5c56 100644
--- a/configurations/meson.build
+++ b/configurations/meson.build
@@ -175,6 +175,7 @@
'mtjefferson_bmc.json',
'mtjefferson_bp.json',
'mtjefferson_mb.json',
+ 'mtjefferson_riser.json',
'mtmitchell_bmc.json',
'mtmitchell_bp.json',
'mtmitchell_mb.json',
diff --git a/configurations/mtjefferson_riser.json b/configurations/mtjefferson_riser.json
new file mode 100644
index 0000000..d2738ae
--- /dev/null
+++ b/configurations/mtjefferson_riser.json
@@ -0,0 +1,33 @@
+[
+ {
+ "Exposes": [
+ {
+ "Address": "$address",
+ "Bus": "$bus",
+ "Name": "Jefferson_Riser",
+ "Type": "EEPROM"
+ }
+ ],
+ "Name": "Mt.Jefferson_Riser",
+ "Probe": [
+ "xyz.openbmc_project.FruDevice({'BOARD_PART_NUMBER': 'CRS201P'})",
+ "AND",
+ "FOUND('Mt.Jefferson_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"
+ }
+ }
+]