blob: 0bdae0a5662147aea0aa1bc318d38254d4f08be1 [file] [log] [blame]
Arthur Heymansfbc508f2017-06-01 14:50:07 +02001# This file is part of the coreboot project.
Elyes HAOUAS674ad922020-05-09 13:21:47 +02002# SPDX-License-Identifier: GPL-2.0-or-later
Arthur Heymansfbc508f2017-06-01 14:50:07 +02003
4chip northbridge/intel/x4x # Northbridge
5 device cpu_cluster 0 on # APIC cluster
6 chip cpu/intel/socket_LGA775
7 device lapic 0 on end
8 end
9 chip cpu/intel/model_1067x # CPU
10 device lapic 0xACAC off end
11 end
12 end
13 device domain 0 on # PCI domain
14 subsystemid 0x1458 0x5000 inherit
15 device pci 0.0 on # Host Bridge
16 subsystemid 0x8086 0x5756
17 end
18 device pci 1.0 on end # PEG
19 device pci 2.0 on # Integrated graphics controller
20 subsystemid 0x8086 0x5756
21 end
22 chip southbridge/intel/i82801gx # Southbridge
23 register "pirqa_routing" = "0x0b"
24 register "pirqb_routing" = "0x0b"
25 register "pirqc_routing" = "0x0b"
26 register "pirqd_routing" = "0x0b"
27 register "pirqe_routing" = "0x80"
28 register "pirqf_routing" = "0x80"
29 register "pirqg_routing" = "0x80"
30 register "pirqh_routing" = "0x0b"
31 # GPI routing
32 # 0 No effect (default)
33 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
34 # 2 SCI (if corresponding GPIO_EN bit is also set)
35 register "gpi0_routing" = "2"
36 register "gpi1_routing" = "2"
37 register "gpi2_routing" = "2"
38 register "gpi3_routing" = "2"
39 register "gpi4_routing" = "2"
40 register "gpi5_routing" = "2"
41 register "gpi6_routing" = "2"
42 register "gpi7_routing" = "2"
43 register "gpi8_routing" = "2"
44 register "gpi9_routing" = "2"
45 register "gpi10_routing" = "2"
46 register "gpi11_routing" = "2"
47 register "gpi12_routing" = "2"
48 register "gpi13_routing" = "2"
49 register "gpi14_routing" = "2"
50 register "gpi15_routing" = "2"
51
52 register "ide_enable_primary" = "0x1"
Arthur Heymansfbc508f2017-06-01 14:50:07 +020053 register "gpe0_en" = "0x440"
54
Arthur Heymansfecf7772019-11-09 14:19:04 +010055 register "gen1_dec" = "0x00fc0a01" # HWM
56
Arthur Heymansfbc508f2017-06-01 14:50:07 +020057 device pci 1b.0 on # Audio
58 subsystemid 0x8086 0x5756
59 end
60 device pci 1c.0 on end # PCIe 1
61 device pci 1c.1 on # PCIe 2: NIC
62 device pci 00.0 on
63 subsystemid 0x8086 0x5756
64 end
65 end
66 device pci 1c.2 off end # PCIe 3
67 device pci 1c.3 off end # PCIe 4
Arthur Heymansfbc508f2017-06-01 14:50:07 +020068 device pci 1d.0 on # USB
69 subsystemid 0x8086 0x5756
70 end
71 device pci 1d.1 on # USB
72 subsystemid 0x8086 0x5756
73 end
74 device pci 1d.2 on # USB
75 subsystemid 0x8086 0x5756
76 end
77 device pci 1d.3 on # USB
78 subsystemid 0x8086 0x5756
79 end
80 device pci 1d.7 on # USB
81 subsystemid 0x8086 0x5756
82 end
83 device pci 1e.0 on end # PCI bridge
Maulik V Vaghela2aa13ef2018-05-26 15:32:28 +053084 device pci 1e.2 off end # AC'97 Audio Controller
85 device pci 1e.3 off end # AC'97 Modem Controller
Arthur Heymansfbc508f2017-06-01 14:50:07 +020086 device pci 1f.0 on # ISA bridge
87 subsystemid 0x8086 0x5756
88 chip superio/winbond/w83627dhg
89 device pnp 2e.0 on # Floppy
90 # global
91 irq 0x2c = 0x13
92 #floppy
93 io 0x60 = 0x3f0
94 irq 0x70 = 0x06
95 drq 0x74 = 0x02
96 end
97 device pnp 2e.1 on # Parallel port
98 # parallel port
99 io 0x60 = 0x378
100 irq 0x70 = 5
101 drq 0x74 = 3
102 end
103 device pnp 2e.2 on # COM1
104 io 0x60 = 0x3f8
105 irq 0x70 = 4
106 end
107 device pnp 2e.3 on # COM2, IR
108 io 0x60 = 0x2f8
109 irq 0x70 = 3
110 end
111 device pnp 2e.5 on # Keyboard, mouse
112 io 0x60 = 0x60
113 io 0x62 = 0x64
114 irq 0x70 = 1
115 irq 0x72 = 12
116 end
117 device pnp 2e.6 off end # SPI
118 device pnp 2e.7 on end # GPIO6 (all input)
119 device pnp 2e.8 off end # WDT0#, PLED
120 device pnp 2e.9 off end # GPIO2
121 device pnp 2e.109 off end # GPIO3
122 device pnp 2e.209 off end # GPIO4
123 device pnp 2e.309 on # GPIO5
124 irq 0xe0 = 0xdf
125 irq 0xf3 = 0x09 # RSVD SUSLED settings
126 end
127 device pnp 2e.a on # ACPI
128 irq 0xe0 = 0x10
129 irq 0xe1 = 0x0e
130 irq 0xe4 = 0x10 # Power dram during s3
131 irq 0xe6 = 0x8c
132 end
133 device pnp 2e.b on # HWM, front pannel LED
134 io 0x60 = 0xa00
135 irq 0x70 = 0
136 end
137 device pnp 2e.c on # PECI, SST
138 irq 0xe0 = 0x11
139 irq 0xe1 = 0x59
140 end
141 end
142 end
Elyes HAOUAScd5f2b52018-05-28 13:35:35 +0200143 device pci 1f.1 off end # PATA/IDE
Arthur Heymansfbc508f2017-06-01 14:50:07 +0200144 device pci 1f.2 on # SATA
145 subsystemid 0x8086 0x5756
146 end
147 device pci 1f.3 on # SMbus
148 subsystemid 0x8086 0x5756
149 chip drivers/i2c/ck505
150 register "mask" = "{ 0xff, 0xff, 0xff,
151 0xff, 0xff, 0xff, 0xff, 0xff,
152 0xff, 0xff, 0xff, 0xff, 0xff,
153 0xff, 0xff, 0xff, 0xff, 0xff,
154 0xff, 0xff, 0xff }"
155 register "regs" = "{ 0x41, 0x99, 0xff,
156 0xff, 0xff, 0x00, 0x00, 0x06,
157 0x03, 0x65, 0x83, 0x80, 0x15,
158 0xc0, 0x09, 0x00, 0x00, 0x00,
159 0x06, 0x00, 0xea }"
160 device i2c 69 on end
161 end
162
163 end
164 end
165 end
166end