blob: e57436ae7c64bf3953a1a3454f0e6b7d107f77b0 [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
69 device pci 1d.0 on # USB
70 subsystemid 0x105b 0x0dda
71 end
72 device pci 1d.1 on # USB
73 subsystemid 0x105b 0x0dda
74 end
75 device pci 1d.2 on # USB
76 subsystemid 0x105b 0x0dda
77 end
78 device pci 1d.3 on # USB
79 subsystemid 0x105b 0x0dda
80 end
81 device pci 1d.7 on # USB
82 subsystemid 0x105b 0x0dda
83 end
84 device pci 1e.0 on end # PCI bridge
85 device pci 1f.0 on # ISA bridge
86 subsystemid 0x105b 0x0dda
87 chip superio/ite/it8720f # Super I/O
Vagiz Trakhanov17c57712017-09-28 14:21:54 +000088 register "TMPIN1.mode" = "THERMAL_DIODE"
89 register "TMPIN1.offset" = "0"
90 register "TMPIN2.mode" = "THERMAL_RESISTOR"
91 register "TMPIN3.mode" = "THERMAL_MODE_DISABLED"
Samuel Holland82651462017-06-03 03:53:33 -050092
93 register "ec.vin_mask" = "VIN_ALL"
94
95 register "FAN1.mode" = "FAN_SMART_AUTOMATIC" # System fan
96 register "FAN1.smart.tmpin" = "1"
97 register "FAN1.smart.tmp_off" = "25"
98 register "FAN1.smart.tmp_start" = "30"
99 register "FAN1.smart.tmp_full" = "65"
100 register "FAN1.smart.tmp_delta" = "3"
101 register "FAN1.smart.smoothing" = "1"
102 register "FAN1.smart.pwm_start" = "20"
103 register "FAN1.smart.slope" = "10"
104 register "FAN2.mode" = "FAN_SMART_AUTOMATIC" # CPU fan
105 register "FAN2.smart.tmpin" = "1"
106 register "FAN2.smart.tmp_off" = "25"
107 register "FAN2.smart.tmp_start" = "30"
108 register "FAN2.smart.tmp_full" = "65"
109 register "FAN2.smart.tmp_delta" = "3"
110 register "FAN2.smart.smoothing" = "1"
111 register "FAN2.smart.pwm_start" = "20"
112 register "FAN2.smart.slope" = "10"
113 register "FAN3.mode" = "FAN_MODE_OFF" # Not connected
114
115 device pnp 2e.0 off end # Floppy
116 device pnp 2e.1 on # COM1
117 io 0x60 = 0x3f8
118 irq 0x70 = 0x04
119 irq 0xf0 = 0x00
120 irq 0xf1 = 0x50
121 end
122 device pnp 2e.2 on # COM2 (IR)
123 io 0x60 = 0x2f8
124 irq 0x70 = 0x03
125 irq 0xf0 = 0x10 # IrDA SIR mode
126 irq 0xf1 = 0x50
127 end
128 device pnp 2e.3 off end # Parallel port
129 device pnp 2e.4 on # Environment controller
130 io 0x60 = 0xa10
131 io 0x62 = 0xa00
132 irq 0x70 = 0x00
133 irq 0xf0 = 0x80
134 irq 0xf1 = 0x00
135 irq 0xf2 = 0x0a
136 irq 0xf3 = 0x00
137 irq 0xf4 = 0x80
138 irq 0xf5 = 0x00
139 irq 0xf6 = 0x00
140 end
141 device pnp 2e.5 on # Keyboard
142 io 0x60 = 0x060
143 io 0x62 = 0x064
144 irq 0x70 = 0x01
145 irq 0xf0 = 0x00
146 end
147 device pnp 2e.6 on # Mouse
148 irq 0x70 = 0x0c
149 irq 0xf0 = 0x00
150 end
151 device pnp 2e.7 on # GPIO
152 io 0x60 = 0x000
153 io 0x62 = 0xa20
154 io 0x64 = 0xa30
155 irq 0xf0 = 0x00
156 irq 0xf1 = 0x00
157 irq 0xf2 = 0x00
158 irq 0xf3 = 0x00
159 irq 0xf4 = 0x00
160 irq 0xf5 = 0x00
161 irq 0xf6 = 0x22
162 irq 0xf7 = 0x00
163 irq 0xf8 = 0x00
164 irq 0xf9 = 0x00
165 irq 0xfa = 0x00
166 irq 0xfb = 0x00
167 irq 0xfd = 0x00
168 irq 0xfe = 0x00
169 end
170 device pnp 2e.a on # CIR
171 io 0x60 = 0x3e0
172 irq 0x70 = 0x0a
173 irq 0xf0 = 0x00
174 end
175 end
176 end
177 device pci 1f.1 off end # PATA/IDE
178 device pci 1f.2 on # SATA
179 subsystemid 0x105b 0x0dda
180 end
181 device pci 1f.3 on # SMbus
182 subsystemid 0x105b 0x0dda
183 end
184 device pci 1f.4 off end
185 device pci 1f.5 off end
186 device pci 1f.6 off end
187 end
188 end
189end