blob: cb4a021135dc7828f29847d05723674e6d0968b9 [file] [log] [blame]
Timothy Pearson4b373c92015-04-05 17:54:08 -05001chip northbridge/intel/gm45
2 # IGD Displays
3 register "gfx.ndid" = "3"
4 register "gfx.did" = "{ 0x80000100, 0x80000240, 0x80000410, 0x80000410, 0x00000005 }"
5
6 register "gfx.use_spread_spectrum_clock" = "1"
7 register "gfx.lvds_dual_channel" = "0"
8 register "gfx.link_frequency_270_mhz" = "1"
9 register "gfx.lvds_num_lanes" = "4"
10
11 device cpu_cluster 0 on
12 chip cpu/intel/socket_BGA956
13 device lapic 0 on end
14 end
15 chip cpu/intel/model_1067x
16 # Magic APIC ID to locate this chip
17 device lapic 0xACAC off end
18
19 # Enable Super LFM
20 register "slfm" = "1"
21
22 # Enable C5, C6
23 register "c5" = "1"
24 register "c6" = "1"
25 end
26 end
27
28 device domain 0 on
29 device pci 00.0 on
30 subsystemid 0x17aa 0x20e0
31 end # host bridge
32 device pci 02.0 on # VGA
33 subsystemid 0x17aa 0x20e4
34 ioapic_irq 2 INTA 0x10
35 end
36 device pci 02.1 on
37 subsystemid 0x17aa 0x20e4
38 end # Display
39 device pci 03.0 on
40 subsystemid 0x17aa 0x20e6
41 end # ME
42 device pci 03.1 off end # ME
43 device pci 03.2 off end # ME
44 device pci 03.3 off end # ME
45 chip southbridge/intel/i82801ix
46 register "pirqa_routing" = "0x0b"
47 register "pirqb_routing" = "0x0b"
48 register "pirqc_routing" = "0x0b"
49 register "pirqd_routing" = "0x0b"
50 register "pirqe_routing" = "0x80"
51 register "pirqf_routing" = "0x80"
52 register "pirqg_routing" = "0x80"
53 register "pirqh_routing" = "0x80"
54
55 register "gpi8_routing" = "2"
56 register "gpe0_en" = "0x01000000"
57 register "gpi1_routing" = "2"
58
59 # Set AHCI mode, enable ports 1 and 2.
60 register "sata_port_map" = "0x03"
61 register "sata_clock_request" = "0"
62 register "sata_traffic_monitor" = "0"
63
64 # Set c-state support
65 register "c4onc3_enable" = "0"
66 register "c5_enable" = "1"
67 register "c6_enable" = "1"
68
69 # Set thermal throttling to 75%.
70 register "throttle_duty" = "THTL_75_0"
71
72 # Enable PCIe ports 1,2,4 as slots (Mini * PCIe).
73 register "pcie_slot_implemented" = "0xb"
74 # Set power limits to 10 * 10^0 watts.
75 # Maybe we should set less for Mini PCIe.
76 register "pcie_power_limits" = "{ { 10, 0 }, { 10, 0 }, { 0, 0 }, { 10, 0 }, { 0, 0 }, { 0, 0 } }"
77 register "pcie_hotplug_map" = "{ 0, 0, 0, 1, 0, 0, 0, 0 }"
78
79 chip drivers/generic/ioapic
80 register "have_isa_interrupts" = "1"
81 register "irq_on_fsb" = "1"
82 register "enable_virtual_wire" = "1"
83 register "base" = "(void *)0xfec00000"
84 device ioapic 2 on end
85 end
86
87 device pci 19.0 on end # LAN
88 device pci 1a.0 on # UHCI
89 subsystemid 0x17aa 0x20f0
90 ioapic_irq 2 INTA 0x10
91 end
92 device pci 1a.1 on # UHCI
93 subsystemid 0x17aa 0x20f0
94 ioapic_irq 2 INTB 0x11
95 end
96 device pci 1a.2 on # UHCI
97 subsystemid 0x17aa 0x20f0
98 ioapic_irq 2 INTC 0x12
99 end
100 device pci 1a.7 on # EHCI
101 subsystemid 0x17aa 0x20f1
102 ioapic_irq 2 INTC 0x12
103 end
104 device pci 1b.0 on # HD Audio
105 subsystemid 0x17aa 0x20f2
106 ioapic_irq 2 INTA 0x10
107 end
108 device pci 1c.0 on # PCIe Port #1
109 subsystemid 0x17aa 0x20f3 # WWAN
110 ioapic_irq 2 INTA 0x10
111 end
112 device pci 1c.1 on
113 subsystemid 0x17aa 0x20f3 # WLAN
114 end # PCIe Port #2
115 device pci 1c.2 on
116 subsystemid 0x17aa 0x20f3 # UWB
117 end # PCIe Port #3
118 device pci 1c.3 on
119 subsystemid 0x17aa 0x20f3 # Expresscard
120 end # PCIe Port #4
121 device pci 1c.4 off end # PCIe Port #5
122 device pci 1c.5 off end # PCIe Port #6
123 device pci 1d.0 on # UHCI
124 subsystemid 0x17aa 0x20f0
125 ioapic_irq 2 INTA 0x10
126 end
127 device pci 1d.1 on # UHCI
128 subsystemid 0x17aa 0x20f0
129 ioapic_irq 2 INTB 0x11
130 end
131 device pci 1d.2 on # UHCI
132 subsystemid 0x17aa 0x20f0
133 ioapic_irq 2 INTC 0x12
134 end
135 device pci 1d.7 on # EHCI
136 subsystemid 0x17aa 0x20f1
137 ioapic_irq 2 INTA 0x10
138 end
139 device pci 1e.0 on # PCI
140 subsystemid 0x17aa 0x20f4
141 end
142 device pci 1f.0 on # LPC bridge
143 subsystemid 0x17aa 0x20f5
144 chip ec/lenovo/pmh7
145 device pnp ff.1 on # dummy
146 end
147 register "backlight_enable" = "0x01"
148 register "dock_event_enable" = "0x01"
149 end
150
151 chip ec/lenovo/h8
152 device pnp ff.2 on # dummy
153 io 0x60 = 0x62
154 io 0x62 = 0x66
155 io 0x64 = 0x1600
156 io 0x66 = 0x1604
157 end
158
159 register "config0" = "0xa6"
160 register "config1" = "0x04"
161 register "config2" = "0xa0"
162 register "config3" = "0x01"
163
164 register "beepmask0" = "0xfe"
165 register "beepmask1" = "0x96"
166 register "has_power_management_beeps" = "1"
167 register "has_uwb" = "1"
168
169 register "event2_enable" = "0xff"
170 register "event3_enable" = "0xff"
171 register "event4_enable" = "0xf4"
172 register "event5_enable" = "0x3c"
173 register "event6_enable" = "0x80"
174 register "event7_enable" = "0x01"
175 register "event8_enable" = "0x01"
176 register "event9_enable" = "0xff"
177 register "eventa_enable" = "0xff"
178 register "eventb_enable" = "0xff"
179 register "eventc_enable" = "0xff"
180 register "eventd_enable" = "0xff"
181 end
182
183 chip superio/nsc/pc87382
184 device pnp 164e.3 on # Digitizer
185 io 0x60 = 0x200
186 irq 0x29 = 0xb0
187 irq 0x70 = 0x5
188 irq 0xf0 = 0x82
189 end
190 # IR, not connected
191 device pnp 164e.2 off end
192 # GPIO, not connected
193 device pnp 164e.7 off end
194 # DLPC, not connected
195 device pnp 164e.19 off end
196 end
197
198 end
199 device pci 1f.2 on # SATA/IDE 1
200 subsystemid 0x17aa 0x20f8
201 ioapic_irq 2 INTB 0x11
202 end
203 device pci 1f.3 on # SMBus
204 subsystemid 0x17aa 0x20f9
205 ioapic_irq 2 INTC 0x12
206 # eeprom, 8 virtual devices, same chip
207 chip drivers/i2c/at24rf08c
208 device i2c 54 on end
209 device i2c 55 on end
210 device i2c 56 on end
211 device i2c 57 on end
212 device i2c 5c on end
213 device i2c 5d on end
214 device i2c 5e on end
215 device i2c 5f on end
216 end
217 end
218 device pci 1f.5 off end # SATA/IDE 2
219 device pci 1f.6 off end # Thermal
220 end
221 end
222end