entity-manager: add support for 3Y Power VAST2112AM PSU.
Change-Id: Ie0dd9e29d706cad65ee3e9d4fed12535d41785ec
Signed-off-by: Ali El-Haj-Mahmoud <aaelhaj@google.com>
diff --git a/configurations/3ypower_vast2112_psu.json b/configurations/3ypower_vast2112_psu.json
new file mode 100644
index 0000000..cb78698
--- /dev/null
+++ b/configurations/3ypower_vast2112_psu.json
@@ -0,0 +1,42 @@
+{
+ "Exposes": [
+ {
+ "Address": "$address",
+ "Bus": "$bus",
+ "Name": "psu$ADDRESS % 4 fru",
+ "Type": "EEPROM"
+ },
+ {
+ "Address": "$ADDRESS % 4 + 88",
+ "Bus": "$bus",
+ "Labels": [
+ "pin",
+ "pout1",
+ "vin",
+ "vout1",
+ "iout1",
+ "temp1",
+ "fan1"
+ ],
+ "Name": "psu$ADDRESS % 4",
+ "PowerScaleFactor": 1000000,
+ "Type": "pmbus",
+ "fan1_Name": "psu$ADDRESS % 4 fan",
+ "iout1_Name": "psu$ADDRESS % 4 iout",
+ "pin_Name": "psu$ADDRESS % 4 pin",
+ "pout1_Name": "psu$ADDRESS % 4 pout",
+ "temp1_Name": "psu$ADDRESS % 4 temp",
+ "vin_Name": "psu$ADDRESS % 4 vin",
+ "vout1_Name": "psu$ADDRESS % 4 vout"
+ }
+ ],
+ "Name": "3YPOWER VAST2112 PSU$ADDRESS % 4",
+ "Probe": "xyz.openbmc_project.FruDevice({'PRODUCT_PRODUCT_NAME': 'VAST2112AM'})",
+ "Type": "PowerSupply",
+ "xyz.openbmc_project.Inventory.Decorator.Asset": {
+ "Manufacturer": "$PRODUCT_MANUFACTURER",
+ "Model": "$PRODUCT_PRODUCT_NAME",
+ "PartNumber": "$PRODUCT_PART_NUMBER",
+ "SerialNumber": "$PRODUCT_SERIAL_NUMBER"
+ }
+}
diff --git a/meson.build b/meson.build
index 4b01613..c6cf29f 100644
--- a/meson.build
+++ b/meson.build
@@ -73,6 +73,7 @@
configs = [
'1ux16_riser.json',
'2ux8_riser.json',
+ '3ypower_vast2112_psu.json',
'8x25_hsbp.json',
'a2ul16riser.json',
'a2ux8x4riser.json',