blob: ff5d57b39f8f137c9fa4813c709550a4ae4f7e93 [file] [log] [blame]
Arthur Heymansbe913982016-10-15 18:00:22 +02001##
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
Arthur Heymans885c2892016-10-03 17:16:48 +020028 register "pci_mmio_size" = "768"
29
Arthur Heymansbe913982016-10-15 18:00:22 +020030 device domain 0 on
31 device pci 00.0 on # host bridge
32 subsystemid 0x1458 0x5000
33 end
34 device pci 01.0 on # i945 PCIe root port
35 subsystemid 0x1458 0x5000
36 ioapic_irq 2 INTA 0x10
37 end
38 device pci 02.0 on # vga controller
39 subsystemid 0x1458 0xd000
40 ioapic_irq 2 INTA 0x10
41 end
42
43 chip southbridge/intel/i82801gx
44 register "pirqa_routing" = "0x8c"
45 register "pirqb_routing" = "0x8a"
46 register "pirqc_routing" = "0x83"
47 register "pirqd_routing" = "0x8b"
48 register "pirqe_routing" = "0x80"
49 register "pirqf_routing" = "0x80"
50 register "pirqg_routing" = "0x80"
51 register "pirqh_routing" = "0x85"
52
53 # GPI routing
54 # 0 No effect (default)
55 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
56 # 2 SCI (if corresponding GPIO_EN bit is also set)
57 register "gpi0_routing" = "1"
58 register "gpi1_routing" = "1"
59 register "gpi2_routing" = "1"
60 register "gpi3_routing" = "1"
61 register "gpi4_routing" = "1"
62 register "gpi5_routing" = "1"
63 register "gpi6_routing" = "1"
64 register "gpi7_routing" = "1"
65 register "gpi8_routing" = "1"
66 register "gpi9_routing" = "1"
67 register "gpi10_routing" = "1"
68 register "gpi11_routing" = "1"
69 register "gpi12_routing" = "1"
70 register "gpi13_routing" = "2"
71 register "gpi14_routing" = "1"
72 register "gpi15_routing" = "1"
73
74 register "gpe0_en" = "0"
75
Arthur Heymansbe913982016-10-15 18:00:22 +020076 register "ide_enable_primary" = "0x1"
77 register "ide_enable_secondary" = "0x0"
Arthur Heymansbe913982016-10-15 18:00:22 +020078 register "c3_latency" = "85"
79
80 register "p_cnt_throttling_supported" = "0"
81
Arthur Heymansfecf7772019-11-09 14:19:04 +010082 register "gen1_dec" = "0x000c0801" # ???
83 register "gen2_dec" = "0x00040291" # Environment Controller
84
Arthur Heymansbe913982016-10-15 18:00:22 +020085 device pci 1b.0 on # High Definition Audio
86 ioapic_irq 2 INTA 0x10
87 end
88 device pci 1c.0 on end # PCIe
89 device pci 1c.1 on end # PCIe
Arthur Heymansb9d25892018-06-15 22:02:28 +020090 device pci 1c.2 off end # PCIe port 3
91 device pci 1c.3 off end # PCIe port 4
92 device pci 1c.4 off end # PCIe port 5
93 device pci 1c.5 off end # PCIe port 6
Arthur Heymansbe913982016-10-15 18:00:22 +020094 device pci 1d.0 on # USB UHCI
95 ioapic_irq 2 INTA 0x10
96 end
97 device pci 1d.1 on # USB UHCI
98 ioapic_irq 2 INTB 0x11
99 end
100 device pci 1d.2 on # USB UHCI
101 ioapic_irq 2 INTC 0x12
102 end
103 device pci 1d.3 on # USB UHCI
104 ioapic_irq 2 INTD 0x13
105 end
106 device pci 1d.7 on # USB2 EHCI
107 ioapic_irq 2 INTA 0x10
108 end
109 device pci 1e.0 on end # PCI bridge
Arthur Heymansb9d25892018-06-15 22:02:28 +0200110 device pci 1e.2 off end # AC'97 Audio
111 device pci 1e.3 off end # AC'97 Modem
Arthur Heymansbe913982016-10-15 18:00:22 +0200112
113 device pci 1f.0 on # LPC bridge
114 ioapic_irq 2 INTA 0x10
115 chip superio/ite/it8718f # Super I/O
Vagiz Trakhanov17c57712017-09-28 14:21:54 +0000116 register "TMPIN1.mode" = "THERMAL_RESISTOR"
117 register "TMPIN2.mode" = "THERMAL_RESISTOR"
118 register "TMPIN3.mode" = "THERMAL_DIODE"
119 register "TMPIN3.offset" = "0"
Arthur Heymansea08ad72016-11-26 12:44:09 +0100120 register "ec.vin_mask" = "VIN_ALL"
121
122 register "FAN1.mode" = "FAN_SMART_AUTOMATIC"
123 register "FAN1.smart.tmpin" = "3"
124 register "FAN1.smart.tmp_off" = "30"
125 register "FAN1.smart.tmp_start" = "35"
126 register "FAN1.smart.tmp_full" = "75"
127 register "FAN1.smart.tmp_delta" = "3"
128 register "FAN1.smart.smoothing" = "1"
129 register "FAN1.smart.pwm_start" = "0"
130 register "FAN1.smart.slope" = "10"
131
132 register "FAN2.mode" = "FAN_SMART_AUTOMATIC"
133 register "FAN2.smart.tmpin" = "3"
134 register "FAN2.smart.tmp_off" = "30"
135 register "FAN2.smart.tmp_start" = "35"
136 register "FAN2.smart.tmp_full" = "75"
137 register "FAN2.smart.tmp_delta" = "3"
138 register "FAN2.smart.smoothing" = "1"
139 register "FAN2.smart.pwm_start" = "0"
140 register "FAN2.smart.slope" = "10"
141
Arthur Heymansbe913982016-10-15 18:00:22 +0200142 device pnp 2e.0 off end # Floppy
143 device pnp 2e.1 on # COM1
144 io 0x60 = 0x3f8
145 irq 0x70 = 4
146 end
147 device pnp 2e.2 off end # COM2
148 device pnp 2e.3 on # Parallel port
149 io 0x60 = 0x378
150 irq 0x70 = 7
151 io 0x62 = 0
152 drq 0x74 = 4
153 irq 0xf0 = 0x08
154 end
155 device pnp 2e.4 on # Environment controller
156 io 0x60 = 0x290
157 irq 0x70 = 0x00
158 io 0x62 = 0x000
159 irq 0xf0 = 0x00
160 irq 0xf1 = 0x00
161 irq 0xf2 = 0x0a
162 irq 0xf3 = 0x00
163 irq 0xf4 = 0x80
164 irq 0xf5 = 0x20
165 irq 0xf6 = 0x3e
166 end
167 device pnp 2e.5 on # Keyboard
168 io 0x60 = 0x60
169 irq 0x70 = 1
170 io 0x62 = 0x64
171 irq 0xf0 = 0x48
172 end
173 device pnp 2e.6 on # Mouse
174 irq 0x70 = 0
175 irq 0x71 = 2
176 irq 0xf0 = 0
177 end
178 end
179 end
180 device pci 1f.1 on # IDE
181 ioapic_irq 2 INTB 0x11
182 end
183 device pci 1f.2 on # SATA
184 ioapic_irq 2 INTC 0x12
185 end
186 device pci 1f.3 on # SMBus
187 ioapic_irq 2 INTD 0x13
188 end
189 end
190 end
191end