blob: 845bca8183af59e970a13c5f21a9ee2cf6ae6d65 [file] [log] [blame]
Dennis Wassenbergbd105162015-09-10 12:20:58 +02001##
2## This file is part of the coreboot project.
3##
4## Copyright (C) 2016 secunet Security Networks AG
5##
6## This program is free software; you can redistribute it and/or modify
7## it under the terms of the GNU General Public License as published by
8## the Free Software Foundation; version 2 of the License.
9##
10## This program is distributed in the hope that it will be useful,
11## but WITHOUT ANY WARRANTY; without even the implied warranty of
12## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13## GNU General Public License for more details.
14##
15
16chip northbridge/intel/sandybridge
17 # IGD Displays
18 register "gfx.ndid" = "4"
19 register "gfx.did" = "{ 0x80000400, 0x80000300, 0x80000301, 0x80000100, }"
20
21 # Enable Panel as eDP and configure power delays
22 register "gpu_panel_port_select" = "1" # eDP_A
23 register "gpu_panel_power_cycle_delay" = "6" # 500ms
24 register "gpu_panel_power_up_delay" = "2000" # 200ms
25 register "gpu_panel_power_down_delay" = "500" # 50ms
26 register "gpu_panel_power_backlight_on_delay" = "1" # 100us as recommended by PRM
27 register "gpu_panel_power_backlight_off_delay" = "2000" # 200ms
28
29 # Set backlight PWM values for eDP
30 register "gpu_cpu_backlight" = "0x00000ac8"
31 register "gpu_pch_backlight" = "0x13120000"
32
33 device cpu_cluster 0 on
34 chip cpu/intel/socket_rPGA989
35 device lapic 0 on end
36 end
37 chip cpu/intel/model_206ax
38 # Magic APIC ID to locate this chip
39 device lapic 0xACAC off end
40
41 register "c1_acpower" = "1" # ACPI(C1) = MWAIT(C1)
42 register "c2_acpower" = "4" # ACPI(C2) = MWAIT(C6)
43 register "c3_acpower" = "0"
44
45 register "c1_battery" = "1" # ACPI(C1) = MWAIT(C1)
46 register "c2_battery" = "4" # ACPI(C2) = MWAIT(C6)
47 register "c3_battery" = "0"
48 end
49 end
50
51 device domain 0 on
52 device pci 00.0 on end # host bridge
53 device pci 02.0 on end # vga controller
54
55 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
56 # LPC i/o generic decodes
57 register "gen1_dec" = "0x003c0a01" # ITE environment controller
58 register "gen2_dec" = "0x000403e9" # additional com port
59 register "gen3_dec" = "0x000402e9" # additional com port
60
61 # Enable both SATA ports 0, 1
62 register "sata_port_map" = "0x03"
63 # Set max SATA speed to 6.0 Gb/s (should be the default, anyway)
64 register "sata_interface_speed_support" = "0x3"
65
66 # Route GPI7 (EC SCI) as SCI
67 register "gpi7_routing" = "2"
68
69 # Enable GPE17 (GPI7) and TCO SCI
70 register "gpe0_en" = "0x00800040"
71
72 # Disable root port coalescing
73 register "pcie_port_coalesce" = "0"
74 register "pcie_hotplug_map" = "{ 0, 0, 0, 0, 0, 0, 1, 1 }"
75
76 register "p_cnt_throttling_supported" = "1"
77
78 register "xhci_overcurrent_mapping" = "0x00000c03"
79 register "xhci_switchable_ports" = "0x0f"
80 register "superspeed_capable_ports" = "0x0f"
81
82 register "spi_uvscc" = "0x2005"
83 register "spi_lvscc" = "0x2005"
84
85 device pci 14.0 on end # USB 3.0 Controller
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 19.0 on end # Intel Gigabit Ethernet
91 device pci 1a.0 on end # USB2 EHCI #2
92 device pci 1b.0 on # High Definition Audio
93 subsystemid 0x1a86 0x4352
94 end
95
96 # Disabling 1c.0 might break IRQ settings as it enables port coalescing
97 device pci 1c.0 on end # PCIe Port #1
98 device pci 1c.1 on end # PCIe Port #2
99 device pci 1c.2 on end # PCIe Port #3
100 device pci 1c.3 on end # PCIe Port #4
101 device pci 1c.4 on end # PCIe Port #5
102 device pci 1c.5 on end # PCIe Port #6
103 device pci 1c.6 on end # PCIe Port #7
104 device pci 1c.7 on end # PCIe Port #8
105
106 device pci 1d.0 on end # USB2 EHCI #1
107 device pci 1e.0 off end # PCI bridge
108 device pci 1f.0 on # LPC bridge
109 chip ec/roda/it8518
110 register "cpuhot_limit" = "100"
111 # 60h/64h KBC
112 device pnp ff.0 on # dummy address
113 end
114 end
115 chip superio/ite/it8783ef
116 register "TMPIN1" = "THERMAL_RESISTOR"
117 register "TMPIN2" = "THERMAL_RESISTOR"
118 register "ec.vin_mask" = "VIN_ALL"
119 register "FAN1.mode" = "FAN_SMART_AUTOMATIC"
120 register "FAN1.smart.tmpin" = " 1"
121 register "FAN1.smart.tmp_off" = "60"
122 register "FAN1.smart.tmp_start" = "64"
123 register "FAN1.smart.tmp_delta" = " 2"
124 register "FAN1.smart.pwm_start" = "30"
125 register "FAN1.smart.slope" = "64"
126 register "FAN2.mode" = "FAN_SMART_AUTOMATIC"
127 register "FAN2.smart.tmpin" = " 1"
128 register "FAN2.smart.tmp_off" = "60"
129 register "FAN2.smart.tmp_start" = "64"
130 register "FAN2.smart.tmp_delta" = " 2"
131 register "FAN2.smart.pwm_start" = "30"
132 register "FAN2.smart.slope" = "64"
133 register "FAN3.mode" = "FAN_MODE_OFF"
134 device pnp 2e.0 off end # Floppy
135 device pnp 2e.1 on # COM 1
136 io 0x60 = 0x3f8
137 irq 0x70 = 4
138 end
139 device pnp 2e.2 on # COM 2
140 io 0x60 = 0x2f8
141 irq 0x70 = 3
142 end
143 device pnp 2e.3 on # Printer Port
144 io 0x60 = 0x378
145 io 0x62 = 0x000
146 irq 0x70 = 7
147 drq 0x74 = 4
148 irq 0xf0 = 0x00
149 end
150 device pnp 2e.4 on # Environment Controller
151 io 0x60 = 0xa30
152 io 0x62 = 0xa20
153 irq 0x70 = 0
154 irq 0xf0 = 0x80
155 end
156 device pnp 2e.5 off end # Keyboard
157 device pnp 2e.6 off end # Mouse
158 device pnp 2e.7 off end # GPIO
159 device pnp 2e.8 on # COM 3
160 io 0x60 = 0x3e8
161 irq 0x70 = 4
162 end
163 device pnp 2e.9 on # COM 4
164 io 0x60 = 0x2e8
165 irq 0x70 = 3
166 end
167 device pnp 2e.a off end # COM 5
168 device pnp 2e.b off end # COM 6
169 device pnp 2e.c off end # CIR
170 end
171 end # LPC bridge
172 device pci 1f.2 on end # SATA Controller 1
173 device pci 1f.3 on end # SMBus
174 device pci 1f.5 off end # SATA Controller 2
175 device pci 1f.6 off end # Thermal
176 end
177 end
178end