blob: 642f1ee009755df7625b0c2903fb474b4802f7af [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
Arthur Heymansb9d25892018-06-15 22:02:28 +020065 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
Arthur Heymans6390e522016-11-21 17:11:48 +010069 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
Arthur Heymansb9d25892018-06-15 22:02:28 +020085 device pci 1e.2 off end # AC'97 Audio
86 device pci 1e.3 off end # AC'97 Modem
Arthur Heymans6390e522016-11-21 17:11:48 +010087
88 device pci 1f.0 on # LPC bridge
89 ioapic_irq 2 INTA 0x10
Arthur Heymans9677fbf2016-12-25 17:52:15 +010090 chip superio/winbond/w83627dhg
91 device pnp 2e.0 on # Floppy
92 io 0x60 = 0x3f0
93 irq 0x70 = 6
94 drq 0x74 = 2
95 end
96 device pnp 2e.1 on # Parallel port
97 io 0x60 = 0x378
98 irq 0x70 = 7
99 drq 0x74 = 3
100 end
101 device pnp 2e.2 on # COM1
102 io 0x60 = 0x3f8
103 irq 0x70 = 4
104 end
105 device pnp 2e.3 on # COM2
106 io 0x60 = 0x2f8
107 irq 0x70 = 3
108 end
109 device pnp 2e.5 on # Keyboard
110 io 0x60 = 0x60
111 io 0x62 = 0x64
112 irq 0x70 = 1 # Keyboard
113 irq 0x72 = 12 # Mouse
114 end
115 device pnp 2e.6 off end # SPI
116 device pnp 2e.7 on end # GPIO6
117 device pnp 2e.8 off end # WDTO# & PLED
Arthur Heymans42315682017-05-06 00:28:12 +0200118 device pnp 2e.9 off end # GPIO2
119 device pnp 2e.109 on # GPIO3
120 irq 0xf0 = 0xf3 # BSEL straps to output
121 irq 0xf2 = 0x08 # INVERT GPIO33
122 end
123 device pnp 2e.209 on # GPIO4
124 irq 0xf5 = 0xf8
125 end
126 device pnp 2e.309 on # GPIO5
127 irq 0xe0 = 0xde
128 end
Arthur Heymans9677fbf2016-12-25 17:52:15 +0100129 device pnp 2e.a on # ACPI
130 irq 0x70 = 0
Arthur Heymans42315682017-05-06 00:28:12 +0200131 irq 0xe4 = 0x10 # VSBGATE# to power dram during S3
Arthur Heymans9677fbf2016-12-25 17:52:15 +0100132 end
133 device pnp 2e.b on # HWM
134 io 0x60 = 0x290
135 irq 0x70 = 0
136 end
137 device pnp 2e.c on end # PECI, SST
Arthur Heymans6390e522016-11-21 17:11:48 +0100138 end
139 end
140 device pci 1f.1 on # IDE
141 ioapic_irq 2 INTB 0x11
142 end
143 device pci 1f.2 on # SATA
144 ioapic_irq 2 INTC 0x12
145 end
146 device pci 1f.3 on # SMBus
147 ioapic_irq 2 INTD 0x13
148 end
149 end
150 end
151end