gigabyte/ga-b75m-d3h: Update device tree
This patch resolves the outstanding issues with
PCI device enumeration and getting the board to boot into
GNU/Linux with VGA rom.
Previously the board would not boot to GNU/Linux with video,
even if VGA rom was used.
Bugs in the devicetree were fixed according to superiotool output.
Tested on GA-B75M-D3H with VGA rom.
Booted to GNU/Linux (Fedora 22 4.0.4-301.fc22.x86_64)
Change-Id: Ide1f406652659e6f99ee5d993719c187650fffe4
Signed-off-by: Damien Zammit <damien@zamaudio.com>
Reviewed-on: http://review.coreboot.org/10895
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
diff --git a/src/mainboard/gigabyte/ga-b75m-d3h/devicetree.cb b/src/mainboard/gigabyte/ga-b75m-d3h/devicetree.cb
index 19a476c..f4a8664 100644
--- a/src/mainboard/gigabyte/ga-b75m-d3h/devicetree.cb
+++ b/src/mainboard/gigabyte/ga-b75m-d3h/devicetree.cb
@@ -24,7 +24,7 @@
device pci 00.0 on # host bridge
subsystemid 0x1458 0x5000
end
- device pci 01.0 off end # PCIe Bridge for discrete graphics
+ device pci 01.0 on end # PCIe Bridge for discrete graphics
device pci 02.0 on # vga controller
subsystemid 0x1458 0xd000
end
@@ -58,7 +58,7 @@
device pci 1b.0 on # High Definition Audio
subsystemid 0x1458 0xa002
end
- device pci 1c.0 off end # PCIe Port #1
+ device pci 1c.0 on end # PCIe Port #1
device pci 1c.1 off end # PCIe Port #2
device pci 1c.2 off end # PCIe Port #3
device pci 1c.3 off end # PCIe Port #4
@@ -92,17 +92,19 @@
drq 0x74 = 4
end
device pnp 2e.4 on # EC
+ io 0x60 = 0xa30
irq 0x70 = 9
+ io 0x62 = 0xa20
end
device pnp 2e.5 on # Keyboard
+ io 0x60 = 0x60
irq 0x70 = 1
+ io 0x62 = 0x64
end
device pnp 2e.6 on # Mouse
irq 0x70 = 12
end
- device pnp 2e.7 on # GPIO
- irq 0x70 = 0
- end
+ device pnp 2e.7 off end # GPIO
device pnp 2e.a off end # IR
end
end