blob: 1a914fd00927bb07b07a4381db90f2bf94ad7b3c [file] [log] [blame]
Sven Schnellee2ca71e2011-02-14 20:02:47 +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 Schnellee2ca71e2011-02-14 20:02:47 +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 Schnellee2ca71e2011-02-14 20:02:47 +000022
Vladimir Serbinenko26ca08c2014-06-01 00:24:05 +020023 register "gpu_hotplug" = "0x00000220"
24 register "gpu_lvds_use_spread_spectrum_clock" = "1"
Arthur Heymans8e079002017-01-14 22:31:54 +010025 register "pwm_freq" = "180"
26 register "gpu_panel_power_up_delay" = "250"
27 register "gpu_panel_power_backlight_on_delay" = "2380"
28 register "gpu_panel_power_down_delay" = "250"
29 register "gpu_panel_power_backlight_off_delay" = "2380"
30 register "gpu_panel_power_cycle_delay" = "2"
Vladimir Serbinenko26ca08c2014-06-01 00:24:05 +020031
Stefan Reinauer0aa37c42013-02-12 15:20:54 -080032 device cpu_cluster 0 on
Nico Huber4829af12019-02-27 14:23:18 +010033 chip cpu/intel/socket_m
Sven Schnelle91321022011-03-01 19:58:47 +000034 device lapic 0 on end
35 end
36 end
Sven Schnellee2ca71e2011-02-14 20:02:47 +000037
Arthur Heymans885c2892016-10-03 17:16:48 +020038 register "pci_mmio_size" = "768"
39
Stefan Reinauer4aff4452013-02-12 14:17:15 -080040 device domain 0 on
Sven Schnelle91321022011-03-01 19:58:47 +000041 device pci 00.0 on # Host bridge
42 subsystemid 0x17aa 0x2017
43 end
44 device pci 02.0 on # VGA controller
45 subsystemid 0x17aa 0x201a
46 end
47 device pci 02.1 on # display controller
48 subsystemid 0x17aa 0x201a
49 end
50 chip southbridge/intel/i82801gx
Sven Schnellee2ca71e2011-02-14 20:02:47 +000051 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)
Sven Schnelle91321022011-03-01 19:58:47 +000064 register "gpi13_routing" = "2"
Sven Schnelle8b39e072011-06-12 16:49:13 +020065 register "gpi12_routing" = "1"
Sven Schnelle91321022011-03-01 19:58:47 +000066 register "gpi8_routing" = "2"
Sven Schnellee2ca71e2011-02-14 20:02:47 +000067
Sven Schnellee572ef62011-10-27 13:10:14 +020068 register "sata_ports_implemented" = "0x01"
Sven Schnellee2ca71e2011-02-14 20:02:47 +000069
70 register "gpe0_en" = "0x11000006"
Sven Schnelle8b39e072011-06-12 16:49:13 +020071 register "alt_gp_smi_en" = "0x1000"
Sven Schnelle6eb8bef2011-10-23 16:57:50 +020072
73 register "c4onc3_enable" = "1"
Vladimir Serbinenkoab83ef02014-10-25 15:18:25 +020074
75 register "c3_latency" = "0x23"
76 register "docking_supported" = "1"
77 register "p_cnt_throttling_supported" = "1"
78
Arthur Heymansfecf7772019-11-09 14:19:04 +010079 register "gen1_dec" = "0x007c1601"
80 register "gen2_dec" = "0x000c15e1"
81 register "gen3_dec" = "0x001c1681"
82
Paul Menzel68eff4f2014-03-03 09:18:18 +010083 device pci 1b.0 on # Audio Controller
Sven Schnelle91321022011-03-01 19:58:47 +000084 subsystemid 0x17aa 0x2010
85 end
Sven Schnellee2ca71e2011-02-14 20:02:47 +000086 device pci 1c.0 on end # Ethernet
87 device pci 1c.1 on end # Atheros WLAN
Arthur Heymansb9d25892018-06-15 22:02:28 +020088 device pci 1c.2 on end # PCIe port 3
89 device pci 1c.3 on end # PCIe port 4
90 device pci 1c.4 off end # PCIe port 5
91 device pci 1c.5 off end # PCIe port 6
92
Sven Schnelle91321022011-03-01 19:58:47 +000093 device pci 1d.0 on # USB UHCI
94 subsystemid 0x17aa 0x200a
95 end
96 device pci 1d.1 on # USB UHCI
97 subsystemid 0x17aa 0x200a
98 end
99 device pci 1d.2 on # USB UHCI
100 subsystemid 0x17aa 0x200a
101 end
102 device pci 1d.3 on # USB UHCI
103 subsystemid 0x17aa 0x200a
104 end
105 device pci 1d.7 on # USB2 EHCI
106 subsystemid 0x17aa 0x200b
107 end
Arthur Heymansb9d25892018-06-15 22:02:28 +0200108 device pci 1e.0 on end # PCI Bridge
109 device pci 1e.2 off end # AC'97 Audio
110 device pci 1e.3 off end # AC'97 Modem
Sven Schnellee2ca71e2011-02-14 20:02:47 +0000111 device pci 1f.0 on # PCI-LPC bridge
Sven Schnelle91321022011-03-01 19:58:47 +0000112 subsystemid 0x17aa 0x2009
Sven Schnellee2ca71e2011-02-14 20:02:47 +0000113 chip ec/lenovo/pmh7
114 device pnp ff.1 on # dummy
115 end
Sven Schnelle1fa61eb2011-04-11 19:43:50 +0000116 register "backlight_enable" = "0x01"
Sven Schnelle8d0b86c2011-07-11 18:36:16 +0200117 register "dock_event_enable" = "0x01"
Sven Schnellee2ca71e2011-02-14 20:02:47 +0000118 end
Sven Schnelleffcd1432011-04-11 19:43:32 +0000119 chip ec/lenovo/h8
Sven Schnellee2ca71e2011-02-14 20:02:47 +0000120 device pnp ff.2 on # dummy
121 io 0x60 = 0x62
122 io 0x62 = 0x66
123 io 0x64 = 0x1600
124 io 0x66 = 0x1604
125 end
Sven Schnelleffcd1432011-04-11 19:43:32 +0000126
127 register "config0" = "0xa6"
128 register "config1" = "0x05"
129 register "config2" = "0xa0"
Sven Schnelle8d0b86c2011-07-11 18:36:16 +0200130 register "config3" = "0x01"
Sven Schnelleffcd1432011-04-11 19:43:32 +0000131
132 register "beepmask0" = "0xfe"
133 register "beepmask1" = "0x96"
Vladimir Serbinenko9a3b9c42014-01-11 20:56:47 +0100134 register "has_power_management_beeps" = "1"
Sven Schnelleffcd1432011-04-11 19:43:32 +0000135
136 register "event2_enable" = "0xff"
137 register "event3_enable" = "0xff"
138 register "event4_enable" = "0xf4"
139 register "event5_enable" = "0x3c"
Sven Schnelle8d0b86c2011-07-11 18:36:16 +0200140 register "event6_enable" = "0x80"
141 register "event7_enable" = "0x01"
Sven Schnelle8d0b86c2011-07-11 18:36:16 +0200142 register "event8_enable" = "0x01"
143 register "event9_enable" = "0xff"
144 register "eventa_enable" = "0xff"
145 register "eventb_enable" = "0xff"
146 register "eventc_enable" = "0xff"
147 register "eventd_enable" = "0xff"
Patrick Rudolphb77eec82017-05-21 09:20:39 +0200148
149 register "has_bdc_detection" = "1"
150 register "bdc_gpio_num" = "7"
151 register "bdc_gpio_lvl" = "0"
Sven Schnellee2ca71e2011-02-14 20:02:47 +0000152 end
153 chip superio/nsc/pc87382
154 device pnp 164e.2 on # IR
155 io 0x60 = 0x2f8
156 end
157
Vladimir Serbinenkof2b3cd62014-02-15 17:00:46 +0100158 device pnp 164e.3 on # Digitizer
159 io 0x60 = 0x200
160 irq 0x29 = 0xb0
161 irq 0x70 = 0x5
162 irq 0xf0 = 0x82
Sven Schnellee2ca71e2011-02-14 20:02:47 +0000163 end
164
165 device pnp 164e.7 on # GPIO
166 io 0x60 = 0x1680
167 end
168
169 device pnp 164e.19 on # DLPC
170 io 0x60 = 0x164c
171 end
172 end
173
174 chip superio/nsc/pc87392
175 device pnp 2e.0 off #FDC
176 end
177
178 device pnp 2e.1 on # Parallel Port
179 io 0x60 = 0x3bc
180 irq 0x70 = 7
181 end
182
183 device pnp 2e.2 off # Serial Port / IR
184 io 0x60 = 0x2f8
185 irq 0x70 = 4
186 end
187
188 device pnp 2e.3 on # Serial Port
189 io 0x60 = 0x3f8
190 irq 0x70 = 4
191 end
192
193 device pnp 2e.7 on # GPIO
194 io 0x60 = 0x1620
195 end
196
197 device pnp 2e.a off # WDT
198 end
199 end
200 end
Sven Schnelle50270b82011-04-27 19:48:05 +0000201 device pci 1f.1 on # IDE
Sven Schnelle91321022011-03-01 19:58:47 +0000202 subsystemid 0x17aa 0x200c
203 end
204 device pci 1f.2 on # SATA
205 subsystemid 0x17aa 0x200d
206 end
207 device pci 1f.3 on # SMBUS
208 subsystemid 0x17aa 0x200f
Arthur Heymans24231ac2017-06-06 09:46:01 +0200209 chip drivers/i2c/ck505
210 register "mask" = "{ 0xff, 0xff, 0xff,
211 0xff, 0xff, 0xff, 0xff, 0xff,
212 0xff, 0xff, 0xff, 0xff }"
213 register "regs" = "{ 0x2e, 0xf7, 0x3c,
214 0x20, 0x01, 0x00, 0x1b, 0x01,
215 0x54, 0xff, 0xff, 0x07 }"
Sven Schnelle6eb8bef2011-10-23 16:57:50 +0200216 device i2c 69 on end
217 end
Elyes HAOUASb0f19882018-06-09 11:59:00 +0200218 # eeprom, 8 virtual devices, same chip
Vladimir Serbinenko62adc4c2014-01-23 09:06:08 +0100219 chip drivers/i2c/at24rf08c
220 device i2c 54 on end
221 device i2c 55 on end
222 device i2c 56 on end
223 device i2c 57 on end
224 device i2c 5c on end
225 device i2c 5d on end
226 device i2c 5e on end
227 device i2c 5f on end
228 end
Sven Schnelle91321022011-03-01 19:58:47 +0000229 end
Sven Schnellee2ca71e2011-02-14 20:02:47 +0000230 end
231 chip southbridge/ricoh/rl5c476
232 end
233 end
234end