configurations: add GOSPOWER G1136-1300WNA PSU
This is a hot-swappable 1300W power supply.
Tested: on a Tyan S8030 board, PSU's are
recognized and sensor readings available.
Change-Id: I7749893db9f26d2592c914445a419c606809b798
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/configurations/gospower_g1136-1300wna_psu.json b/configurations/gospower_g1136-1300wna_psu.json
new file mode 100644
index 0000000..fa9c2cf
--- /dev/null
+++ b/configurations/gospower_g1136-1300wna_psu.json
@@ -0,0 +1,127 @@
+[
+ {
+ "Exposes": [
+ {
+ "Address": "$address",
+ "Bus": "$bus",
+ "Name": "PSU$address % 4 FRU",
+ "Type": "EEPROM"
+ },
+ {
+ "Address": "$address",
+ "Bus": "$bus",
+ "Name": "PSU$address % 4 ADDR",
+ "Type": "PSUPresence"
+ },
+ {
+ "Address": "$address + 8",
+ "Bus": "$bus",
+ "Labels": [
+ "pin",
+ "pout1",
+ "vin",
+ "vout1",
+ "iin",
+ "iout1",
+ "temp1",
+ "fan1"
+ ],
+ "Name": "PSU$address % 4",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Label": "pin",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1300
+ },
+ {
+ "Direction": "greater than",
+ "Label": "pout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1300
+ },
+ {
+ "Direction": "less than",
+ "Label": "vin",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 90
+ },
+ {
+ "Direction": "greater than",
+ "Label": "vin",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 260
+ },
+ {
+ "Direction": "greater than",
+ "Label": "vout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 13
+ },
+ {
+ "Direction": "greater than",
+ "Label": "iin",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 13
+ },
+ {
+ "Direction": "greater than",
+ "Label": "iout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 108
+ },
+ {
+ "Direction": "less than",
+ "Label": "temp1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0
+ },
+ {
+ "Direction": "greater than",
+ "Label": "temp1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 100
+ },
+ {
+ "Direction": "less than",
+ "Label": "fan1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 100
+ },
+ {
+ "Direction": "greater than",
+ "Label": "fan1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 17000
+ }
+ ],
+ "Type": "pmbus"
+ }
+ ],
+ "Name": "GOSPOWER G1136-1300WNA $address % 4",
+ "Probe": [
+ "xyz.openbmc_project.FruDevice({'PRODUCT_PRODUCT_NAME': 'G1136-1300WNA*'})"
+ ],
+ "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"
+ }
+ }
+]
diff --git a/meson.build b/meson.build
index e9ae10c..d56582b 100644
--- a/meson.build
+++ b/meson.build
@@ -113,6 +113,7 @@
'genesis3_psu.json',
'genesis3_baseboard.json',
'genesis3_chassis.json',
+ 'gospower_g1136-1300wna_psu.json',
'greatlakes.json',
'greatlakes_nic_mellanox.json',
'ibm_tacoma_rack_controller.json',