blob: f3f56cec1fbd864c1f3e62221104297c6b286053 [file] [log] [blame]
Arthur Heymansa1e46ae2018-12-15 18:26:05 +01001#
2# This file is part of the coreboot project.
3#
4# Copyright (C) 2017 Arthur Heymans <arthur@aheymans.xyz>
5#
6# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 2 of the License, or
9# (at your option) any later version.
10#
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14# GNU General Public License for more details.
15#
16
17chip northbridge/intel/x4x # Northbridge
18 device cpu_cluster 0 on # APIC cluster
19 chip cpu/intel/socket_LGA775
20 device lapic 0 on end
21 end
22 chip cpu/intel/model_1067x # CPU
23 device lapic 0xACAC off end
24 end
25 end
26 device domain 0 on # PCI domain
27 subsystemid 0x17aa 0x304f inherit
28 device pci 0.0 on end # Host Bridge
29 device pci 1.0 on end # PEG
30 device pci 2.0 on end # Integrated graphics controller
31 chip southbridge/intel/i82801gx # Southbridge
32 register "pirqa_routing" = "0x0b"
33 register "pirqb_routing" = "0x0b"
34 register "pirqc_routing" = "0x0b"
35 register "pirqd_routing" = "0x0b"
36 register "pirqe_routing" = "0x80"
37 register "pirqf_routing" = "0x80"
38 register "pirqg_routing" = "0x80"
39 register "pirqh_routing" = "0x0b"
40 # GPI routing
41 # 0 No effect (default)
42 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
43 # 2 SCI (if corresponding GPIO_EN bit is also set)
44 register "gpi13_routing" = "1" # ??vendor
45
46 register "ide_enable_primary" = "0x1"
47 register "sata_ahci" = "0x0" # AHCI not supported on this ICH7 variant
48 register "gpe0_en" = "0x440"
49
50 device pci 1b.0 on end # Audio
51 device pci 1c.0 on end # PCIe 1
52 device pci 1c.1 on # PCIe 2: NIC
53 device pci 00.0 on
54 end
55 end
56 device pci 1c.2 off end # PCIe 3
57 device pci 1c.3 off end # PCIe 4
58 device pci 1c.4 off end # PCIe 5
59 device pci 1c.5 off end # PCIe 6
60 device pci 1d.0 on end # USB
61 device pci 1d.1 on end # USB
62 device pci 1d.2 on end # USB
63 device pci 1d.3 on end # USB
64 device pci 1d.7 on end # USB
65 device pci 1e.0 on end # PCI bridge
66 device pci 1e.2 off end # AC'97 Audio Controller
67 device pci 1e.3 off end # AC'97 Modem Controller
68 device pci 1f.0 on # LPC bridge
69 chip superio/smsc/smscsuperio
70 device pnp 2e.0 off end # Floppy
71 device pnp 2e.3 on # Parallel Port
72 io 0x60 = 0x378
73 irq 0x70 = 7
74 drq 0x74 = 3
75 end
76 device pnp 2e.4 on # COM1
77 io 0x60 = 0x3f8
78 irq 0x70 = 4
79 end
80 device pnp 2e.5 off end # COM2
81 device pnp 2e.7 on # Keyboard
82 io 0x60 = 0x60 # Can't read this back
83 io 0x62 = 0x64 # Can't read this back
84 irq 0x70 = 1
85 irq 0x72 = 12
86 end
87 device pnp 2e.a on # Runtime Regs
88 io 0x60 = 0x0a00
89 end
90 end # smscsuperio
91 end
92 device pci 1f.1 on end # PATA/IDE
93 device pci 1f.2 on end # SATA
94 device pci 1f.3 on # SMbus
95 chip drivers/i2c/at24rf08c
96 device i2c 54 on end
97 device i2c 55 on end
98 device i2c 56 on end
99 device i2c 57 on end
100 end
101 chip drivers/i2c/ck505
102 register "mask" = "{ 0x00, 0x80 }"
103 register "regs" = "{ 0x00, 0x80 }"
104 device i2c 69 on end
105 end
106 end
107 end
108 end
109end