blob: 710004f3b5690d14533db8d727fa3b628e850264 [file] [log] [blame]
Nicola Corna1bea5b72017-03-03 18:04:48 +01001#
2# This file is part of the coreboot project.
3#
4# Copyright (C) 2017 Nicola Corna <nicola@corna.info>
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; either version 2 of the License, or
9# (at your option) any later version.
10#
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14# GNU General Public License for more details.
15#
16
17chip northbridge/intel/sandybridge
18 register "gfx.did" = "{ 0x80000100, 0x80000240, 0x80000410, 0x80000410, 0x00000005 }"
19 register "gfx.link_frequency_270_mhz" = "0"
20 register "gfx.ndid" = "3"
21 register "gfx.use_spread_spectrum_clock" = "0"
22 register "gpu_cpu_backlight" = "0x00000000"
23 register "gpu_dp_b_hotplug" = "0"
24 register "gpu_dp_c_hotplug" = "0"
25 register "gpu_dp_d_hotplug" = "0"
26 register "gpu_panel_port_select" = "0"
27 register "gpu_panel_power_backlight_off_delay" = "0"
28 register "gpu_panel_power_backlight_on_delay" = "0"
29 register "gpu_panel_power_cycle_delay" = "0"
30 register "gpu_panel_power_down_delay" = "0"
31 register "gpu_panel_power_up_delay" = "0"
32 register "gpu_pch_backlight" = "0x00000000"
33 device cpu_cluster 0x0 on
34 chip cpu/intel/socket_LGA1155
35 device lapic 0x0 on
36 end
37 end
38 chip cpu/intel/model_206ax
39 register "c1_acpower" = "1"
40 register "c1_battery" = "1"
41 register "c2_acpower" = "3"
42 register "c2_battery" = "3"
43 register "c3_acpower" = "5"
44 register "c3_battery" = "5"
45 device lapic 0xacac off
46 end
47 end
48 end
49 device domain 0x0 on
50 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
51 register "c2_latency" = "0x0065"
52 register "docking_supported" = "0"
53 register "gen1_dec" = "0x000c0291"
54 register "gen2_dec" = "0x000c0a01"
55 register "gen3_dec" = "0x00000000"
56 register "gen4_dec" = "0x00000000"
57 register "p_cnt_throttling_supported" = "0"
58 register "pcie_hotplug_map" = "{ 0, 0, 0, 0, 0, 0, 0, 0 }"
59 register "pcie_port_coalesce" = "1"
60 register "sata_interface_speed_support" = "0x3"
61 register "sata_port_map" = "0x33"
62 device pci 16.0 on # Management Engine Interface 1
63 subsystemid 0x174b 0x1007
64 end
65 device pci 16.1 off # Management Engine Interface 2
66 end
67 device pci 16.2 off # Management Engine IDE-R
68 end
69 device pci 16.3 off # Management Engine KT
70 end
71 device pci 19.0 off # Intel Gigabit Ethernet
72 end
73 device pci 1a.0 on # USB2 EHCI #2
74 subsystemid 0x174b 0x1007
75 end
76 device pci 1b.0 on # High Definition Audio Audio controller
77 subsystemid 0x8086 0x1c20
78 end
79 device pci 1c.0 on # PCIe Port #1
80 subsystemid 0x174b 0x1007
81 end
82 device pci 1c.1 off # PCIe Port #2
83 end
84 device pci 1c.2 off # PCIe Port #3
85 end
86 device pci 1c.3 off # PCIe Port #4
87 end
88 device pci 1c.4 on # PCIe Port #5
89 subsystemid 0x174b 0x1007
90 end
91 device pci 1c.5 on # PCIe Port #6
92 subsystemid 0x174b 0x1007
93 end
94 device pci 1c.6 off # PCIe Port #7
95 end
96 device pci 1c.7 off # PCIe Port #8
97 end
98 device pci 1d.0 on # USB2 EHCI #1
99 subsystemid 0x174b 0x1007
100 end
101 device pci 1e.0 off # PCI bridge
102 end
103 device pci 1f.0 on # LPC bridge PCI-LPC bridge
104 subsystemid 0x174b 0x1007
105 chip superio/fintek/f71808a
106 register "multi_function_register_0" = "0x00"
107 register "multi_function_register_1" = "0xc4"
108 register "multi_function_register_2" = "0x21"
109 register "multi_function_register_3" = "0x2f"
110 register "multi_function_register_4" = "0x5c"
111 register "hwm_peci_tsi_ctrl" = "0x02" # PECI enabled, 1.23 V
112 register "hwm_tcc_temp" = "0x66" # TCC temperature = 102 °C
113 register "hwm_fan1_seg1_speed" = "0xff" # Fan 1 segment 1 = 100%
114 register "hwm_fan1_seg2_speed" = "0xdb" # Fan 1 segment 2 = 86%
115 register "hwm_fan1_seg3_speed" = "0xbc" # Fan 1 segment 3 = 74%
116 register "hwm_fan1_seg4_speed" = "0x9e" # Fan 1 segment 4 = 62%
117 register "hwm_fan1_seg5_speed" = "0x7f" # Fan 1 segment 5 = 50%
118 register "hwm_fan1_temp_src" = "0x18" # Fan 1 source = PECI
119 register "hwm_fan2_seg1_speed" = "0xff" # Fan 2 segment 1 = 100%
120 register "hwm_fan2_seg2_speed" = "0xdb" # Fan 2 segment 2 = 86%
121 register "hwm_fan2_seg3_speed" = "0xbc" # Fan 2 segment 3 = 74%
122 register "hwm_fan2_seg4_speed" = "0x9e" # Fan 2 segment 4 = 62%
123 register "hwm_fan2_seg5_speed" = "0x7f" # Fan 2 segment 5 = 50%
124 register "hwm_fan2_temp_src" = "0x1e" # Fan 2 source = temperature 2
125 device pnp 4e.1 off end # Serial Port 1
126 device pnp 4e.4 on # Hardware monitor
127 io 0x60 = 0x295
128 irq 0x70 = 0
129 end
130 device pnp 4e.5 off end # Keyboard
131 device pnp 4e.6 on # GPIO
132 irq 0xc5 = 0x1f
133 end
134 device pnp 4e.7 on # WDT
135 io 0x60 = 0xa00
136 end
137 device pnp 4e.8 off end # CIR
Nicola Corna5ad93962017-04-02 09:57:48 +0200138 device pnp 4e.a on # PME, ACPI, EUP
139 irq 0xe0 = 0x90
Nicola Corna1bea5b72017-03-03 18:04:48 +0100140 irq 0xf8 = 0x00
141 irq 0xf9 = 0x09
142 irq 0xfa = 0x00
143 end
144 end
145 end
146 device pci 1f.2 on # SATA Controller 1
147 subsystemid 0x174b 0x1007
148 end
149 device pci 1f.3 on # SMBus
150 subsystemid 0x174b 0x1007
151 end
152 device pci 1f.5 off # SATA Controller 2
153 end
154 device pci 1f.6 off # Thermal
155 end
156 end
157 device pci 00.0 on # Host bridge Host bridge
158 subsystemid 0x174b 0x1007
159 end
160 device pci 01.0 on # PCIe Bridge for discrete graphics
161 subsystemid 0x174b 0x1007
162 end
163 device pci 02.0 on # Internal graphics VGA controller
164 subsystemid 0x8086 0x2010
165 end
166 end
167end