blob: f66455bcced185dd894910353b2e7e1ad3effd93 [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
Arthur Heymans885c2892016-10-03 17:16:48 +020033 register "pci_mmio_size" = "768"
34
Stefan Reinauer4aff4452013-02-12 14:17:15 -080035 device domain 0 on
Sven Schnelled8129f92011-04-20 09:12:17 +000036 device pci 00.0 on # Host bridge
37 subsystemid 0x17aa 0x2015
38 end
39 device pci 01.0 on # PCI-e
40 device pci 00.0 on # VGA
41 subsystemid 0x17aa 0x20a4
42 end
43 end
44
45 device pci 02.0 on # GMA Graphics controller
46 subsystemid 0x17aa 0x201a
47 end
48 device pci 02.1 on # display controller
49 subsystemid 0x17aa 0x201a
50 end
51
52 chip southbridge/intel/i82801gx
53 register "pirqa_routing" = "0x0b"
54 register "pirqb_routing" = "0x0b"
55 register "pirqc_routing" = "0x0b"
56 register "pirqd_routing" = "0x0b"
57 register "pirqe_routing" = "0x0b"
58 register "pirqf_routing" = "0x0b"
59 register "pirqg_routing" = "0x0b"
60 register "pirqh_routing" = "0x0b"
61
62 # GPI routing
63 # 0 No effect (default)
64 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
65 # 2 SCI (if corresponding GPIO_EN bit is also set)
66 register "gpi13_routing" = "2"
67 register "gpi12_routing" = "2"
68 register "gpi8_routing" = "2"
69
Sven Schnellee572ef62011-10-27 13:10:14 +020070 register "sata_ahci" = "0x1"
71 register "sata_ports_implemented" = "0x01"
Sven Schnelled8129f92011-04-20 09:12:17 +000072
73 register "gpe0_en" = "0x11000006"
Sven Schnelle61cd5bf2011-06-23 19:12:25 +020074 register "alt_gp_smi_en" = "0x1000"
Sven Schnelled8129f92011-04-20 09:12:17 +000075
Sven Schnelled2bc1172011-10-23 16:36:22 +020076 register "c4onc3_enable" = "1"
Vladimir Serbinenkoab83ef02014-10-25 15:18:25 +020077 register "c3_latency" = "0x23"
78 register "docking_supported" = "1"
79 register "p_cnt_throttling_supported" = "1"
Sven Schnelled2bc1172011-10-23 16:36:22 +020080
Paul Menzel68eff4f2014-03-03 09:18:18 +010081 device pci 1b.0 on # Audio Controller
Sven Schnelled8129f92011-04-20 09:12:17 +000082 subsystemid 0x17aa 0x2010
83 end
84 device pci 1c.0 on # Ethernet
85 subsystemid 0x17aa 0x2001
86 end
87 device pci 1c.1 on end # WLAN
88 device pci 1d.0 on # USB UHCI
89 subsystemid 0x17aa 0x200a
90 end
91 device pci 1d.1 on # USB UHCI
92 subsystemid 0x17aa 0x200a
93 end
94 device pci 1d.2 on # USB UHCI
95 subsystemid 0x17aa 0x200a
96 end
97 device pci 1d.3 on # USB UHCI
98 subsystemid 0x17aa 0x200a
99 end
100 device pci 1d.7 on # USB2 EHCI
101 subsystemid 0x17aa 0x200b
102 end
103 device pci 1e.0 on # PCI Bridge
104 chip southbridge/ti/pci1x2x
105 device pci 00.0 on
106 subsystemid 0x17aa 0x2012
107 end
108 register "scr" = "0x0844d070"
109 register "mrr" = "0x01d01002"
110
111 end
112 end
113 device pci 1f.0 on # PCI-LPC bridge
114 subsystemid 0x17aa 0x2009
115 chip ec/lenovo/pmh7
116 device pnp ff.1 on # dummy
117 end
118
119 register "backlight_enable" = "0x01"
120 register "dock_event_enable" = "0x01"
121 end
122 chip ec/lenovo/h8
123 device pnp ff.2 on # dummy
124 io 0x60 = 0x62
125 io 0x62 = 0x66
126 io 0x64 = 0x1600
127 io 0x66 = 0x1604
128 end
129
130
131 register "config0" = "0xa6"
132 register "config1" = "0x05"
133 register "config2" = "0xa0"
Sven Schnelle14c93ec2011-07-11 14:58:48 +0200134 register "config3" = "0x01"
Sven Schnelled8129f92011-04-20 09:12:17 +0000135
136 register "beepmask0" = "0xfe"
137 register "beepmask1" = "0x96"
Vladimir Serbinenko9a3b9c42014-01-11 20:56:47 +0100138 register "has_power_management_beeps" = "1"
Sven Schnelled8129f92011-04-20 09:12:17 +0000139
140 register "event2_enable" = "0xff"
141 register "event3_enable" = "0xff"
142 register "event4_enable" = "0xf4"
Sven Schnelle8c17a632011-06-23 11:59:48 +0200143 register "event5_enable" = "0x3f"
Sven Schnelled8129f92011-04-20 09:12:17 +0000144 register "event6_enable" = "0x80"
Sven Schnelle8c17a632011-06-23 11:59:48 +0200145 register "event7_enable" = "0x01"
146 register "event8_enable" = "0x01"
147 register "event9_enable" = "0xff"
Sven Schnellef8aa1852011-06-23 13:41:55 +0200148 register "eventa_enable" = "0xff"
149 register "eventb_enable" = "0xff"
Sven Schnelle95ebe662011-04-28 09:29:06 +0000150 register "eventc_enable" = "0x3c"
Vladimir Serbinenkoecbfa282014-12-06 21:44:30 +0100151 register "eventd_enable" = "0xff"
Sven Schnelled8129f92011-04-20 09:12:17 +0000152
Sven Schnelled8129f92011-04-20 09:12:17 +0000153 end
154 chip superio/nsc/pc87382
155 device pnp 164e.2 on # IR
156 io 0x60 = 0x2f8
157 end
158
159 device pnp 164e.3 off # Serial Port
160 io 0x60 = 0x3f8
161 end
162
163 device pnp 164e.7 on # GPIO
164 io 0x60 = 0x1680
165 end
166
167 device pnp 164e.19 on # DLPC
168 io 0x60 = 0x164c
169 end
170 end
171
172 chip superio/nsc/pc87384
173 device pnp 2e.0 off #FDC
174 end
175
176 device pnp 2e.1 on # Parallel Port
177 io 0x60 = 0x3bc
178 irq 0x70 = 7
179 end
180
181 device pnp 2e.2 off # Serial Port / IR
182 io 0x60 = 0x2f8
183 irq 0x70 = 4
184 end
185
186 device pnp 2e.3 on # Serial Port
187 io 0x60 = 0x3f8
188 irq 0x70 = 4
189 end
190
191 device pnp 2e.7 on # GPIO
192 io 0x60 = 0x1620
193 end
194
195 device pnp 2e.a off # WDT
196 end
197 end
198 end
Sven Schnelleedabf542011-04-27 19:47:49 +0000199 device pci 1f.1 on # IDE
Sven Schnelled8129f92011-04-20 09:12:17 +0000200 subsystemid 0x17aa 0x200c
201 end
202 device pci 1f.2 on # SATA
203 subsystemid 0x17aa 0x200d
204 end
205 device pci 1f.3 on # SMBUS
206 subsystemid 0x17aa 0x200f
Sven Schnellefe40c502011-10-23 15:54:31 +0200207 chip drivers/ics/954309
208 register "reg0" = "0x2e"
209 register "reg1" = "0xf7"
210 register "reg2" = "0x3c"
211 register "reg3" = "0x20"
212 register "reg4" = "0x01"
213 register "reg5" = "0x00"
214 register "reg6" = "0x1b"
215 register "reg7" = "0x01"
216 register "reg8" = "0x54"
217 register "reg9" = "0xff"
218 register "reg10" = "0xff"
219 register "reg11" = "0x07"
220 device i2c 69 on end
221 end
Vladimir Serbinenko62adc4c2014-01-23 09:06:08 +0100222 # eeprom, 8 virtual devices, same chip
223 chip drivers/i2c/at24rf08c
224 device i2c 54 on end
225 device i2c 55 on end
226 device i2c 56 on end
227 device i2c 57 on end
228 device i2c 5c on end
229 device i2c 5d on end
230 device i2c 5e on end
231 device i2c 5f on end
232 end
Sven Schnelled8129f92011-04-20 09:12:17 +0000233 end
234 end
235 end
236end