blob: b5409a25bbea4b0244f116268c609acc4c671c23 [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
Arthur Heymans6390e522016-11-21 17:11:48 +010053 register "ide_enable_primary" = "0x1"
54 register "ide_enable_secondary" = "0x0"
Arthur Heymans6390e522016-11-21 17:11:48 +010055
56 register "p_cnt_throttling_supported" = "0"
57
Arthur Heymansfecf7772019-11-09 14:19:04 +010058 # SuperIO Power Management Events
59 register "gen1_dec" = "0x00040291"
60
Arthur Heymans6390e522016-11-21 17:11:48 +010061 device pci 1b.0 on # High Definition Audio
62 ioapic_irq 2 INTA 0x10
63 end
64 device pci 1c.0 on end # PCIe
65 device pci 1c.1 on end # PCIe
Arthur Heymansb9d25892018-06-15 22:02:28 +020066 device pci 1c.2 off end # PCIe port 3
67 device pci 1c.3 off end # PCIe port 4
Arthur Heymans6390e522016-11-21 17:11:48 +010068 device pci 1d.0 on # USB UHCI
69 ioapic_irq 2 INTA 0x10
70 end
71 device pci 1d.1 on # USB UHCI
72 ioapic_irq 2 INTB 0x11
73 end
74 device pci 1d.2 on # USB UHCI
75 ioapic_irq 2 INTC 0x12
76 end
77 device pci 1d.3 on # USB UHCI
78 ioapic_irq 2 INTD 0x13
79 end
80 device pci 1d.7 on # USB2 EHCI
81 ioapic_irq 2 INTA 0x10
82 end
83 device pci 1e.0 on end # PCI bridge
Arthur Heymansb9d25892018-06-15 22:02:28 +020084 device pci 1e.2 off end # AC'97 Audio
85 device pci 1e.3 off end # AC'97 Modem
Arthur Heymans6390e522016-11-21 17:11:48 +010086
87 device pci 1f.0 on # LPC bridge
88 ioapic_irq 2 INTA 0x10
Arthur Heymans9677fbf2016-12-25 17:52:15 +010089 chip superio/winbond/w83627dhg
90 device pnp 2e.0 on # Floppy
91 io 0x60 = 0x3f0
92 irq 0x70 = 6
93 drq 0x74 = 2
94 end
95 device pnp 2e.1 on # Parallel port
96 io 0x60 = 0x378
97 irq 0x70 = 7
98 drq 0x74 = 3
99 end
100 device pnp 2e.2 on # COM1
101 io 0x60 = 0x3f8
102 irq 0x70 = 4
103 end
104 device pnp 2e.3 on # COM2
105 io 0x60 = 0x2f8
106 irq 0x70 = 3
107 end
108 device pnp 2e.5 on # Keyboard
109 io 0x60 = 0x60
110 io 0x62 = 0x64
111 irq 0x70 = 1 # Keyboard
112 irq 0x72 = 12 # Mouse
113 end
114 device pnp 2e.6 off end # SPI
115 device pnp 2e.7 on end # GPIO6
116 device pnp 2e.8 off end # WDTO# & PLED
Arthur Heymans42315682017-05-06 00:28:12 +0200117 device pnp 2e.9 off end # GPIO2
118 device pnp 2e.109 on # GPIO3
119 irq 0xf0 = 0xf3 # BSEL straps to output
120 irq 0xf2 = 0x08 # INVERT GPIO33
121 end
122 device pnp 2e.209 on # GPIO4
123 irq 0xf5 = 0xf8
124 end
125 device pnp 2e.309 on # GPIO5
126 irq 0xe0 = 0xde
127 end
Arthur Heymans9677fbf2016-12-25 17:52:15 +0100128 device pnp 2e.a on # ACPI
129 irq 0x70 = 0
Arthur Heymans42315682017-05-06 00:28:12 +0200130 irq 0xe4 = 0x10 # VSBGATE# to power dram during S3
Arthur Heymans9677fbf2016-12-25 17:52:15 +0100131 end
132 device pnp 2e.b on # HWM
133 io 0x60 = 0x290
134 irq 0x70 = 0
135 end
136 device pnp 2e.c on end # PECI, SST
Arthur Heymans6390e522016-11-21 17:11:48 +0100137 end
138 end
139 device pci 1f.1 on # IDE
140 ioapic_irq 2 INTB 0x11
141 end
142 device pci 1f.2 on # SATA
143 ioapic_irq 2 INTC 0x12
144 end
145 device pci 1f.3 on # SMBus
146 ioapic_irq 2 INTD 0x13
147 end
148 end
149 end
150end