blob: 70b65aa5b14c605f8e29dfe08f4944befc1ef84c [file] [log] [blame]
Iru Cai928c6c62017-06-15 18:18:51 +08001#
2# This file is part of the coreboot project.
3#
4# Copyright (C) 2017 Iru Cai <mytbk920423@gmail.com>
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 }"
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" = "4"
24 register "gpu_dp_c_hotplug" = "4"
25 register "gpu_dp_d_hotplug" = "4"
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" = "4"
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_rPGA989
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 device pci 00.0 on
51 subsystemid 0x1849 0x0150
52 end
53 device pci 01.0 on
54 subsystemid 0x1849 0x0151
55 end
56 device pci 02.0 on
57 subsystemid 0x1849 0x0152
58 end
59 chip southbridge/intel/bd82x6x
60 register "c2_latency" = "0x0065"
61 register "docking_supported" = "0"
62 register "gen1_dec" = "0x000c0291"
63 register "gen2_dec" = "0x000c0241"
64 register "gen3_dec" = "0x000c0251"
65 register "p_cnt_throttling_supported" = "0"
66 register "pcie_hotplug_map" = "{ 0, 0, 0, 0, 0, 0, 0, 0 }"
67 register "pcie_port_coalesce" = "0"
68 register "sata_interface_speed_support" = "0x3"
69 register "sata_port_map" = "0x3f"
70 register "superspeed_capable_ports" = "0x0000000f"
71 register "xhci_overcurrent_mapping" = "0x00000c03"
72 register "xhci_switchable_ports" = "0x0000000f"
73 register "spi_uvscc" = "0x2005"
74 register "spi_lvscc" = "0x2005"
75
76 device pci 14.0 on # USB 3.0 Controller
77 subsystemid 0x1849 0x1e31
78 end
79 device pci 16.0 on # Management Engine Interface 1
80 subsystemid 0x1849 0x1e3a
81 end
82 device pci 16.1 off # Management Engine Interface 2
83 end
84 device pci 16.2 off # Management Engine IDE-R
85 end
86 device pci 16.3 on # Management Engine KT
87 subsystemid 0x1849 0x1e3d
88 end
89 device pci 19.0 off # Intel Gigabit Ethernet
90 end
91 device pci 1a.0 on # USB2 EHCI #2
92 subsystemid 0x1849 0x1e2d
93 end
94 device pci 1b.0 on # High Definition Audio Audio controller
95 subsystemid 0x1849 0x8892
96 end
97 device pci 1c.0 on # PCIe Port #1
98 subsystemid 0x1849 0x1e10
99 end
100 device pci 1c.1 off # PCIe Port #2
101 end
102 device pci 1c.2 off # PCIe Port #3
103 end
104 device pci 1c.3 off # PCIe Port #4
105 end
106 device pci 1c.4 on # PCIe Port #5, ASMedia ASM1062 SATA Controller
107 subsystemid 0x1849 0x1e18
108 end
109 register "pcie_aspm_f4" = "0x80" # Disable ASPM for ASMedia SATA controller
110 device pci 1c.5 on # PCIe Port #6, Realtek PCIe GbE Controller
111 subsystemid 0x1849 0x1e1a
112 end
113 device pci 1c.6 off # PCIe Port #7
114 end
115 device pci 1c.7 off # PCIe Port #8
116 end
117 device pci 1d.0 on # USB2 EHCI #1
118 subsystemid 0x1849 0x1e26
119 end
120 device pci 1e.0 on # PCI bridge
121 subsystemid 0x1849 0x244e
122 end
123 device pci 1f.0 on # LPC bridge
124 subsystemid 0x1849 0x1e49
125 chip superio/nuvoton/nct6776
126 device pnp 2e.0 off end # Floppy
127 device pnp 2e.1 on # Parallel port
128 # global
129 irq 0x1c = 0x80
130 irq 0x27 = 0xc0
131 irq 0x2a = 0x62
132 # parallel port
133 io 0x60 = 0x378
134 irq 0x70 = 5
135 drq 0x74 = 3
136 end
137 device pnp 2e.2 on # COM1
138 io 0x60 = 0x3f8
139 irq 0x70 = 4
140 end
141 device pnp 2e.3 off end # COM2, IR
142 device pnp 2e.5 on # Keyboard
143 io 0x60 = 0x60
144 io 0x62 = 0x64
145 irq 0x70 = 1
146 irq 0x72 = 12
147 end
148 device pnp 2e.6 off end # CIR
149 device pnp 2e.7 off end # GPIO6-9
150 device pnp 2e.8 off end # WDT1, GPIO0, GPIO1, GPIOA
151 device pnp 2e.9 off end # GPIO2-5
152 device pnp 2e.a on # ACPI
153 irq 0xe0 = 0x01
154 irq 0xe3 = 0x14
155 irq 0xe6 = 0x4c
156 irq 0xe9 = 0x02
157 irq 0xf0 = 0x20
158 end
159 device pnp 2e.b off end # HWM, front pannel LED
160 device pnp 2e.d on end # VID
161 device pnp 2e.e off end # CIR WAKE-UP
162 device pnp 2e.f on end # GPIO Push-Pull or Open-drain
163 device pnp 2e.14 on end # SVID
164 device pnp 2e.16 on end # Deep Sleep
165 device pnp 2e.17 on end # GPIOA
166 end
167 end
168 device pci 1f.2 on # SATA Controller 1
169 subsystemid 0x1849 0x1e02
170 end
171 device pci 1f.3 on # SMBus
172 subsystemid 0x1849 0x1e22
173 end
174 device pci 1f.5 off # SATA Controller 2
175 end
176 device pci 1f.6 off # Thermal
177 end
178 end
179 end
180end