blob: 59fb59333027f31de19996530ac8b81d5b77fe13 [file] [log] [blame]
Sergej Ivanovd777c782015-04-03 18:10:27 +03001#
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#
Sergej Ivanovd777c782015-04-03 18:10:27 +030016chip 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 0x1002 0x439d 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
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
32 device pci 2.1 on end
33 device pci 2.2 on end
34 device pci 2.3 on end
35 device pci 2.4 on end
36 device pci 2.5 on end
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
40 device pci 10.0 on end # XHCI HC0
41 device pci 11.0 on end # SATA
42 device pci 12.0 on end # USB
43 device pci 12.2 on end # USB
44 device pci 13.0 on end # USB
45 device pci 13.2 on end # USB
46 device pci 14.0 on # SM
47 chip drivers/generic/generic #dimm 0-0-0
48 device i2c 50 on end
49 end
50 chip drivers/generic/generic #dimm 0-0-1
51 device i2c 51 on end
52 end
53 end # SM
54 device pci 14.1 on end # there is no legacy ide
55 device pci 14.2 on end # HDA 0x4383
56 device pci 14.3 on # LPC 0x439d
57 chip superio/ite/it8728f
58 device pnp 2e.0 off # Floppy
59 io 0x60 = 0x3f0
60 irq 0x70 = 6
61 drq 0x74 = 2
62 end
63 device pnp 2e.1 on # Com1
64 io 0x60 = 0x3f8
65 irq 0x70 = 4
66 end
67 device pnp 2e.2 off # Com2
68 io 0x60 = 0x2f8
69 irq 0x70 = 3
70 end
71 device pnp 2e.3 on # Parallel Port
72 io 0x60 = 0x378
73 io 0x62 = 0
74 drq 0x74 = 4
75 irq 0x70 = 5
76 end
77 device pnp 2e.4 on # Env Controller
78 io 0x60 = 0xa00
79 io 0x62 = 0xa20
80 irq 0x70 = 0
81 end
82 device pnp 2e.5 on # Keyboard
83 io 0x60 = 0x60
84 io 0x62 = 0x64
85 irq 0x70 = 1
86 end
87 device pnp 2e.6 on # Mouse
88 irq 0x70 = 12
89 end
90 device pnp 2e.7 on # GPIO
91 io 0x60 = 0xa40
92 io 0x62 = 0xa40
93 io 0x64 = 0
94 irq 0x70 = 0
95 end
96 device pnp 2e.a off end # CIR
97 end #superio/ite/it8728f
98 end #device pci 14.3 # LPC
99 device pci 14.7 off end # SD
Marshall Dawsonf5d9d142016-12-16 12:53:53 -0500100 end #chip southbridge/amd/agesa/hudson
Sergej Ivanovd777c782015-04-03 18:10:27 +0300101
102 device pci 18.0 on end
103 device pci 18.1 on end
104 device pci 18.2 on end
105 device pci 18.3 on end
106 device pci 18.4 on end
107 device pci 18.5 on end
108 register "spdAddrLookup" = "
109 {
110 { {0xA0, 0xA2} },
111 }"
112
113 end #chip northbridge/amd/agesa/family16kb # CPU side of HT root complex
114 end #domain
115end #northbridge/amd/agesa/family16kb/root_complex