Sergej Ivanov | d777c78 | 2015-04-03 18:10:27 +0300 | [diff] [blame^] | 1 | # |
| 2 | # This file is part of the coreboot project. |
| 3 | # |
| 4 | # Copyright (C) 2013 Advanced Micro Devices, Inc. |
| 5 | # Copyright (C) 2015 Sergej Ivanov <getinaks@gmail.com> |
| 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/family16kb/root_complex |
| 21 | device cpu_cluster 0 on |
| 22 | chip cpu/amd/agesa/family16kb |
| 23 | device lapic 0 on end |
| 24 | end |
| 25 | end |
| 26 | |
| 27 | device domain 0 on |
| 28 | subsystemid 0x1002 0x439d inherit |
| 29 | chip northbridge/amd/agesa/family16kb # CPU side of HT root complex |
| 30 | |
| 31 | chip northbridge/amd/agesa/family16kb # PCI side of HT root complex |
| 32 | device pci 0.0 on end # Root Complex |
| 33 | device pci 1.0 on end # Internal Graphics P2P bridge 0x9804 |
| 34 | device pci 1.1 on end # Internal Multimedia |
| 35 | device pci 2.0 on end |
| 36 | device pci 2.1 on end |
| 37 | device pci 2.2 on end |
| 38 | device pci 2.3 on end |
| 39 | device pci 2.4 on end |
| 40 | device pci 2.5 on end |
| 41 | end #chip northbridge/amd/agesa/family16kb |
| 42 | |
| 43 | chip southbridge/amd/agesa/hudson # it is under NB/SB Link, but on the same pci bus |
| 44 | device pci 10.0 on end # XHCI HC0 |
| 45 | device pci 11.0 on end # SATA |
| 46 | device pci 12.0 on end # USB |
| 47 | device pci 12.2 on end # USB |
| 48 | device pci 13.0 on end # USB |
| 49 | device pci 13.2 on end # USB |
| 50 | device pci 14.0 on # SM |
| 51 | chip drivers/generic/generic #dimm 0-0-0 |
| 52 | device i2c 50 on end |
| 53 | end |
| 54 | chip drivers/generic/generic #dimm 0-0-1 |
| 55 | device i2c 51 on end |
| 56 | end |
| 57 | end # SM |
| 58 | device pci 14.1 on end # there is no legacy ide |
| 59 | device pci 14.2 on end # HDA 0x4383 |
| 60 | device pci 14.3 on # LPC 0x439d |
| 61 | chip superio/ite/it8728f |
| 62 | device pnp 2e.0 off # Floppy |
| 63 | io 0x60 = 0x3f0 |
| 64 | irq 0x70 = 6 |
| 65 | drq 0x74 = 2 |
| 66 | end |
| 67 | device pnp 2e.1 on # Com1 |
| 68 | io 0x60 = 0x3f8 |
| 69 | irq 0x70 = 4 |
| 70 | end |
| 71 | device pnp 2e.2 off # Com2 |
| 72 | io 0x60 = 0x2f8 |
| 73 | irq 0x70 = 3 |
| 74 | end |
| 75 | device pnp 2e.3 on # Parallel Port |
| 76 | io 0x60 = 0x378 |
| 77 | io 0x62 = 0 |
| 78 | drq 0x74 = 4 |
| 79 | irq 0x70 = 5 |
| 80 | end |
| 81 | device pnp 2e.4 on # Env Controller |
| 82 | io 0x60 = 0xa00 |
| 83 | io 0x62 = 0xa20 |
| 84 | irq 0x70 = 0 |
| 85 | end |
| 86 | device pnp 2e.5 on # Keyboard |
| 87 | io 0x60 = 0x60 |
| 88 | io 0x62 = 0x64 |
| 89 | irq 0x70 = 1 |
| 90 | end |
| 91 | device pnp 2e.6 on # Mouse |
| 92 | irq 0x70 = 12 |
| 93 | end |
| 94 | device pnp 2e.7 on # GPIO |
| 95 | io 0x60 = 0xa40 |
| 96 | io 0x62 = 0xa40 |
| 97 | io 0x64 = 0 |
| 98 | irq 0x70 = 0 |
| 99 | end |
| 100 | device pnp 2e.a off end # CIR |
| 101 | end #superio/ite/it8728f |
| 102 | end #device pci 14.3 # LPC |
| 103 | device pci 14.7 off end # SD |
| 104 | end #chip southbridge/amd/hudson |
| 105 | |
| 106 | device pci 18.0 on end |
| 107 | device pci 18.1 on end |
| 108 | device pci 18.2 on end |
| 109 | device pci 18.3 on end |
| 110 | device pci 18.4 on end |
| 111 | device pci 18.5 on end |
| 112 | register "spdAddrLookup" = " |
| 113 | { |
| 114 | { {0xA0, 0xA2} }, |
| 115 | }" |
| 116 | |
| 117 | end #chip northbridge/amd/agesa/family16kb # CPU side of HT root complex |
| 118 | end #domain |
| 119 | end #northbridge/amd/agesa/family16kb/root_complex |