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