blob: fd0b1034afe775d359baa41040c344a70716b02e [file] [log] [blame]
Arthur Heymans7e4bfe42019-02-05 13:30:11 +01001#
2# This file is part of the coreboot project.
3#
4# This program is free software; you can redistribute it and/or modify
5# it under the terms of the GNU General Public License as published by
6# the Free Software Foundation; either version 2 of the License, or
7# (at your option) any later version.
8#
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12# GNU General Public License for more details.
13#
14
15chip northbridge/intel/x4x # Northbridge
16 device cpu_cluster 0 on # APIC cluster
17 chip cpu/intel/socket_LGA775
18 device lapic 0 on end
19 end
20 chip cpu/intel/model_1067x # CPU
21 device lapic 0xACAC off end
22 end
23 end
24 device domain 0 on # PCI domain
25 device pci 0.0 on # Host Bridge
26 subsystemid 0x1043 0x8336
27 end
28 device pci 1.0 on # PEG
29 subsystemid 0x1043 0x8336
30 end
31 device pci 2.0 on # Integrated graphics controller
32 subsystemid 0x1043 0x8336
33 end
34 device pci 2.1 on # Integrated graphics controller 2
35 subsystemid 0x1043 0x8336
36 end
37 device pci 3.0 off end # ME
38 device pci 3.1 off end # ME
39 device pci 3.2 off end # ME
40 device pci 3.3 off end # ME
41 chip southbridge/intel/i82801jx # Southbridge
42 register "gpe0_en" = "0x40"
43
44 # Set AHCI mode.
45 register "sata_port_map" = "0x3f"
46 register "sata_clock_request" = "0"
47 register "sata_traffic_monitor" = "0"
48
49 # Enable PCIe ports 0,1,3,4,5 as slots.
50 register "pcie_slot_implemented" = "0x3b"
51
Arthur Heymansc484da12019-11-09 14:29:04 +010052 register "gen1_dec" = "0x00000295"
53
Arthur Heymans7e4bfe42019-02-05 13:30:11 +010054 device pci 19.0 off end # GBE
55 device pci 1a.0 on # USB
56 subsystemid 0x1043 0x82d4
57 end
58 device pci 1a.1 on # USB
59 subsystemid 0x1043 0x82d4
60 end
61 device pci 1a.2 on # USB
62 subsystemid 0x1043 0x82d4
63 end
64 device pci 1a.7 on # USB
65 subsystemid 0x1043 0x82d4
66 end
67 device pci 1b.0 on # Audio
68 subsystemid 0x1043 0x82fe
69 end
70 device pci 1c.0 on end # PCIe 1 PCIe x1 Slot #1
71 device pci 1c.1 on end # PCIe 2 PCIe x1 Slot #2
72 device pci 1c.2 off end # PCIe 3
73 device pci 1c.3 on # PCIe 4 1394 controller
74 device pci 0.0 on
75 subsystemid 0x1043 0x8313
76 end
77 end
78 device pci 1c.4 on # PCIe 5 Marvell IDE
79 device pci 0.0 on
80 subsystemid 0x1043 0x82a2
81 end
82 end
83 device pci 1c.5 on # PCIe 6 Realtek LAN
84 device pci 0.0 on
85 subsystemid 0x1043 0x82c6
86 end
87 end
88 device pci 1d.0 on # USB
89 subsystemid 0x1043 0x82d4
90 end
91 device pci 1d.1 on # USB
92 subsystemid 0x1043 0x82d4
93 end
94 device pci 1d.2 on # USB
95 subsystemid 0x1043 0x82d4
96 end
97 device pci 1d.7 on # USB
98 subsystemid 0x1043 0x82d4
99 end
100 device pci 1e.0 on end # PCI bridge
101 device pci 1f.0 on # LPC bridge
102 subsystemid 0x1043 0x82d4
103 chip superio/winbond/w83627dhg
104 device pnp 2e.0 on # Floppy
105 # global
106 irq 0x2c = 0x92
107 #floppy
108 io 0x60 = 0x3f0
109 irq 0x70 = 0x06
110 drq 0x74 = 0x02
111 end
112 device pnp 2e.1 on # Parallel port
113 # parallel port
114 io 0x60 = 0x378
115 irq 0x70 = 7
116 drq 0x74 = 3
117 end
118 device pnp 2e.2 on # COM1
119 io 0x60 = 0x3f8
120 irq 0x70 = 4
121 end
122 device pnp 2e.3 off end # COM2, IR
123 device pnp 2e.5 on # Keyboard, mouse
124 io 0x60 = 0x60
125 io 0x62 = 0x64
126 irq 0x70 = 1
127 irq 0x72 = 12
128 end
129 device pnp 2e.6 off end # SPI
130 device pnp 2e.7 on end # GPIO6 (all input)
131 device pnp 2e.8 off end # WDT0#, PLED
132 device pnp 2e.9 off end # GPIO2
133 device pnp 2e.109 on # GPIO3
134 irq 0xf0 = 0xf3
135 end
136 device pnp 2e.209 on # GPIO4
137 irq 0xf4 = 0x06
138 end
139 device pnp 2e.309 on # GPIO5
140 irq 0xe0 = 0xdf
141 irq 0xf3 = 0x09 # RSVD SUSLED settings
142 end
Arthur Heymansf76c12a32019-11-10 19:55:53 +0100143 device pnp 2e.a on # ACPI
144 irq 0xe4 = 0x10 # VSBGATE# to power dram during S3
145 end
Arthur Heymans7e4bfe42019-02-05 13:30:11 +0100146 device pnp 2e.b on # HWM, front panel LED
147 io 0x60 = 0x290
148 irq 0x70 = 0
149 end
150 device pnp 2e.c off end # PECI, SST
151 end
152 end
153 device pci 1f.2 on # SATA
154 subsystemid 0x1043 0x82d4
155 end
156 device pci 1f.3 on # SMbus
157 subsystemid 0x1043 0x82d4
158 end
159 device pci 1f.5 off end # SATA IDE mode
160 device pci 1f.6 off end # Thermal
161 end
162 end
163end