blob: b4c2ea89b1efffe1cd08201fb2eff79aa72cd746 [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
Nico Huberc570a0e2019-02-27 14:32:23 +01009 chip cpu/intel/socket_p
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
Timothy Pearson4b373c92015-04-05 17:54:08 -050079 device pci 19.0 on end # LAN
80 device pci 1a.0 on # UHCI
81 subsystemid 0x17aa 0x20f0
82 ioapic_irq 2 INTA 0x10
83 end
84 device pci 1a.1 on # UHCI
85 subsystemid 0x17aa 0x20f0
86 ioapic_irq 2 INTB 0x11
87 end
88 device pci 1a.2 on # UHCI
89 subsystemid 0x17aa 0x20f0
90 ioapic_irq 2 INTC 0x12
91 end
92 device pci 1a.7 on # EHCI
93 subsystemid 0x17aa 0x20f1
94 ioapic_irq 2 INTC 0x12
95 end
96 device pci 1b.0 on # HD Audio
97 subsystemid 0x17aa 0x20f2
98 ioapic_irq 2 INTA 0x10
99 end
100 device pci 1c.0 on # PCIe Port #1
101 subsystemid 0x17aa 0x20f3 # WWAN
102 ioapic_irq 2 INTA 0x10
103 end
104 device pci 1c.1 on
105 subsystemid 0x17aa 0x20f3 # WLAN
106 end # PCIe Port #2
107 device pci 1c.2 on
108 subsystemid 0x17aa 0x20f3 # UWB
109 end # PCIe Port #3
110 device pci 1c.3 on
111 subsystemid 0x17aa 0x20f3 # Expresscard
Patrick Rudolph05216322019-04-12 16:14:27 +0200112 smbios_slot_desc "7" "3" "ExpressCard Slot" "8"
Timothy Pearson4b373c92015-04-05 17:54:08 -0500113 end # PCIe Port #4
114 device pci 1c.4 off end # PCIe Port #5
115 device pci 1c.5 off end # PCIe Port #6
116 device pci 1d.0 on # UHCI
117 subsystemid 0x17aa 0x20f0
118 ioapic_irq 2 INTA 0x10
119 end
120 device pci 1d.1 on # UHCI
121 subsystemid 0x17aa 0x20f0
122 ioapic_irq 2 INTB 0x11
123 end
124 device pci 1d.2 on # UHCI
125 subsystemid 0x17aa 0x20f0
126 ioapic_irq 2 INTC 0x12
127 end
128 device pci 1d.7 on # EHCI
129 subsystemid 0x17aa 0x20f1
130 ioapic_irq 2 INTA 0x10
131 end
132 device pci 1e.0 on # PCI
133 subsystemid 0x17aa 0x20f4
134 end
135 device pci 1f.0 on # LPC bridge
136 subsystemid 0x17aa 0x20f5
Arthur Heymans2bbffc02019-01-22 21:22:52 +0100137
138 chip drivers/generic/ioapic
139 register "have_isa_interrupts" = "1"
140 register "irq_on_fsb" = "1"
141 register "enable_virtual_wire" = "1"
142 register "base" = "(void *)0xfec00000"
143 device ioapic 2 on end
144 end
145
Timothy Pearson4b373c92015-04-05 17:54:08 -0500146 chip ec/lenovo/pmh7
147 device pnp ff.1 on # dummy
148 end
149 register "backlight_enable" = "0x01"
150 register "dock_event_enable" = "0x01"
151 end
152
153 chip ec/lenovo/h8
154 device pnp ff.2 on # dummy
155 io 0x60 = 0x62
156 io 0x62 = 0x66
157 io 0x64 = 0x1600
158 io 0x66 = 0x1604
159 end
160
161 register "config0" = "0xa6"
162 register "config1" = "0x04"
163 register "config2" = "0xa0"
164 register "config3" = "0x01"
165
166 register "beepmask0" = "0xfe"
167 register "beepmask1" = "0x96"
168 register "has_power_management_beeps" = "1"
169 register "has_uwb" = "1"
170
171 register "event2_enable" = "0xff"
172 register "event3_enable" = "0xff"
173 register "event4_enable" = "0xf4"
174 register "event5_enable" = "0x3c"
175 register "event6_enable" = "0x80"
176 register "event7_enable" = "0x01"
177 register "event8_enable" = "0x01"
178 register "event9_enable" = "0xff"
179 register "eventa_enable" = "0xff"
180 register "eventb_enable" = "0xff"
181 register "eventc_enable" = "0xff"
182 register "eventd_enable" = "0xff"
Patrick Rudolphb77eec82017-05-21 09:20:39 +0200183
184 register "has_bdc_detection" = "1"
185 register "bdc_gpio_num" = "48"
186 register "bdc_gpio_lvl" = "0"
Timothy Pearson4b373c92015-04-05 17:54:08 -0500187 end
188
189 chip superio/nsc/pc87382
Kyösti Mälkki9ab5adb2017-01-08 09:07:14 +0200190 device pnp 164e.2 off end # IR
191 device pnp 164e.3 off end # Serial Port
192 device pnp 164e.7 on # GPIO
193 io 0x60 = 0x1680
194 end
195 device pnp 164e.19 on # DLPC
196 io 0x60 = 0x164c
197 end
198 end
199
200 chip superio/nsc/pc87384
201 device pnp 2e.1 on # Parallel Port
202 io 0x60 = 0x3bc
203 irq 0x70 = 7
204 end
205 device pnp 2e.2 off end # Serial Port / IR
206 device pnp 2e.3 on # Serial Port
207 io 0x60 = 0x3f8
208 irq 0x70 = 4
209 end
210 device pnp 2e.7 on # GPIO
211 io 0x60 = 0x1620
212 end
Timothy Pearson4b373c92015-04-05 17:54:08 -0500213 end
Timothy Pearson4b373c92015-04-05 17:54:08 -0500214 end
215 device pci 1f.2 on # SATA/IDE 1
216 subsystemid 0x17aa 0x20f8
217 ioapic_irq 2 INTB 0x11
218 end
Arthur Heymans03180212018-09-16 18:55:28 +0200219 device pci 1f.3 on end # SMBus
Timothy Pearson4b373c92015-04-05 17:54:08 -0500220 device pci 1f.5 off end # SATA/IDE 2
221 device pci 1f.6 off end # Thermal
222 end
223 end
224end