blob: 93f5e73a1ec3926c8bd2bf9d5fc79aadf62b8ed1 [file] [log] [blame]
Kyösti Mälkki595ef3d2015-05-27 12:44:16 +03001#
2# This file is part of the coreboot project.
3#
4# Copyright (C) 2013 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
Fabian Kunkel7558dba2015-05-25 17:08:17 +020012# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Kyösti Mälkki595ef3d2015-05-27 12:44:16 +030013# GNU General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with this program; if not, write to the Free Software
17# Foundation, Inc.
18#
19chip northbridge/amd/agesa/family16kb/root_complex
20 device cpu_cluster 0 on
21 chip cpu/amd/agesa/family16kb
22 device lapic 0 on end
23 end
24 end
25
26 device domain 0 on
27 subsystemid 0x1022 0x1410 inherit
28 chip northbridge/amd/agesa/family16kb # CPU side of HT root complex
29
30 chip northbridge/amd/agesa/family16kb # PCI side of HT root complex
31 device pci 0.0 on end # Root Complex
32 device pci 1.0 on end # Internal Graphics P2P bridge 0x9835
33 device pci 1.1 on end # Internal Multimedia
34 device pci 2.0 on end # PCIe Host Bridge
Fabian Kunkel7558dba2015-05-25 17:08:17 +020035 device pci 2.1 on end # x4 PCIe Slot
36 device pci 2.2 on end # PCIe Q7 Realtek GBit LAN
37 device pci 2.3 on end # PCIe CB Realtek GBit LAN
38 device pci 2.4 on end # PCIe BAP FPGA
39 device pci 2.5 on end # PCIe BAP FPGA (unused, for 050T)
Kyösti Mälkki595ef3d2015-05-27 12:44:16 +030040 end #chip northbridge/amd/agesa/family16kb
41
42 chip southbridge/amd/agesa/hudson # it is under NB/SB Link, but on the same pci bus
43 device pci 10.0 on end # XHCI HC0
44 device pci 11.0 on end # SATA
45 device pci 12.0 on end # USB
46 device pci 12.2 on end # USB
47 device pci 13.0 on end # USB
48 device pci 13.2 on end # USB
49 device pci 14.0 on end # SM
50 device pci 14.2 on end # HDA 0x4383
Fabian Kunkel7558dba2015-05-25 17:08:17 +020051 device pci 14.3 on # LPC 0x439d
52 chip superio/fintek/f81866d
53 register "hwm_amd_tsi_addr" = "0x98" # Set to AMD
54 register "hwm_amd_tsi_control" = "0x02" # Set to AMD
55 register "hwm_fan_select" = "0xC0" # Sets Fan2 to PWM
56 register "hwm_fan_mode" = "0xD5" # Sets FAN1-3 to Auto RPM mode
57 register "hwm_fan3_control" = "0x00" # Fan control 23kHz
58 register "hwm_fan2_temp_map_select" = "0x1E" # Fan control 23kHz
59 register "hwm_fan2_bound1" = "0x3C" # 60°C
60 register "hwm_fan2_bound2" = "0x32" # 50°C
61 register "hwm_fan2_bound3" = "0x28" # 40°C
62 register "hwm_fan2_bound4" = "0x1E" # 30°C
63 register "hwm_fan2_seg1_speed" = "0xFF" # 100%
64 register "hwm_fan2_seg2_speed" = "0xD9" # 85%
65 register "hwm_fan2_seg3_speed" = "0xB2" # 70%
66 register "hwm_fan2_seg4_speed" = "0x99" # 60%
67 register "hwm_fan2_seg5_speed" = "0x80" # 50%
68 register "hwm_temp_sens_type" = "0x04" # Sets temp sensor 1 type to to thermistor
69 device pnp 4e.0 off # Floppy
70 io 0x60 = 0x3f0
71 irq 0x70 = 6
72 drq 0x74 = 2
73 end
74 device pnp 4e.3 off end # Parallel Port
75 device pnp 4e.4 on # Hardware Monitor
76 io 0x60 = 0x295
77 irq 0x70 = 0
78 end
79 device pnp 4e.5 off # Keyboard
80 io 0x60 = 0x60
81 io 0x62 = 0x64
82 irq 0x70 = 1
83 end
84 device pnp 4e.6 off end # GPIO
85 device pnp 4e.7 on end # WDT
86 device pnp 4e.a off end # PME
87 device pnp 4e.10 on # COM1
88 io 0x60 = 0x3f8
89 irq 0x70 = 4
90 end
91 device pnp 4e.11 on # COM2
92 io 0x60 = 0x2f8
93 irq 0x70 = 3
94 end
95 device pnp 4e.12 off # COM3
96 end
97 device pnp 4e.13 off # COM4
98 end
99 device pnp 4e.14 off # COM5
100 end
101 device pnp 4e.15 off # COM6
102 end
103 end # f81866d
104 end #LPC
Kyösti Mälkki595ef3d2015-05-27 12:44:16 +0300105 device pci 14.7 on end # SD
106 end #chip southbridge/amd/hudson
107
108 device pci 18.0 on end
109 device pci 18.1 on end
110 device pci 18.2 on end
111 device pci 18.3 on end
112 device pci 18.4 on end
113 device pci 18.5 on end
114
115 end #chip northbridge/amd/agesa/family16kb # CPU side of HT root complex
116 end #domain
117end #northbridge/amd/agesa/family16kb/root_complex