mb/asrock/b75pro3-m: Fix S3 resume and hardware monitoring

On the ASRock B75 Pro3-M, resuming from S3 has always been broken;
see commit 928c6c6336 (mainboard/asrock: add ASRock B75 Pro3-M).
This was because 3VSBSW# was not enabled during S3, causing the
board to reboot instead of resume. This change enables 3VSBSW#
during S3, which leads to S3 resume working normally.

Another issue with this board was that hardware monitoring was not
working. The nct6775 Linux kernel module could not be loaded, due to
the device having a base I/O port of 0. This change also enables the
Super I/O properly, so that sensors-detect can find the sensor and
the kernel module can be used.

Change-Id: I6e504fe4b60da1d7b9830bea5029101bb8cebcb5
Signed-off-by: Kevin Keijzer <kevin@quietlife.nl>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73450
Reviewed-by: Fabian Groffen <grobian@gentoo.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Kevin Keijzer 2023-03-04 10:14:05 +01:00 committed by Martin L Roth
parent f339d5e1e2
commit d875daad2e
1 changed files with 6 additions and 2 deletions

View File

@ -117,11 +117,15 @@ chip northbridge/intel/sandybridge
device pnp 2e.a on # ACPI
irq 0xe0 = 0x01
irq 0xe3 = 0x14
irq 0xe4 = 0x10 # + enable 3VSBSW#
irq 0xe6 = 0x4c
irq 0xe9 = 0x02
irq 0xf0 = 0x20
irq 0xf0 = 0x20 # + pin 70 = 3VSBSW
end
device pnp 2e.b on # HWM, front panel LED
irq 0x30 = 0xe1 # + Fan RPM sense pins
io 0x60 = 0x0290 # + HWM base address
end
device pnp 2e.b off end # HWM, front panel LED
device pnp 2e.d on end # VID
device pnp 2e.e off end # CIR WAKE-UP
device pnp 2e.f on end # GPIO Push-Pull or Open-drain