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