blob: 1adba8b17d8d916a64997afbd7a7d08bc5426c7f [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
8 device cpu_cluster 0 on
Arthur Heymans3cf2d9c2016-10-27 00:36:02 +02009 chip cpu/intel/socket_mPGA478MN
Timothy Pearson4b373c92015-04-05 17:54:08 -050010 device lapic 0 on end
11 end
12 chip cpu/intel/model_1067x
13 # Magic APIC ID to locate this chip
14 device lapic 0xACAC off end
15
16 # Enable Super LFM
17 register "slfm" = "1"
18
19 # Enable C5, C6
20 register "c5" = "1"
21 register "c6" = "1"
22 end
23 end
24
Patrick Rudolph266a1f72016-06-09 18:13:34 +020025 register "pci_mmio_size" = "2048"
26
Timothy Pearson4b373c92015-04-05 17:54:08 -050027 device domain 0 on
28 device pci 00.0 on
29 subsystemid 0x17aa 0x20e0
30 end # host bridge
Patrick Rudolph830fdc72016-04-21 07:15:14 +020031 device pci 01.0 on end # PCIe Bridge for discrete graphics
Timothy Pearson4b373c92015-04-05 17:54:08 -050032 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
Arthur Heymans2a1847e2016-06-17 19:06:25 +020065 register "c4onc3_enable" = "1"
Timothy Pearson4b373c92015-04-05 17:54:08 -050066 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
Kyösti Mälkki9ab5adb2017-01-08 09:07:14 +0200184 device pnp 164e.2 off end # IR
185 device pnp 164e.3 off end # Serial Port
186 device pnp 164e.7 on # GPIO
187 io 0x60 = 0x1680
188 end
189 device pnp 164e.19 on # DLPC
190 io 0x60 = 0x164c
191 end
192 end
193
194 chip superio/nsc/pc87384
195 device pnp 2e.1 on # Parallel Port
196 io 0x60 = 0x3bc
197 irq 0x70 = 7
198 end
199 device pnp 2e.2 off end # Serial Port / IR
200 device pnp 2e.3 on # Serial Port
201 io 0x60 = 0x3f8
202 irq 0x70 = 4
203 end
204 device pnp 2e.7 on # GPIO
205 io 0x60 = 0x1620
206 end
Timothy Pearson4b373c92015-04-05 17:54:08 -0500207 end
208
209 end
210 device pci 1f.2 on # SATA/IDE 1
211 subsystemid 0x17aa 0x20f8
212 ioapic_irq 2 INTB 0x11
213 end
214 device pci 1f.3 on # SMBus
215 subsystemid 0x17aa 0x20f9
216 ioapic_irq 2 INTC 0x12
217 # eeprom, 8 virtual devices, same chip
218 chip drivers/i2c/at24rf08c
219 device i2c 54 on end
220 device i2c 55 on end
221 device i2c 56 on end
222 device i2c 57 on end
223 device i2c 5c on end
224 device i2c 5d on end
225 device i2c 5e on end
226 device i2c 5f on end
227 end
228 end
229 device pci 1f.5 off end # SATA/IDE 2
230 device pci 1f.6 off end # Thermal
231 end
232 end
233end