Kyösti Mälkki | e75deb6 | 2014-06-26 09:12:54 +0300 | [diff] [blame] | 1 | # |
| 2 | # This file is part of the coreboot project. |
| 3 | # |
| 4 | # Copyright (C) 2013 Advanced Micro Devices, Inc. |
Dave Frodin | 83405a1 | 2014-06-05 11:49:04 -0600 | [diff] [blame] | 5 | # Copyright (C) 2014 Sage Electronic Engineering, LLC |
Kyösti Mälkki | e75deb6 | 2014-06-26 09:12:54 +0300 | [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 | # |
Kyösti Mälkki | e75deb6 | 2014-06-26 09:12:54 +0300 | [diff] [blame] | 16 | chip northbridge/amd/agesa/family16kb/root_complex |
| 17 | device cpu_cluster 0 on |
| 18 | chip cpu/amd/agesa/family16kb |
| 19 | device lapic 0 on end |
| 20 | end |
| 21 | end |
| 22 | |
| 23 | device domain 0 on |
| 24 | subsystemid 0x1022 0x1410 inherit |
| 25 | chip northbridge/amd/agesa/family16kb # CPU side of HT root complex |
| 26 | |
| 27 | chip northbridge/amd/agesa/family16kb # PCI side of HT root complex |
Dave Frodin | 83405a1 | 2014-06-05 11:49:04 -0600 | [diff] [blame] | 28 | device pci 0.0 on end # Root Complex |
| 29 | device pci 1.0 on end # Internal Graphics P2P bridge 0x9804 |
| 30 | device pci 1.1 on end # Internal Multimedia |
| 31 | device pci 2.0 on end # PCIe Host Bridge |
| 32 | device pci 2.1 off end # unused |
| 33 | device pci 2.2 on end # GPP0: NIC |
| 34 | device pci 2.3 on end # GPP1: NIC |
| 35 | device pci 2.4 off end # GPP2: unused |
| 36 | device pci 2.5 off end # GPP3: unused |
Kyösti Mälkki | e75deb6 | 2014-06-26 09:12:54 +0300 | [diff] [blame] | 37 | end #chip northbridge/amd/agesa/family16kb |
| 38 | |
| 39 | chip southbridge/amd/agesa/hudson # it is under NB/SB Link, but on the same pci bus |
Kyösti Mälkki | e75deb6 | 2014-06-26 09:12:54 +0300 | [diff] [blame] | 40 | device pci 11.0 on end # SATA |
| 41 | device pci 12.0 on end # USB |
| 42 | device pci 12.2 on end # USB |
| 43 | device pci 13.0 on end # USB |
| 44 | device pci 13.2 on end # USB |
| 45 | device pci 14.0 on # SM |
Dave Frodin | 83405a1 | 2014-06-05 11:49:04 -0600 | [diff] [blame] | 46 | chip drivers/generic/generic #dimm 0-0-0 |
Kyösti Mälkki | e75deb6 | 2014-06-26 09:12:54 +0300 | [diff] [blame] | 47 | device i2c 50 on end |
| 48 | end |
Kyösti Mälkki | e75deb6 | 2014-06-26 09:12:54 +0300 | [diff] [blame] | 49 | end # SM |
Dave Frodin | 83405a1 | 2014-06-05 11:49:04 -0600 | [diff] [blame] | 50 | device pci 14.2 off end # HDA 0x4383 |
| 51 | device pci 14.3 on # LPC 0x439d |
| 52 | chip superio/nuvoton/nct5104d |
| 53 | device pnp 4e.0 off end # FDC |
| 54 | device pnp 4e.2 on # COM1 |
Kyösti Mälkki | e75deb6 | 2014-06-26 09:12:54 +0300 | [diff] [blame] | 55 | io 0x60 = 0x3f8 |
| 56 | irq 0x70 = 4 |
| 57 | end |
Dave Frodin | 83405a1 | 2014-06-05 11:49:04 -0600 | [diff] [blame] | 58 | device pnp 4e.3 on # COM2 |
Kyösti Mälkki | e75deb6 | 2014-06-26 09:12:54 +0300 | [diff] [blame] | 59 | io 0x60 = 0x2f8 |
| 60 | irq 0x70 = 3 |
| 61 | end |
Dave Frodin | 83405a1 | 2014-06-05 11:49:04 -0600 | [diff] [blame] | 62 | device pnp 4e.7 off end # GPIO |
| 63 | device pnp 4e.8 off end # GPIO/WDT |
| 64 | device pnp 4e.f off end # GPIO |
| 65 | device pnp 4e.10 off end # COM3 used by port 80 |
| 66 | device pnp 4e.11 on # COM4 |
Kyösti Mälkki | e75deb6 | 2014-06-26 09:12:54 +0300 | [diff] [blame] | 67 | io 0x60 = 0x2e8 |
| 68 | irq 0x70 = 3 |
| 69 | end |
Dave Frodin | 83405a1 | 2014-06-05 11:49:04 -0600 | [diff] [blame] | 70 | device pnp 4e.14 off end # PORT80 |
| 71 | register "irq_trigger_type" = "0" # 0 edge, 1 level |
| 72 | end # nct5104d |
| 73 | end #LPC |
| 74 | device pci 14.7 off end # SD |
| 75 | device pci 16.0 on end # USB |
| 76 | device pci 16.2 on end # USB |
Marshall Dawson | f5d9d14 | 2016-12-16 12:53:53 -0500 | [diff] [blame] | 77 | end #chip southbridge/amd/agesa/hudson |
Kyösti Mälkki | e75deb6 | 2014-06-26 09:12:54 +0300 | [diff] [blame] | 78 | |
| 79 | device pci 18.0 on end |
| 80 | device pci 18.1 on end |
| 81 | device pci 18.2 on end |
| 82 | device pci 18.3 on end |
| 83 | device pci 18.4 on end |
| 84 | device pci 18.5 on end |
| 85 | register "spdAddrLookup" = " |
| 86 | { |
Dave Frodin | 83405a1 | 2014-06-05 11:49:04 -0600 | [diff] [blame] | 87 | { {0xA0, 0x00}, {0x00, 0x00}, }, // socket 0 - Channel 0 - 8-bit SPD addresses |
Kyösti Mälkki | e75deb6 | 2014-06-26 09:12:54 +0300 | [diff] [blame] | 88 | }" |
Kyösti Mälkki | e75deb6 | 2014-06-26 09:12:54 +0300 | [diff] [blame] | 89 | end #chip northbridge/amd/agesa/family16kb # CPU side of HT root complex |
| 90 | end #domain |
| 91 | end #northbridge/amd/agesa/family16kb/root_complex |