| 1 |
# contributed by Maciej S. Szmigiero <[email protected]> |
| 2 |
# |
| 3 |
# input routing and scaling based on schematic of a similar |
| 4 |
# MS-7B00 (B350 Gaming Pro Carbon) board |
| 5 |
|
| 6 |
chip "nct6795-*" |
| 7 |
label in1 "5V" |
| 8 |
compute in1 ((12 / 3) + 1) * @, @ / ((12 / 3) + 1) |
| 9 |
set in1_min 5 * 0.95 |
| 10 |
set in1_max 5 * 1.05 |
| 11 |
|
| 12 |
label in4 "12V" |
| 13 |
compute in4 ((220 / 20) + 1) * @, @ / ((220 / 20) + 1) |
| 14 |
set in4_min 12 * 0.95 |
| 15 |
set in4_max 12 * 1.05 |
| 16 |
|
| 17 |
# no VIN8 input in this chip? |
| 18 |
ignore in5 |
| 19 |
|
| 20 |
# likely AUXTIN0 thermistor |
| 21 |
ignore in6 |
| 22 |
|
| 23 |
label in9 "CPU 1P8" |
| 24 |
|
| 25 |
# might read as 0V if a CPU without iGPU is installed |
| 26 |
label in10 "CPU VDDP" |
| 27 |
|
| 28 |
# likely AUXTIN2 thermistor |
| 29 |
ignore in11 |
| 30 |
|
| 31 |
label in12 "CPU NB/SOC" |
| 32 |
# 2:1 agrees with BIOS, but the MS-7B00 schematic is |
| 33 |
# unclear whether this is scaled 2:1 or 1:1 |
| 34 |
compute in12 2 * @, @ / 2 |
| 35 |
|
| 36 |
label in13 "DRAM" |
| 37 |
compute in13 2 * @, @ / 2 |
| 38 |
|
| 39 |
label in14 "5VSB" |
| 40 |
compute in14 ((768 / 330) + 1) * @, @ / ((768 / 330) + 1) |
| 41 |
set in14_min 5 * 0.95 |
| 42 |
set in14_max 5 * 1.05 |
| 43 |
|
| 44 |
# FIXME: resolve the remaining fan inputs |
| 45 |
label fan2 "CPU 1" |
| 46 |
label fan3 "SYSTEM 1" |
| 47 |
|
| 48 |
# likely |
| 49 |
label temp3 "CPU MOS" |
| 50 |
|
| 51 |
# AUXTIN1 is used as VIN5 |
| 52 |
ignore temp4 |
| 53 |
|
| 54 |
# on MS-7B00 this is a thermistor under the B350 chip itself |
| 55 |
# |
| 56 |
# seems to work properly only on some boards (at least one |
| 57 |
# has it stuck at 23°C) |
| 58 |
label temp5 "B350" |
| 59 |
|
| 60 |
# AUXTIN3 is used as VIN7 |
| 61 |
ignore temp6 |
| 62 |
|
| 63 |
# the same temperature as reported by k10temp |
| 64 |
label temp7 "CPU die" |
| 65 |
|
| 66 |
# stuck at 0°C |
| 67 |
ignore temp8 |
| 68 |
ignore temp9 |
| 69 |
ignore temp10 |
| 70 |
|
| 71 |
# likely DEEP_S5 signal |
| 72 |
ignore intrusion1 |