blob: 655065a2d9b26f62062e3be04d903f15d322fdcf [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
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" = "0x8c"
43 register "pirqb_routing" = "0x8a"
44 register "pirqc_routing" = "0x83"
45 register "pirqd_routing" = "0x8b"
46 register "pirqe_routing" = "0x80"
47 register "pirqf_routing" = "0x80"
48 register "pirqg_routing" = "0x80"
49 register "pirqh_routing" = "0x85"
50
51 # GPI routing
52 # 0 No effect (default)
53 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
54 # 2 SCI (if corresponding GPIO_EN bit is also set)
55 register "gpi0_routing" = "1"
56 register "gpi1_routing" = "1"
57 register "gpi2_routing" = "1"
58 register "gpi3_routing" = "1"
59 register "gpi4_routing" = "1"
60 register "gpi5_routing" = "1"
61 register "gpi6_routing" = "1"
62 register "gpi7_routing" = "1"
63 register "gpi8_routing" = "1"
64 register "gpi9_routing" = "1"
65 register "gpi10_routing" = "1"
66 register "gpi11_routing" = "1"
67 register "gpi12_routing" = "1"
68 register "gpi13_routing" = "2"
69 register "gpi14_routing" = "1"
70 register "gpi15_routing" = "1"
71
72 register "gpe0_en" = "0"
73
74 register "ide_legacy_combined" = "0x0"
75 register "ide_enable_primary" = "0x1"
76 register "ide_enable_secondary" = "0x0"
77 register "sata_ahci" = "0x0"
78 register "c3_latency" = "85"
79
80 register "p_cnt_throttling_supported" = "0"
81
82 device pci 1b.0 on # High Definition Audio
83 ioapic_irq 2 INTA 0x10
84 end
85 device pci 1c.0 on end # PCIe
86 device pci 1c.1 on end # PCIe
87 #device pci 1c.2 off end # PCIe port 3
88 #device pci 1c.3 off end # PCIe port 4
89 #device pci 1c.4 off end # PCIe port 5
90 #device pci 1c.5 off end # PCIe port 6
91 device pci 1d.0 on # USB UHCI
92 ioapic_irq 2 INTA 0x10
93 end
94 device pci 1d.1 on # USB UHCI
95 ioapic_irq 2 INTB 0x11
96 end
97 device pci 1d.2 on # USB UHCI
98 ioapic_irq 2 INTC 0x12
99 end
100 device pci 1d.3 on # USB UHCI
101 ioapic_irq 2 INTD 0x13
102 end
103 device pci 1d.7 on # USB2 EHCI
104 ioapic_irq 2 INTA 0x10
105 end
106 device pci 1e.0 on end # PCI bridge
107
108 device pci 1f.0 on # LPC bridge
109 ioapic_irq 2 INTA 0x10
110 chip superio/ite/it8718f # Super I/O
Arthur Heymansea08ad72016-11-26 12:44:09 +0100111 register "TMPIN1" = "THERMAL_RESISTOR"
112 register "TMPIN2" = "THERMAL_RESISTOR"
113 register "TMPIN3" = "THERMAL_DIODE"
114 register "ec.vin_mask" = "VIN_ALL"
115
116 register "FAN1.mode" = "FAN_SMART_AUTOMATIC"
117 register "FAN1.smart.tmpin" = "3"
118 register "FAN1.smart.tmp_off" = "30"
119 register "FAN1.smart.tmp_start" = "35"
120 register "FAN1.smart.tmp_full" = "75"
121 register "FAN1.smart.tmp_delta" = "3"
122 register "FAN1.smart.smoothing" = "1"
123 register "FAN1.smart.pwm_start" = "0"
124 register "FAN1.smart.slope" = "10"
125
126 register "FAN2.mode" = "FAN_SMART_AUTOMATIC"
127 register "FAN2.smart.tmpin" = "3"
128 register "FAN2.smart.tmp_off" = "30"
129 register "FAN2.smart.tmp_start" = "35"
130 register "FAN2.smart.tmp_full" = "75"
131 register "FAN2.smart.tmp_delta" = "3"
132 register "FAN2.smart.smoothing" = "1"
133 register "FAN2.smart.pwm_start" = "0"
134 register "FAN2.smart.slope" = "10"
135
Arthur Heymansbe913982016-10-15 18:00:22 +0200136 device pnp 2e.0 off end # Floppy
137 device pnp 2e.1 on # COM1
138 io 0x60 = 0x3f8
139 irq 0x70 = 4
140 end
141 device pnp 2e.2 off end # COM2
142 device pnp 2e.3 on # Parallel port
143 io 0x60 = 0x378
144 irq 0x70 = 7
145 io 0x62 = 0
146 drq 0x74 = 4
147 irq 0xf0 = 0x08
148 end
149 device pnp 2e.4 on # Environment controller
150 io 0x60 = 0x290
151 irq 0x70 = 0x00
152 io 0x62 = 0x000
153 irq 0xf0 = 0x00
154 irq 0xf1 = 0x00
155 irq 0xf2 = 0x0a
156 irq 0xf3 = 0x00
157 irq 0xf4 = 0x80
158 irq 0xf5 = 0x20
159 irq 0xf6 = 0x3e
160 end
161 device pnp 2e.5 on # Keyboard
162 io 0x60 = 0x60
163 irq 0x70 = 1
164 io 0x62 = 0x64
165 irq 0xf0 = 0x48
166 end
167 device pnp 2e.6 on # Mouse
168 irq 0x70 = 0
169 irq 0x71 = 2
170 irq 0xf0 = 0
171 end
172 end
173 end
174 device pci 1f.1 on # IDE
175 ioapic_irq 2 INTB 0x11
176 end
177 device pci 1f.2 on # SATA
178 ioapic_irq 2 INTC 0x12
179 end
180 device pci 1f.3 on # SMBus
181 ioapic_irq 2 INTD 0x13
182 end
183 end
184 end
185end