src/mb/gigabyte/ga-h61m-s2pv: Correct devicetree

Subsystem IDs were missing and GPIO settings were wrong. Plus, the PCI
bridge was erroneously enabled, this board uses an ITE IT8892E PCIe to
PCI bridge instead.

Tested, board still boots.

Change-Id: Ieb9dd8c835bc3652e7a3a118feca5551196bb81b
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33522
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
Angel Pons 2019-04-18 15:46:35 +02:00 committed by Nico Huber
parent 01c83a2e99
commit 9065657957
1 changed files with 10 additions and 7 deletions

View File

@ -30,6 +30,7 @@ chip northbridge/intel/sandybridge
end end
register "pci_mmio_size" = "2048" register "pci_mmio_size" = "2048"
device domain 0x0 on device domain 0x0 on
subsystemid 0x1458 0x5000 inherit
device pci 00.0 on end # Host bridge device pci 00.0 on end # Host bridge
device pci 01.0 on end # PCIe Bridge for discrete graphics (PCIEX16) device pci 01.0 on end # PCIe Bridge for discrete graphics (PCIEX16)
device pci 02.0 on end # Internal graphics VGA controller device pci 02.0 on end # Internal graphics VGA controller
@ -57,7 +58,7 @@ chip northbridge/intel/sandybridge
device pci 1c.6 off end # Unused PCIe Port device pci 1c.6 off end # Unused PCIe Port
device pci 1c.7 off end # Unused PCIe Port device pci 1c.7 off end # Unused PCIe Port
device pci 1d.0 on end # USB2 EHCI #1 device pci 1d.0 on end # USB2 EHCI #1
device pci 1e.0 on end # PCI bridge device pci 1e.0 off end # PCI bridge
device pci 1f.0 on # LPC bridge device pci 1f.0 on # LPC bridge
chip superio/ite/it8728f chip superio/ite/it8728f
device pnp 2e.0 off end # Floppy, not routed. device pnp 2e.0 off end # Floppy, not routed.
@ -84,13 +85,15 @@ chip northbridge/intel/sandybridge
device pnp 2e.6 on # Mouse device pnp 2e.6 on # Mouse
irq 0x70 = 12 irq 0x70 = 12
end end
device pnp 2e.7 off # GPIO device pnp 2e.7 on # GPIO
io 0x25 = 0x40 irq 0x25 = 0x40
io 0x27 = 0x10 irq 0x27 = 0x10
io 0x2c = 0x80 irq 0x2c = 0x80
io 0x60 = 0x0000
io 0x62 = 0x0a00 io 0x62 = 0x0a00
io 0xcb = 0x00 io 0x64 = 0x0000
io 0xf1 = 0x40 irq 0xcb = 0x00
irq 0xf1 = 0x40
end end
device pnp 2e.a off end # CIR, not routed. device pnp 2e.a off end # CIR, not routed.
end end