blob: a61d84eba6b9edce518e74f9c084a49e3b2c3845 [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
Nico Huber089790c2020-01-25 20:24:20 +01006 register "gpu_panel_power_up_delay" = "250" # T1+T2: 25ms
7 register "gpu_panel_power_down_delay" = "250" # T3: 25ms
8 register "gpu_panel_power_backlight_on_delay" = "2500" # T5: 250ms
9 register "gpu_panel_power_backlight_off_delay" = "2500" # Tx: 250ms
10 register "gpu_panel_power_cycle_delay" = "3" # T4: 200ms
Timothy Pearson4b373c92015-04-05 17:54:08 -050011 register "gfx.use_spread_spectrum_clock" = "1"
Timothy Pearson4b373c92015-04-05 17:54:08 -050012
13 device cpu_cluster 0 on
Nico Huberc570a0e2019-02-27 14:32:23 +010014 chip cpu/intel/socket_p
Timothy Pearson4b373c92015-04-05 17:54:08 -050015 device lapic 0 on end
16 end
17 chip cpu/intel/model_1067x
18 # Magic APIC ID to locate this chip
19 device lapic 0xACAC off end
20
21 # Enable Super LFM
22 register "slfm" = "1"
23
24 # Enable C5, C6
25 register "c5" = "1"
26 register "c6" = "1"
27 end
28 end
29
Patrick Rudolph266a1f72016-06-09 18:13:34 +020030 register "pci_mmio_size" = "2048"
31
Timothy Pearson4b373c92015-04-05 17:54:08 -050032 device domain 0 on
33 device pci 00.0 on
34 subsystemid 0x17aa 0x20e0
35 end # host bridge
Patrick Rudolph830fdc72016-04-21 07:15:14 +020036 device pci 01.0 on end # PCIe Bridge for discrete graphics
Timothy Pearson4b373c92015-04-05 17:54:08 -050037 device pci 02.0 on # VGA
38 subsystemid 0x17aa 0x20e4
39 ioapic_irq 2 INTA 0x10
40 end
41 device pci 02.1 on
42 subsystemid 0x17aa 0x20e4
43 end # Display
44 device pci 03.0 on
45 subsystemid 0x17aa 0x20e6
46 end # ME
47 device pci 03.1 off end # ME
48 device pci 03.2 off end # ME
49 device pci 03.3 off end # ME
50 chip southbridge/intel/i82801ix
51 register "pirqa_routing" = "0x0b"
52 register "pirqb_routing" = "0x0b"
53 register "pirqc_routing" = "0x0b"
54 register "pirqd_routing" = "0x0b"
55 register "pirqe_routing" = "0x80"
56 register "pirqf_routing" = "0x80"
57 register "pirqg_routing" = "0x80"
58 register "pirqh_routing" = "0x80"
59
60 register "gpi8_routing" = "2"
61 register "gpe0_en" = "0x01000000"
62 register "gpi1_routing" = "2"
63
64 # Set AHCI mode, enable ports 1 and 2.
65 register "sata_port_map" = "0x03"
66 register "sata_clock_request" = "0"
67 register "sata_traffic_monitor" = "0"
68
69 # Set c-state support
Arthur Heymans2a1847e2016-06-17 19:06:25 +020070 register "c4onc3_enable" = "1"
Timothy Pearson4b373c92015-04-05 17:54:08 -050071 register "c5_enable" = "1"
72 register "c6_enable" = "1"
73
74 # Set thermal throttling to 75%.
75 register "throttle_duty" = "THTL_75_0"
76
77 # Enable PCIe ports 1,2,4 as slots (Mini * PCIe).
78 register "pcie_slot_implemented" = "0xb"
79 # Set power limits to 10 * 10^0 watts.
80 # Maybe we should set less for Mini PCIe.
81 register "pcie_power_limits" = "{ { 10, 0 }, { 10, 0 }, { 0, 0 }, { 10, 0 }, { 0, 0 }, { 0, 0 } }"
82 register "pcie_hotplug_map" = "{ 0, 0, 0, 1, 0, 0, 0, 0 }"
Arthur Heymans9ed0df42019-10-12 14:18:18 +020083 register "gen1_dec" = "0x007c1601"
84 register "gen2_dec" = "0x000c15e1"
85 register "gen3_dec" = "0x001c1681"
Timothy Pearson4b373c92015-04-05 17:54:08 -050086
Timothy Pearson4b373c92015-04-05 17:54:08 -050087 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
Patrick Rudolph05216322019-04-12 16:14:27 +0200120 smbios_slot_desc "7" "3" "ExpressCard Slot" "8"
Timothy Pearson4b373c92015-04-05 17:54:08 -0500121 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
Arthur Heymans2bbffc02019-01-22 21:22:52 +0100145
146 chip drivers/generic/ioapic
147 register "have_isa_interrupts" = "1"
148 register "irq_on_fsb" = "1"
149 register "enable_virtual_wire" = "1"
150 register "base" = "(void *)0xfec00000"
151 device ioapic 2 on end
152 end
153
Timothy Pearson4b373c92015-04-05 17:54:08 -0500154 chip ec/lenovo/pmh7
Peter Lemenkov4ed25982020-02-06 14:51:27 +0100155 device pnp ff.1 on end # dummy
Timothy Pearson4b373c92015-04-05 17:54:08 -0500156 register "backlight_enable" = "0x01"
157 register "dock_event_enable" = "0x01"
158 end
159
160 chip ec/lenovo/h8
161 device pnp ff.2 on # dummy
162 io 0x60 = 0x62
163 io 0x62 = 0x66
164 io 0x64 = 0x1600
165 io 0x66 = 0x1604
166 end
167
168 register "config0" = "0xa6"
169 register "config1" = "0x04"
170 register "config2" = "0xa0"
171 register "config3" = "0x01"
172
173 register "beepmask0" = "0xfe"
174 register "beepmask1" = "0x96"
175 register "has_power_management_beeps" = "1"
176 register "has_uwb" = "1"
177
178 register "event2_enable" = "0xff"
179 register "event3_enable" = "0xff"
180 register "event4_enable" = "0xf4"
181 register "event5_enable" = "0x3c"
182 register "event6_enable" = "0x80"
183 register "event7_enable" = "0x01"
184 register "event8_enable" = "0x01"
185 register "event9_enable" = "0xff"
186 register "eventa_enable" = "0xff"
187 register "eventb_enable" = "0xff"
188 register "eventc_enable" = "0xff"
189 register "eventd_enable" = "0xff"
Patrick Rudolphb77eec82017-05-21 09:20:39 +0200190
191 register "has_bdc_detection" = "1"
192 register "bdc_gpio_num" = "48"
193 register "bdc_gpio_lvl" = "0"
Timothy Pearson4b373c92015-04-05 17:54:08 -0500194 end
195
196 chip superio/nsc/pc87382
Kyösti Mälkki9ab5adb2017-01-08 09:07:14 +0200197 device pnp 164e.2 off end # IR
198 device pnp 164e.3 off end # Serial Port
199 device pnp 164e.7 on # GPIO
200 io 0x60 = 0x1680
201 end
202 device pnp 164e.19 on # DLPC
203 io 0x60 = 0x164c
204 end
205 end
206
207 chip superio/nsc/pc87384
208 device pnp 2e.1 on # Parallel Port
209 io 0x60 = 0x3bc
210 irq 0x70 = 7
211 end
212 device pnp 2e.2 off end # Serial Port / IR
213 device pnp 2e.3 on # Serial Port
214 io 0x60 = 0x3f8
215 irq 0x70 = 4
216 end
217 device pnp 2e.7 on # GPIO
218 io 0x60 = 0x1620
219 end
Timothy Pearson4b373c92015-04-05 17:54:08 -0500220 end
Timothy Pearson4b373c92015-04-05 17:54:08 -0500221 end
222 device pci 1f.2 on # SATA/IDE 1
223 subsystemid 0x17aa 0x20f8
224 ioapic_irq 2 INTB 0x11
225 end
Arthur Heymans03180212018-09-16 18:55:28 +0200226 device pci 1f.3 on end # SMBus
Timothy Pearson4b373c92015-04-05 17:54:08 -0500227 device pci 1f.5 off end # SATA/IDE 2
228 device pci 1f.6 off end # Thermal
229 end
230 end
231end