Maxim Polyakov has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/35378 )
Change subject: mb/asrock/h110m: configure GPIO in SuperIO chip ......................................................................
mb/asrock/h110m: configure GPIO in SuperIO chip
Enables and configures GPIOs in the NCT6791D chip. This value is got from a superiotool dump.
Change-Id: I5968a6c20cc013697d64bfbe4fc2e7b2390b72b0 Signed-off-by: Maxim Polyakov max.senia.poliak@gmail.com --- M src/mainboard/asrock/h110m/devicetree.cb 1 file changed, 30 insertions(+), 9 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/78/35378/1
diff --git a/src/mainboard/asrock/h110m/devicetree.cb b/src/mainboard/asrock/h110m/devicetree.cb index 0b40dea..d5b5f68 100644 --- a/src/mainboard/asrock/h110m/devicetree.cb +++ b/src/mainboard/asrock/h110m/devicetree.cb @@ -353,18 +353,39 @@ irq 0x72 = 12 # Mouse end device pnp 2e.6 off end # CIR - device pnp 2e.7 off end # GPIO6 - device pnp 2e.107 off end # GPIO7 - device pnp 2e.207 off end # GPIO8 + device pnp 2e.7 off # GPIO6 + drq 0xf6 = 0xff + drq 0xf7 = 0xff + drq 0xf8 = 0xff + end + device pnp 2e.107 on # GPIO7 + drq 0xe0 = 0x7f + drq 0xe1 = 0x0d + end + device pnp 2e.207 off # GPIO8 + drq 0xe6 = 0xff + drq 0xe7 = 0xff + drq 0xed = 0xff + end device pnp 2e.8 off end # WDT - device pnp 2e.108 off end # GPIO0 + device pnp 2e.108 on end # GPIO0 device pnp 2e.308 off end # GPIO base device pnp 2e.408 off end # WDTMEM - device pnp 2e.708 off end # GPIO1 - device pnp 2e.9 off end # GPIO2 - device pnp 2e.109 off end # GPIO3 - device pnp 2e.209 off end # GPIO4 - device pnp 2e.309 off end # GPIO5 + device pnp 2e.708 on end # GPIO1 + device pnp 2e.9 on end # GPIO2 + device pnp 2e.109 on # GPIO3 + drq 0xe4 = 0x7b + drq 0xe5 = 0x02 + drq 0xea = 0x04 + end + device pnp 2e.209 on # GPIO4 + drq 0xf0 = 0x7f + drq 0xf1 = 0x80 + end + device pnp 2e.309 on # GPIO5 + drq 0xf4 = 0xdf + drq 0xf5 = 0xd5 + end device pnp 2e.a on # Power RAM in S3 and let the PCH # handle power failure actions