• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1chip soc/intel/broadwell
2
3	# Disable eDP Hotplug
4	register "gpu_dp_d_hotplug" = "0x00"
5
6	# Enable DisplayPort C Hotplug with 6ms pulse
7	register "gpu_dp_c_hotplug" = "0x06"
8
9	# Enable HDMI Hotplug with 6ms pulse
10	register "gpu_dp_b_hotplug" = "0x06"
11
12	register "dq_pins_interleaved" = "true"
13
14	chip cpu/intel/haswell
15		device cpu_cluster 0 on ops broadwell_cpu_bus_ops end
16	end
17
18	device domain 0 on
19		ops broadwell_pci_domain_ops
20		device pci 00.0 on end # host bridge
21		device pci 02.0 on end # vga controller
22		device pci 03.0 on end # mini-hd audio
23
24		chip soc/intel/broadwell/pch
25			# SuperIO range is 0x700-0x73f
26			register "gen2_dec" = "0x003c0701"
27
28			register "alt_gp_smi_en" = "0x0000"
29			register "gpe0_en_1" = "0x00000000"
30			register "gpe0_en_2" = "0x00000000"
31			register "gpe0_en_3" = "0x00000000"
32			register "gpe0_en_4" = "0x00000000"
33
34			register "sata_port_map" = "0x1"
35			register "sata_devslp_disable" = "0x1"
36
37			# Force enable ASPM for PCIe Port 4
38			register "pcie_port_force_aspm" = "0x10"
39
40			# Enable port coalescing
41			register "pcie_port_coalesce" = "true"
42
43			# Disable PCIe CLKOUT 1,5 and CLKOUT_XDP
44			register "icc_clock_disable" = "0x01220000"
45
46			device pci 13.0 off end # Smart Sound Audio DSP
47			device pci 14.0 on end # USB3 XHCI
48			device pci 15.0 off end # Serial I/O DMA
49			device pci 15.1 off end # I2C0
50			device pci 15.2 off end # I2C1
51			device pci 15.3 off end # GSPI0
52			device pci 15.4 off end # GSPI1
53			device pci 15.5 off end # UART0
54			device pci 15.6 off end # UART1
55			device pci 16.0 on end # Management Engine Interface 1
56			device pci 16.1 off end # Management Engine Interface 2
57			device pci 16.2 off end # Management Engine IDE-R
58			device pci 16.3 off end # Management Engine KT
59			device pci 17.0 off end # SDIO
60			device pci 19.0 off end # GbE
61			device pci 1b.0 on end # High Definition Audio
62			device pci 1c.0 off end # PCIe Port #1
63			device pci 1c.1 off end # PCIe Port #2
64			device pci 1c.2 on end # PCIe Port #3
65			device pci 1c.3 on end # PCIe Port #4
66			device pci 1c.4 on end # PCIe Port #5
67			device pci 1c.5 off end # PCIe Port #6
68			device pci 1d.0 on end # USB2 EHCI
69			device pci 1e.0 off end # PCI bridge
70			device pci 1f.0 on
71				chip drivers/pc80/tpm
72					device pnp 0c31.0 on end
73				end
74				chip superio/ite/it8772f
75					# Skip keyboard init
76					register "skip_keyboard" = "true"
77					# Enable PECI on TMPIN3
78					register "TMPIN3.mode" = "THERMAL_PECI"
79					# Enable Thermal Diode on TMPIN2
80					register "TMPIN2.mode" = "THERMAL_DIODE"
81					# Enable FAN2
82					register "FAN2.mode" = "FAN_SMART_SOFTWARE"
83					# Default FAN2 speed
84					register "FAN2.smart.pwm_start" = "30"
85
86					device pnp 2e.0 off end # FDC
87					device pnp 2e.1 on # Serial Port 1
88						io 0x60 = 0x3f8
89						irq 0x70 = 4
90					end
91					device pnp 2e.4 on # Environment Controller
92						io 0x60 = 0x700
93						io 0x62 = 0x710
94						irq 0x70 = 0x09
95						irq 0xf2 = 0x20
96						irq 0xf4 = 0x0
97						irq 0xfa = 0x12
98					end
99					device pnp 2e.7 on # GPIO
100						io 0x60 = 0x720
101						io 0x62 = 0x730
102					end
103					device pnp 2e.5 off
104						io 0x60 = 0x60
105						io 0x62 = 0x64
106						irq 0x70 = 1
107					end # Keyboard
108					device pnp 2e.6 off
109						irq 0x70 = 12
110					end # Mouse
111					device pnp 2e.a off end # IR
112				end
113			end # LPC bridge
114			device pci 1f.2 on end # SATA Controller
115			device pci 1f.3 on end # SMBus
116			device pci 1f.6 on end # Thermal
117		end
118	end
119end
120