configurations: add asrock_altrad8.json
Add asrock_altrad8.json to the configurations directory.
This supports the ASRock Rack ALTRAD8UD-1L2T, ALTRAD8UD2-1L2Q boards
and the System76 Thelio Astra system.
Change-Id: I7e6059edb72c8ebb92c02fc1793f7c6e01aa8449
Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
diff --git a/configurations/asrock/asrock_altrad8.json b/configurations/asrock/asrock_altrad8.json
new file mode 100644
index 0000000..5bee348
--- /dev/null
+++ b/configurations/asrock/asrock_altrad8.json
@@ -0,0 +1,857 @@
+{
+ "Exposes": [
+ {
+ "Index": 0,
+ "Name": "P12V",
+ "PollRate": 1,
+ "PowerState": "On",
+ "ScaleFactor": 0.12,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 13.8
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 13.2
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 10.8
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 10.2
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "Index": 1,
+ "Name": "P5V",
+ "PollRate": 1,
+ "PowerState": "On",
+ "ScaleFactor": 0.2676,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 5.76
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 5.49
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 4.5
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 4.26
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "Index": 2,
+ "Name": "P3V3",
+ "PollRate": 1,
+ "ScaleFactor": 0.4228,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 3.9
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 3.74
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 3.06
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 2.88
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "Index": 3,
+ "Name": "P5V SB",
+ "PollRate": 1,
+ "ScaleFactor": 0.2676,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 5.76
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 5.49
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 4.5
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 4.26
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "Index": 4,
+ "Name": "P0V8 VDDC SOC",
+ "PollRate": 1,
+ "PowerState": "On",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.08
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0.63
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "BridgeGpio": [
+ {
+ "Name": "HWM BAT EN",
+ "Polarity": "High",
+ "SetupTime": 0.5
+ }
+ ],
+ "Index": 5,
+ "Name": "VBAT",
+ "PollRate": 43200,
+ "ScaleFactor": 0.3333,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 3.56
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 3.4
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 2.7
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 2.0
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "Index": 6,
+ "Name": "P0V75 PCP CPU",
+ "PollRate": 1,
+ "PowerState": "On",
+ "PresenceGpio": [
+ {
+ "PinName": "FW_BOOT_OK",
+ "Polarity": "High"
+ }
+ ],
+ "ScaleFactor": 1,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.265
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0.6375
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "Index": 7,
+ "Name": "P1V8 PCP",
+ "PollRate": 1,
+ "PowerState": "On",
+ "ScaleFactor": 0.5,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 2.07
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 1.53
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "Index": 8,
+ "Name": "P1V2 VDDQ0123",
+ "PollRate": 1,
+ "PowerState": "On",
+ "ScaleFactor": 1,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.38
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 1.02
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "Index": 9,
+ "Name": "P1V2 VDDQ4567",
+ "PollRate": 1,
+ "PowerState": "On",
+ "ScaleFactor": 1,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.38
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 1.02
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "Index": 10,
+ "Name": "P0V6 VTT0123",
+ "PollRate": 1,
+ "PowerState": "On",
+ "ScaleFactor": 1,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 0.69
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0.51
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "Index": 11,
+ "Name": "P0V6 VTT4567",
+ "PollRate": 1,
+ "PowerState": "On",
+ "ScaleFactor": 1,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 0.69
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0.51
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "Index": 12,
+ "Name": "P3V3 SOC",
+ "PollRate": 1,
+ "PowerState": "On",
+ "ScaleFactor": 0.333,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 3.795
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 2.805
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "Index": 13,
+ "Name": "P1V8 VDDH",
+ "PollRate": 1,
+ "PowerState": "On",
+ "ScaleFactor": 0.5,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 2.07
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 1.53
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "Index": 14,
+ "Name": "P1V5 VDDH",
+ "PollRate": 1,
+ "PowerState": "On",
+ "ScaleFactor": 0.5,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.725
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 1.275
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "Index": 15,
+ "Name": "P0V85 VDDC RCA",
+ "PollRate": 1,
+ "PowerState": "On",
+ "ScaleFactor": 1,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 0.9775
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0.7225
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "Index": 0,
+ "Name": "FAN1",
+ "Type": "AspeedFan"
+ },
+ {
+ "Index": 1,
+ "Name": "FAN1_1",
+ "Type": "AspeedFan"
+ },
+ {
+ "Index": 2,
+ "Name": "FAN2",
+ "Type": "AspeedFan"
+ },
+ {
+ "Index": 3,
+ "Name": "FAN2_1",
+ "Type": "AspeedFan"
+ },
+ {
+ "Index": 4,
+ "Name": "FAN3",
+ "Type": "AspeedFan"
+ },
+ {
+ "Index": 5,
+ "Name": "FAN3_1",
+ "Type": "AspeedFan"
+ },
+ {
+ "Index": 6,
+ "Name": "FAN4",
+ "Type": "AspeedFan"
+ },
+ {
+ "Index": 7,
+ "Name": "FAN4_1",
+ "Type": "AspeedFan"
+ },
+ {
+ "Index": 8,
+ "Name": "FAN5",
+ "Type": "AspeedFan"
+ },
+ {
+ "Index": 9,
+ "Name": "FAN5_1",
+ "Type": "AspeedFan"
+ },
+ {
+ "Class": "Gpio",
+ "GpioPolarity": "Low",
+ "Name": "Chassis Intrusion Sensor",
+ "Type": "ChassisIntrusionSensor"
+ },
+ {
+ "Address": "0x29",
+ "Bus": 4,
+ "Labels": [
+ "temp1",
+ "temp2"
+ ],
+ "Name": "TEMP TR1",
+ "Name1": "TEMP_MB",
+ "PollRate": 1,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Index": 1,
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 90
+ },
+ {
+ "Direction": "greater than",
+ "Index": 1,
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 80
+ },
+ {
+ "Direction": "greater than",
+ "Index": 2,
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 90
+ },
+ {
+ "Direction": "greater than",
+ "Index": 2,
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 80
+ }
+ ],
+ "Type": "NCT7802"
+ },
+ {
+ "Address": "0x6a",
+ "Bus": "57",
+ "Name": "TEMP M2_1",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 80
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 70
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 5
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0
+ }
+ ],
+ "Type": "NVME1000"
+ },
+ {
+ "Address": "0x6a",
+ "Bus": "50",
+ "Name": "TEMP M2_2",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 80
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 70
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 5
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0
+ }
+ ],
+ "Type": "NVME1000"
+ },
+ {
+ "Address": "0x6a",
+ "Bus": "55",
+ "Name": "TEMP OCU2",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 80
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 70
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 5
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0
+ }
+ ],
+ "Type": "NVME1000"
+ },
+ {
+ "Address": "0x6a",
+ "Bus": "56",
+ "Name": "TEMP OCU1",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 80
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 70
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 5
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0
+ }
+ ],
+ "Type": "NVME1000"
+ },
+ {
+ "Address": "0x4c",
+ "Bus": "4",
+ "Labels": [
+ "temp1",
+ "temp2",
+ "temp3"
+ ],
+ "Name": "TEMP CARD SIDE",
+ "Name1": "TEMP X550",
+ "Name2": "TEMP VR",
+ "PollRate": 1,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Index": 1,
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 90
+ },
+ {
+ "Direction": "greater than",
+ "Index": 1,
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 80
+ },
+ {
+ "Direction": "greater than",
+ "Index": 2,
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 90
+ },
+ {
+ "Direction": "greater than",
+ "Index": 2,
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 80
+ },
+ {
+ "Direction": "greater than",
+ "Index": 3,
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 90
+ },
+ {
+ "Direction": "greater than",
+ "Index": 3,
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 80
+ }
+ ],
+ "Type": "W83773G"
+ },
+ {
+ "Address": "0x4f",
+ "Bus": "2",
+ "Labels": [
+ "power1",
+ "power2",
+ "power3",
+ "power4",
+ "power5",
+ "temp1",
+ "temp2",
+ "temp3",
+ "temp4",
+ "temp5",
+ "temp6",
+ "temp7",
+ "temp8",
+ "temp9",
+ "temp10",
+ "temp11",
+ "temp12",
+ "temp13"
+ ],
+ "Name": "CPU",
+ "PowerState": "On",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Label": "temp1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 105
+ },
+ {
+ "Direction": "greater than",
+ "Label": "temp2",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 105
+ },
+ {
+ "Direction": "greater than",
+ "Label": "temp3",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 105
+ },
+ {
+ "Direction": "greater than",
+ "Label": "temp4",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 105
+ },
+ {
+ "Direction": "greater than",
+ "Label": "temp5",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 105
+ },
+ {
+ "Direction": "greater than",
+ "Label": "temp6",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 105
+ },
+ {
+ "Direction": "greater than",
+ "Label": "temp7",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 105
+ },
+ {
+ "Direction": "greater than",
+ "Label": "temp8",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 105
+ },
+ {
+ "Direction": "greater than",
+ "Label": "temp9",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 105
+ },
+ {
+ "Direction": "greater than",
+ "Label": "temp10",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 105
+ },
+ {
+ "Direction": "greater than",
+ "Label": "temp11",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 105
+ },
+ {
+ "Direction": "greater than",
+ "Label": "temp12",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 105
+ },
+ {
+ "Direction": "greater than",
+ "Label": "temp13",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 105
+ }
+ ],
+ "Type": "smpro_hwmon",
+ "power1_Name": "PWR CORE VRD",
+ "power2_Name": "PWR SOC IO",
+ "power3_Name": "PWR DIMM VRD1",
+ "power4_Name": "PWR DIMM VRD2",
+ "power5_Name": "PWR RCA VRD",
+ "temp10_Name": "TEMP DIMM F1",
+ "temp11_Name": "TEMP DIMM G1",
+ "temp12_Name": "TEMP DIMM H1",
+ "temp13_Name": "TEMP RCA VRD",
+ "temp1_Name": "TEMP SOC",
+ "temp2_Name": "TEMP SOC VRD",
+ "temp3_Name": "TEMP DIMM VRD",
+ "temp4_Name": "TEMP CORE VRD",
+ "temp5_Name": "TEMP DIMM A1",
+ "temp6_Name": "TEMP DIMM B1",
+ "temp7_Name": "TEMP DIMM C1",
+ "temp8_Name": "TEMP DIMM D1",
+ "temp9_Name": "TEMP DIMM E1"
+ }
+ ],
+ "Name": "ASRock ALTRAD8",
+ "Probe": "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': '(ALTRAD8UD-1L2T|ALTRAD8UD2-1L2Q|Thelio Astra)', 'BOARD_MANUFACTURER': '(ASRockRack|System76)'})",
+ "Type": "Board",
+ "xyz.openbmc_project.Inventory.Decorator.Asset": {
+ "Manufacturer": "$BOARD_MANUFACTURER",
+ "Model": "$BOARD_PRODUCT_NAME",
+ "PartNumber": "",
+ "SerialNumber": "$BOARD_SERIAL_NUMBER"
+ },
+ "xyz.openbmc_project.Inventory.Item.System": {}
+}
diff --git a/configurations/meson.build b/configurations/meson.build
index b4c3ac9..94f6dcc 100644
--- a/configurations/meson.build
+++ b/configurations/meson.build
@@ -24,6 +24,7 @@
'aspower/aspower_u1a-d11200_psu.json',
'aspower/aspower_u1a-d11600_psu.json',
'aspower/aspower_u1d-d10800_psu.json',
+ 'asrock/asrock_altrad8.json',
'asrock/asrock_c3_medium_x86.json',
'asrock/asrock_e3c246d4i.json',
'asrock/asrock_e3c256d4i.json',