blob: 6794b6284f78fb572de80e7f422f600a6d4a0791 [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 Ponsbceea672021-05-17 10:58:36 +02009 device domain 0 on
Angel Ponsa0a3eab2020-01-01 20:52:11 +010010 subsystemid 0x103c 0x1791 inherit
Angel Pons942650f2020-01-01 20:56:08 +010011
12 device pci 00.0 on end # Host bridge Host bridge
13 device pci 01.0 on end # PCIe Bridge for discrete graphics
14 device pci 02.0 on end # Internal graphics VGA controller
Bill XIE4e43abf2022-07-07 16:18:57 +080015 device pci 06.0 off end # Extra x4 port on north bridge
Angel Pons942650f2020-01-01 20:56:08 +010016
Patrick Rudolph05284b62019-06-04 15:56:44 +020017 chip southbridge/intel/bd82x6x # Intel Series 7 PCH
Patrick Rudolph05284b62019-06-04 15:56:44 +020018 register "docking_supported" = "0"
19 register "gen1_dec" = "0x00fc0601"
20 register "gen2_dec" = "0x00fc0801"
Patrick Rudolph05284b62019-06-04 15:56:44 +020021 register "pcie_hotplug_map" = "{ 0, 0, 0, 0, 0, 0, 0, 0 }"
Angel Ponsaf4bd562021-12-28 13:05:56 +010022 register "pcie_port_coalesce" = "true"
Patrick Rudolph05284b62019-06-04 15:56:44 +020023 register "sata_interface_speed_support" = "0x3"
Patrick Rudolph05284b62019-06-04 15:56:44 +020024 register "spi_lvscc" = "0x2005"
25 register "spi_uvscc" = "0x2005"
Bill XIEc5479962022-08-26 09:46:41 +080026 register "superspeed_capable_ports" = "0x0000000f"
27 register "xhci_switchable_ports" = "0x0000000f"
28 register "xhci_overcurrent_mapping" = "0x0000000f"
Angel Ponsa0a3eab2020-01-01 20:52:11 +010029
30 device pci 14.0 on end # xHCI
31 device pci 16.0 on end # Management Engine Interface 1
32 device pci 16.1 off end # Management Engine Interface 2
33 device pci 16.2 off end # Management Engine IDE-R
34 device pci 16.3 on end # Management Engine KT
35 device pci 19.0 on end # Intel Gigabit Ethernet
36 device pci 1a.0 on end # USB2 EHCI #2
37 device pci 1b.0 on end # High Definition Audio Audio controller
38 device pci 1c.0 on end # PCIe Port #1
39 device pci 1c.1 off end # PCIe Port #2
40 device pci 1c.2 off end # PCIe Port #3
41 device pci 1c.3 off end # PCIe Port #4
42 device pci 1c.4 on end # PCIe Port #5
43 device pci 1c.5 off end # PCIe Port #6
Bill XIE4e43abf2022-07-07 16:18:57 +080044 device pci 1c.6 off end # PCIe Port #7
45 device pci 1c.7 off end # PCIe Port #8
Angel Ponsa0a3eab2020-01-01 20:52:11 +010046 device pci 1d.0 on end # USB2 EHCI #1
47 device pci 1e.0 on end # PCI bridge
48 device pci 1f.0 on # LPC bridge PCI-LPC bridge
Patrick Rudolphe1498ce2020-02-12 15:23:05 +010049 chip superio/common
50 device pnp 2e.ff on # passes SIO base addr to SSDT gen
51 chip superio/nuvoton/npcd378
52 device pnp 2e.0 off end # Floppy
53 device pnp 2e.1 on # Parallel port
54 # global
Patrick Rudolph05284b62019-06-04 15:56:44 +020055
Patrick Rudolphe1498ce2020-02-12 15:23:05 +010056 # serialice: Vendor writes:
57 irq 0x14 = 0x9c
58 irq 0x1c = 0xa8
59 irq 0x1d = 0x08
60 irq 0x22 = 0x3f
61 irq 0x1a = 0xb0
62 # dumped from superiotool:
63 irq 0x1b = 0x1e
64 irq 0x27 = 0x08
65 irq 0x2a = 0x20
66 irq 0x2d = 0x01
67 # parallel port
68 io 0x60 = 0x378
69 irq 0x70 = 0x07
70 drq 0x74 = 0x01
71 end
72 device pnp 2e.2 off # COM1
73 io 0x60 = 0x2f8
74 irq 0x70 = 3
75 end
76 device pnp 2e.3 on # COM2, IR
77 io 0x60 = 0x3f8
78 irq 0x70 = 4
79 end
80 device pnp 2e.4 on # LED control
81 io 0x60 = 0x600
82 # IOBASE[0h] = bit0 LED red / green
83 # IOBASE[0h] = bit1-4 LED PWM duty cycle
84 # IOBASE[1h] = bit6 SWCC
Patrick Rudolph05284b62019-06-04 15:56:44 +020085
Patrick Rudolphe1498ce2020-02-12 15:23:05 +010086 io 0x62 = 0x610
87 # IOBASE [0h] = GPES
88 # IOBASE [1h] = GPEE
89 # IOBASE [4h:7h] = 32bit upcounter at 1Mhz
90 # IOBASE [8h:bh] = GPS
91 # IOBASE [ch:fh] = GPE
92 end
93 device pnp 2e.5 on # Mouse
94 irq 0x70 = 0xc
95 end
96 device pnp 2e.6 on # Keyboard
97 io 0x60 = 0x0060
98 io 0x62 = 0x0064
99 irq 0x70 = 0x01
100 # serialice: Vendor writes:
101 drq 0xf0 = 0x40
102 end
103 device pnp 2e.7 on # WDT ?
104 io 0x60 = 0x620
105 end
106 device pnp 2e.8 on # HWM
107 io 0x60 = 0x800
108 # IOBASE[0h:feh] HWM page
109 # IOBASE[ffh] bit0-bit3 page selector
Patrick Rudolph05284b62019-06-04 15:56:44 +0200110
Patrick Rudolphe1498ce2020-02-12 15:23:05 +0100111 drq 0xf0 = 0x20
112 drq 0xf1 = 0x01
113 drq 0xf2 = 0x40
114 drq 0xf3 = 0x01
Patrick Rudolph05284b62019-06-04 15:56:44 +0200115
Patrick Rudolphe1498ce2020-02-12 15:23:05 +0100116 drq 0xf4 = 0x66
117 drq 0xf5 = 0x67
118 drq 0xf6 = 0x66
119 drq 0xf7 = 0x01
120 end
121 device pnp 2e.f on # GPIO OD ?
122 drq 0xf1 = 0x97
123 drq 0xf2 = 0x01
124 drq 0xf5 = 0x08
125 drq 0xfe = 0x80
126 end
127 device pnp 2e.15 on # BUS ?
128 io 0x60 = 0x0680
129 io 0x62 = 0x0690
130 end
131 device pnp 2e.1c on # Suspend Control ?
132 io 0x60 = 0x640
133 # writing to IOBASE[5h]
134 # 0x0: Power off
135 # 0x9: Power off and bricked until CMOS battery removed
136 end
137 device pnp 2e.1e on # GPIO ?
138 io 0x60 = 0x660
139 drq 0xf4 = 0x01
140 # skip the following, as it
141 # looks like remapped registers
142 #drq 0xf5 = 0x06
143 #drq 0xf6 = 0x60
144 #drq 0xfe = 0x03
145 end
146 end
Patrick Rudolph05284b62019-06-04 15:56:44 +0200147 end
148 end
149 chip drivers/pc80/tpm
150 device pnp 4e.0 on end # TPM module
151 end
152 end
Angel Ponsa0a3eab2020-01-01 20:52:11 +0100153 device pci 1f.2 on end # SATA Controller 1
154 device pci 1f.3 on end # SMBus
155 device pci 1f.5 off end # SATA Controller 2
156 device pci 1f.6 off end # Thermal
Patrick Rudolph05284b62019-06-04 15:56:44 +0200157 end
Patrick Rudolph05284b62019-06-04 15:56:44 +0200158 end
159end