blob: 9d5069a40e9620b3e72f1104b9dc055844432fb9 [file] [log] [blame]
Angel Pons42d30052020-01-02 00:57:52 +01001#
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 "gpu_cpu_backlight" = "0x00000129"
19 register "gpu_panel_power_backlight_off_delay" = "2000"
20 register "gpu_pch_backlight" = "0x02880288"
21 device domain 0x0 on
22 subsystemid 0x103c 0x161c inherit
23
24 device pci 01.0 on end # PCIe Bridge for discrete graphics
25 device pci 02.0 on end # Internal graphics
26
27 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
28 # mailbox at 0x200/0x201 and PM1 at 0x220
29 register "gen1_dec" = "0x007c0201"
30 register "gen2_dec" = "0x000c0101"
31 register "gen3_dec" = "0x00fcfe01"
32 register "gen4_dec" = "0x000402e9"
33 register "gpi6_routing" = "2"
34 register "pcie_hotplug_map" = "{ 0, 1, 1, 0, 0, 0, 0, 0 }"
35 # HDD(0), ODD(1), docking(3,5), eSATA(4)
36 register "sata_port_map" = "0x3b"
37
38 device pci 16.3 on end # Management Engine KT
39 device pci 1c.0 on end # PCIe Port #1
40 device pci 1c.1 on end # PCIe Port #2, ExpressCard
41 device pci 1c.2 on end # PCIe Port #3, SD/MMC
42 device pci 1c.3 on end # PCIe Port #4, WLAN
43 device pci 1c.4 off end # PCIe Port #5
44 device pci 1c.5 off end # PCIe Port #6
45 device pci 1c.6 on end # PCIe Port #7, WWAN
46 device pci 1c.7 on end # PCIe Port #8, NEC USB 3.0 Host Controller
47 device pci 1f.0 on # LPC bridge
48 chip ec/hp/kbc1126
49 register "ec_data_port" = "0x60"
50 register "ec_cmd_port" = "0x64"
51 register "ec_ctrl_reg" = "0xca"
52 register "ec_fan_ctrl_value" = "0x6b"
53 device pnp ff.1 off end
54 end
55 chip superio/smsc/lpc47n217
56 device pnp 4e.3 on # Parallel
57 io 0x60 = 0x378
58 irq 0x70 = 7
59 end
60 device pnp 4e.4 on # COM1
61 io 0x60 = 0x3f8
62 irq 0x70 = 4
63 end
64 device pnp 4e.5 off end # COM2
65 end
66 chip drivers/pc80/tpm
67 device pnp 0c31.0 on end
68 end
69 end
70 end
71 end
72end