blob: 5886aff48ca7b2634ddef479afbe8b1f23ec6650 [file] [log] [blame]
Timothy Pearson4b373c92015-04-05 17:54:08 -05001chip northbridge/intel/gm45
2 # IGD Displays
Nico Huberb0b25c82020-03-21 20:35:12 +01003 register "gfx" = "GMA_STATIC_DISPLAYS(1)"
Timothy Pearson4b373c92015-04-05 17:54:08 -05004
Nico Huber089790c2020-01-25 20:24:20 +01005 register "gpu_panel_power_up_delay" = "250" # T1+T2: 25ms
6 register "gpu_panel_power_down_delay" = "250" # T3: 25ms
7 register "gpu_panel_power_backlight_on_delay" = "2500" # T5: 250ms
8 register "gpu_panel_power_backlight_off_delay" = "2500" # Tx: 250ms
9 register "gpu_panel_power_cycle_delay" = "3" # T4: 200ms
Timothy Pearson4b373c92015-04-05 17:54:08 -050010
11 device cpu_cluster 0 on
Nico Huberc570a0e2019-02-27 14:32:23 +010012 chip cpu/intel/socket_p
Timothy Pearson4b373c92015-04-05 17:54:08 -050013 device lapic 0 on end
14 end
15 chip cpu/intel/model_1067x
16 # Magic APIC ID to locate this chip
17 device lapic 0xACAC off end
18
19 # Enable Super LFM
20 register "slfm" = "1"
21
22 # Enable C5, C6
23 register "c5" = "1"
24 register "c6" = "1"
25 end
26 end
27
Patrick Rudolph266a1f72016-06-09 18:13:34 +020028 register "pci_mmio_size" = "2048"
29
Timothy Pearson4b373c92015-04-05 17:54:08 -050030 device domain 0 on
31 device pci 00.0 on
32 subsystemid 0x17aa 0x20e0
33 end # host bridge
Patrick Rudolph830fdc72016-04-21 07:15:14 +020034 device pci 01.0 on end # PCIe Bridge for discrete graphics
Timothy Pearson4b373c92015-04-05 17:54:08 -050035 device pci 02.0 on # VGA
36 subsystemid 0x17aa 0x20e4
37 ioapic_irq 2 INTA 0x10
38 end
39 device pci 02.1 on
40 subsystemid 0x17aa 0x20e4
41 end # Display
42 device pci 03.0 on
43 subsystemid 0x17aa 0x20e6
44 end # ME
45 device pci 03.1 off end # ME
46 device pci 03.2 off end # ME
47 device pci 03.3 off end # ME
48 chip southbridge/intel/i82801ix
49 register "pirqa_routing" = "0x0b"
50 register "pirqb_routing" = "0x0b"
51 register "pirqc_routing" = "0x0b"
52 register "pirqd_routing" = "0x0b"
53 register "pirqe_routing" = "0x80"
54 register "pirqf_routing" = "0x80"
55 register "pirqg_routing" = "0x80"
56 register "pirqh_routing" = "0x80"
57
58 register "gpi8_routing" = "2"
59 register "gpe0_en" = "0x01000000"
60 register "gpi1_routing" = "2"
61
62 # Set AHCI mode, enable ports 1 and 2.
63 register "sata_port_map" = "0x03"
64 register "sata_clock_request" = "0"
65 register "sata_traffic_monitor" = "0"
66
67 # Set c-state support
Arthur Heymans2a1847e2016-06-17 19:06:25 +020068 register "c4onc3_enable" = "1"
Timothy Pearson4b373c92015-04-05 17:54:08 -050069 register "c5_enable" = "1"
70 register "c6_enable" = "1"
71
72 # Set thermal throttling to 75%.
73 register "throttle_duty" = "THTL_75_0"
74
75 # Enable PCIe ports 1,2,4 as slots (Mini * PCIe).
76 register "pcie_slot_implemented" = "0xb"
77 # Set power limits to 10 * 10^0 watts.
78 # Maybe we should set less for Mini PCIe.
79 register "pcie_power_limits" = "{ { 10, 0 }, { 10, 0 }, { 0, 0 }, { 10, 0 }, { 0, 0 }, { 0, 0 } }"
80 register "pcie_hotplug_map" = "{ 0, 0, 0, 1, 0, 0, 0, 0 }"
Arthur Heymans9ed0df42019-10-12 14:18:18 +020081 register "gen1_dec" = "0x007c1601"
82 register "gen2_dec" = "0x000c15e1"
83 register "gen3_dec" = "0x001c1681"
Timothy Pearson4b373c92015-04-05 17:54:08 -050084
Timothy Pearson4b373c92015-04-05 17:54:08 -050085 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
Patrick Rudolph05216322019-04-12 16:14:27 +0200118 smbios_slot_desc "7" "3" "ExpressCard Slot" "8"
Timothy Pearson4b373c92015-04-05 17:54:08 -0500119 end # PCIe Port #4
120 device pci 1c.4 off end # PCIe Port #5
121 device pci 1c.5 off end # PCIe Port #6
122 device pci 1d.0 on # UHCI
123 subsystemid 0x17aa 0x20f0
124 ioapic_irq 2 INTA 0x10
125 end
126 device pci 1d.1 on # UHCI
127 subsystemid 0x17aa 0x20f0
128 ioapic_irq 2 INTB 0x11
129 end
130 device pci 1d.2 on # UHCI
131 subsystemid 0x17aa 0x20f0
132 ioapic_irq 2 INTC 0x12
133 end
134 device pci 1d.7 on # EHCI
135 subsystemid 0x17aa 0x20f1
136 ioapic_irq 2 INTA 0x10
137 end
138 device pci 1e.0 on # PCI
139 subsystemid 0x17aa 0x20f4
140 end
141 device pci 1f.0 on # LPC bridge
142 subsystemid 0x17aa 0x20f5
Arthur Heymans2bbffc02019-01-22 21:22:52 +0100143
144 chip drivers/generic/ioapic
145 register "have_isa_interrupts" = "1"
146 register "irq_on_fsb" = "1"
147 register "enable_virtual_wire" = "1"
148 register "base" = "(void *)0xfec00000"
149 device ioapic 2 on end
150 end
151
Timothy Pearson4b373c92015-04-05 17:54:08 -0500152 chip ec/lenovo/pmh7
Peter Lemenkov4ed25982020-02-06 14:51:27 +0100153 device pnp ff.1 on end # dummy
Timothy Pearson4b373c92015-04-05 17:54:08 -0500154 register "backlight_enable" = "0x01"
155 register "dock_event_enable" = "0x01"
156 end
157
158 chip ec/lenovo/h8
159 device pnp ff.2 on # dummy
160 io 0x60 = 0x62
161 io 0x62 = 0x66
162 io 0x64 = 0x1600
163 io 0x66 = 0x1604
164 end
165
166 register "config0" = "0xa6"
167 register "config1" = "0x04"
168 register "config2" = "0xa0"
169 register "config3" = "0x01"
170
171 register "beepmask0" = "0xfe"
172 register "beepmask1" = "0x96"
173 register "has_power_management_beeps" = "1"
174 register "has_uwb" = "1"
175
176 register "event2_enable" = "0xff"
177 register "event3_enable" = "0xff"
178 register "event4_enable" = "0xf4"
179 register "event5_enable" = "0x3c"
180 register "event6_enable" = "0x80"
181 register "event7_enable" = "0x01"
182 register "event8_enable" = "0x01"
183 register "event9_enable" = "0xff"
184 register "eventa_enable" = "0xff"
185 register "eventb_enable" = "0xff"
186 register "eventc_enable" = "0xff"
187 register "eventd_enable" = "0xff"
Patrick Rudolphb77eec82017-05-21 09:20:39 +0200188
189 register "has_bdc_detection" = "1"
190 register "bdc_gpio_num" = "48"
191 register "bdc_gpio_lvl" = "0"
Timothy Pearson4b373c92015-04-05 17:54:08 -0500192 end
193
194 chip superio/nsc/pc87382
Kyösti Mälkki9ab5adb2017-01-08 09:07:14 +0200195 device pnp 164e.2 off end # IR
196 device pnp 164e.3 off end # Serial Port
197 device pnp 164e.7 on # GPIO
198 io 0x60 = 0x1680
199 end
200 device pnp 164e.19 on # DLPC
201 io 0x60 = 0x164c
202 end
203 end
204
205 chip superio/nsc/pc87384
206 device pnp 2e.1 on # Parallel Port
207 io 0x60 = 0x3bc
208 irq 0x70 = 7
209 end
210 device pnp 2e.2 off end # Serial Port / IR
211 device pnp 2e.3 on # Serial Port
212 io 0x60 = 0x3f8
213 irq 0x70 = 4
214 end
215 device pnp 2e.7 on # GPIO
216 io 0x60 = 0x1620
217 end
Timothy Pearson4b373c92015-04-05 17:54:08 -0500218 end
Timothy Pearson4b373c92015-04-05 17:54:08 -0500219 end
220 device pci 1f.2 on # SATA/IDE 1
221 subsystemid 0x17aa 0x20f8
222 ioapic_irq 2 INTB 0x11
223 end
Arthur Heymans03180212018-09-16 18:55:28 +0200224 device pci 1f.3 on end # SMBus
Timothy Pearson4b373c92015-04-05 17:54:08 -0500225 device pci 1f.5 off end # SATA/IDE 2
226 device pci 1f.6 off end # Thermal
227 end
228 end
229end