blob: a598a995ed15f922cf8beaf020a4a007c06350f4 [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#
Kyösti Mälkki595ef3d2015-05-27 12:44:16 +030015chip northbridge/amd/agesa/family16kb/root_complex
16 device cpu_cluster 0 on
17 chip cpu/amd/agesa/family16kb
18 device lapic 0 on end
19 end
20 end
21
22 device domain 0 on
23 subsystemid 0x1022 0x1410 inherit
24 chip northbridge/amd/agesa/family16kb # CPU side of HT root complex
25
26 chip northbridge/amd/agesa/family16kb # PCI side of HT root complex
27 device pci 0.0 on end # Root Complex
28 device pci 1.0 on end # Internal Graphics P2P bridge 0x9835
29 device pci 1.1 on end # Internal Multimedia
30 device pci 2.0 on end # PCIe Host Bridge
Fabian Kunkel7558dba2015-05-25 17:08:17 +020031 device pci 2.1 on end # x4 PCIe Slot
32 device pci 2.2 on end # PCIe Q7 Realtek GBit LAN
33 device pci 2.3 on end # PCIe CB Realtek GBit LAN
34 device pci 2.4 on end # PCIe BAP FPGA
35 device pci 2.5 on end # PCIe BAP FPGA (unused, for 050T)
Kyösti Mälkki595ef3d2015-05-27 12:44:16 +030036 end #chip northbridge/amd/agesa/family16kb
37
38 chip southbridge/amd/agesa/hudson # it is under NB/SB Link, but on the same pci bus
39 device pci 10.0 on end # XHCI HC0
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 end # SM
46 device pci 14.2 on end # HDA 0x4383
Fabian Kunkel7558dba2015-05-25 17:08:17 +020047 device pci 14.3 on # LPC 0x439d
48 chip superio/fintek/f81866d
49 register "hwm_amd_tsi_addr" = "0x98" # Set to AMD
50 register "hwm_amd_tsi_control" = "0x02" # Set to AMD
51 register "hwm_fan_select" = "0xC0" # Sets Fan2 to PWM
52 register "hwm_fan_mode" = "0xD5" # Sets FAN1-3 to Auto RPM mode
53 register "hwm_fan3_control" = "0x00" # Fan control 23kHz
54 register "hwm_fan2_temp_map_select" = "0x1E" # Fan control 23kHz
55 register "hwm_fan2_bound1" = "0x3C" # 60°C
56 register "hwm_fan2_bound2" = "0x32" # 50°C
57 register "hwm_fan2_bound3" = "0x28" # 40°C
58 register "hwm_fan2_bound4" = "0x1E" # 30°C
59 register "hwm_fan2_seg1_speed" = "0xFF" # 100%
60 register "hwm_fan2_seg2_speed" = "0xD9" # 85%
61 register "hwm_fan2_seg3_speed" = "0xB2" # 70%
62 register "hwm_fan2_seg4_speed" = "0x99" # 60%
63 register "hwm_fan2_seg5_speed" = "0x80" # 50%
64 register "hwm_temp_sens_type" = "0x04" # Sets temp sensor 1 type to to thermistor
65 device pnp 4e.0 off # Floppy
66 io 0x60 = 0x3f0
67 irq 0x70 = 6
68 drq 0x74 = 2
69 end
70 device pnp 4e.3 off end # Parallel Port
71 device pnp 4e.4 on # Hardware Monitor
72 io 0x60 = 0x295
73 irq 0x70 = 0
74 end
75 device pnp 4e.5 off # Keyboard
76 io 0x60 = 0x60
77 io 0x62 = 0x64
78 irq 0x70 = 1
79 end
80 device pnp 4e.6 off end # GPIO
81 device pnp 4e.7 on end # WDT
82 device pnp 4e.a off end # PME
83 device pnp 4e.10 on # COM1
84 io 0x60 = 0x3f8
85 irq 0x70 = 4
86 end
87 device pnp 4e.11 on # COM2
88 io 0x60 = 0x2f8
89 irq 0x70 = 3
90 end
91 device pnp 4e.12 off # COM3
92 end
93 device pnp 4e.13 off # COM4
94 end
95 device pnp 4e.14 off # COM5
96 end
97 device pnp 4e.15 off # COM6
98 end
99 end # f81866d
100 end #LPC
Kyösti Mälkki595ef3d2015-05-27 12:44:16 +0300101 device pci 14.7 on end # SD
102 end #chip southbridge/amd/hudson
103
104 device pci 18.0 on end
105 device pci 18.1 on end
106 device pci 18.2 on end
107 device pci 18.3 on end
108 device pci 18.4 on end
109 device pci 18.5 on end
110
111 end #chip northbridge/amd/agesa/family16kb # CPU side of HT root complex
112 end #domain
113end #northbridge/amd/agesa/family16kb/root_complex