blob: 5bbb4feb3cb5f442aee29fcc23e5ad2b932a7916 [file] [log] [blame]
Iru Cai728d4882017-07-07 13:32:40 +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 Cai728d4882017-07-07 13:32:40 +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 Cai728d4882017-07-07 13:32:40 +080043 end
44 end
45 device domain 0x0 on
Angel Ponsa0a3eab2020-01-01 20:52:11 +010046 subsystemid 0x103c 0x161c inherit
47
48 device pci 00.0 on end # Host bridge
49 device pci 01.0 on end # PCIe Bridge for discrete graphics
50 device pci 02.0 on end # Internal graphics
51
Iru Cai728d4882017-07-07 13:32:40 +080052 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 Cai728d4882017-07-07 13:32:40 +080056 register "gen1_dec" = "0x007c0201"
57 register "gen2_dec" = "0x000c0101"
58 register "gen3_dec" = "0x00fcfe01"
59 register "gen4_dec" = "0x000402e9"
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 Cai728d4882017-07-07 13:32:40 +080062 register "pcie_port_coalesce" = "1"
63 register "sata_interface_speed_support" = "0x3"
Iru Caid2517af2018-01-22 14:43:50 +080064 # HDD(0), ODD(1), docking(3,5), eSATA(4)
Iru Cai728d4882017-07-07 13:32:40 +080065 register "sata_port_map" = "0x3b"
Iru Cai728d4882017-07-07 13:32:40 +080066 register "spi_uvscc" = "0x2005"
67 register "spi_lvscc" = "0"
68
Angel Ponsa0a3eab2020-01-01 20:52:11 +010069 device pci 16.0 on end # Management Engine Interface 1
70 device pci 16.1 off end # Management Engine Interface 2
71 device pci 16.2 off end # Management Engine IDE-R
72 device pci 16.3 on end # Management Engine KT
73 device pci 19.0 on end # Intel Gigabit Ethernet
74 device pci 1a.0 on end # USB2 EHCI #2
Angel Ponsc97802f2020-01-01 21:27:43 +010075 device pci 1b.0 on end # HD Audio controller
Angel Ponsa0a3eab2020-01-01 20:52:11 +010076 device pci 1c.0 on end # PCIe Port #1
77 device pci 1c.1 on end # PCIe Port #2, ExpressCard
78 device pci 1c.2 on end # PCIe Port #3, SD/MMC
79 device pci 1c.3 on end # PCIe Port #4, WLAN
80 device pci 1c.4 off end # PCIe Port #5
81 device pci 1c.5 off end # PCIe Port #6
82 device pci 1c.6 on end # PCIe Port #7, WWAN
83 device pci 1c.7 on end # PCIe Port #8, NEC USB 3.0 Host Controller
84 device pci 1d.0 on end # USB2 EHCI #1
85 device pci 1e.0 off end # PCI bridge
Angel Ponsc97802f2020-01-01 21:27:43 +010086 device pci 1f.0 on # LPC bridge
Iru Cai728d4882017-07-07 13:32:40 +080087 chip ec/hp/kbc1126
88 register "ec_data_port" = "0x60"
Angel Ponsc97802f2020-01-01 21:27:43 +010089 register "ec_cmd_port" = "0x64"
90 register "ec_ctrl_reg" = "0xca"
Iru Cai728d4882017-07-07 13:32:40 +080091 register "ec_fan_ctrl_value" = "0x6b"
92 device pnp ff.1 off end
Angel Ponsc97802f2020-01-01 21:27:43 +010093 end
Iru Cai728d4882017-07-07 13:32:40 +080094 chip superio/smsc/lpc47n217
Angel Ponsc97802f2020-01-01 21:27:43 +010095 device pnp 4e.3 on # Parallel
96 io 0x60 = 0x378
Iru Cai728d4882017-07-07 13:32:40 +080097 irq 0x70 = 7
98 end
Angel Ponsc97802f2020-01-01 21:27:43 +010099 device pnp 4e.4 on # COM1
100 io 0x60 = 0x3f8
Iru Cai728d4882017-07-07 13:32:40 +0800101 irq 0x70 = 4
102 end
Angel Ponsc97802f2020-01-01 21:27:43 +0100103 device pnp 4e.5 off end # COM2
104 end
Bill XIEc68c4bc2017-11-26 13:19:55 +0800105 chip drivers/pc80/tpm
106 device pnp 0c31.0 on end
107 end
Iru Cai728d4882017-07-07 13:32:40 +0800108 end
Angel Ponsa0a3eab2020-01-01 20:52:11 +0100109 device pci 1f.2 on end # SATA Controller 1
Angel Pons12197db2020-01-01 21:31:21 +0100110 device pci 1f.3 on end # SMBus
Angel Ponsa0a3eab2020-01-01 20:52:11 +0100111 device pci 1f.5 off end # SATA Controller 2
112 device pci 1f.6 off end # Thermal
Iru Cai728d4882017-07-07 13:32:40 +0800113 end
114 end
115end