| 1 |
# Board: ASRock Z390M-ITX/ac |
| 2 |
# Contributed by: Aaron Bockelie |
| 3 |
# Processor: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (6/158/10) |
| 4 |
# Board has connectors for buzzer and 3 fans (2 case + 1 CPU) |
| 5 |
# board does not have a connector for intrusion detection |
| 6 |
# dmesg: "nct6775: Found NCT6793D or compatible chip at 0x2e:0x290" |
| 7 |
|
| 8 |
chip "nct6793-*" |
| 9 |
|
| 10 |
# Cross referenced with ASRock A-Tuning Application on 6/29/2020 |
| 11 |
# Install in Windows and see /Program Files (x86)/ASRock Utility/A-Tuning/Conf/Z390MITX.xml |
| 12 |
# There is also an NCT3933U on the board for measuring the PCH and VCCST voltages, but it |
| 13 |
# is not accessible due to no kernel driver for it. |
| 14 |
|
| 15 |
# Referenced from NCT677xF (NCT6793D) Data Sheet Page 57 |
| 16 |
# All the internal inputs of the ADC, AVSB, VBAT, 3VSB, and 3VCC utilize an integrated voltage |
| 17 |
# divider with both resistors equal to 34K, yielding a voltage one half of the power supply. |
| 18 |
# Vin = VCC * (34K/(34K+34K)=1.65V where VCC is set to 3.3V |
| 19 |
|
| 20 |
# ID NCTSpec NCTDesc ASRock Utility Description |
| 21 |
# in0 index80 CPUVCORE CPU_INPUT_V (Interface IR35201) |
| 22 |
# in1 index81 VIN1 <none> |
| 23 |
# in2 index82 AVSB <none> |
| 24 |
# in3 index83 3VCC P3P3_V |
| 25 |
# in4 index84 VIN0 <none> |
| 26 |
# in5 N/A N/A N/A |
| 27 |
# in6 index86 VIN4 SIO3_V |
| 28 |
# in7 index87 3VSB <none> |
| 29 |
# in8 index88 VBAT <none> |
| 30 |
# in9 index89 VTT <none> |
| 31 |
# in10 index8a VIN5 <none>, SIO6_V |
| 32 |
# in11 index8b VIN6 <none>, SIO4_V |
| 33 |
# in12 index8c VIN2 P12_V, SIO1_V |
| 34 |
# in13 index8d VIN3 P5P0_V, SIO2_V |
| 35 |
# in14 index8e VIN7 SIO5_V |
| 36 |
|
| 37 |
|
| 38 |
set beep_enable 1 |
| 39 |
|
| 40 |
# voltages |
| 41 |
# The CPUVCORE pin feeds directly into the ADC with no voltage divider since the nominal |
| 42 |
# voltage on this pin is only 1.2V |
| 43 |
|
| 44 |
label in0 "Vcore" |
| 45 |
compute in0 @*2, @/2 |
| 46 |
set in0_min 0.16 |
| 47 |
set in0_max 1.48 |
| 48 |
set in0_beep 1 |
| 49 |
|
| 50 |
ignore in1 |
| 51 |
|
| 52 |
label in2 "AVCC" |
| 53 |
set in2_min 3.30 * 0.90 |
| 54 |
set in2_max 3.30 * 1.10 |
| 55 |
|
| 56 |
label in3 "+3.3V" |
| 57 |
set in3_min 3.30 * 0.90 |
| 58 |
set in3_max 3.30 * 1.10 |
| 59 |
|
| 60 |
ignore in4 |
| 61 |
|
| 62 |
ignore in5 |
| 63 |
|
| 64 |
ignore in6 |
| 65 |
|
| 66 |
label in7 "3VSB" |
| 67 |
set in7_min 3.30 * 0.90 |
| 68 |
set in7_max 3.30 * 1.10 |
| 69 |
|
| 70 |
# This is the CMOS battery. |
| 71 |
|
| 72 |
label in8 "VBATT" |
| 73 |
set in8_min 3.3 * 0.75 |
| 74 |
set in8_max 3.3 * 1.10 |
| 75 |
|
| 76 |
label in9 "VTT" |
| 77 |
set in9_min 1.2 * 0.90 |
| 78 |
set in9_max 1.2 * 1.25 |
| 79 |
|
| 80 |
ignore in10 |
| 81 |
|
| 82 |
ignore in11 |
| 83 |
|
| 84 |
label in12 "+12V" |
| 85 |
#((56+10)/10) |
| 86 |
compute in12 @*6.6, @/6.6 |
| 87 |
set in12_min 12 * 0.95 |
| 88 |
set in12_max 12 * 1.05 |
| 89 |
|
| 90 |
label in13 "+5V" |
| 91 |
compute in13 @*(24/8), @/(24/8) |
| 92 |
set in13_min 5 * 0.90 |
| 93 |
set in13_max 5 * 1.10 |
| 94 |
|
| 95 |
ignore in14 |
| 96 |
|
| 97 |
|
| 98 |
# temperatures |
| 99 |
# see NCT677xF (NCT6793D) Data Sheet Section 8.5.3.4 Temperature Reading |
| 100 |
# a customized nct6775 kernel driver is probably needed to reference the bank measurement method correctly |
| 101 |
# it appears that the temp sensor registers are off by one with the default driver |
| 102 |
# so SYSTIN is offset incorrectly and referenced as one of the AUXTIN values. |
| 103 |
|
| 104 |
# I have interpeted the NCT spec as |
| 105 |
# ID NCTSpec Other Notes |
| 106 |
# temp1 SYSTIN Incorrect driver mapping of AUXTIN0 |
| 107 |
# temp2 CPUTIN Actual CPU temperature verified physically |
| 108 |
# temp3 AUXTIN0 Actual motherboard temperature verified physically |
| 109 |
# temp4 AUXTIN1 Unused |
| 110 |
# temp5 AUXTIN2 Unused |
| 111 |
# temp6 AUXTIN3 Unused |
| 112 |
|
| 113 |
ignore temp1 |
| 114 |
|
| 115 |
label temp2 "CPU" |
| 116 |
set temp2_max 85 |
| 117 |
set temp2_max_hyst 50 |
| 118 |
#set temp2_beep 1 |
| 119 |
|
| 120 |
label temp3 "MB" |
| 121 |
set temp3_max 75 |
| 122 |
set temp3_max_hyst 50 |
| 123 |
#set temp3_beep 1 |
| 124 |
|
| 125 |
ignore temp4 |
| 126 |
|
| 127 |
ignore temp5 |
| 128 |
|
| 129 |
ignore temp6 |
| 130 |
|
| 131 |
label temp7 "CPU_PECI" |
| 132 |
set temp7_max 85 |
| 133 |
set temp7_max_hyst 50 |
| 134 |
#set temp7_beep 1 |
| 135 |
|
| 136 |
ignore temp8 |
| 137 |
ignore temp9 |
| 138 |
ignore temp10 |
| 139 |
|
| 140 |
# fans |
| 141 |
# thankfully, fan PWM counters seem to function out of the box. |
| 142 |
# labels are based on the board documentation |
| 143 |
|
| 144 |
label fan1 "Chassis_Fan_1/Pump" |
| 145 |
set fan1_min 300 |
| 146 |
set fan1_beep 1 |
| 147 |
|
| 148 |
label fan2 "CPU_Fan_1" |
| 149 |
set fan2_min 600 |
| 150 |
set fan2_beep 1 |
| 151 |
|
| 152 |
label fan5 "Chassis_Fan_2" |
| 153 |
set fan5_min 300 |
| 154 |
set fan5_beep 1 |
| 155 |
|
| 156 |
# these are not on the mainboard |
| 157 |
ignore fan3 |
| 158 |
ignore fan4 |
| 159 |
|
| 160 |
# misc |
| 161 |
#intrusion0 is actually available. When disabled in BIOS it returns OK |
| 162 |
ignore intrusion1 |