xiinc37 | 8a2b7f3 | 2018-02-08 06:26:20 -0500 | [diff] [blame] | 1 | # |
| 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 | |
| 18 | chip northbridge/intel/sandybridge |
xiinc37 | 8a2b7f3 | 2018-02-08 06:26:20 -0500 | [diff] [blame] | 19 | device domain 0x0 on |
Angel Pons | a0a3eab | 2020-01-01 20:52:11 +0100 | [diff] [blame] | 20 | subsystemid 0x103c 0x176c inherit |
| 21 | |
Angel Pons | a0a3eab | 2020-01-01 20:52:11 +0100 | [diff] [blame] | 22 | 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 |
xiinc37 | 8a2b7f3 | 2018-02-08 06:26:20 -0500 | [diff] [blame] | 25 | end |
Angel Pons | c97802f | 2020-01-01 21:27:43 +0100 | [diff] [blame] | 26 | device pci 02.0 off end # Internal graphics |
xiinc37 | 8a2b7f3 | 2018-02-08 06:26:20 -0500 | [diff] [blame] | 27 | |
| 28 | chip southbridge/intel/bd82x6x # Intel Series 7 Panther Point PCH |
xiinc37 | 8a2b7f3 | 2018-02-08 06:26:20 -0500 | [diff] [blame] | 29 | register "docking_supported" = "0" |
Arthur Heymans | 6beaef9 | 2019-06-16 23:29:23 +0200 | [diff] [blame] | 30 | # mailbox at 0x200/0x201 and PM1 at 0x220 |
xiinc37 | 8a2b7f3 | 2018-02-08 06:26:20 -0500 | [diff] [blame] | 31 | register "gen1_dec" = "0x007c0201" |
| 32 | register "gen2_dec" = "0x000c0101" |
| 33 | register "gen3_dec" = "0x00fcfe01" |
| 34 | register "gen4_dec" = "0x000402e9" |
| 35 | register "gpi6_routing" = "2" |
xiinc37 | 8a2b7f3 | 2018-02-08 06:26:20 -0500 | [diff] [blame] | 36 | register "pcie_hotplug_map" = "{ 0, 1, 1, 0, 0, 0, 0, 0 }" |
xiinc37 | 8a2b7f3 | 2018-02-08 06:26:20 -0500 | [diff] [blame] | 37 | register "sata_port_map" = "0x1f" |
Angel Pons | c97802f | 2020-01-01 21:27:43 +0100 | [diff] [blame] | 38 | register "superspeed_capable_ports" = "0x0000000f" |
| 39 | register "xhci_overcurrent_mapping" = "0x00000c03" |
| 40 | register "xhci_switchable_ports" = "0x0000000f" |
xiinc37 | 8a2b7f3 | 2018-02-08 06:26:20 -0500 | [diff] [blame] | 41 | |
Angel Pons | a0a3eab | 2020-01-01 20:52:11 +0100 | [diff] [blame] | 42 | device pci 14.0 on end # USB 3.0 Controller |
Angel Pons | a0a3eab | 2020-01-01 20:52:11 +0100 | [diff] [blame] | 43 | 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 Pons | c97802f | 2020-01-01 21:27:43 +0100 | [diff] [blame] | 51 | device pci 1f.0 on # LPC bridge |
xiinc37 | 8a2b7f3 | 2018-02-08 06:26:20 -0500 | [diff] [blame] | 52 | chip ec/hp/kbc1126 |
| 53 | register "ec_data_port" = "0x62" |
Angel Pons | c97802f | 2020-01-01 21:27:43 +0100 | [diff] [blame] | 54 | register "ec_cmd_port" = "0x66" |
| 55 | register "ec_ctrl_reg" = "0x81" |
xiinc37 | 8a2b7f3 | 2018-02-08 06:26:20 -0500 | [diff] [blame] | 56 | register "ec_fan_ctrl_value" = "0x81" |
| 57 | device pnp ff.1 off end |
Angel Pons | c97802f | 2020-01-01 21:27:43 +0100 | [diff] [blame] | 58 | end |
xiinc37 | 8a2b7f3 | 2018-02-08 06:26:20 -0500 | [diff] [blame] | 59 | chip superio/smsc/lpc47n217 |
Angel Pons | c97802f | 2020-01-01 21:27:43 +0100 | [diff] [blame] | 60 | device pnp 4e.3 on # Parallel |
| 61 | io 0x60 = 0x378 |
xiinc37 | 8a2b7f3 | 2018-02-08 06:26:20 -0500 | [diff] [blame] | 62 | irq 0x70 = 7 |
| 63 | end |
Angel Pons | c97802f | 2020-01-01 21:27:43 +0100 | [diff] [blame] | 64 | device pnp 4e.4 on # COM1 |
| 65 | io 0x60 = 0x3f8 |
xiinc37 | 8a2b7f3 | 2018-02-08 06:26:20 -0500 | [diff] [blame] | 66 | irq 0x70 = 4 |
| 67 | end |
Angel Pons | c97802f | 2020-01-01 21:27:43 +0100 | [diff] [blame] | 68 | device pnp 4e.5 off end # COM2 |
| 69 | end |
xiinc37 | 8a2b7f3 | 2018-02-08 06:26:20 -0500 | [diff] [blame] | 70 | end |
xiinc37 | 8a2b7f3 | 2018-02-08 06:26:20 -0500 | [diff] [blame] | 71 | end |
| 72 | end |
| 73 | end |