1
# ASRock X370 Gaming K4
2
# 2018, contributed by Rigo Reddig <rigo.reddig@gmail.com>
4
# dmi: board_name: X370 Gaming K4
5
# dmi: board_vendor: ASRock
6
# dmi: bios_version: P4.70
7
# cpu: AMD Ryzen 7 1700X Eight-Core Processor
11
label fan1 "Chassis Fan 3 Speed"
12
label fan2 "CPU Fan 1 Speed"
13
label fan3 "CPU Fan 2 Speed"
14
label fan4 "Chassis Fan 1 Speed"
15
label fan5 "Chassis Fan 2 Speed"
18
label temp1 "Motherboard"
20
label temp3 "Auxillary"
24
# temp6 is almost always at -25. Not certain what to do about this.
25
label temp6 "CPU (PECI)"
27
# temp7 (CPU tCTL) A Thermal BIAS value generated by CPU
28
# it includes an offset it is usedto drive mainboard Fans to higher speeds.
30
# temp7 value is rounded off to the nearest ~1C only reported if
31
# "Use Tctrl" has been selected in UEFI as the fan control sensor.
33
# It will likely be offset by 20/10C on Ryzen X series CPU's
34
label temp7 "CPU tCTL"
38
# VCore is different to VDDCR_CPU
39
# VCore is a voltage measured somewhere by the Firmware.
40
# (Readings may appear low at times (0.54V) and fluctuate - this is normal)
42
label in1 "VPPM" #scalar
45
label in4 "+12V" #scalar
46
label in5 "VDDCR_SOC" #(Data Fabric)
47
label in6 "DRAM (VDDIO)"
50
ignore in9 #Unused input that is always at 0.
51
label in10 "Mem_VTT" #(1/2 of VDDIO)
52
label in11 "Chipset 1.05V"
57
# CPU VCore limits set according to overclockers testing and AMD Max Safe
58
# voltage recommendations.
59
# Keep in mind Ryzen CPU's may boost to higher voltages for short times.
60
# This is entirely dependant on individual chip binning.
61
# If your chip indicates 1.55V continuously the sensors may not be treated
62
# correctly by your mainboard or you have buggy firmware.
63
# In that case It might be actually 1.55V which would correlates with
64
# high heat, or it may be just a bad readout.
66
# Note: sustained 1.45 is also not safe.
67
# I am not sure about the low load voltage drops, they are normal
68
# (commonly occuring on many boards) and thus likely a measurement or
70
# There is a more accurate on-die voltage sensor with ryzen.
71
# but the documentation is covered by NDA. k10-temp would need to be
72
# adapated to read voltages in addition to temperatures like HWInfo64 on
73
# Windows already does.
74
set in0_min 0.40 #Possibly inaccurate at low voltages.
78
set in1_min 2.50 * 0.95
79
set in1_max 2.50 * 1.05
81
# Most PSU voltages set according to ATX v2.2 spec +/- 5% on the following:
82
# +3.3VDC ± 5% +3.135 VDC +3.465 VDC
83
# +5VDC ± 5% +4.750 VDC +5.250 VDC
84
# +5VSB ± 5% +4.750 VDC +5.250 VDC
85
# -5VDC ± 10% -4.500 VDC -5.500 VDC
86
# +12VDC ± 5% +11.400 VDC +12.600 VDC
87
# -12VDC ± 10% -10.800 VDC -13.200 VDC
93
# VDDCR_SOC (fabric & peripheral) voltage levels
94
# This can vary largely from board to board and among CPU's
98
# DDR 4 RAM Tolerances VDDIO (1.2V DDR4 JEDEC standard)
99
set in6_min 1.10 #Underclocking
100
set in6_max 1.50 #Intel XMP2.0 recommended max safe voltage
102
# Memory VTT Voltages (this should correspond to approximately VDDIO/2)
103
set in10_min 1.20 * 0.5 #Stock Voltage
104
set in10_max 1.50 * 0.5 #Overclocked XMP Voltage
106
# Uncertain tolerances for the Ryzen Chipset
107
set in11_min 0.90 #Undervolting
108
set in11_max 1.20 #Overvolting
110
set in12_min 5 * 0.95
111
set in12_max 5 * 1.05
113
# CLDO_VDDP Magic - helps to set to 1.0V when RAM overclocking or on XMP
114
set in13_min 0.95 * 0.96
115
set in13_max 0.95 * 1.13
117
# PLL (Phase locked loop) voltage on the CPU.
118
set in14_min 1.8 * 0.98
119
set in14_max 1.8 * 1.02
122
# The nct6779D uses a 2.048V input range, all inputs above that are scaled
123
# using a voltage divider.
124
# Below inputs utilize an integrated voltage divider:
125
# ADC, AVCC, VBAT, 3VSB and 3VCC
127
# values as per nuvoton nct6779D datasheet
128
# Section 8.5 Analog Inputs (Page 54,55)
129
# # Vs R1,Rin R2,Rf Vin
130
# in4 +12.0 56 10 ~+1.84
131
# in12 +5.0 20 10 ~+1.67
135
compute in4 ((56/10)+1)*@, @/((56/10)+1)
136
compute in12 ((20/10)+1)*@, @/((20/10)+1)
139
# Potential things to filter
140
# These inputs are unused unless you have a case intrusion switch connected.