configurations: Add IBM's Fuji chassis
This chassis is similar enough to the Everest one that the Everest
compatible names can be at the bottom of the compatible list. This way
code that needs the name but doesn't need to tell the difference between
an Everest and a Fuji doesn't have to change anything.
The IBMCompatibleSystem interface is being deprecated in favor of the
Decorator.Compatible one, but not all of the code has been changed over
yet so just use both for now.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I6236565d9c30a3bd57176882417e8e281bb5899e
diff --git a/configurations/fuji.json b/configurations/fuji.json
new file mode 100644
index 0000000..e6e2420
--- /dev/null
+++ b/configurations/fuji.json
@@ -0,0 +1,31 @@
+{
+ "Exposes": [
+ {
+ "Name": "Compatible System",
+ "Names": [
+ "ibm,fuji",
+ "ibm,everest"
+ ],
+ "Type": "IBMCompatibleSystem"
+ },
+ {
+ "EnterUtilizationDwellTime": 240,
+ "EnterUtilizationPercent": 8,
+ "ExitUtilizationDwellTime": 10,
+ "ExitUtilizationPercent": 12,
+ "IdlePowerSaverEnabled": true,
+ "Name": "Default Power Mode Properties",
+ "PowerMode": "MaximumPerformance",
+ "Type": "PowerModeProperties"
+ }
+ ],
+ "Name": "Fuji Chassis",
+ "Probe": "com.ibm.ipzvpd.VSBP({'IM': [96, 0, 32, 0]})",
+ "Type": "Chassis",
+ "xyz.openbmc_project.Inventory.Decorator.Compatible": {
+ "Names": [
+ "com.ibm.Hardware.Chassis.Model.Fuji",
+ "com.ibm.Hardware.Chassis.Model.Everest"
+ ]
+ }
+}
diff --git a/meson.build b/meson.build
index c1c7f97..1aaa705 100644
--- a/meson.build
+++ b/meson.build
@@ -121,6 +121,7 @@
'flextronics_s-1100adu00-201_psu.json',
'fp5280g3_chassis.json',
'fp5280g3_fanboard.json',
+ 'fuji.json',
'genesis3_psu.json',
'genesis3_baseboard.json',
'genesis3_chassis.json',
diff --git a/schemas/ibm.json b/schemas/ibm.json
index 4ecb6ec..4c278e2 100644
--- a/schemas/ibm.json
+++ b/schemas/ibm.json
@@ -50,6 +50,7 @@
"enum": [
"ibm,bonnell",
"ibm,everest",
+ "ibm,fuji",
"ibm,rainier-2u",
"ibm,rainier-1s4u",
"ibm,rainier-4u",