blob: 13398d0dbed399c1417665a0cdeaeaa5fa8baa81 [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 Ponsbceea672021-05-17 10:58:36 +02009 device domain 0 on
Angel Ponsa0a3eab2020-01-01 20:52:11 +010010 subsystemid 0x103c 0x1495 inherit
11
Arthur Heymansb5df65a2022-11-12 14:51:49 +010012 device ref host_bridge on end # Host bridge Host bridge
13 device ref peg10 on end # PCIe Bridge for discrete graphics
14 device ref igd on end # Internal graphics VGA controller
Angel Pons942650f2020-01-01 20:56:08 +010015
Patrick Rudolph6308e0e2018-03-27 16:06:34 +020016 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
Patrick Rudolph6308e0e2018-03-27 16:06:34 +020017 register "docking_supported" = "0"
18 register "gen1_dec" = "0x00fc0601"
19 register "gen2_dec" = "0x00fc0801"
Patrick Rudolph6308e0e2018-03-27 16:06:34 +020020 register "pcie_hotplug_map" = "{ 0, 0, 0, 0, 0, 0, 0, 0 }"
Angel Ponsaf4bd562021-12-28 13:05:56 +010021 register "pcie_port_coalesce" = "true"
Patrick Rudolph6308e0e2018-03-27 16:06:34 +020022 register "sata_interface_speed_support" = "0x3"
Patrick Rudolphd3798402018-11-27 10:36:33 +010023 register "sata_port_map" = "0xf"
Patrick Rudolph6308e0e2018-03-27 16:06:34 +020024 register "spi_lvscc" = "0x2005"
25 register "spi_uvscc" = "0x0"
Angel Ponsa0a3eab2020-01-01 20:52:11 +010026
Arthur Heymansb5df65a2022-11-12 14:51:49 +010027 device ref mei1 on end # Management Engine Interface 1
28 device ref mei2 off end # Management Engine Interface 2
29 device ref me_ide_r off end # Management Engine IDE-R
30 device ref me_kt on end # Management Engine KT
31 device ref gbe on end # Intel Gigabit Ethernet
32 device ref ehci2 on end # USB2 EHCI #2
33 device ref hda on end # High Definition Audio Audio controller
34 device ref pcie_rp1 on end # PCIe Port #1
35 device ref pcie_rp2 off end # PCIe Port #2
36 device ref pcie_rp3 off end # PCIe Port #3
37 device ref pcie_rp4 off end # PCIe Port #4
38 device ref pcie_rp5 on end # PCIe Port #5
39 device ref pcie_rp6 off end # PCIe Port #6
40 device ref pcie_rp7 on end # PCIe Port #7
41 device ref pcie_rp8 on end # PCIe Port #8
42 device ref ehci1 on end # USB2 EHCI #1
43 device ref pci_bridge on end # PCI bridge
44 device ref lpc on # LPC bridge PCI-LPC bridge
Patrick Rudolphe1498ce2020-02-12 15:23:05 +010045 chip superio/common
46 device pnp 2e.ff on # passes SIO base addr to SSDT gen
47 chip superio/nuvoton/npcd378
48 device pnp 2e.0 off end # Floppy
49 device pnp 2e.1 on # Parallel port
50 # global
Patrick Rudolph6308e0e2018-03-27 16:06:34 +020051
Patrick Rudolphe1498ce2020-02-12 15:23:05 +010052 # serialice: Vendor writes:
53 irq 0x14 = 0x9c
54 irq 0x1c = 0xa8
55 irq 0x1d = 0x08
56 irq 0x22 = 0x3f
57 irq 0x1a = 0xb0
58 # dumped from superiotool:
59 irq 0x1b = 0x1e
60 irq 0x27 = 0x08
61 irq 0x2a = 0x20
62 irq 0x2d = 0x01
63 # parallel port
64 io 0x60 = 0x378
65 irq 0x70 = 0x07
66 drq 0x74 = 0x01
67 end
68 device pnp 2e.2 off # COM1
69 io 0x60 = 0x2f8
70 irq 0x70 = 3
71 end
72 device pnp 2e.3 on # COM2, IR
73 io 0x60 = 0x3f8
74 irq 0x70 = 4
75 end
76 device pnp 2e.4 on # LED control
77 io 0x60 = 0x600
78 # IOBASE[0h] = bit0 LED red / green
79 # IOBASE[0h] = bit1-4 LED PWM duty cycle
80 # IOBASE[1h] = bit6 SWCC
Patrick Rudolph6308e0e2018-03-27 16:06:34 +020081
Patrick Rudolphe1498ce2020-02-12 15:23:05 +010082 io 0x62 = 0x610
83 # IOBASE [0h] = GPES
84 # IOBASE [1h] = GPEE
85 # IOBASE [4h:7h] = 32bit upcounter at 1Mhz
86 # IOBASE [8h:bh] = GPS
87 # IOBASE [ch:fh] = GPE
88 end
89 device pnp 2e.5 on # Mouse
90 irq 0x70 = 0xc
91 end
92 device pnp 2e.6 on # Keyboard
93 io 0x60 = 0x0060
94 io 0x62 = 0x0064
95 irq 0x70 = 0x01
96 # serialice: Vendor writes:
97 drq 0xf0 = 0x40
98 end
99 device pnp 2e.7 on # WDT ?
100 io 0x60 = 0x620
101 end
102 device pnp 2e.8 on # HWM
103 io 0x60 = 0x800
104 # IOBASE[0h:feh] HWM page
105 # IOBASE[ffh] bit0-bit3 page selector
Patrick Rudolph6308e0e2018-03-27 16:06:34 +0200106
Patrick Rudolphe1498ce2020-02-12 15:23:05 +0100107 drq 0xf0 = 0x20
108 drq 0xf1 = 0x01
109 drq 0xf2 = 0x40
110 drq 0xf3 = 0x01
Patrick Rudolph6308e0e2018-03-27 16:06:34 +0200111
Patrick Rudolphe1498ce2020-02-12 15:23:05 +0100112 drq 0xf4 = 0x66
113 drq 0xf5 = 0x67
114 drq 0xf6 = 0x66
115 drq 0xf7 = 0x01
116 end
117 device pnp 2e.f on # GPIO OD ?
118 drq 0xf1 = 0x97
119 drq 0xf2 = 0x01
120 drq 0xf5 = 0x08
121 drq 0xfe = 0x80
122 end
123 device pnp 2e.15 on # BUS ?
124 io 0x60 = 0x0680
125 io 0x62 = 0x0690
126 end
127 device pnp 2e.1c on # Suspend Control ?
128 io 0x60 = 0x640
129 # writing to IOBASE[5h]
130 # 0x0: Power off
131 # 0x9: Power off and bricked until CMOS battery removed
132 end
133 device pnp 2e.1e on # GPIO ?
134 io 0x60 = 0x660
135 drq 0xf4 = 0x01
136 # skip the following, as it
137 # looks like remapped registers
138 #drq 0xf5 = 0x06
139 #drq 0xf6 = 0x60
140 #drq 0xfe = 0x03
141 end
142 end
Patrick Rudolph6308e0e2018-03-27 16:06:34 +0200143 end
144 end
Patrick Rudolph39d0e2a2018-06-01 11:53:19 +0200145 chip drivers/pc80/tpm
146 device pnp 4e.0 on end # TPM module
147 end
Patrick Rudolph6308e0e2018-03-27 16:06:34 +0200148 end
Arthur Heymansb5df65a2022-11-12 14:51:49 +0100149 device ref sata1 on end # SATA Controller 1
150 device ref smbus on end # SMBus
151 device ref sata2 off end # SATA Controller 2
152 device ref thermal off end # Thermal
Patrick Rudolph6308e0e2018-03-27 16:06:34 +0200153 end
Patrick Rudolph6308e0e2018-03-27 16:06:34 +0200154 end
155end