configurations: Add ASRock E3C256D4I board
This is a relatively low-cost off-the-shelf Xeon motherboard, not unlike
the E3C246D4I (but updated).
Tested: In an ASRock m3.small.x86 server (which is built around this
board), all sensors work as expected.
Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Change-Id: I0dcb1a80cc0518f5bfad4ace548d553d0f23f3e5
diff --git a/configurations/asrock_e3c256d4i.json b/configurations/asrock_e3c256d4i.json
new file mode 100644
index 0000000..d5d5ab9
--- /dev/null
+++ b/configurations/asrock_e3c256d4i.json
@@ -0,0 +1,446 @@
+{
+ "Exposes": [
+ {
+ "Index": 0,
+ "Name": "3VSB",
+ "ScaleFactor": 0.5349,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 3.63
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 3.5
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 3.1
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 2.97
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "Index": 1,
+ "Name": "5VSB",
+ "ScaleFactor": 0.3548,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 5.5
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 5.3
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 4.7
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 4.5
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "Index": 2,
+ "Name": "VCORE",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.89
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 1.6
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "Index": 3,
+ "Name": "VCCSA",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.16
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 1.1
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "Index": 4,
+ "Name": "VCCM",
+ "PowerState": "On",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.32
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 1.27
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 1.135
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 1.08
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "Index": 5,
+ "Name": "VCCPRIMT1P05",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.16
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 1.12
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 0.99
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0.95
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "Index": 6,
+ "Name": "VCCIO",
+ "PowerState": "On",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.16
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 1.11
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 0.91
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0.86
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "Index": 7,
+ "Name": "VCCGT",
+ "Type": "ADC"
+ },
+ {
+ "Index": 8,
+ "Name": "VPPM",
+ "PowerState": "On",
+ "ScaleFactor": 0.5,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 2.84
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 2.76
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 2.4
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 2.32
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "BridgeGpio": [
+ {
+ "Name": "HWM_BAT_EN",
+ "Polarity": "High",
+ "SetupTime": 0.5
+ }
+ ],
+ "Index": 9,
+ "Name": "VBAT",
+ "PollRate": 43200,
+ "ScaleFactor": 0.3436,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 3.3
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 3.2
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 2.8
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 2.7
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "Index": 10,
+ "Name": "3V",
+ "PowerState": "On",
+ "ScaleFactor": 0.5349,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 3.63
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 3.53
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 3.07
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 2.97
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "Index": 11,
+ "Name": "5V",
+ "PowerState": "On",
+ "ScaleFactor": 0.3333,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 5.5
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 5.35
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 4.65
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 4.5
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "Index": 12,
+ "Name": "12V",
+ "PowerState": "On",
+ "ScaleFactor": 0.0833,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 13.2
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 12.9
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 11.1
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 10.8
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "Name": "BMC",
+ "Type": "BMC"
+ },
+ {
+ "Address": "0x60",
+ "Bus": 11,
+ "Labels": [
+ "iin1",
+ "iin2",
+ "iin3",
+ "iout1",
+ "iout2",
+ "iout3",
+ "vin",
+ "vout1",
+ "vout2",
+ "vout3",
+ "pin1",
+ "pin2",
+ "pin3",
+ "pout1",
+ "pout2",
+ "pout3",
+ "temp1",
+ "temp2",
+ "temp3",
+ "temp4"
+ ],
+ "Name": "VRM",
+ "Type": "ISL69269",
+ "iin1_Name": "VRM Input Current 1",
+ "iin2_Name": "VRM Input Current 2",
+ "iin3_Name": "VRM Input Current 3",
+ "iout1_Name": "VRM Output Current 1",
+ "iout2_Name": "VRM Output Current 2",
+ "iout3_Name": "VRM Output Current 3",
+ "pin1_Name": "VRM Input Power 1",
+ "pin2_Name": "VRM Input Power 2",
+ "pin3_Name": "VRM Input Power 3",
+ "pout1_Name": "VRM Output Power 1",
+ "pout2_Name": "VRM Output Power 2",
+ "pout3_Name": "VRM Output Power 3",
+ "temp1_Name": "VRM Temperature 1",
+ "temp2_Name": "VRM Temperature 2",
+ "temp3_Name": "VRM Temperature 3",
+ "temp4_Name": "VRM Temperature 4",
+ "vin_Name": "VRM Input Voltage",
+ "vout1_Name": "VRM Output Voltage 1",
+ "vout2_Name": "VRM Output Voltage 2",
+ "vout3_Name": "VRM Output Voltage 3"
+ },
+ {
+ "Address": "0x30",
+ "Bus": 0,
+ "CpuID": 1,
+ "Name": "CPU 1",
+ "Type": "XeonCPU"
+ }
+ ],
+ "Name": "ASRock E3C256D4I",
+ "Probe": "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'E3C256D4I.*'})",
+ "Type": "Board",
+ "xyz.openbmc_project.Inventory.Decorator.Asset": {
+ "Manufacturer": "$BOARD_MANUFACTURER",
+ "Model": "$BOARD_PRODUCT_NAME",
+ "PartNumber": "$PRODUCT_PART_NUMBER",
+ "SerialNumber": "$BOARD_SERIAL_NUMBER"
+ }
+}
diff --git a/meson.build b/meson.build
index c0f649f..8b034db 100644
--- a/meson.build
+++ b/meson.build
@@ -80,6 +80,7 @@
'acbell_rica_psu.json',
'acbel_r1ca2122a_psu.json',
'asrock_e3c246d4i.json',
+ 'asrock_e3c256d4i.json',
'asrock_n3_xlarge_x86.json',
'asrock_romed8hm3.json',
'asrock_spc621d8hm3.json',