• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## SPDX-License-Identifier: GPL-2.0-or-later
2
3chip northbridge/intel/haswell
4	chip cpu/intel/haswell
5		device cpu_cluster 0 on ops haswell_cpu_bus_ops end
6	end
7
8	device domain 0 on
9		ops haswell_pci_domain_ops
10
11		device pci 00.0 on # Desktop Host bridge
12			subsystemid 0x1849 0x0c00
13		end
14		device pci 01.0 on end # PCIe Bridge for discrete graphics
15		device pci 02.0 on # Internal graphics VGA controller
16			subsystemid 0x1849 0x0412
17			register "gfx" = "GMA_STATIC_DISPLAYS(0)"
18			register "gpu_ddi_e_connected" = "1"
19			register "gpu_dp_b_hotplug" = "4"
20			register "gpu_dp_c_hotplug" = "4"
21			register "gpu_dp_d_hotplug" = "4"
22		end
23		device pci 03.0 on # Mini-HD audio
24			subsystemid 0x1849 0x0c0c
25		end
26
27		chip southbridge/intel/lynxpoint # Intel Series 8 Lynx Point PCH
28			register "gpe0_en_1" = "0x46"
29
30			device pci 14.0 on # xHCI Controller
31				subsystemid 0x1849 0x8c31
32			end
33			device pci 16.0 on # Management Engine Interface 1
34				subsystemid 0x1849 0x8c3a
35			end
36			device pci 16.1 off end # Management Engine Interface 2
37			device pci 16.2 off end # Management Engine IDE-R
38			device pci 16.3 off end # Management Engine KT
39			device pci 19.0 on # Intel Gigabit Ethernet
40				subsystemid 0x1849 0x153b
41			end
42			device pci 1a.0 on # USB2 EHCI #2
43				subsystemid 0x1849 0x8c2d
44			end
45			device pci 1b.0 on # High Definition Audio
46				subsystemid 0x1849 0x1150
47			end
48			device pci 1c.0 on end # PCIe Port #1
49			device pci 1c.1 on end # PCIe Port #2
50			device pci 1c.2 on end # PCIe Port #3
51			device pci 1c.3 on end # PCIe Port #4
52			device pci 1c.4 on end # PCIe Port #5
53			device pci 1c.5 on end # PCIe Port #6
54			device pci 1c.6 on end # PCIe Port #7
55			device pci 1c.7 on end # PCIe Port #8
56			device pci 1d.0 on # USB2 EHCI #1
57				subsystemid 0x1849 0x8c26
58			end
59			device pci 1f.0 on # LPC bridge
60				subsystemid 0x1849 0x8c44
61				register "gen1_dec" = "0x000c0291"
62				register "gen2_dec" = "0x000c0241"
63				register "gen3_dec" = "0x000c0251"
64
65				chip superio/nuvoton/nct6776
66					device pnp 2e.0   off end	# Floppy
67					device pnp 2e.1   off end	# Parallel
68					device pnp 2e.2   off end	# UART A
69					device pnp 2e.3   off end	# UART B, IR
70					device pnp 2e.5   on		# PS/2 Keyboard/Mouse
71						io  0x60 = 0x0060
72						io  0x62 = 0x0064
73						irq 0x70 = 1		# + Keyboard IRQ
74						irq 0x72 = 12		# + Mouse IRQ (unused)
75					end
76					device pnp 2e.6   off end	# CIR
77					device pnp 2e.7   on		# GPIO8
78						irq 0xe4 = 0xef		# + GPIO8 direction
79						irq 0xe5 = 0		# + GPIO8 value
80					end
81					device pnp 2e.107 off end	# GPIO9
82					device pnp 2e.8   off end	# WDT
83					device pnp 2e.108 off end	# GPIO0
84					device pnp 2e.208 on end	# GPIOA
85					device pnp 2e.308 off end	# GPIO base
86					device pnp 2e.109 on end	# GPIO1
87					device pnp 2e.209 on		# GPIO2
88						irq 0xe0 = 0xff		# + GPIO2 direction
89					end
90					device pnp 2e.309 off end	# GPIO3
91					device pnp 2e.409 off end	# GPIO4
92					device pnp 2e.509 on		# GPIO5
93						irq 0xf4 = 0x7f		# + GPIO5 direction
94						irq 0xf5 = 0x80		# + GPIO5 value
95					end
96					device pnp 2e.609 off end	# GPIO6
97					device pnp 2e.709 on end	# GPIO7
98					device pnp 2e.a   on		# ACPI
99						irq 0xe6 = 0x4c
100						irq 0xf0 = 0x40
101					end
102					device pnp 2e.b   on		# HWM, LED
103						irq 0x30 = 0xe1		# + Fan RPM sense pins
104						io  0x60 = 0x0290	# + HWM base address
105						irq 0x70 = 0
106						irq 0xf7 = 0		# + Front Panel Green LED
107					end
108					device pnp 2e.d   off end	# VID
109					device pnp 2e.e   off end	# CIR wake-up
110					device pnp 2e.f   off end	# GPIO PP/OD
111					device pnp 2e.14  off end	# SVID
112					device pnp 2e.16  off end	# Deep sleep
113					device pnp 2e.17  on		# GPIOA
114						irq 0xe0 = 0		# + GPIOA direction
115						irq 0xe1 = 0		# + GPIOA value
116					end
117				end
118			end
119			device pci 1f.2 on # SATA Controller (AHCI)
120				subsystemid 0x1849 0x8c02
121				register "sata_port0_gen3_dtle" = "0x2"
122				register "sata_port1_gen3_dtle" = "0x2"
123				register "sata_port_map" = "0x3f"
124			end
125			device pci 1f.3 on # SMBus
126				subsystemid 0x1849 0x8c22
127			end
128			device pci 1f.5 off end # SATA Controller (Legacy)
129			device pci 1f.6 off end # Thermal
130		end
131	end
132end
133