blob: af6043f52c8abddc90dea16ee3d85e902fa0a1fc [file] [log] [blame]
Mohammed Habibulla05497d02013-10-24 16:44:06 -07001chip northbridge/intel/haswell
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +01002 # IGD Displays
3 register "gfx.ndid" = "3"
4 register "gfx.did" = "{ 0x80000100, 0x80000240, 0x80000410, 0x80000410, 0x00000005 }"
Mohammed Habibulla05497d02013-10-24 16:44:06 -07005
6 # Disable eDP Hotplug
7 register "gpu_dp_d_hotplug" = "0x00"
8
9 # Enable DisplayPort C Hotplug with 6ms pulse
10 register "gpu_dp_c_hotplug" = "0x06"
11
12 # Enable HDMI Hotplug with 6ms pulse
13 register "gpu_dp_b_hotplug" = "0x06"
14
15 device cpu_cluster 0 on
Mohammed Habibulla05497d02013-10-24 16:44:06 -070016 chip cpu/intel/haswell
Matt DeVillier31769d92015-04-30 01:19:16 -050017 device lapic 0 on end
Mohammed Habibulla05497d02013-10-24 16:44:06 -070018 # Magic APIC ID to locate this chip
19 device lapic 0xACAC off end
20
21 register "c1_battery" = "2" # ACPI(C1) = MWAIT(C1E)
22 register "c2_battery" = "3" # ACPI(C2) = MWAIT(C3)
23 register "c3_battery" = "9" # ACPI(C3) = MWAIT(C7S)
24
25 register "c1_acpower" = "2" # ACPI(C1) = MWAIT(C1E)
26 register "c2_acpower" = "3" # ACPI(C2) = MWAIT(C3)
27 register "c3_acpower" = "9" # ACPI(C3) = MWAIT(C7S)
28 end
29 end
30
31 device domain 0 on
32 subsystemid 0x1ae0 0xc000 inherit
33 device pci 00.0 on end # host bridge
34 device pci 02.0 on end # vga controller
35 device pci 03.0 on end # mini-hd audio
36
37 chip southbridge/intel/lynxpoint
38 register "pirqa_routing" = "0x8b"
39 register "pirqb_routing" = "0x8a"
40 register "pirqc_routing" = "0x8b"
41 register "pirqd_routing" = "0x8b"
42 register "pirqe_routing" = "0x80"
43 register "pirqf_routing" = "0x80"
44 register "pirqg_routing" = "0x80"
45 register "pirqh_routing" = "0x80"
46
47 # SuperIO range is 0x700-0x73f
48 register "gen2_dec" = "0x003c0701"
49
Mohammed Habibullafcb52702013-10-29 11:13:14 -070050 register "alt_gp_smi_en" = "0x0000"
Mohammed Habibulla05497d02013-10-24 16:44:06 -070051 register "gpe0_en_1" = "0x00000000"
Mohammed Habibullafcb52702013-10-29 11:13:14 -070052 register "gpe0_en_2" = "0x00000000"
Mohammed Habibulla05497d02013-10-24 16:44:06 -070053 register "gpe0_en_3" = "0x00000000"
54 register "gpe0_en_4" = "0x00000000"
55
56 register "ide_legacy_combined" = "0x0"
57 register "sata_ahci" = "0x1"
58 register "sata_port_map" = "0x1"
Stefan Reinauera0eeba42014-01-08 15:20:59 -080059 register "sata_devslp_disable" = "0x1"
Mohammed Habibulla05497d02013-10-24 16:44:06 -070060
61 register "sio_acpi_mode" = "0"
62 register "sio_i2c0_voltage" = "0" # 3.3V
63 register "sio_i2c1_voltage" = "0" # 3.3V
64
Stefan Reinauer4923c392014-02-19 15:05:15 -080065 # Force enable ASPM for PCIe Port 4
66 register "pcie_port_force_aspm" = "0x10"
67
Mohammed Habibulla05497d02013-10-24 16:44:06 -070068 # Enable port coalescing
69 register "pcie_port_coalesce" = "1"
70
71 # Disable PCIe CLKOUT 1,5 and CLKOUT_XDP
72 register "icc_clock_disable" = "0x01220000"
73
74 # Route all USB ports to XHCI per default
75 register "xhci_default" = "1"
76
77 device pci 13.0 off end # Smart Sound Audio DSP
78 device pci 14.0 on end # USB3 XHCI
Mohammed Habibullafcb52702013-10-29 11:13:14 -070079 device pci 15.0 off end # Serial I/O DMA
80 device pci 15.1 off end # I2C0
81 device pci 15.2 off end # I2C1
Mohammed Habibulla05497d02013-10-24 16:44:06 -070082 device pci 15.3 off end # GSPI0
83 device pci 15.4 off end # GSPI1
84 device pci 15.5 off end # UART0
85 device pci 15.6 off end # UART1
86 device pci 16.0 on end # Management Engine Interface 1
87 device pci 16.1 off end # Management Engine Interface 2
88 device pci 16.2 off end # Management Engine IDE-R
89 device pci 16.3 off end # Management Engine KT
90 device pci 17.0 off end # SDIO
91 device pci 19.0 off end # GbE
92 device pci 1b.0 on end # High Definition Audio
93 device pci 1c.0 off end # PCIe Port #1
94 device pci 1c.1 off end # PCIe Port #2
95 device pci 1c.2 on end # PCIe Port #3
96 device pci 1c.3 on end # PCIe Port #4
97 device pci 1c.4 on end # PCIe Port #5
98 device pci 1c.5 off end # PCIe Port #6
99 device pci 1d.0 on end # USB2 EHCI
100 device pci 1e.0 off end # PCI bridge
101 device pci 1f.0 on
102 chip superio/ite/it8772f
103 # Skip keyboard init
104 register "skip_keyboard" = "1"
105 # Enable PECI on TMPIN3
106 register "peci_tmpin" = "3"
107 # Enable FAN2
108 register "fan2_enable" = "1"
109
110 device pnp 2e.0 off end # FDC
111 device pnp 2e.1 on # Serial Port 1
112 io 0x60 = 0x3f8
113 irq 0x70 = 4
114 end
115 device pnp 2e.4 on # Environment Controller
116 io 0x60 = 0x700
117 io 0x62 = 0x710
Mohammed Habibullad2259dd2013-11-20 16:24:58 -0800118 irq 0x70 = 0x09
Luigi Semenzato562db3b2014-01-13 17:45:54 -0800119 irq 0xf2 = 0x20
120 irq 0xf4 = 0x0
Mohammed Habibulla74a41752013-11-12 13:29:43 -0800121 irq 0xfa = 0x12
Mohammed Habibulla05497d02013-10-24 16:44:06 -0700122 end
123 device pnp 2e.7 on # GPIO
124 io 0x60 = 0x720
125 io 0x62 = 0x730
126 end
127 device pnp 2e.5 on
128 io 0x60 = 0x60
129 io 0x62 = 0x64
130 irq 0x70 = 1
131 end # Keyboard
132 device pnp 2e.6 on
133 irq 0x70 = 12
134 end # Mouse
135 device pnp 2e.a off end # IR
136 end
137 end # LPC bridge
138 device pci 1f.2 on end # SATA Controller
139 device pci 1f.3 on end # SMBus
140 device pci 1f.6 on end # Thermal
141 end
142 end
143end