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