blob: ee91c04bc0e0364863650b9d305785589dc33c37 [file] [log] [blame]
Patrick Rudolph05284b62019-06-04 15:56:44 +02001##
2## This file is part of the coreboot project.
3##
Patrick Rudolph05284b62019-06-04 15:56:44 +02004##
Patrick Georgic49d7a32020-05-08 22:50:46 +02005## SPDX-License-Identifier: GPL-2.0-only
Patrick Rudolph05284b62019-06-04 15:56:44 +02006
7chip northbridge/intel/sandybridge
Patrick Rudolph05284b62019-06-04 15:56:44 +02008 register "gfx.use_spread_spectrum_clock" = "0"
9 register "gpu_dp_b_hotplug" = "0"
10 register "gpu_dp_c_hotplug" = "0"
11 register "gpu_dp_d_hotplug" = "0"
12
13 device cpu_cluster 0x0 on
14 chip cpu/intel/model_206ax
15 register "c1_acpower" = "1"
16 register "c1_battery" = "1"
17 register "c2_acpower" = "3"
18 register "c2_battery" = "3"
19 register "c3_acpower" = "5"
20 register "c3_battery" = "5"
21 device lapic 0x0 on end
22 device lapic 0xacac off end
23 end
24 end
25
26 register "pci_mmio_size" = "2048"
27
28 device domain 0x0 on
Angel Ponsa0a3eab2020-01-01 20:52:11 +010029 subsystemid 0x103c 0x1791 inherit
Angel Pons942650f2020-01-01 20:56:08 +010030
31 device pci 00.0 on end # Host bridge Host bridge
32 device pci 01.0 on end # PCIe Bridge for discrete graphics
33 device pci 02.0 on end # Internal graphics VGA controller
34
Patrick Rudolph05284b62019-06-04 15:56:44 +020035 chip southbridge/intel/bd82x6x # Intel Series 7 PCH
36 register "c2_latency" = "0x0065"
37 register "docking_supported" = "0"
38 register "gen1_dec" = "0x00fc0601"
39 register "gen2_dec" = "0x00fc0801"
Patrick Rudolph05284b62019-06-04 15:56:44 +020040 register "pcie_hotplug_map" = "{ 0, 0, 0, 0, 0, 0, 0, 0 }"
41 register "pcie_port_coalesce" = "1"
42 register "sata_interface_speed_support" = "0x3"
43 register "sata_port_map" = "0xf"
44 register "spi_lvscc" = "0x2005"
45 register "spi_uvscc" = "0x2005"
Angel Ponsa0a3eab2020-01-01 20:52:11 +010046
47 device pci 14.0 on end # xHCI
48 device pci 16.0 on end # Management Engine Interface 1
49 device pci 16.1 off end # Management Engine Interface 2
50 device pci 16.2 off end # Management Engine IDE-R
51 device pci 16.3 on end # Management Engine KT
52 device pci 19.0 on end # Intel Gigabit Ethernet
53 device pci 1a.0 on end # USB2 EHCI #2
54 device pci 1b.0 on end # High Definition Audio Audio controller
55 device pci 1c.0 on end # PCIe Port #1
56 device pci 1c.1 off end # PCIe Port #2
57 device pci 1c.2 off end # PCIe Port #3
58 device pci 1c.3 off end # PCIe Port #4
59 device pci 1c.4 on end # PCIe Port #5
60 device pci 1c.5 off end # PCIe Port #6
61 device pci 1c.6 on end # PCIe Port #7
62 device pci 1c.7 on end # PCIe Port #8
63 device pci 1d.0 on end # USB2 EHCI #1
64 device pci 1e.0 on end # PCI bridge
65 device pci 1f.0 on # LPC bridge PCI-LPC bridge
Patrick Rudolphe1498ce2020-02-12 15:23:05 +010066 chip superio/common
67 device pnp 2e.ff on # passes SIO base addr to SSDT gen
68 chip superio/nuvoton/npcd378
69 device pnp 2e.0 off end # Floppy
70 device pnp 2e.1 on # Parallel port
71 # global
Patrick Rudolph05284b62019-06-04 15:56:44 +020072
Patrick Rudolphe1498ce2020-02-12 15:23:05 +010073 # serialice: Vendor writes:
74 irq 0x14 = 0x9c
75 irq 0x1c = 0xa8
76 irq 0x1d = 0x08
77 irq 0x22 = 0x3f
78 irq 0x1a = 0xb0
79 # dumped from superiotool:
80 irq 0x1b = 0x1e
81 irq 0x27 = 0x08
82 irq 0x2a = 0x20
83 irq 0x2d = 0x01
84 # parallel port
85 io 0x60 = 0x378
86 irq 0x70 = 0x07
87 drq 0x74 = 0x01
88 end
89 device pnp 2e.2 off # COM1
90 io 0x60 = 0x2f8
91 irq 0x70 = 3
92 end
93 device pnp 2e.3 on # COM2, IR
94 io 0x60 = 0x3f8
95 irq 0x70 = 4
96 end
97 device pnp 2e.4 on # LED control
98 io 0x60 = 0x600
99 # IOBASE[0h] = bit0 LED red / green
100 # IOBASE[0h] = bit1-4 LED PWM duty cycle
101 # IOBASE[1h] = bit6 SWCC
Patrick Rudolph05284b62019-06-04 15:56:44 +0200102
Patrick Rudolphe1498ce2020-02-12 15:23:05 +0100103 io 0x62 = 0x610
104 # IOBASE [0h] = GPES
105 # IOBASE [1h] = GPEE
106 # IOBASE [4h:7h] = 32bit upcounter at 1Mhz
107 # IOBASE [8h:bh] = GPS
108 # IOBASE [ch:fh] = GPE
109 end
110 device pnp 2e.5 on # Mouse
111 irq 0x70 = 0xc
112 end
113 device pnp 2e.6 on # Keyboard
114 io 0x60 = 0x0060
115 io 0x62 = 0x0064
116 irq 0x70 = 0x01
117 # serialice: Vendor writes:
118 drq 0xf0 = 0x40
119 end
120 device pnp 2e.7 on # WDT ?
121 io 0x60 = 0x620
122 end
123 device pnp 2e.8 on # HWM
124 io 0x60 = 0x800
125 # IOBASE[0h:feh] HWM page
126 # IOBASE[ffh] bit0-bit3 page selector
Patrick Rudolph05284b62019-06-04 15:56:44 +0200127
Patrick Rudolphe1498ce2020-02-12 15:23:05 +0100128 drq 0xf0 = 0x20
129 drq 0xf1 = 0x01
130 drq 0xf2 = 0x40
131 drq 0xf3 = 0x01
Patrick Rudolph05284b62019-06-04 15:56:44 +0200132
Patrick Rudolphe1498ce2020-02-12 15:23:05 +0100133 drq 0xf4 = 0x66
134 drq 0xf5 = 0x67
135 drq 0xf6 = 0x66
136 drq 0xf7 = 0x01
137 end
138 device pnp 2e.f on # GPIO OD ?
139 drq 0xf1 = 0x97
140 drq 0xf2 = 0x01
141 drq 0xf5 = 0x08
142 drq 0xfe = 0x80
143 end
144 device pnp 2e.15 on # BUS ?
145 io 0x60 = 0x0680
146 io 0x62 = 0x0690
147 end
148 device pnp 2e.1c on # Suspend Control ?
149 io 0x60 = 0x640
150 # writing to IOBASE[5h]
151 # 0x0: Power off
152 # 0x9: Power off and bricked until CMOS battery removed
153 end
154 device pnp 2e.1e on # GPIO ?
155 io 0x60 = 0x660
156 drq 0xf4 = 0x01
157 # skip the following, as it
158 # looks like remapped registers
159 #drq 0xf5 = 0x06
160 #drq 0xf6 = 0x60
161 #drq 0xfe = 0x03
162 end
163 end
Patrick Rudolph05284b62019-06-04 15:56:44 +0200164 end
165 end
166 chip drivers/pc80/tpm
167 device pnp 4e.0 on end # TPM module
168 end
169 end
Angel Ponsa0a3eab2020-01-01 20:52:11 +0100170 device pci 1f.2 on end # SATA Controller 1
171 device pci 1f.3 on end # SMBus
172 device pci 1f.5 off end # SATA Controller 2
173 device pci 1f.6 off end # Thermal
Patrick Rudolph05284b62019-06-04 15:56:44 +0200174 end
Patrick Rudolph05284b62019-06-04 15:56:44 +0200175 end
176end