blob: 8b5215e6e001e4871a884314215a72bbfc7cd674 [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
52 device pci 19.0 off end # GBE
53 device pci 1a.0 on # USB
54 subsystemid 0x1043 0x82d4
55 end
56 device pci 1a.1 on # USB
57 subsystemid 0x1043 0x82d4
58 end
59 device pci 1a.2 on # USB
60 subsystemid 0x1043 0x82d4
61 end
62 device pci 1a.7 on # USB
63 subsystemid 0x1043 0x82d4
64 end
65 device pci 1b.0 on # Audio
66 subsystemid 0x1043 0x82fe
67 end
68 device pci 1c.0 on end # PCIe 1 PCIe x1 Slot #1
69 device pci 1c.1 on end # PCIe 2 PCIe x1 Slot #2
70 device pci 1c.2 off end # PCIe 3
71 device pci 1c.3 on # PCIe 4 1394 controller
72 device pci 0.0 on
73 subsystemid 0x1043 0x8313
74 end
75 end
76 device pci 1c.4 on # PCIe 5 Marvell IDE
77 device pci 0.0 on
78 subsystemid 0x1043 0x82a2
79 end
80 end
81 device pci 1c.5 on # PCIe 6 Realtek LAN
82 device pci 0.0 on
83 subsystemid 0x1043 0x82c6
84 end
85 end
86 device pci 1d.0 on # USB
87 subsystemid 0x1043 0x82d4
88 end
89 device pci 1d.1 on # USB
90 subsystemid 0x1043 0x82d4
91 end
92 device pci 1d.2 on # USB
93 subsystemid 0x1043 0x82d4
94 end
95 device pci 1d.7 on # USB
96 subsystemid 0x1043 0x82d4
97 end
98 device pci 1e.0 on end # PCI bridge
99 device pci 1f.0 on # LPC bridge
100 subsystemid 0x1043 0x82d4
101 chip superio/winbond/w83627dhg
102 device pnp 2e.0 on # Floppy
103 # global
104 irq 0x2c = 0x92
105 #floppy
106 io 0x60 = 0x3f0
107 irq 0x70 = 0x06
108 drq 0x74 = 0x02
109 end
110 device pnp 2e.1 on # Parallel port
111 # parallel port
112 io 0x60 = 0x378
113 irq 0x70 = 7
114 drq 0x74 = 3
115 end
116 device pnp 2e.2 on # COM1
117 io 0x60 = 0x3f8
118 irq 0x70 = 4
119 end
120 device pnp 2e.3 off end # COM2, IR
121 device pnp 2e.5 on # Keyboard, mouse
122 io 0x60 = 0x60
123 io 0x62 = 0x64
124 irq 0x70 = 1
125 irq 0x72 = 12
126 end
127 device pnp 2e.6 off end # SPI
128 device pnp 2e.7 on end # GPIO6 (all input)
129 device pnp 2e.8 off end # WDT0#, PLED
130 device pnp 2e.9 off end # GPIO2
131 device pnp 2e.109 on # GPIO3
132 irq 0xf0 = 0xf3
133 end
134 device pnp 2e.209 on # GPIO4
135 irq 0xf4 = 0x06
136 end
137 device pnp 2e.309 on # GPIO5
138 irq 0xe0 = 0xdf
139 irq 0xf3 = 0x09 # RSVD SUSLED settings
140 end
141 device pnp 2e.a off end # ACPI
142 device pnp 2e.b on # HWM, front panel LED
143 io 0x60 = 0x290
144 irq 0x70 = 0
145 end
146 device pnp 2e.c off end # PECI, SST
147 end
148 end
149 device pci 1f.2 on # SATA
150 subsystemid 0x1043 0x82d4
151 end
152 device pci 1f.3 on # SMbus
153 subsystemid 0x1043 0x82d4
154 end
155 device pci 1f.5 off end # SATA IDE mode
156 device pci 1f.6 off end # Thermal
157 end
158 end
159end