blob: 55e0b2d4990dd52217fdc53eeba3fe59d2d5b1d8 [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##
17## You should have received a copy of the GNU General Public License
18## along with this program; if not, write to the Free Software
19## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
20## MA 02110-1301 USA
21##
22
23chip northbridge/intel/i945
24
Sven Schnelle91321022011-03-01 19:58:47 +000025 device lapic_cluster 0 on
26 chip cpu/intel/socket_mFCPGA478
27 device lapic 0 on end
28 end
29 end
Sven Schnellee2ca71e2011-02-14 20:02:47 +000030
Sven Schnelle91321022011-03-01 19:58:47 +000031 device pci_domain 0 on
32 device pci 00.0 on # Host bridge
33 subsystemid 0x17aa 0x2017
34 end
35 device pci 02.0 on # VGA controller
36 subsystemid 0x17aa 0x201a
37 end
38 device pci 02.1 on # display controller
39 subsystemid 0x17aa 0x201a
40 end
41 chip southbridge/intel/i82801gx
Sven Schnellee2ca71e2011-02-14 20:02:47 +000042 register "pirqa_routing" = "0x0b"
43 register "pirqb_routing" = "0x0b"
44 register "pirqc_routing" = "0x0b"
45 register "pirqd_routing" = "0x0b"
46 register "pirqe_routing" = "0x0b"
47 register "pirqf_routing" = "0x0b"
48 register "pirqg_routing" = "0x0b"
49 register "pirqh_routing" = "0x0b"
50
51 # GPI routing
52 # 0 No effect (default)
53 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
54 # 2 SCI (if corresponding GPIO_EN bit is also set)
Sven Schnelle91321022011-03-01 19:58:47 +000055 register "gpi13_routing" = "2"
Sven Schnelle8b39e072011-06-12 16:49:13 +020056 register "gpi12_routing" = "1"
Sven Schnelle91321022011-03-01 19:58:47 +000057 register "gpi8_routing" = "2"
Sven Schnellee2ca71e2011-02-14 20:02:47 +000058
Sven Schnelle91321022011-03-01 19:58:47 +000059 register "sata_ahci" = "0x0"
Sven Schnellee2ca71e2011-02-14 20:02:47 +000060
61 register "gpe0_en" = "0x11000006"
Sven Schnelle8b39e072011-06-12 16:49:13 +020062 register "alt_gp_smi_en" = "0x1000"
Sven Schnelle91321022011-03-01 19:58:47 +000063 device pci 1b.0 on # Audio Cnotroller
64 subsystemid 0x17aa 0x2010
65 end
Sven Schnellee2ca71e2011-02-14 20:02:47 +000066 device pci 1c.0 on end # Ethernet
67 device pci 1c.1 on end # Atheros WLAN
Sven Schnelle91321022011-03-01 19:58:47 +000068 device pci 1d.0 on # USB UHCI
69 subsystemid 0x17aa 0x200a
70 end
71 device pci 1d.1 on # USB UHCI
72 subsystemid 0x17aa 0x200a
73 end
74 device pci 1d.2 on # USB UHCI
75 subsystemid 0x17aa 0x200a
76 end
77 device pci 1d.3 on # USB UHCI
78 subsystemid 0x17aa 0x200a
79 end
80 device pci 1d.7 on # USB2 EHCI
81 subsystemid 0x17aa 0x200b
82 end
Sven Schnellee2ca71e2011-02-14 20:02:47 +000083 device pci 1f.0 on # PCI-LPC bridge
Sven Schnelle91321022011-03-01 19:58:47 +000084 subsystemid 0x17aa 0x2009
Sven Schnellee2ca71e2011-02-14 20:02:47 +000085 chip ec/lenovo/pmh7
86 device pnp ff.1 on # dummy
87 end
Sven Schnelle1fa61eb2011-04-11 19:43:50 +000088 register "backlight_enable" = "0x01"
Sven Schnelle8d0b86c2011-07-11 18:36:16 +020089 register "dock_event_enable" = "0x01"
Sven Schnellee2ca71e2011-02-14 20:02:47 +000090 end
Sven Schnelleffcd1432011-04-11 19:43:32 +000091 chip ec/lenovo/h8
Sven Schnellee2ca71e2011-02-14 20:02:47 +000092 device pnp ff.2 on # dummy
93 io 0x60 = 0x62
94 io 0x62 = 0x66
95 io 0x64 = 0x1600
96 io 0x66 = 0x1604
97 end
Sven Schnelleffcd1432011-04-11 19:43:32 +000098
99 register "config0" = "0xa6"
100 register "config1" = "0x05"
101 register "config2" = "0xa0"
Sven Schnelle8d0b86c2011-07-11 18:36:16 +0200102 register "config3" = "0x01"
Sven Schnelleffcd1432011-04-11 19:43:32 +0000103
104 register "beepmask0" = "0xfe"
105 register "beepmask1" = "0x96"
106
107 register "event2_enable" = "0xff"
108 register "event3_enable" = "0xff"
109 register "event4_enable" = "0xf4"
110 register "event5_enable" = "0x3c"
Sven Schnelle8d0b86c2011-07-11 18:36:16 +0200111 register "event6_enable" = "0x80"
112 register "event7_enable" = "0x01"
Sven Schnelle95ebe662011-04-28 09:29:06 +0000113 register "eventc_enable" = "0x3c"
Sven Schnelle8d0b86c2011-07-11 18:36:16 +0200114 register "event8_enable" = "0x01"
115 register "event9_enable" = "0xff"
116 register "eventa_enable" = "0xff"
117 register "eventb_enable" = "0xff"
118 register "eventc_enable" = "0xff"
119 register "eventd_enable" = "0xff"
Sven Schnelleffcd1432011-04-11 19:43:32 +0000120
121 register "wlan_enable" = "0x01"
122 register "trackpoint_enable" = "0x03"
Sven Schnellee2ca71e2011-02-14 20:02:47 +0000123 end
124 chip superio/nsc/pc87382
125 device pnp 164e.2 on # IR
126 io 0x60 = 0x2f8
127 end
128
129 device pnp 164e.3 off # Serial Port
130 io 0x60 = 0x3f8
131 end
132
133 device pnp 164e.7 on # GPIO
134 io 0x60 = 0x1680
135 end
136
137 device pnp 164e.19 on # DLPC
138 io 0x60 = 0x164c
139 end
140 end
141
142 chip superio/nsc/pc87392
143 device pnp 2e.0 off #FDC
144 end
145
146 device pnp 2e.1 on # Parallel Port
147 io 0x60 = 0x3bc
148 irq 0x70 = 7
149 end
150
151 device pnp 2e.2 off # Serial Port / IR
152 io 0x60 = 0x2f8
153 irq 0x70 = 4
154 end
155
156 device pnp 2e.3 on # Serial Port
157 io 0x60 = 0x3f8
158 irq 0x70 = 4
159 end
160
161 device pnp 2e.7 on # GPIO
162 io 0x60 = 0x1620
163 end
164
165 device pnp 2e.a off # WDT
166 end
167 end
168 end
Sven Schnelle50270b82011-04-27 19:48:05 +0000169 device pci 1f.1 on # IDE
Sven Schnelle91321022011-03-01 19:58:47 +0000170 subsystemid 0x17aa 0x200c
171 end
172 device pci 1f.2 on # SATA
173 subsystemid 0x17aa 0x200d
174 end
175 device pci 1f.3 on # SMBUS
176 subsystemid 0x17aa 0x200f
177 end
Sven Schnellee2ca71e2011-02-14 20:02:47 +0000178 end
179 chip southbridge/ricoh/rl5c476
180 end
181 end
182end