Kyösti Mälkki | f09e6d4 | 2015-01-10 12:13:23 +0200 | [diff] [blame] | 1 | # |
| 2 | # This file is part of the coreboot project. |
| 3 | # |
| 4 | # Copyright (C) 2011 Advanced Micro Devices, Inc. |
Kyösti Mälkki | 8c190f3 | 2014-11-14 16:20:22 +0200 | [diff] [blame] | 5 | # Copyright (C) 2014 Kyösti Mälkki <kyosti.malkki@gmail.com> |
Kyösti Mälkki | f09e6d4 | 2015-01-10 12:13:23 +0200 | [diff] [blame] | 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; version 2 of the License. |
| 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 | # You should have received a copy of the GNU General Public License |
| 17 | # along with this program; if not, write to the Free Software |
| 18 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | # |
| 20 | chip northbridge/amd/agesa/family14/root_complex |
| 21 | device cpu_cluster 0 on |
| 22 | chip cpu/amd/agesa/family14 |
| 23 | device lapic 0 on end |
| 24 | end |
| 25 | end |
| 26 | device domain 0 on |
| 27 | subsystemid 0x1022 0x1510 inherit |
| 28 | chip northbridge/amd/agesa/family14 # CPU side of HT root complex |
Kyösti Mälkki | 0735423 | 2015-01-17 18:08:40 +0200 | [diff] [blame] | 29 | # device pci 18.0 on # northbridge |
| 30 | chip northbridge/amd/agesa/family14 # PCI side of HT root complex |
| 31 | device pci 0.0 on end # Root Complex |
| 32 | device pci 1.0 off end # Internal Graphics P2P bridge 0x980[2456] |
| 33 | device pci 4.0 on end # PCIE P2P bridge on-board NIC |
| 34 | device pci 5.0 on end # PCIE P2P bridge |
| 35 | device pci 6.0 on end # PCIE P2P bridge PCIe slot |
| 36 | device pci 7.0 on end # PCIE P2P bridge |
| 37 | device pci 8.0 on end # NB/SB Link P2P bridge |
| 38 | end # agesa northbridge |
Kyösti Mälkki | f09e6d4 | 2015-01-10 12:13:23 +0200 | [diff] [blame] | 39 | |
Kyösti Mälkki | 0735423 | 2015-01-17 18:08:40 +0200 | [diff] [blame] | 40 | chip southbridge/amd/cimx/sb800 # it is under NB/SB Link, but on the same pri bus |
| 41 | device pci 11.0 on end # SATA |
| 42 | device pci 12.0 on end # OHCI USB 0-4 |
| 43 | device pci 12.2 on end # EHCI USB 0-4 |
| 44 | device pci 13.0 on end # OHCI USB 5-9 |
| 45 | device pci 13.2 on end # EHCI USB 5-9 |
| 46 | device pci 14.0 on end # SMBus |
| 47 | device pci 14.1 off end # IDE 0x439c |
| 48 | device pci 14.2 off end # HDA 0x4383 |
Kyösti Mälkki | f09e6d4 | 2015-01-10 12:13:23 +0200 | [diff] [blame] | 49 | device pci 14.3 on # LPC 0x439d |
Kyösti Mälkki | 8c190f3 | 2014-11-14 16:20:22 +0200 | [diff] [blame] | 50 | chip superio/nuvoton/nct5104d |
| 51 | register "irq_trigger_type" = "0" |
| 52 | device pnp 2e.0 off end |
| 53 | device pnp 2e.2 on |
| 54 | io 0x60 = 0x3f8 |
| 55 | irq 0x70 = 4 |
| 56 | end |
| 57 | device pnp 2e.3 on |
| 58 | io 0x60 = 0x2f8 |
| 59 | irq 0x70 = 3 |
| 60 | end |
| 61 | device pnp 2e.10 off |
| 62 | io 0x60 = 0x3e8 |
| 63 | irq 0x70 = 4 |
| 64 | end |
| 65 | device pnp 2e.11 off |
| 66 | io 0x60 = 0x2e8 |
| 67 | irq 0x70 = 3 |
| 68 | end |
| 69 | device pnp 2e.8 off end |
| 70 | device pnp 2e.f off end |
| 71 | device pnp 2e.7 off end |
| 72 | device pnp 2e.107 off end |
| 73 | device pnp 2e.607 off end |
| 74 | device pnp 2e.e off end |
| 75 | end |
Kyösti Mälkki | 0735423 | 2015-01-17 18:08:40 +0200 | [diff] [blame] | 76 | end #LPC |
| 77 | device pci 14.4 on end # PCIB 0x4384 |
| 78 | device pci 14.5 off end # OHCI FS/LS USB |
| 79 | #device pci 14.6 off end # Hudson-E1 GbE MAC: Broadcom BCM5785 (14E4:1699) |
| 80 | device pci 15.0 on end # PCIe PortA |
| 81 | device pci 15.1 off end # PCIe PortB |
| 82 | device pci 15.2 off end # PCIe PortC |
| 83 | device pci 15.3 off end # PCIe PortD |
| 84 | device pci 16.0 on end # OHCI USB 10-13 |
| 85 | device pci 16.2 on end # EHCI USB 10-13 |
Kyösti Mälkki | b5a8a13 | 2015-01-17 18:08:40 +0200 | [diff] [blame^] | 86 | register "gpp_configuration" = "4" # GPP_CFGMODE_X1111 |
Kyösti Mälkki | 0735423 | 2015-01-17 18:08:40 +0200 | [diff] [blame] | 87 | register "disconnect_pcib" = "1" |
| 88 | register "boot_switch_sata_ide" = "0" # 0: boot from SATA. 1: IDE |
| 89 | end #southbridge/amd/cimx/sb800 |
Kyösti Mälkki | f09e6d4 | 2015-01-10 12:13:23 +0200 | [diff] [blame] | 90 | # end # device pci 18.0 |
| 91 | # These seem unnecessary |
| 92 | device pci 18.0 on end |
| 93 | device pci 18.1 on end |
| 94 | device pci 18.2 on end |
| 95 | device pci 18.3 on end |
| 96 | device pci 18.4 on end |
| 97 | device pci 18.5 on end |
| 98 | device pci 18.6 on end |
| 99 | device pci 18.7 on end |
| 100 | |
Kyösti Mälkki | f09e6d4 | 2015-01-10 12:13:23 +0200 | [diff] [blame] | 101 | end #chip northbridge/amd/agesa/family14 # CPU side of HT root complex |
| 102 | end #domain |
| 103 | end #northbridge/amd/agesa/family14/root_complex |