blob: 1db5bf055ed1ac4cff66126416f604cf44bf7c21 [file] [log] [blame]
Vladimir Serbinenko9bf05de2013-11-14 19:11:19 +01001##
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/nehalem
24
25
26 # Enable DisplayPort Hotplug with 6ms pulse
27 register "gpu_dp_d_hotplug" = "0x06"
28
29 # Enable Panel as LVDS and configure power delays
30 register "gpu_panel_port_select" = "0" # LVDS
31 register "gpu_panel_power_cycle_delay" = "3"
32 register "gpu_panel_power_up_delay" = "250"
33 register "gpu_panel_power_down_delay" = "250"
34 register "gpu_panel_power_backlight_on_delay" = "2500"
35 register "gpu_panel_power_backlight_off_delay" = "2500"
36 register "gpu_cpu_backlight" = "0x58d"
37 register "gpu_pch_backlight" = "0x061a061a"
Vladimir Serbinenko13157302014-02-19 22:18:08 +010038 register "gpu_use_spread_spectrum_clock" = "1"
39 register "gpu_lvds_dual_channel" = "0"
40 register "gpu_link_frequency_270_mhz" = "1"
41 register "gpu_lvds_num_lanes" = "4"
Vladimir Serbinenko9bf05de2013-11-14 19:11:19 +010042
43 chip ec/lenovo/pmh7
44 device pnp ff.1 on # dummy
45 end
46 register "backlight_enable" = "0x01"
47 register "dock_event_enable" = "0x01"
48 end
49
50 chip ec/lenovo/h8
51 device pnp ff.2 on # dummy
52 io 0x60 = 0x62
53 io 0x62 = 0x66
54 io 0x64 = 0x1600
55 io 0x66 = 0x1604
56 end
57
58 register "config0" = "0xa6"
59 register "config1" = "0x05"
60 register "config2" = "0xa0"
61 register "config3" = "0x01"
62
63 register "beepmask0" = "0xfe"
64 register "beepmask1" = "0x96"
Vladimir Serbinenko9a3b9c42014-01-11 20:56:47 +010065 register "has_power_management_beeps" = "1"
Vladimir Serbinenko9bf05de2013-11-14 19:11:19 +010066
67 register "event2_enable" = "0xff"
68 register "event3_enable" = "0xff"
69 register "event4_enable" = "0xf4"
70 register "event5_enable" = "0x3c"
71 register "event6_enable" = "0x80"
72 register "event7_enable" = "0x01"
73 register "eventc_enable" = "0x3c"
74 register "event8_enable" = "0x01"
75 register "event9_enable" = "0xff"
76 register "eventa_enable" = "0xff"
77 register "eventb_enable" = "0xff"
78 register "eventc_enable" = "0xff"
79 register "eventd_enable" = "0xff"
Vladimir Serbinenko9bf05de2013-11-14 19:11:19 +010080 end
81
82 device cpu_cluster 0 on
Vladimir Serbinenko6c3413a2014-02-16 18:03:45 +010083 chip cpu/intel/model_2065x
Vladimir Serbinenko9bf05de2013-11-14 19:11:19 +010084 device lapic 0 on end
85 end
86 end
87
88 device domain 0 on
89 device pci 00.0 on # Host bridge
90 subsystemid 0x17aa 0x2193
91 end
92 device pci 02.0 on # VGA controller
93 subsystemid 0x17aa 0x215a
94 end
95 chip southbridge/intel/ibexpeak
96 register "pirqa_routing" = "0x0b"
97 register "pirqb_routing" = "0x0b"
98 register "pirqc_routing" = "0x0b"
99 register "pirqd_routing" = "0x0b"
100 register "pirqe_routing" = "0x0b"
101 register "pirqf_routing" = "0x0b"
102 register "pirqg_routing" = "0x0b"
103 register "pirqh_routing" = "0x0b"
104
105 # GPI routing
106 # 0 No effect (default)
107 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
108 # 2 SCI (if corresponding GPIO_EN bit is also set)
109 register "gpi1_routing" = "2"
110 register "gpi13_routing" = "2"
111
Vladimir Serbinenko9bf05de2013-11-14 19:11:19 +0100112 register "sata_port_map" = "0x33"
113
114 register "gpe0_en" = "0x20022046"
115 register "alt_gp_smi_en" = "0x0000"
Vladimir Serbinenkocc16ffc2014-01-11 05:48:17 +0100116 register "gen1_dec" = "0x7c1601"
117 register "gen2_dec" = "0x0c15e1"
118 register "gen3_dec" = "0x1c1681"
119 register "gen4_dec" = "0x040069"
Vladimir Serbinenko9bf05de2013-11-14 19:11:19 +0100120
121 device pci 16.2 on # IDE/SATA
122 subsystemid 0x17aa 0x2161
123 end
124
125 device pci 19.0 on # Ethernet
126 subsystemid 0x17aa 0x2153
127 end
128
129 device pci 1a.0 on # USB2 EHCI
130 subsystemid 0x17aa 0x2163
131 end
132
133 device pci 1b.0 on # Audio Controller
134 subsystemid 0x17aa 0x215e
135 end
Vladimir Serbinenko4c8b1ee2014-01-10 19:30:54 +0100136
137 device pci 1c.0 on end # PCIe Port #1
138 device pci 1c.3 on end # PCIe Port #4 (Expresscard)
139 device pci 1c.4 on end # PCIe Port #4 (wlan)
140
Vladimir Serbinenko9bf05de2013-11-14 19:11:19 +0100141 device pci 1d.0 on # USB2 EHCI
142 subsystemid 0x17aa 0x2163
143 end
144 device pci 1f.0 on # PCI-LPC bridge
145 subsystemid 0x17aa 0x2166
Vladimir Serbinenkof2b3cd62014-02-15 17:00:46 +0100146 chip superio/nsc/pc87382
147 device pnp 164e.3 on # Digitizer
148 io 0x60 = 0x200
149 irq 0x29 = 0xb0
150 irq 0x70 = 0x5
151 irq 0xf0 = 0x82
152 end
153 # IR, not connected
154 device pnp 164e.2 off end
155 # GPIO, not connected
156 device pnp 164e.7 off end
157 # DLPC, not connected
158 device pnp 164e.19 off end
159 end
Vladimir Serbinenko9bf05de2013-11-14 19:11:19 +0100160 end
161 device pci 1f.2 on # IDE/SATA
162 subsystemid 0x17aa 0x2168
163 end
164 device pci 1f.3 on # SMBUS
165 subsystemid 0x17aa 0x2167
Vladimir Serbinenko62adc4c2014-01-23 09:06:08 +0100166 # eeprom, 8 virtual devices, same chip
167 chip drivers/i2c/at24rf08c
168 device i2c 54 on end
169 device i2c 55 on end
170 device i2c 56 on end
171 device i2c 57 on end
172 device i2c 5c on end
173 device i2c 5d on end
174 device i2c 5e on end
175 device i2c 5f on end
176 end
Vladimir Serbinenko9bf05de2013-11-14 19:11:19 +0100177 end
178 end
179 end
180end