blob: cefa7117fe1627299da348c02507d45f399856cd [file] [log] [blame]
Arthur Heymans6390e522016-11-21 17:11:48 +01001##
2## This file is part of the coreboot project.
3##
4## Copyright (C) 2007-2009 coresystems GmbH
5## Copyright (C) 2016 Arthur Heymans arthur@aheymans.xyz
6##
7## This program is free software; you can redistribute it and/or
8## modify it under the terms of the GNU General Public License as
9## published by the Free Software Foundation; version 2 of the License.
10##
11## This program is distributed in the hope that it will be useful,
12## but WITHOUT ANY WARRANTY; without even the implied warranty of
13## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14## GNU General Public License for more details.
15##
16
17chip northbridge/intel/i945
18
19 device cpu_cluster 0 on
20 chip cpu/intel/socket_LGA775
21 device lapic 0 on end
22 end
23 chip cpu/intel/model_1067x
24 device lapic 0xACAC off end
25 end
26 end
27
28 device domain 0 on
29 device pci 00.0 on # host bridge
30 subsystemid 0x1458 0x5000
31 end
32 device pci 01.0 on # i945 PCIe root port
33 subsystemid 0x1458 0x5000
34 ioapic_irq 2 INTA 0x10
35 end
36 device pci 02.0 on # vga controller
37 subsystemid 0x1458 0xd000
38 ioapic_irq 2 INTA 0x10
39 end
40
41 chip southbridge/intel/i82801gx
42 register "pirqa_routing" = "0x8b"
43 register "pirqb_routing" = "0x8a"
44 register "pirqc_routing" = "0x86"
45 register "pirqd_routing" = "0x85"
46 register "pirqe_routing" = "0x83"
47 register "pirqf_routing" = "0x80"
48 register "pirqg_routing" = "0x80"
49 register "pirqh_routing" = "0x85"
50
51 register "gpe0_en" = "0"
52
53 register "ide_legacy_combined" = "0x0"
54 register "ide_enable_primary" = "0x1"
55 register "ide_enable_secondary" = "0x0"
56 register "sata_ahci" = "0x0"
57
58 register "p_cnt_throttling_supported" = "0"
59
60 device pci 1b.0 on # High Definition Audio
61 ioapic_irq 2 INTA 0x10
62 end
63 device pci 1c.0 on end # PCIe
64 device pci 1c.1 on end # PCIe
65 #device pci 1c.2 off end # PCIe port 3
66 #device pci 1c.3 off end # PCIe port 4
67 #device pci 1c.4 off end # PCIe port 5
68 #device pci 1c.5 off end # PCIe port 6
69 device pci 1d.0 on # USB UHCI
70 ioapic_irq 2 INTA 0x10
71 end
72 device pci 1d.1 on # USB UHCI
73 ioapic_irq 2 INTB 0x11
74 end
75 device pci 1d.2 on # USB UHCI
76 ioapic_irq 2 INTC 0x12
77 end
78 device pci 1d.3 on # USB UHCI
79 ioapic_irq 2 INTD 0x13
80 end
81 device pci 1d.7 on # USB2 EHCI
82 ioapic_irq 2 INTA 0x10
83 end
84 device pci 1e.0 on end # PCI bridge
85
86 device pci 1f.0 on # LPC bridge
87 ioapic_irq 2 INTA 0x10
Arthur Heymans9677fbf2016-12-25 17:52:15 +010088 chip superio/winbond/w83627dhg
89 device pnp 2e.0 on # Floppy
90 io 0x60 = 0x3f0
91 irq 0x70 = 6
92 drq 0x74 = 2
93 end
94 device pnp 2e.1 on # Parallel port
95 io 0x60 = 0x378
96 irq 0x70 = 7
97 drq 0x74 = 3
98 end
99 device pnp 2e.2 on # COM1
100 io 0x60 = 0x3f8
101 irq 0x70 = 4
102 end
103 device pnp 2e.3 on # COM2
104 io 0x60 = 0x2f8
105 irq 0x70 = 3
106 end
107 device pnp 2e.5 on # Keyboard
108 io 0x60 = 0x60
109 io 0x62 = 0x64
110 irq 0x70 = 1 # Keyboard
111 irq 0x72 = 12 # Mouse
112 end
113 device pnp 2e.6 off end # SPI
114 device pnp 2e.7 on end # GPIO6
115 device pnp 2e.8 off end # WDTO# & PLED
Arthur Heymans42315682017-05-06 00:28:12 +0200116 device pnp 2e.9 off end # GPIO2
117 device pnp 2e.109 on # GPIO3
118 irq 0xf0 = 0xf3 # BSEL straps to output
119 irq 0xf2 = 0x08 # INVERT GPIO33
120 end
121 device pnp 2e.209 on # GPIO4
122 irq 0xf5 = 0xf8
123 end
124 device pnp 2e.309 on # GPIO5
125 irq 0xe0 = 0xde
126 end
Arthur Heymans9677fbf2016-12-25 17:52:15 +0100127 device pnp 2e.a on # ACPI
128 irq 0x70 = 0
Arthur Heymans42315682017-05-06 00:28:12 +0200129 irq 0xe4 = 0x10 # VSBGATE# to power dram during S3
Arthur Heymans9677fbf2016-12-25 17:52:15 +0100130 end
131 device pnp 2e.b on # HWM
132 io 0x60 = 0x290
133 irq 0x70 = 0
134 end
135 device pnp 2e.c on end # PECI, SST
Arthur Heymans6390e522016-11-21 17:11:48 +0100136 end
137 end
138 device pci 1f.1 on # IDE
139 ioapic_irq 2 INTB 0x11
140 end
141 device pci 1f.2 on # SATA
142 ioapic_irq 2 INTC 0x12
143 end
144 device pci 1f.3 on # SMBus
145 ioapic_irq 2 INTD 0x13
146 end
147 end
148 end
149end