blob: acf743b18cc2274238be9d6683a3d377bf92296a [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
76 register "ide_legacy_combined" = "0x0"
77 register "ide_enable_primary" = "0x1"
78 register "ide_enable_secondary" = "0x0"
79 register "sata_ahci" = "0x0"
80 register "c3_latency" = "85"
81
82 register "p_cnt_throttling_supported" = "0"
83
84 device pci 1b.0 on # High Definition Audio
85 ioapic_irq 2 INTA 0x10
86 end
87 device pci 1c.0 on end # PCIe
88 device pci 1c.1 on end # PCIe
89 #device pci 1c.2 off end # PCIe port 3
90 #device pci 1c.3 off end # PCIe port 4
91 #device pci 1c.4 off end # PCIe port 5
92 #device pci 1c.5 off end # PCIe port 6
93 device pci 1d.0 on # USB UHCI
94 ioapic_irq 2 INTA 0x10
95 end
96 device pci 1d.1 on # USB UHCI
97 ioapic_irq 2 INTB 0x11
98 end
99 device pci 1d.2 on # USB UHCI
100 ioapic_irq 2 INTC 0x12
101 end
102 device pci 1d.3 on # USB UHCI
103 ioapic_irq 2 INTD 0x13
104 end
105 device pci 1d.7 on # USB2 EHCI
106 ioapic_irq 2 INTA 0x10
107 end
108 device pci 1e.0 on end # PCI bridge
109
110 device pci 1f.0 on # LPC bridge
111 ioapic_irq 2 INTA 0x10
112 chip superio/ite/it8718f # Super I/O
Arthur Heymansea08ad72016-11-26 12:44:09 +0100113 register "TMPIN1" = "THERMAL_RESISTOR"
114 register "TMPIN2" = "THERMAL_RESISTOR"
115 register "TMPIN3" = "THERMAL_DIODE"
116 register "ec.vin_mask" = "VIN_ALL"
117
118 register "FAN1.mode" = "FAN_SMART_AUTOMATIC"
119 register "FAN1.smart.tmpin" = "3"
120 register "FAN1.smart.tmp_off" = "30"
121 register "FAN1.smart.tmp_start" = "35"
122 register "FAN1.smart.tmp_full" = "75"
123 register "FAN1.smart.tmp_delta" = "3"
124 register "FAN1.smart.smoothing" = "1"
125 register "FAN1.smart.pwm_start" = "0"
126 register "FAN1.smart.slope" = "10"
127
128 register "FAN2.mode" = "FAN_SMART_AUTOMATIC"
129 register "FAN2.smart.tmpin" = "3"
130 register "FAN2.smart.tmp_off" = "30"
131 register "FAN2.smart.tmp_start" = "35"
132 register "FAN2.smart.tmp_full" = "75"
133 register "FAN2.smart.tmp_delta" = "3"
134 register "FAN2.smart.smoothing" = "1"
135 register "FAN2.smart.pwm_start" = "0"
136 register "FAN2.smart.slope" = "10"
137
Arthur Heymansbe913982016-10-15 18:00:22 +0200138 device pnp 2e.0 off end # Floppy
139 device pnp 2e.1 on # COM1
140 io 0x60 = 0x3f8
141 irq 0x70 = 4
142 end
143 device pnp 2e.2 off end # COM2
144 device pnp 2e.3 on # Parallel port
145 io 0x60 = 0x378
146 irq 0x70 = 7
147 io 0x62 = 0
148 drq 0x74 = 4
149 irq 0xf0 = 0x08
150 end
151 device pnp 2e.4 on # Environment controller
152 io 0x60 = 0x290
153 irq 0x70 = 0x00
154 io 0x62 = 0x000
155 irq 0xf0 = 0x00
156 irq 0xf1 = 0x00
157 irq 0xf2 = 0x0a
158 irq 0xf3 = 0x00
159 irq 0xf4 = 0x80
160 irq 0xf5 = 0x20
161 irq 0xf6 = 0x3e
162 end
163 device pnp 2e.5 on # Keyboard
164 io 0x60 = 0x60
165 irq 0x70 = 1
166 io 0x62 = 0x64
167 irq 0xf0 = 0x48
168 end
169 device pnp 2e.6 on # Mouse
170 irq 0x70 = 0
171 irq 0x71 = 2
172 irq 0xf0 = 0
173 end
174 end
175 end
176 device pci 1f.1 on # IDE
177 ioapic_irq 2 INTB 0x11
178 end
179 device pci 1f.2 on # SATA
180 ioapic_irq 2 INTC 0x12
181 end
182 device pci 1f.3 on # SMBus
183 ioapic_irq 2 INTD 0x13
184 end
185 end
186 end
187end