blob: 295fbc4f389b7a9c23bb7e5e875818f904141701 [file] [log] [blame]
Arthur Heymansfbc508f2017-06-01 14:50:07 +02001#
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 0x1458 0x5000 inherit
28 device pci 0.0 on # Host Bridge
29 subsystemid 0x8086 0x5756
30 end
31 device pci 1.0 on end # PEG
32 device pci 2.0 on # Integrated graphics controller
33 subsystemid 0x8086 0x5756
34 end
35 chip southbridge/intel/i82801gx # Southbridge
36 register "pirqa_routing" = "0x0b"
37 register "pirqb_routing" = "0x0b"
38 register "pirqc_routing" = "0x0b"
39 register "pirqd_routing" = "0x0b"
40 register "pirqe_routing" = "0x80"
41 register "pirqf_routing" = "0x80"
42 register "pirqg_routing" = "0x80"
43 register "pirqh_routing" = "0x0b"
44 # GPI routing
45 # 0 No effect (default)
46 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
47 # 2 SCI (if corresponding GPIO_EN bit is also set)
48 register "gpi0_routing" = "2"
49 register "gpi1_routing" = "2"
50 register "gpi2_routing" = "2"
51 register "gpi3_routing" = "2"
52 register "gpi4_routing" = "2"
53 register "gpi5_routing" = "2"
54 register "gpi6_routing" = "2"
55 register "gpi7_routing" = "2"
56 register "gpi8_routing" = "2"
57 register "gpi9_routing" = "2"
58 register "gpi10_routing" = "2"
59 register "gpi11_routing" = "2"
60 register "gpi12_routing" = "2"
61 register "gpi13_routing" = "2"
62 register "gpi14_routing" = "2"
63 register "gpi15_routing" = "2"
64
65 register "ide_enable_primary" = "0x1"
Arthur Heymansfbc508f2017-06-01 14:50:07 +020066 register "gpe0_en" = "0x440"
67
68 device pci 1b.0 on # Audio
69 subsystemid 0x8086 0x5756
70 end
71 device pci 1c.0 on end # PCIe 1
72 device pci 1c.1 on # PCIe 2: NIC
73 device pci 00.0 on
74 subsystemid 0x8086 0x5756
75 end
76 end
77 device pci 1c.2 off end # PCIe 3
78 device pci 1c.3 off end # PCIe 4
Arthur Heymansfbc508f2017-06-01 14:50:07 +020079 device pci 1d.0 on # USB
80 subsystemid 0x8086 0x5756
81 end
82 device pci 1d.1 on # USB
83 subsystemid 0x8086 0x5756
84 end
85 device pci 1d.2 on # USB
86 subsystemid 0x8086 0x5756
87 end
88 device pci 1d.3 on # USB
89 subsystemid 0x8086 0x5756
90 end
91 device pci 1d.7 on # USB
92 subsystemid 0x8086 0x5756
93 end
94 device pci 1e.0 on end # PCI bridge
Maulik V Vaghela2aa13ef2018-05-26 15:32:28 +053095 device pci 1e.2 off end # AC'97 Audio Controller
96 device pci 1e.3 off end # AC'97 Modem Controller
Arthur Heymansfbc508f2017-06-01 14:50:07 +020097 device pci 1f.0 on # ISA bridge
98 subsystemid 0x8086 0x5756
99 chip superio/winbond/w83627dhg
100 device pnp 2e.0 on # Floppy
101 # global
102 irq 0x2c = 0x13
103 #floppy
104 io 0x60 = 0x3f0
105 irq 0x70 = 0x06
106 drq 0x74 = 0x02
107 end
108 device pnp 2e.1 on # Parallel port
109 # parallel port
110 io 0x60 = 0x378
111 irq 0x70 = 5
112 drq 0x74 = 3
113 end
114 device pnp 2e.2 on # COM1
115 io 0x60 = 0x3f8
116 irq 0x70 = 4
117 end
118 device pnp 2e.3 on # COM2, IR
119 io 0x60 = 0x2f8
120 irq 0x70 = 3
121 end
122 device pnp 2e.5 on # Keyboard, mouse
123 io 0x60 = 0x60
124 io 0x62 = 0x64
125 irq 0x70 = 1
126 irq 0x72 = 12
127 end
128 device pnp 2e.6 off end # SPI
129 device pnp 2e.7 on end # GPIO6 (all input)
130 device pnp 2e.8 off end # WDT0#, PLED
131 device pnp 2e.9 off end # GPIO2
132 device pnp 2e.109 off end # GPIO3
133 device pnp 2e.209 off end # GPIO4
134 device pnp 2e.309 on # GPIO5
135 irq 0xe0 = 0xdf
136 irq 0xf3 = 0x09 # RSVD SUSLED settings
137 end
138 device pnp 2e.a on # ACPI
139 irq 0xe0 = 0x10
140 irq 0xe1 = 0x0e
141 irq 0xe4 = 0x10 # Power dram during s3
142 irq 0xe6 = 0x8c
143 end
144 device pnp 2e.b on # HWM, front pannel LED
145 io 0x60 = 0xa00
146 irq 0x70 = 0
147 end
148 device pnp 2e.c on # PECI, SST
149 irq 0xe0 = 0x11
150 irq 0xe1 = 0x59
151 end
152 end
153 end
Elyes HAOUAScd5f2b52018-05-28 13:35:35 +0200154 device pci 1f.1 off end # PATA/IDE
Arthur Heymansfbc508f2017-06-01 14:50:07 +0200155 device pci 1f.2 on # SATA
156 subsystemid 0x8086 0x5756
157 end
158 device pci 1f.3 on # SMbus
159 subsystemid 0x8086 0x5756
160 chip drivers/i2c/ck505
161 register "mask" = "{ 0xff, 0xff, 0xff,
162 0xff, 0xff, 0xff, 0xff, 0xff,
163 0xff, 0xff, 0xff, 0xff, 0xff,
164 0xff, 0xff, 0xff, 0xff, 0xff,
165 0xff, 0xff, 0xff }"
166 register "regs" = "{ 0x41, 0x99, 0xff,
167 0xff, 0xff, 0x00, 0x00, 0x06,
168 0x03, 0x65, 0x83, 0x80, 0x15,
169 0xc0, 0x09, 0x00, 0x00, 0x00,
170 0x06, 0x00, 0xea }"
171 device i2c 69 on end
172 end
173
174 end
175 end
176 end
177end