blob: f45fadfc8bb22cbdf2415e100b780eae96dfa451 [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"
38
39 chip ec/lenovo/pmh7
40 device pnp ff.1 on # dummy
41 end
42 register "backlight_enable" = "0x01"
43 register "dock_event_enable" = "0x01"
44 end
45
46 chip ec/lenovo/h8
47 device pnp ff.2 on # dummy
48 io 0x60 = 0x62
49 io 0x62 = 0x66
50 io 0x64 = 0x1600
51 io 0x66 = 0x1604
52 end
53
54 register "config0" = "0xa6"
55 register "config1" = "0x05"
56 register "config2" = "0xa0"
57 register "config3" = "0x01"
58
59 register "beepmask0" = "0xfe"
60 register "beepmask1" = "0x96"
Vladimir Serbinenko9a3b9c42014-01-11 20:56:47 +010061 register "has_power_management_beeps" = "1"
Vladimir Serbinenko9bf05de2013-11-14 19:11:19 +010062
63 register "event2_enable" = "0xff"
64 register "event3_enable" = "0xff"
65 register "event4_enable" = "0xf4"
66 register "event5_enable" = "0x3c"
67 register "event6_enable" = "0x80"
68 register "event7_enable" = "0x01"
69 register "eventc_enable" = "0x3c"
70 register "event8_enable" = "0x01"
71 register "event9_enable" = "0xff"
72 register "eventa_enable" = "0xff"
73 register "eventb_enable" = "0xff"
74 register "eventc_enable" = "0xff"
75 register "eventd_enable" = "0xff"
Vladimir Serbinenko9bf05de2013-11-14 19:11:19 +010076 end
77
78 device cpu_cluster 0 on
79 chip cpu/intel/model_206ax
80 device lapic 0 on end
81 end
82 end
83
84 device domain 0 on
85 device pci 00.0 on # Host bridge
86 subsystemid 0x17aa 0x2193
87 end
88 device pci 02.0 on # VGA controller
89 subsystemid 0x17aa 0x215a
90 end
91 chip southbridge/intel/ibexpeak
92 register "pirqa_routing" = "0x0b"
93 register "pirqb_routing" = "0x0b"
94 register "pirqc_routing" = "0x0b"
95 register "pirqd_routing" = "0x0b"
96 register "pirqe_routing" = "0x0b"
97 register "pirqf_routing" = "0x0b"
98 register "pirqg_routing" = "0x0b"
99 register "pirqh_routing" = "0x0b"
100
101 # GPI routing
102 # 0 No effect (default)
103 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
104 # 2 SCI (if corresponding GPIO_EN bit is also set)
105 register "gpi1_routing" = "2"
106 register "gpi13_routing" = "2"
107
Vladimir Serbinenko9bf05de2013-11-14 19:11:19 +0100108 register "sata_port_map" = "0x33"
109
110 register "gpe0_en" = "0x20022046"
111 register "alt_gp_smi_en" = "0x0000"
Vladimir Serbinenkocc16ffc2014-01-11 05:48:17 +0100112 register "gen1_dec" = "0x7c1601"
113 register "gen2_dec" = "0x0c15e1"
114 register "gen3_dec" = "0x1c1681"
115 register "gen4_dec" = "0x040069"
Vladimir Serbinenko9bf05de2013-11-14 19:11:19 +0100116
117 device pci 16.2 on # IDE/SATA
118 subsystemid 0x17aa 0x2161
119 end
120
121 device pci 19.0 on # Ethernet
122 subsystemid 0x17aa 0x2153
123 end
124
125 device pci 1a.0 on # USB2 EHCI
126 subsystemid 0x17aa 0x2163
127 end
128
129 device pci 1b.0 on # Audio Controller
130 subsystemid 0x17aa 0x215e
131 end
132 device pci 1d.0 on # USB2 EHCI
133 subsystemid 0x17aa 0x2163
134 end
135 device pci 1f.0 on # PCI-LPC bridge
136 subsystemid 0x17aa 0x2166
137 end
138 device pci 1f.2 on # IDE/SATA
139 subsystemid 0x17aa 0x2168
140 end
141 device pci 1f.3 on # SMBUS
142 subsystemid 0x17aa 0x2167
143 end
144 end
145 end
146end