blob: 2dc9f4535d959d68983c4e34d82e6a3561f63313 [file] [log] [blame]
Sven Schnelled8129f92011-04-20 09:12:17 +00001##
2## This file is part of the coreboot project.
3##
4## Copyright (C) 2007-2009 coresystems GmbH
5## Copyright (C) 2011 Sven Schnelle <svens@stackframe.org>
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
10## the License.
11##
12## This program is distributed in the hope that it will be useful,
13## but WITHOUT ANY WARRANTY; without even the implied warranty of
14## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15## GNU General Public License for more details.
16##
Sven Schnelled8129f92011-04-20 09:12:17 +000017
18chip northbridge/intel/i945
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +010019 # IGD Displays
20 register "gfx.ndid" = "3"
21 register "gfx.did" = "{ 0x80000100, 0x80000240, 0x80000410, 0x80000410, 0x00000005 }"
Sven Schnelled8129f92011-04-20 09:12:17 +000022
Vladimir Serbinenko26fc5442014-03-04 18:08:26 +010023 register "gpu_hotplug" = "0x00000220"
24 register "gpu_lvds_use_spread_spectrum_clock" = "1"
25 register "gpu_backlight" = "0x1280128"
26
Stefan Reinauer0aa37c42013-02-12 15:20:54 -080027 device cpu_cluster 0 on
Sven Schnelled8129f92011-04-20 09:12:17 +000028 chip cpu/intel/socket_mFCPGA478
29 device lapic 0 on end
30 end
31 end
32
Stefan Reinauer4aff4452013-02-12 14:17:15 -080033 device domain 0 on
Sven Schnelled8129f92011-04-20 09:12:17 +000034 device pci 00.0 on # Host bridge
35 subsystemid 0x17aa 0x2015
36 end
37 device pci 01.0 on # PCI-e
38 device pci 00.0 on # VGA
39 subsystemid 0x17aa 0x20a4
40 end
41 end
42
43 device pci 02.0 on # GMA Graphics controller
44 subsystemid 0x17aa 0x201a
45 end
46 device pci 02.1 on # display controller
47 subsystemid 0x17aa 0x201a
48 end
49
50 chip southbridge/intel/i82801gx
51 register "pirqa_routing" = "0x0b"
52 register "pirqb_routing" = "0x0b"
53 register "pirqc_routing" = "0x0b"
54 register "pirqd_routing" = "0x0b"
55 register "pirqe_routing" = "0x0b"
56 register "pirqf_routing" = "0x0b"
57 register "pirqg_routing" = "0x0b"
58 register "pirqh_routing" = "0x0b"
59
60 # GPI routing
61 # 0 No effect (default)
62 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
63 # 2 SCI (if corresponding GPIO_EN bit is also set)
64 register "gpi13_routing" = "2"
65 register "gpi12_routing" = "2"
66 register "gpi8_routing" = "2"
67
Sven Schnellee572ef62011-10-27 13:10:14 +020068 register "sata_ahci" = "0x1"
69 register "sata_ports_implemented" = "0x01"
Sven Schnelled8129f92011-04-20 09:12:17 +000070
71 register "gpe0_en" = "0x11000006"
Sven Schnelle61cd5bf2011-06-23 19:12:25 +020072 register "alt_gp_smi_en" = "0x1000"
Sven Schnelled8129f92011-04-20 09:12:17 +000073
Sven Schnelled2bc1172011-10-23 16:36:22 +020074 register "c4onc3_enable" = "1"
Vladimir Serbinenkoab83ef02014-10-25 15:18:25 +020075 register "c3_latency" = "0x23"
76 register "docking_supported" = "1"
77 register "p_cnt_throttling_supported" = "1"
Sven Schnelled2bc1172011-10-23 16:36:22 +020078
Paul Menzel68eff4f2014-03-03 09:18:18 +010079 device pci 1b.0 on # Audio Controller
Sven Schnelled8129f92011-04-20 09:12:17 +000080 subsystemid 0x17aa 0x2010
81 end
82 device pci 1c.0 on # Ethernet
83 subsystemid 0x17aa 0x2001
84 end
85 device pci 1c.1 on end # WLAN
86 device pci 1d.0 on # USB UHCI
87 subsystemid 0x17aa 0x200a
88 end
89 device pci 1d.1 on # USB UHCI
90 subsystemid 0x17aa 0x200a
91 end
92 device pci 1d.2 on # USB UHCI
93 subsystemid 0x17aa 0x200a
94 end
95 device pci 1d.3 on # USB UHCI
96 subsystemid 0x17aa 0x200a
97 end
98 device pci 1d.7 on # USB2 EHCI
99 subsystemid 0x17aa 0x200b
100 end
101 device pci 1e.0 on # PCI Bridge
102 chip southbridge/ti/pci1x2x
103 device pci 00.0 on
104 subsystemid 0x17aa 0x2012
105 end
106 register "scr" = "0x0844d070"
107 register "mrr" = "0x01d01002"
108
109 end
110 end
111 device pci 1f.0 on # PCI-LPC bridge
112 subsystemid 0x17aa 0x2009
113 chip ec/lenovo/pmh7
114 device pnp ff.1 on # dummy
115 end
116
117 register "backlight_enable" = "0x01"
118 register "dock_event_enable" = "0x01"
119 end
120 chip ec/lenovo/h8
121 device pnp ff.2 on # dummy
122 io 0x60 = 0x62
123 io 0x62 = 0x66
124 io 0x64 = 0x1600
125 io 0x66 = 0x1604
126 end
127
128
129 register "config0" = "0xa6"
130 register "config1" = "0x05"
131 register "config2" = "0xa0"
Sven Schnelle14c93ec2011-07-11 14:58:48 +0200132 register "config3" = "0x01"
Sven Schnelled8129f92011-04-20 09:12:17 +0000133
134 register "beepmask0" = "0xfe"
135 register "beepmask1" = "0x96"
Vladimir Serbinenko9a3b9c42014-01-11 20:56:47 +0100136 register "has_power_management_beeps" = "1"
Sven Schnelled8129f92011-04-20 09:12:17 +0000137
138 register "event2_enable" = "0xff"
139 register "event3_enable" = "0xff"
140 register "event4_enable" = "0xf4"
Sven Schnelle8c17a632011-06-23 11:59:48 +0200141 register "event5_enable" = "0x3f"
Sven Schnelled8129f92011-04-20 09:12:17 +0000142 register "event6_enable" = "0x80"
Sven Schnelle8c17a632011-06-23 11:59:48 +0200143 register "event7_enable" = "0x01"
144 register "event8_enable" = "0x01"
145 register "event9_enable" = "0xff"
Sven Schnellef8aa1852011-06-23 13:41:55 +0200146 register "eventa_enable" = "0xff"
147 register "eventb_enable" = "0xff"
Sven Schnelle95ebe662011-04-28 09:29:06 +0000148 register "eventc_enable" = "0x3c"
Vladimir Serbinenkoecbfa282014-12-06 21:44:30 +0100149 register "eventd_enable" = "0xff"
Sven Schnelled8129f92011-04-20 09:12:17 +0000150
Sven Schnelled8129f92011-04-20 09:12:17 +0000151 end
152 chip superio/nsc/pc87382
153 device pnp 164e.2 on # IR
154 io 0x60 = 0x2f8
155 end
156
157 device pnp 164e.3 off # Serial Port
158 io 0x60 = 0x3f8
159 end
160
161 device pnp 164e.7 on # GPIO
162 io 0x60 = 0x1680
163 end
164
165 device pnp 164e.19 on # DLPC
166 io 0x60 = 0x164c
167 end
168 end
169
170 chip superio/nsc/pc87384
171 device pnp 2e.0 off #FDC
172 end
173
174 device pnp 2e.1 on # Parallel Port
175 io 0x60 = 0x3bc
176 irq 0x70 = 7
177 end
178
179 device pnp 2e.2 off # Serial Port / IR
180 io 0x60 = 0x2f8
181 irq 0x70 = 4
182 end
183
184 device pnp 2e.3 on # Serial Port
185 io 0x60 = 0x3f8
186 irq 0x70 = 4
187 end
188
189 device pnp 2e.7 on # GPIO
190 io 0x60 = 0x1620
191 end
192
193 device pnp 2e.a off # WDT
194 end
195 end
196 end
Sven Schnelleedabf542011-04-27 19:47:49 +0000197 device pci 1f.1 on # IDE
Sven Schnelled8129f92011-04-20 09:12:17 +0000198 subsystemid 0x17aa 0x200c
199 end
200 device pci 1f.2 on # SATA
201 subsystemid 0x17aa 0x200d
202 end
203 device pci 1f.3 on # SMBUS
204 subsystemid 0x17aa 0x200f
Sven Schnellefe40c502011-10-23 15:54:31 +0200205 chip drivers/ics/954309
206 register "reg0" = "0x2e"
207 register "reg1" = "0xf7"
208 register "reg2" = "0x3c"
209 register "reg3" = "0x20"
210 register "reg4" = "0x01"
211 register "reg5" = "0x00"
212 register "reg6" = "0x1b"
213 register "reg7" = "0x01"
214 register "reg8" = "0x54"
215 register "reg9" = "0xff"
216 register "reg10" = "0xff"
217 register "reg11" = "0x07"
218 device i2c 69 on end
219 end
Vladimir Serbinenko62adc4c2014-01-23 09:06:08 +0100220 # eeprom, 8 virtual devices, same chip
221 chip drivers/i2c/at24rf08c
222 device i2c 54 on end
223 device i2c 55 on end
224 device i2c 56 on end
225 device i2c 57 on end
226 device i2c 5c on end
227 device i2c 5d on end
228 device i2c 5e on end
229 device i2c 5f on end
230 end
Sven Schnelled8129f92011-04-20 09:12:17 +0000231 end
232 end
233 end
234end