blob: 7369f53982c2981d46e54d7ffb4fe45ac76a0405 [file] [log] [blame]
Samuel Holland82651462017-06-03 03:53:33 -05001## This file is part of the coreboot project.
Elyes HAOUAS674ad922020-05-09 13:21:47 +02002## SPDX-License-Identifier: GPL-2.0-or-later
Samuel Holland82651462017-06-03 03:53:33 -05003
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
Arthur Heymans7ac40962018-12-15 20:58:17 +010014 device pci 0.0 on end # Host Bridge
Samuel Holland82651462017-06-03 03:53:33 -050015 device pci 1.0 on end # PEG
Arthur Heymans7ac40962018-12-15 20:58:17 +010016 device pci 2.0 on end # Integrated graphics controller
Samuel Holland82651462017-06-03 03:53:33 -050017 device pci 2.1 off end # Integrated graphics controller 2
18 device pci 3.0 off end # ME
19 device pci 3.1 off end # ME
20 chip southbridge/intel/i82801gx # Southbridge
21 register "pirqa_routing" = "0x0a"
22 register "pirqb_routing" = "0x0b"
23 register "pirqc_routing" = "0x0a"
24 register "pirqd_routing" = "0x05"
25 register "pirqe_routing" = "0x0a"
26 register "pirqf_routing" = "0x0b"
27 register "pirqg_routing" = "0x0a"
28 register "pirqh_routing" = "0x03"
29
30 register "gpe0_en" = "0x00000441"
31 register "alt_gp_smi_en" = "0x0000"
32
33 register "ide_enable_primary" = "0x0"
34 register "ide_enable_secondary" = "0x0"
Samuel Holland82651462017-06-03 03:53:33 -050035 register "sata_ports_implemented" = "0x3"
36
Arthur Heymansfecf7772019-11-09 14:19:04 +010037 register "gen1_dec" = "0x003c0a01" # Super I/O EC and GPIO
38
Arthur Heymans7ac40962018-12-15 20:58:17 +010039 device pci 1b.0 on end # Audio
Samuel Holland82651462017-06-03 03:53:33 -050040 device pci 1c.0 on end # PCIe 1
41 device pci 1c.1 on # PCIe 2 (NIC)
Arthur Heymans7ac40962018-12-15 20:58:17 +010042 device pci 00.0 on end # PCI 10ec:8168
Samuel Holland82651462017-06-03 03:53:33 -050043 end
44 device pci 1c.2 off end # PCIe 3
45 device pci 1c.3 off end # PCIe 4
Arthur Heymans7ac40962018-12-15 20:58:17 +010046 device pci 1d.0 on end # USB
47 device pci 1d.1 on end # USB
48 device pci 1d.2 on end # USB
49 device pci 1d.3 on end # USB
50 device pci 1d.7 on end # USB
Samuel Holland82651462017-06-03 03:53:33 -050051 device pci 1e.0 on end # PCI bridge
Arthur Heymansb9d25892018-06-15 22:02:28 +020052 device pci 1e.2 off end # AC'97 Audio
53 device pci 1e.3 off end # AC'97 Modem
Samuel Holland82651462017-06-03 03:53:33 -050054 device pci 1f.0 on # ISA bridge
Samuel Holland82651462017-06-03 03:53:33 -050055 chip superio/ite/it8720f # Super I/O
Vagiz Trakhanov17c57712017-09-28 14:21:54 +000056 register "TMPIN1.mode" = "THERMAL_DIODE"
57 register "TMPIN1.offset" = "0"
58 register "TMPIN2.mode" = "THERMAL_RESISTOR"
59 register "TMPIN3.mode" = "THERMAL_MODE_DISABLED"
Samuel Holland82651462017-06-03 03:53:33 -050060
61 register "ec.vin_mask" = "VIN_ALL"
62
63 register "FAN1.mode" = "FAN_SMART_AUTOMATIC" # System fan
64 register "FAN1.smart.tmpin" = "1"
65 register "FAN1.smart.tmp_off" = "25"
66 register "FAN1.smart.tmp_start" = "30"
67 register "FAN1.smart.tmp_full" = "65"
68 register "FAN1.smart.tmp_delta" = "3"
69 register "FAN1.smart.smoothing" = "1"
70 register "FAN1.smart.pwm_start" = "20"
71 register "FAN1.smart.slope" = "10"
72 register "FAN2.mode" = "FAN_SMART_AUTOMATIC" # CPU fan
73 register "FAN2.smart.tmpin" = "1"
74 register "FAN2.smart.tmp_off" = "25"
75 register "FAN2.smart.tmp_start" = "30"
76 register "FAN2.smart.tmp_full" = "65"
77 register "FAN2.smart.tmp_delta" = "3"
78 register "FAN2.smart.smoothing" = "1"
79 register "FAN2.smart.pwm_start" = "20"
80 register "FAN2.smart.slope" = "10"
81 register "FAN3.mode" = "FAN_MODE_OFF" # Not connected
82
83 device pnp 2e.0 off end # Floppy
84 device pnp 2e.1 on # COM1
85 io 0x60 = 0x3f8
86 irq 0x70 = 0x04
87 irq 0xf0 = 0x00
88 irq 0xf1 = 0x50
89 end
90 device pnp 2e.2 on # COM2 (IR)
91 io 0x60 = 0x2f8
92 irq 0x70 = 0x03
93 irq 0xf0 = 0x10 # IrDA SIR mode
94 irq 0xf1 = 0x50
95 end
96 device pnp 2e.3 off end # Parallel port
97 device pnp 2e.4 on # Environment controller
98 io 0x60 = 0xa10
99 io 0x62 = 0xa00
100 irq 0x70 = 0x00
101 irq 0xf0 = 0x80
102 irq 0xf1 = 0x00
103 irq 0xf2 = 0x0a
104 irq 0xf3 = 0x00
105 irq 0xf4 = 0x80
106 irq 0xf5 = 0x00
107 irq 0xf6 = 0x00
108 end
109 device pnp 2e.5 on # Keyboard
110 io 0x60 = 0x060
111 io 0x62 = 0x064
112 irq 0x70 = 0x01
113 irq 0xf0 = 0x00
114 end
115 device pnp 2e.6 on # Mouse
116 irq 0x70 = 0x0c
117 irq 0xf0 = 0x00
118 end
119 device pnp 2e.7 on # GPIO
120 io 0x60 = 0x000
121 io 0x62 = 0xa20
122 io 0x64 = 0xa30
123 irq 0xf0 = 0x00
124 irq 0xf1 = 0x00
125 irq 0xf2 = 0x00
126 irq 0xf3 = 0x00
127 irq 0xf4 = 0x00
128 irq 0xf5 = 0x00
129 irq 0xf6 = 0x22
130 irq 0xf7 = 0x00
131 irq 0xf8 = 0x00
132 irq 0xf9 = 0x00
133 irq 0xfa = 0x00
134 irq 0xfb = 0x00
135 irq 0xfd = 0x00
136 irq 0xfe = 0x00
137 end
138 device pnp 2e.a on # CIR
139 io 0x60 = 0x3e0
140 irq 0x70 = 0x0a
141 irq 0xf0 = 0x00
142 end
143 end
144 end
145 device pci 1f.1 off end # PATA/IDE
Arthur Heymans7ac40962018-12-15 20:58:17 +0100146 device pci 1f.2 on end # SATA
147 device pci 1f.3 on end # SMbus
Samuel Holland82651462017-06-03 03:53:33 -0500148 end
149 end
150end