blob: 4e2b68c490ace5aad44d11719c8bdd7cf03370c2 [file] [log] [blame]
Iru Cai03e96a82017-01-26 14:51:47 +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" = "1"
20 register "gfx.ndid" = "3"
21 register "gfx.use_spread_spectrum_clock" = "1"
22 register "gpu_cpu_backlight" = "0x00000129"
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" = "2000"
28 register "gpu_panel_power_backlight_on_delay" = "2000"
29 register "gpu_panel_power_cycle_delay" = "5"
30 register "gpu_panel_power_down_delay" = "230"
31 register "gpu_panel_power_up_delay" = "300"
32 register "gpu_pch_backlight" = "0x02880288"
33 device cpu_cluster 0x0 on
Iru Cai03e96a82017-01-26 14:51:47 +080034 chip cpu/intel/model_206ax
35 register "c1_acpower" = "1"
36 register "c1_battery" = "1"
37 register "c2_acpower" = "3"
38 register "c2_battery" = "3"
39 register "c3_acpower" = "5"
40 register "c3_battery" = "5"
Arthur Heymans7e6946a2019-01-21 17:55:02 +010041 device lapic 0x0 on end
Arthur Heymansb3f23232019-01-21 17:48:55 +010042 device lapic 0xacac off end
Iru Cai03e96a82017-01-26 14:51:47 +080043 end
44 end
45 device domain 0x0 on
Angel Ponsa0a3eab2020-01-01 20:52:11 +010046 subsystemid 0x103c 0x162a inherit
47
Angel Ponsc97802f2020-01-01 21:27:43 +010048 device pci 00.0 on end # Host bridge
Angel Ponsa0a3eab2020-01-01 20:52:11 +010049 device pci 01.0 off end # PCIe Bridge for discrete graphics
Angel Ponsc97802f2020-01-01 21:27:43 +010050 device pci 02.0 on end # Internal graphics
Iru Cai03e96a82017-01-26 14:51:47 +080051
52 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
53 register "c2_latency" = "0x0065"
54 register "docking_supported" = "0"
Arthur Heymans6beaef92019-06-16 23:29:23 +020055 # mailbox at 0x200/0x201 and PM1 at 0x220
Iru Cai03e96a82017-01-26 14:51:47 +080056 register "gen1_dec" = "0x007c0201"
57 register "gen2_dec" = "0x000c0101"
58 register "gen3_dec" = "0x00fcfe01"
59 register "gen4_dec" = "0x007c0281"
60 register "gpi6_routing" = "2"
Iru Caie9edd272017-09-01 10:17:27 +080061 register "pcie_hotplug_map" = "{ 0, 1, 1, 0, 0, 0, 0, 0 }"
Iru Cai03e96a82017-01-26 14:51:47 +080062 register "pcie_port_coalesce" = "1"
63 register "sata_interface_speed_support" = "0x3"
64 register "sata_port_map" = "0x21"
Iru Cai03e96a82017-01-26 14:51:47 +080065 register "spi_uvscc" = "0x2005"
66 register "spi_lvscc" = "0"
67
Angel Ponsa0a3eab2020-01-01 20:52:11 +010068 device pci 16.0 on end # Management Engine Interface 1
69 device pci 16.1 off end # Management Engine Interface 2
70 device pci 16.2 off end # Management Engine IDE-R
71 device pci 16.3 off end # Management Engine KT
72 device pci 19.0 on end # Intel Gigabit Ethernet
73 device pci 1a.0 on end # USB2 EHCI #2
Angel Ponsc97802f2020-01-01 21:27:43 +010074 device pci 1b.0 on end # HD Audio controller
Angel Ponsa0a3eab2020-01-01 20:52:11 +010075 device pci 1c.0 on end # PCIe Port #1
76 device pci 1c.1 on end # PCIe Port #2, ExpressCard
77 device pci 1c.2 on end # PCIe Port #3, SD/MMC
78 device pci 1c.3 on end # WLAN
79 device pci 1c.4 off end # PCIe Port #5
80 device pci 1c.5 off end # PCIe Port #6
81 device pci 1c.6 on end # PCIe Port #7, WWAN
82 device pci 1c.7 off end # PCIe Port #8
83 device pci 1d.0 on end # USB2 EHCI #1
84 device pci 1e.0 off end # PCI bridge
Angel Ponsc97802f2020-01-01 21:27:43 +010085 device pci 1f.0 on # LPC bridge
Iru Cai03e96a82017-01-26 14:51:47 +080086 chip ec/hp/kbc1126
87 register "ec_data_port" = "0x60"
Angel Ponsc97802f2020-01-01 21:27:43 +010088 register "ec_cmd_port" = "0x64"
89 register "ec_ctrl_reg" = "0xca"
Iru Cai03e96a82017-01-26 14:51:47 +080090 register "ec_fan_ctrl_value" = "0x4d"
91 device pnp ff.1 off end
Angel Ponsc97802f2020-01-01 21:27:43 +010092 end
Iru Cai03e96a82017-01-26 14:51:47 +080093 end
Angel Ponsa0a3eab2020-01-01 20:52:11 +010094 device pci 1f.2 on end # SATA Controller 1
Angel Pons12197db2020-01-01 21:31:21 +010095 device pci 1f.3 on end # SMBus
Angel Ponsa0a3eab2020-01-01 20:52:11 +010096 device pci 1f.5 off end # SATA Controller 2
97 device pci 1f.6 off end # Thermal
Iru Cai03e96a82017-01-26 14:51:47 +080098 end
99 end
100end