Jens Rottmann | 73d4965 | 2013-02-28 09:56:20 +0100 | [diff] [blame] | 1 | # |
| 2 | # This file is part of the coreboot project. |
| 3 | # |
| 4 | # Copyright (C) 2011 Advanced Micro Devices, Inc. |
| 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; version 2 of the License. |
| 9 | # |
| 10 | # This program is distributed in the hope that it will be useful, |
| 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | # GNU General Public License for more details. |
| 14 | # |
Jens Rottmann | 73d4965 | 2013-02-28 09:56:20 +0100 | [diff] [blame] | 15 | chip northbridge/amd/agesa/family14/root_complex |
| 16 | device cpu_cluster 0 on |
| 17 | chip cpu/amd/agesa/family14 |
Elyes HAOUAS | 0d97302 | 2014-07-23 11:00:44 +0200 | [diff] [blame] | 18 | device lapic 0 on end |
Jens Rottmann | 73d4965 | 2013-02-28 09:56:20 +0100 | [diff] [blame] | 19 | end |
| 20 | end |
| 21 | device domain 0 on |
| 22 | subsystemid 0x1022 0x1510 inherit |
| 23 | chip northbridge/amd/agesa/family14 # CPU side of HT root complex |
| 24 | # device pci 18.0 on # northbridge |
| 25 | chip northbridge/amd/agesa/family14 # PCI side of HT root complex |
| 26 | device pci 0.0 on end # Root Complex |
| 27 | device pci 1.0 on end # Internal Graphics P2P bridge 0x980[2456] |
| 28 | device pci 4.0 on end # PCIE P2P bridge on-board NIC |
| 29 | device pci 5.0 off end # PCIE P2P bridge |
Jens Rottmann | 23d13b1 | 2013-02-28 10:24:20 +0100 | [diff] [blame] | 30 | device pci 6.0 off end # PCIE P2P bridge |
Jens Rottmann | 73d4965 | 2013-02-28 09:56:20 +0100 | [diff] [blame] | 31 | device pci 7.0 off end # PCIE P2P bridge |
| 32 | device pci 8.0 off end # NB/SB Link P2P bridge |
| 33 | end # agesa northbridge |
| 34 | |
| 35 | chip southbridge/amd/cimx/sb800 # it is under NB/SB Link, but on the same pri bus |
| 36 | device pci 11.0 on end # SATA |
| 37 | device pci 12.0 on end # OHCI USB 0-4 |
| 38 | device pci 12.2 on end # EHCI USB 0-4 |
| 39 | device pci 13.0 on end # OHCI USB 5-9 |
| 40 | device pci 13.2 on end # EHCI USB 5-9 |
| 41 | device pci 14.0 on # SM |
| 42 | chip drivers/generic/generic #dimm 0-0-0 |
| 43 | device i2c 50 on end |
| 44 | end |
| 45 | chip drivers/generic/generic #dimm 0-0-1 |
Jens Rottmann | 23d13b1 | 2013-02-28 10:24:20 +0100 | [diff] [blame] | 46 | device i2c 51 off end |
Jens Rottmann | 73d4965 | 2013-02-28 09:56:20 +0100 | [diff] [blame] | 47 | end |
| 48 | end # SM |
Jens Rottmann | 23d13b1 | 2013-02-28 10:24:20 +0100 | [diff] [blame] | 49 | device pci 14.1 off end # IDE 0x439c |
Jens Rottmann | 73d4965 | 2013-02-28 09:56:20 +0100 | [diff] [blame] | 50 | device pci 14.2 on end # HDA 0x4383 |
| 51 | device pci 14.3 on # LPC 0x439d |
Jens Rottmann | 23d13b1 | 2013-02-28 10:24:20 +0100 | [diff] [blame] | 52 | chip superio/smsc/smscsuperio |
| 53 | device pnp 4e.0 off end # Floppy |
| 54 | device pnp 4e.3 off end # Parallel Port |
| 55 | device pnp 4e.4 on # COM1 |
Jens Rottmann | 73d4965 | 2013-02-28 09:56:20 +0100 | [diff] [blame] | 56 | io 0x60 = 0x3f8 |
| 57 | irq 0x70 = 4 |
| 58 | end |
Jens Rottmann | 23d13b1 | 2013-02-28 10:24:20 +0100 | [diff] [blame] | 59 | device pnp 4e.5 on # COM2 |
Jens Rottmann | 73d4965 | 2013-02-28 09:56:20 +0100 | [diff] [blame] | 60 | io 0x60 = 0x2f8 |
| 61 | irq 0x70 = 3 |
| 62 | end |
Jens Rottmann | 23d13b1 | 2013-02-28 10:24:20 +0100 | [diff] [blame] | 63 | device pnp 4e.7 on # Keyboard |
| 64 | io 0x60 = 0x60 |
| 65 | io 0x62 = 0x64 |
| 66 | irq 0x70 = 1 |
| 67 | irq 0x72 = 12 |
| 68 | end |
| 69 | device pnp 4e.A on # Runtime Regs |
| 70 | io 0x60 = 0x0E00 |
| 71 | drq 0xF0 = 0x0B # no 32kHz |
| 72 | end |
| 73 | end # smscsuperio |
Jens Rottmann | 73d4965 | 2013-02-28 09:56:20 +0100 | [diff] [blame] | 74 | end #LPC |
| 75 | device pci 14.4 on end # PCIB 0x4384, NOTE: PCI interface pins shared with GPIO {GPIO 35:0} |
| 76 | device pci 14.5 off end # OHCI FS/LS USB |
| 77 | device pci 14.6 off end # Hudson-E1 GbE MAC: Broadcom BCM5785 (14E4:1699) |
| 78 | device pci 15.0 off end # PCIe PortA |
| 79 | device pci 15.1 off end # PCIe PortB |
| 80 | device pci 15.2 off end # PCIe PortC |
| 81 | device pci 15.3 off end # PCIe PortD |
Jens Rottmann | 23d13b1 | 2013-02-28 10:24:20 +0100 | [diff] [blame] | 82 | device pci 16.0 on end # OHCI USB 10-13 |
| 83 | device pci 16.2 on end # EHCI USB 10-13 |
| 84 | register "gpp_configuration" = "4" #1:1:1:1 |
Jens Rottmann | 73d4965 | 2013-02-28 09:56:20 +0100 | [diff] [blame] | 85 | register "boot_switch_sata_ide" = "0" # 0: boot from SATA. 1: IDE |
Jens Rottmann | 73d4965 | 2013-02-28 09:56:20 +0100 | [diff] [blame] | 86 | end #southbridge/amd/cimx/sb800 |
| 87 | # end # device pci 18.0 |
| 88 | # These seem unnecessary |
| 89 | device pci 18.0 on end |
| 90 | device pci 18.1 on end |
| 91 | device pci 18.2 on end |
| 92 | device pci 18.3 on end |
| 93 | device pci 18.4 on end |
| 94 | device pci 18.5 on end |
| 95 | device pci 18.6 on end |
| 96 | device pci 18.7 on end |
Jens Rottmann | 3db86cc | 2013-03-21 22:31:19 +0100 | [diff] [blame] | 97 | |
| 98 | register "spdAddrLookup" = " |
| 99 | { |
| 100 | { {0xA0, 0xA2}, {0x00, 0x00}, }, // socket 0 - Channel 0 & 1 - 8-bit SPD addresses |
| 101 | { {0x00, 0x00}, {0x00, 0x00}, }, // socket 1 - Channel 0 & 1 - 8-bit SPD addresses |
| 102 | }" |
| 103 | |
Jens Rottmann | 73d4965 | 2013-02-28 09:56:20 +0100 | [diff] [blame] | 104 | end #chip northbridge/amd/agesa/family14 # CPU side of HT root complex |
| 105 | end #domain |
| 106 | end #northbridge/amd/agesa/family14/root_complex |