blob: 98e48efeef6fb5b093eb02c6ff3eff13332cc8aa [file] [log] [blame]
Patrick Georgic49d7a32020-05-08 22:50:46 +02001## SPDX-License-Identifier: GPL-2.0-only
Patrick Rudolph6308e0e2018-03-27 16:06:34 +02002
3chip northbridge/intel/sandybridge
Patrick Rudolph6308e0e2018-03-27 16:06:34 +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 Rudolph6308e0e2018-03-27 16:06:34 +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 Ponsc56c7232021-05-17 11:03:55 +020014 device lapic 0 on end
Arthur Heymansb3f23232019-01-21 17:48:55 +010015 device lapic 0xacac off end
Patrick Rudolph6308e0e2018-03-27 16:06:34 +020016 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 0x1495 inherit
21
Angel Pons942650f2020-01-01 20:56:08 +010022 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 Rudolph6308e0e2018-03-27 16:06:34 +020026 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
Patrick Rudolph6308e0e2018-03-27 16:06:34 +020027 register "docking_supported" = "0"
28 register "gen1_dec" = "0x00fc0601"
29 register "gen2_dec" = "0x00fc0801"
Patrick Rudolph6308e0e2018-03-27 16:06:34 +020030 register "pcie_hotplug_map" = "{ 0, 0, 0, 0, 0, 0, 0, 0 }"
Angel Ponsaf4bd562021-12-28 13:05:56 +010031 register "pcie_port_coalesce" = "true"
Patrick Rudolph6308e0e2018-03-27 16:06:34 +020032 register "sata_interface_speed_support" = "0x3"
Patrick Rudolphd3798402018-11-27 10:36:33 +010033 register "sata_port_map" = "0xf"
Patrick Rudolph6308e0e2018-03-27 16:06:34 +020034 register "spi_lvscc" = "0x2005"
35 register "spi_uvscc" = "0x0"
Angel Ponsa0a3eab2020-01-01 20:52:11 +010036
37 device pci 16.0 on end # Management Engine Interface 1
38 device pci 16.1 off end # Management Engine Interface 2
39 device pci 16.2 off end # Management Engine IDE-R
40 device pci 16.3 on end # Management Engine KT
41 device pci 19.0 on end # Intel Gigabit Ethernet
42 device pci 1a.0 on end # USB2 EHCI #2
43 device pci 1b.0 on end # High Definition Audio Audio controller
44 device pci 1c.0 on end # PCIe Port #1
45 device pci 1c.1 off end # PCIe Port #2
46 device pci 1c.2 off end # PCIe Port #3
47 device pci 1c.3 off end # PCIe Port #4
48 device pci 1c.4 on end # PCIe Port #5
49 device pci 1c.5 off end # PCIe Port #6
50 device pci 1c.6 on end # PCIe Port #7
51 device pci 1c.7 on end # PCIe Port #8
52 device pci 1d.0 on end # USB2 EHCI #1
53 device pci 1e.0 on end # PCI bridge
54 device pci 1f.0 on # LPC bridge PCI-LPC bridge
Patrick Rudolphe1498ce2020-02-12 15:23:05 +010055 chip superio/common
56 device pnp 2e.ff on # passes SIO base addr to SSDT gen
57 chip superio/nuvoton/npcd378
58 device pnp 2e.0 off end # Floppy
59 device pnp 2e.1 on # Parallel port
60 # global
Patrick Rudolph6308e0e2018-03-27 16:06:34 +020061
Patrick Rudolphe1498ce2020-02-12 15:23:05 +010062 # serialice: Vendor writes:
63 irq 0x14 = 0x9c
64 irq 0x1c = 0xa8
65 irq 0x1d = 0x08
66 irq 0x22 = 0x3f
67 irq 0x1a = 0xb0
68 # dumped from superiotool:
69 irq 0x1b = 0x1e
70 irq 0x27 = 0x08
71 irq 0x2a = 0x20
72 irq 0x2d = 0x01
73 # parallel port
74 io 0x60 = 0x378
75 irq 0x70 = 0x07
76 drq 0x74 = 0x01
77 end
78 device pnp 2e.2 off # COM1
79 io 0x60 = 0x2f8
80 irq 0x70 = 3
81 end
82 device pnp 2e.3 on # COM2, IR
83 io 0x60 = 0x3f8
84 irq 0x70 = 4
85 end
86 device pnp 2e.4 on # LED control
87 io 0x60 = 0x600
88 # IOBASE[0h] = bit0 LED red / green
89 # IOBASE[0h] = bit1-4 LED PWM duty cycle
90 # IOBASE[1h] = bit6 SWCC
Patrick Rudolph6308e0e2018-03-27 16:06:34 +020091
Patrick Rudolphe1498ce2020-02-12 15:23:05 +010092 io 0x62 = 0x610
93 # IOBASE [0h] = GPES
94 # IOBASE [1h] = GPEE
95 # IOBASE [4h:7h] = 32bit upcounter at 1Mhz
96 # IOBASE [8h:bh] = GPS
97 # IOBASE [ch:fh] = GPE
98 end
99 device pnp 2e.5 on # Mouse
100 irq 0x70 = 0xc
101 end
102 device pnp 2e.6 on # Keyboard
103 io 0x60 = 0x0060
104 io 0x62 = 0x0064
105 irq 0x70 = 0x01
106 # serialice: Vendor writes:
107 drq 0xf0 = 0x40
108 end
109 device pnp 2e.7 on # WDT ?
110 io 0x60 = 0x620
111 end
112 device pnp 2e.8 on # HWM
113 io 0x60 = 0x800
114 # IOBASE[0h:feh] HWM page
115 # IOBASE[ffh] bit0-bit3 page selector
Patrick Rudolph6308e0e2018-03-27 16:06:34 +0200116
Patrick Rudolphe1498ce2020-02-12 15:23:05 +0100117 drq 0xf0 = 0x20
118 drq 0xf1 = 0x01
119 drq 0xf2 = 0x40
120 drq 0xf3 = 0x01
Patrick Rudolph6308e0e2018-03-27 16:06:34 +0200121
Patrick Rudolphe1498ce2020-02-12 15:23:05 +0100122 drq 0xf4 = 0x66
123 drq 0xf5 = 0x67
124 drq 0xf6 = 0x66
125 drq 0xf7 = 0x01
126 end
127 device pnp 2e.f on # GPIO OD ?
128 drq 0xf1 = 0x97
129 drq 0xf2 = 0x01
130 drq 0xf5 = 0x08
131 drq 0xfe = 0x80
132 end
133 device pnp 2e.15 on # BUS ?
134 io 0x60 = 0x0680
135 io 0x62 = 0x0690
136 end
137 device pnp 2e.1c on # Suspend Control ?
138 io 0x60 = 0x640
139 # writing to IOBASE[5h]
140 # 0x0: Power off
141 # 0x9: Power off and bricked until CMOS battery removed
142 end
143 device pnp 2e.1e on # GPIO ?
144 io 0x60 = 0x660
145 drq 0xf4 = 0x01
146 # skip the following, as it
147 # looks like remapped registers
148 #drq 0xf5 = 0x06
149 #drq 0xf6 = 0x60
150 #drq 0xfe = 0x03
151 end
152 end
Patrick Rudolph6308e0e2018-03-27 16:06:34 +0200153 end
154 end
Patrick Rudolph39d0e2a2018-06-01 11:53:19 +0200155 chip drivers/pc80/tpm
156 device pnp 4e.0 on end # TPM module
157 end
Patrick Rudolph6308e0e2018-03-27 16:06:34 +0200158 end
Angel Ponsa0a3eab2020-01-01 20:52:11 +0100159 device pci 1f.2 on end # SATA Controller 1
160 device pci 1f.3 on end # SMBus
161 device pci 1f.5 off end # SATA Controller 2
162 device pci 1f.6 off end # Thermal
Patrick Rudolph6308e0e2018-03-27 16:06:34 +0200163 end
Patrick Rudolph6308e0e2018-03-27 16:06:34 +0200164 end
165end