blob: a63845760c12c0c1de55839575436026aa59f487 [file] [log] [blame]
Samuel Holland82651462017-06-03 03:53:33 -05001##
2## This file is part of the coreboot project.
3##
4## Copyright (C) 2015 Damien Zammit <damien@zamaudio.com>
5## Copyright (C) 2017 Arthur Heymans <arthur@aheymans.xyz>
6## Copyright (C) 2017 Samuel Holland <samuel@sholland.org>
7##
8## This program is free software; you can redistribute it and/or modify
9## it under the terms of the GNU General Public License as published by
10## the Free Software Foundation; either version 2 of the License, or
11## (at your option) any later version.
12##
13## This program is distributed in the hope that it will be useful,
14## but WITHOUT ANY WARRANTY; without even the implied warranty of
15## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16## GNU General Public License for more details.
17##
18
19chip northbridge/intel/x4x # Northbridge
20 device cpu_cluster 0 on # APIC cluster
21 chip cpu/intel/socket_LGA775
22 device lapic 0 on end
23 end
24 chip cpu/intel/model_1067x # CPU
25 device lapic 0xACAC off end
26 end
27 end
28 device domain 0 on # PCI domain
29 subsystemid 0x105b 0x0dda inherit
30 device pci 0.0 on # Host Bridge
31 subsystemid 0x105b 0x0dda
32 end
33 device pci 1.0 on end # PEG
34 device pci 2.0 on # Integrated graphics controller
35 subsystemid 0x105b 0x0dda
36 end
37 device pci 2.1 off end # Integrated graphics controller 2
38 device pci 3.0 off end # ME
39 device pci 3.1 off end # ME
40 chip southbridge/intel/i82801gx # Southbridge
41 register "pirqa_routing" = "0x0a"
42 register "pirqb_routing" = "0x0b"
43 register "pirqc_routing" = "0x0a"
44 register "pirqd_routing" = "0x05"
45 register "pirqe_routing" = "0x0a"
46 register "pirqf_routing" = "0x0b"
47 register "pirqg_routing" = "0x0a"
48 register "pirqh_routing" = "0x03"
49
50 register "gpe0_en" = "0x00000441"
51 register "alt_gp_smi_en" = "0x0000"
52
53 register "ide_enable_primary" = "0x0"
54 register "ide_enable_secondary" = "0x0"
55 register "sata_ahci" = "0x0" # AHCI does not work
56 register "sata_ports_implemented" = "0x3"
57
58 device pci 1b.0 on # Audio
59 subsystemid 0x105b 0x0dda
60 end
61 device pci 1c.0 on end # PCIe 1
62 device pci 1c.1 on # PCIe 2 (NIC)
63 device pci 00.0 on # PCI 10ec:8168
64 subsystemid 0x105b 0x0dda
65 end
66 end
67 device pci 1c.2 off end # PCIe 3
68 device pci 1c.3 off end # PCIe 4
Arthur Heymansb9d25892018-06-15 22:02:28 +020069 device pci 1c.4 off end # PCIe 5
70 device pci 1c.5 off end # PCIe 6
Samuel Holland82651462017-06-03 03:53:33 -050071 device pci 1d.0 on # USB
72 subsystemid 0x105b 0x0dda
73 end
74 device pci 1d.1 on # USB
75 subsystemid 0x105b 0x0dda
76 end
77 device pci 1d.2 on # USB
78 subsystemid 0x105b 0x0dda
79 end
80 device pci 1d.3 on # USB
81 subsystemid 0x105b 0x0dda
82 end
83 device pci 1d.7 on # USB
84 subsystemid 0x105b 0x0dda
85 end
86 device pci 1e.0 on end # PCI bridge
Arthur Heymansb9d25892018-06-15 22:02:28 +020087 device pci 1e.2 off end # AC'97 Audio
88 device pci 1e.3 off end # AC'97 Modem
Samuel Holland82651462017-06-03 03:53:33 -050089 device pci 1f.0 on # ISA bridge
90 subsystemid 0x105b 0x0dda
91 chip superio/ite/it8720f # Super I/O
Vagiz Trakhanov17c57712017-09-28 14:21:54 +000092 register "TMPIN1.mode" = "THERMAL_DIODE"
93 register "TMPIN1.offset" = "0"
94 register "TMPIN2.mode" = "THERMAL_RESISTOR"
95 register "TMPIN3.mode" = "THERMAL_MODE_DISABLED"
Samuel Holland82651462017-06-03 03:53:33 -050096
97 register "ec.vin_mask" = "VIN_ALL"
98
99 register "FAN1.mode" = "FAN_SMART_AUTOMATIC" # System fan
100 register "FAN1.smart.tmpin" = "1"
101 register "FAN1.smart.tmp_off" = "25"
102 register "FAN1.smart.tmp_start" = "30"
103 register "FAN1.smart.tmp_full" = "65"
104 register "FAN1.smart.tmp_delta" = "3"
105 register "FAN1.smart.smoothing" = "1"
106 register "FAN1.smart.pwm_start" = "20"
107 register "FAN1.smart.slope" = "10"
108 register "FAN2.mode" = "FAN_SMART_AUTOMATIC" # CPU fan
109 register "FAN2.smart.tmpin" = "1"
110 register "FAN2.smart.tmp_off" = "25"
111 register "FAN2.smart.tmp_start" = "30"
112 register "FAN2.smart.tmp_full" = "65"
113 register "FAN2.smart.tmp_delta" = "3"
114 register "FAN2.smart.smoothing" = "1"
115 register "FAN2.smart.pwm_start" = "20"
116 register "FAN2.smart.slope" = "10"
117 register "FAN3.mode" = "FAN_MODE_OFF" # Not connected
118
119 device pnp 2e.0 off end # Floppy
120 device pnp 2e.1 on # COM1
121 io 0x60 = 0x3f8
122 irq 0x70 = 0x04
123 irq 0xf0 = 0x00
124 irq 0xf1 = 0x50
125 end
126 device pnp 2e.2 on # COM2 (IR)
127 io 0x60 = 0x2f8
128 irq 0x70 = 0x03
129 irq 0xf0 = 0x10 # IrDA SIR mode
130 irq 0xf1 = 0x50
131 end
132 device pnp 2e.3 off end # Parallel port
133 device pnp 2e.4 on # Environment controller
134 io 0x60 = 0xa10
135 io 0x62 = 0xa00
136 irq 0x70 = 0x00
137 irq 0xf0 = 0x80
138 irq 0xf1 = 0x00
139 irq 0xf2 = 0x0a
140 irq 0xf3 = 0x00
141 irq 0xf4 = 0x80
142 irq 0xf5 = 0x00
143 irq 0xf6 = 0x00
144 end
145 device pnp 2e.5 on # Keyboard
146 io 0x60 = 0x060
147 io 0x62 = 0x064
148 irq 0x70 = 0x01
149 irq 0xf0 = 0x00
150 end
151 device pnp 2e.6 on # Mouse
152 irq 0x70 = 0x0c
153 irq 0xf0 = 0x00
154 end
155 device pnp 2e.7 on # GPIO
156 io 0x60 = 0x000
157 io 0x62 = 0xa20
158 io 0x64 = 0xa30
159 irq 0xf0 = 0x00
160 irq 0xf1 = 0x00
161 irq 0xf2 = 0x00
162 irq 0xf3 = 0x00
163 irq 0xf4 = 0x00
164 irq 0xf5 = 0x00
165 irq 0xf6 = 0x22
166 irq 0xf7 = 0x00
167 irq 0xf8 = 0x00
168 irq 0xf9 = 0x00
169 irq 0xfa = 0x00
170 irq 0xfb = 0x00
171 irq 0xfd = 0x00
172 irq 0xfe = 0x00
173 end
174 device pnp 2e.a on # CIR
175 io 0x60 = 0x3e0
176 irq 0x70 = 0x0a
177 irq 0xf0 = 0x00
178 end
179 end
180 end
181 device pci 1f.1 off end # PATA/IDE
182 device pci 1f.2 on # SATA
183 subsystemid 0x105b 0x0dda
184 end
185 device pci 1f.3 on # SMbus
186 subsystemid 0x105b 0x0dda
187 end
Samuel Holland82651462017-06-03 03:53:33 -0500188 end
189 end
190end