blob: c9ca1d8480f6b0efdfbaddec004f97fccbe3d23b [file] [log] [blame]
Kyösti Mälkkie75deb62014-06-26 09:12:54 +03001#
2# This file is part of the coreboot project.
3#
4# Copyright (C) 2013 Advanced Micro Devices, Inc.
Dave Frodin83405a12014-06-05 11:49:04 -06005# Copyright (C) 2014 Sage Electronic Engineering, LLC
Kyösti Mälkkie75deb62014-06-26 09:12:54 +03006#
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älkkie75deb62014-06-26 09:12:54 +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 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 Frodin83405a12014-06-05 11:49:04 -060028 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älkkie75deb62014-06-26 09:12:54 +030037 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älkkie75deb62014-06-26 09:12:54 +030040 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 Frodin83405a12014-06-05 11:49:04 -060046 chip drivers/generic/generic #dimm 0-0-0
Kyösti Mälkkie75deb62014-06-26 09:12:54 +030047 device i2c 50 on end
48 end
Kyösti Mälkkie75deb62014-06-26 09:12:54 +030049 end # SM
Dave Frodin83405a12014-06-05 11:49:04 -060050 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älkkie75deb62014-06-26 09:12:54 +030055 io 0x60 = 0x3f8
56 irq 0x70 = 4
57 end
Dave Frodin83405a12014-06-05 11:49:04 -060058 device pnp 4e.3 on # COM2
Kyösti Mälkkie75deb62014-06-26 09:12:54 +030059 io 0x60 = 0x2f8
60 irq 0x70 = 3
61 end
Dave Frodin83405a12014-06-05 11:49:04 -060062 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älkkie75deb62014-06-26 09:12:54 +030067 io 0x60 = 0x2e8
68 irq 0x70 = 3
69 end
Dave Frodin83405a12014-06-05 11:49:04 -060070 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 Dawsonf5d9d142016-12-16 12:53:53 -050077 end #chip southbridge/amd/agesa/hudson
Kyösti Mälkkie75deb62014-06-26 09:12:54 +030078
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 Frodin83405a12014-06-05 11:49:04 -060087 { {0xA0, 0x00}, {0x00, 0x00}, }, // socket 0 - Channel 0 - 8-bit SPD addresses
Kyösti Mälkkie75deb62014-06-26 09:12:54 +030088 }"
Kyösti Mälkkie75deb62014-06-26 09:12:54 +030089 end #chip northbridge/amd/agesa/family16kb # CPU side of HT root complex
90 end #domain
91end #northbridge/amd/agesa/family16kb/root_complex