blob: fd75b1a527a0e07c2fe6e94001a44ca30d2e6a20 [file] [log] [blame]
Patrick Georgic49d7a32020-05-08 22:50:46 +02001## SPDX-License-Identifier: GPL-2.0-only
Patrick Rudolph05284b62019-06-04 15:56:44 +02002
3chip northbridge/intel/sandybridge
Patrick Rudolph05284b62019-06-04 15:56:44 +02004 register "gfx.use_spread_spectrum_clock" = "0"
5 register "gpu_dp_b_hotplug" = "0"
6 register "gpu_dp_c_hotplug" = "0"
7 register "gpu_dp_d_hotplug" = "0"
8
Angel Ponsd2489ee2021-05-17 11:05:29 +02009 device cpu_cluster 0 on
Patrick Rudolph05284b62019-06-04 15:56:44 +020010 chip cpu/intel/model_206ax
Angel Pons6f56a232021-01-04 17:02:23 +010011 register "acpi_c1" = "1"
12 register "acpi_c2" = "3"
13 register "acpi_c3" = "5"
Angel Ponse16692e2020-08-03 12:54:48 +020014 device lapic 0x0 on end
Patrick Rudolph05284b62019-06-04 15:56:44 +020015 device lapic 0xacac off end
16 end
17 end
18
Angel Ponsbceea672021-05-17 10:58:36 +020019 device domain 0 on
Angel Ponsa0a3eab2020-01-01 20:52:11 +010020 subsystemid 0x103c 0x1791 inherit
Angel Pons942650f2020-01-01 20:56:08 +010021
22 device pci 00.0 on end # Host bridge Host bridge
23 device pci 01.0 on end # PCIe Bridge for discrete graphics
24 device pci 02.0 on end # Internal graphics VGA controller
25
Patrick Rudolph05284b62019-06-04 15:56:44 +020026 chip southbridge/intel/bd82x6x # Intel Series 7 PCH
27 register "c2_latency" = "0x0065"
28 register "docking_supported" = "0"
29 register "gen1_dec" = "0x00fc0601"
30 register "gen2_dec" = "0x00fc0801"
Patrick Rudolph05284b62019-06-04 15:56:44 +020031 register "pcie_hotplug_map" = "{ 0, 0, 0, 0, 0, 0, 0, 0 }"
32 register "pcie_port_coalesce" = "1"
33 register "sata_interface_speed_support" = "0x3"
34 register "sata_port_map" = "0xf"
35 register "spi_lvscc" = "0x2005"
36 register "spi_uvscc" = "0x2005"
Angel Ponsa0a3eab2020-01-01 20:52:11 +010037
38 device pci 14.0 on end # xHCI
39 device pci 16.0 on end # Management Engine Interface 1
40 device pci 16.1 off end # Management Engine Interface 2
41 device pci 16.2 off end # Management Engine IDE-R
42 device pci 16.3 on end # Management Engine KT
43 device pci 19.0 on end # Intel Gigabit Ethernet
44 device pci 1a.0 on end # USB2 EHCI #2
45 device pci 1b.0 on end # High Definition Audio Audio controller
46 device pci 1c.0 on end # PCIe Port #1
47 device pci 1c.1 off end # PCIe Port #2
48 device pci 1c.2 off end # PCIe Port #3
49 device pci 1c.3 off end # PCIe Port #4
50 device pci 1c.4 on end # PCIe Port #5
51 device pci 1c.5 off end # PCIe Port #6
52 device pci 1c.6 on end # PCIe Port #7
53 device pci 1c.7 on end # PCIe Port #8
54 device pci 1d.0 on end # USB2 EHCI #1
55 device pci 1e.0 on end # PCI bridge
56 device pci 1f.0 on # LPC bridge PCI-LPC bridge
Patrick Rudolphe1498ce2020-02-12 15:23:05 +010057 chip superio/common
58 device pnp 2e.ff on # passes SIO base addr to SSDT gen
59 chip superio/nuvoton/npcd378
60 device pnp 2e.0 off end # Floppy
61 device pnp 2e.1 on # Parallel port
62 # global
Patrick Rudolph05284b62019-06-04 15:56:44 +020063
Patrick Rudolphe1498ce2020-02-12 15:23:05 +010064 # serialice: Vendor writes:
65 irq 0x14 = 0x9c
66 irq 0x1c = 0xa8
67 irq 0x1d = 0x08
68 irq 0x22 = 0x3f
69 irq 0x1a = 0xb0
70 # dumped from superiotool:
71 irq 0x1b = 0x1e
72 irq 0x27 = 0x08
73 irq 0x2a = 0x20
74 irq 0x2d = 0x01
75 # parallel port
76 io 0x60 = 0x378
77 irq 0x70 = 0x07
78 drq 0x74 = 0x01
79 end
80 device pnp 2e.2 off # COM1
81 io 0x60 = 0x2f8
82 irq 0x70 = 3
83 end
84 device pnp 2e.3 on # COM2, IR
85 io 0x60 = 0x3f8
86 irq 0x70 = 4
87 end
88 device pnp 2e.4 on # LED control
89 io 0x60 = 0x600
90 # IOBASE[0h] = bit0 LED red / green
91 # IOBASE[0h] = bit1-4 LED PWM duty cycle
92 # IOBASE[1h] = bit6 SWCC
Patrick Rudolph05284b62019-06-04 15:56:44 +020093
Patrick Rudolphe1498ce2020-02-12 15:23:05 +010094 io 0x62 = 0x610
95 # IOBASE [0h] = GPES
96 # IOBASE [1h] = GPEE
97 # IOBASE [4h:7h] = 32bit upcounter at 1Mhz
98 # IOBASE [8h:bh] = GPS
99 # IOBASE [ch:fh] = GPE
100 end
101 device pnp 2e.5 on # Mouse
102 irq 0x70 = 0xc
103 end
104 device pnp 2e.6 on # Keyboard
105 io 0x60 = 0x0060
106 io 0x62 = 0x0064
107 irq 0x70 = 0x01
108 # serialice: Vendor writes:
109 drq 0xf0 = 0x40
110 end
111 device pnp 2e.7 on # WDT ?
112 io 0x60 = 0x620
113 end
114 device pnp 2e.8 on # HWM
115 io 0x60 = 0x800
116 # IOBASE[0h:feh] HWM page
117 # IOBASE[ffh] bit0-bit3 page selector
Patrick Rudolph05284b62019-06-04 15:56:44 +0200118
Patrick Rudolphe1498ce2020-02-12 15:23:05 +0100119 drq 0xf0 = 0x20
120 drq 0xf1 = 0x01
121 drq 0xf2 = 0x40
122 drq 0xf3 = 0x01
Patrick Rudolph05284b62019-06-04 15:56:44 +0200123
Patrick Rudolphe1498ce2020-02-12 15:23:05 +0100124 drq 0xf4 = 0x66
125 drq 0xf5 = 0x67
126 drq 0xf6 = 0x66
127 drq 0xf7 = 0x01
128 end
129 device pnp 2e.f on # GPIO OD ?
130 drq 0xf1 = 0x97
131 drq 0xf2 = 0x01
132 drq 0xf5 = 0x08
133 drq 0xfe = 0x80
134 end
135 device pnp 2e.15 on # BUS ?
136 io 0x60 = 0x0680
137 io 0x62 = 0x0690
138 end
139 device pnp 2e.1c on # Suspend Control ?
140 io 0x60 = 0x640
141 # writing to IOBASE[5h]
142 # 0x0: Power off
143 # 0x9: Power off and bricked until CMOS battery removed
144 end
145 device pnp 2e.1e on # GPIO ?
146 io 0x60 = 0x660
147 drq 0xf4 = 0x01
148 # skip the following, as it
149 # looks like remapped registers
150 #drq 0xf5 = 0x06
151 #drq 0xf6 = 0x60
152 #drq 0xfe = 0x03
153 end
154 end
Patrick Rudolph05284b62019-06-04 15:56:44 +0200155 end
156 end
157 chip drivers/pc80/tpm
158 device pnp 4e.0 on end # TPM module
159 end
160 end
Angel Ponsa0a3eab2020-01-01 20:52:11 +0100161 device pci 1f.2 on end # SATA Controller 1
162 device pci 1f.3 on end # SMBus
163 device pci 1f.5 off end # SATA Controller 2
164 device pci 1f.6 off end # Thermal
Patrick Rudolph05284b62019-06-04 15:56:44 +0200165 end
Patrick Rudolph05284b62019-06-04 15:56:44 +0200166 end
167end