blob: a4500ae248ad381ffb21843e0981fd6abfb5f8af [file] [log] [blame]
xiinc378a2b7f32018-02-08 06:26:20 -05001#
2# This file is part of the coreboot project.
3#
4# Copyright (C) 2017 Iru Cai <mytbk920423@gmail.com>
5# Copyright (C) 2018 Robert Reeves
6#
7# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 2 of the License, or
10# (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16#
17
18chip northbridge/intel/sandybridge
xiinc378a2b7f32018-02-08 06:26:20 -050019 device domain 0x0 on
Angel Ponsa0a3eab2020-01-01 20:52:11 +010020 subsystemid 0x103c 0x176c inherit
21
Angel Ponsa0a3eab2020-01-01 20:52:11 +010022 device pci 01.0 on # PCIe Bridge for discrete graphics
23 device pci 00.0 on end # GPU
24 device pci 00.1 on end # HDMI Audio on GPU
xiinc378a2b7f32018-02-08 06:26:20 -050025 end
Angel Ponsc97802f2020-01-01 21:27:43 +010026 device pci 02.0 off end # Internal graphics
xiinc378a2b7f32018-02-08 06:26:20 -050027
28 chip southbridge/intel/bd82x6x # Intel Series 7 Panther Point PCH
xiinc378a2b7f32018-02-08 06:26:20 -050029 register "docking_supported" = "0"
Arthur Heymans6beaef92019-06-16 23:29:23 +020030 # mailbox at 0x200/0x201 and PM1 at 0x220
xiinc378a2b7f32018-02-08 06:26:20 -050031 register "gen1_dec" = "0x007c0201"
32 register "gen2_dec" = "0x000c0101"
33 register "gen3_dec" = "0x00fcfe01"
34 register "gen4_dec" = "0x000402e9"
35 register "gpi6_routing" = "2"
xiinc378a2b7f32018-02-08 06:26:20 -050036 register "pcie_hotplug_map" = "{ 0, 1, 1, 0, 0, 0, 0, 0 }"
xiinc378a2b7f32018-02-08 06:26:20 -050037 register "sata_port_map" = "0x1f"
Angel Ponsc97802f2020-01-01 21:27:43 +010038 register "superspeed_capable_ports" = "0x0000000f"
39 register "xhci_overcurrent_mapping" = "0x00000c03"
40 register "xhci_switchable_ports" = "0x0000000f"
xiinc378a2b7f32018-02-08 06:26:20 -050041
Angel Ponsa0a3eab2020-01-01 20:52:11 +010042 device pci 14.0 on end # USB 3.0 Controller
Angel Ponsa0a3eab2020-01-01 20:52:11 +010043 device pci 1c.0 on end # PCIe Port #1
44 device pci 1c.1 on end # PCIe Port #2
45 device pci 1c.2 on end # Media Card and FireWire host controller
46 device pci 1c.3 on end # Wireless LAN Adapter
47 device pci 1c.4 on end # SATA Controller 2 for dock
48 device pci 1c.5 off end # PCIe Port #6
49 device pci 1c.6 off end # PCIe Port #7
50 device pci 1c.7 off end # PCIe Port #8
Angel Ponsc97802f2020-01-01 21:27:43 +010051 device pci 1f.0 on # LPC bridge
xiinc378a2b7f32018-02-08 06:26:20 -050052 chip ec/hp/kbc1126
53 register "ec_data_port" = "0x62"
Angel Ponsc97802f2020-01-01 21:27:43 +010054 register "ec_cmd_port" = "0x66"
55 register "ec_ctrl_reg" = "0x81"
xiinc378a2b7f32018-02-08 06:26:20 -050056 register "ec_fan_ctrl_value" = "0x81"
57 device pnp ff.1 off end
Angel Ponsc97802f2020-01-01 21:27:43 +010058 end
xiinc378a2b7f32018-02-08 06:26:20 -050059 chip superio/smsc/lpc47n217
Angel Ponsc97802f2020-01-01 21:27:43 +010060 device pnp 4e.3 on # Parallel
61 io 0x60 = 0x378
xiinc378a2b7f32018-02-08 06:26:20 -050062 irq 0x70 = 7
63 end
Angel Ponsc97802f2020-01-01 21:27:43 +010064 device pnp 4e.4 on # COM1
65 io 0x60 = 0x3f8
xiinc378a2b7f32018-02-08 06:26:20 -050066 irq 0x70 = 4
67 end
Angel Ponsc97802f2020-01-01 21:27:43 +010068 device pnp 4e.5 off end # COM2
69 end
xiinc378a2b7f32018-02-08 06:26:20 -050070 end
xiinc378a2b7f32018-02-08 06:26:20 -050071 end
72 end
73end