blob: 1a900c0c7c1695ca9714d3677f1bba41ed66674f [file] [log] [blame]
Fabian Kunkel171e2c92016-07-27 17:30:49 +02001#
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
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14#
15chip northbridge/amd/pi/00730F01/root_complex
16 device cpu_cluster 0 on
17 chip cpu/amd/pi/00730F01
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/pi/00730F01 # CPU side of HT root complex
25
26 chip northbridge/amd/pi/00730F01 # PCI side of HT root complex
27 device pci 0.0 on end # Root Complex
28 device pci 0.2 off end # IOMMU
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 on end # x4 PCIe slot
Fabian Kunkelcf051832016-07-27 17:42:39 +020033 device pci 2.2 on end # PCIe Q7 Realtek GBit LAN
34 device pci 2.3 on end # PCIe CB Realtek GBit LAN
35 device pci 2.4 on end # PCIe x2 BAP FPGA
Fabian Kunkel171e2c92016-07-27 17:30:49 +020036 device pci 8.0 on end # Platform Security Processor
37 end #chip northbridge/amd/pi/00730F01
38
39 chip southbridge/amd/pi/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 # EHCI #0
43 device pci 13.0 on end # EHCI #1
Fabian Kunkelcf051832016-07-27 17:42:39 +020044 device pci 14.0 on end # SMBus
Fabian Kunkel171e2c92016-07-27 17:30:49 +020045 device pci 14.2 on end # HDA 0x4383
Fabian Kunkelcf051832016-07-27 17:42:39 +020046 device pci 14.3 on # LPC 0x439d
47 chip superio/fintek/f81866d
48 register "hwm_amd_tsi_addr" = "0x98" # Set to AMD
49 register "hwm_amd_tsi_control" = "0x02" # Set to AMD
50 register "hwm_fan_select" = "0xC0" # Sets Fan2 to PWM
51 register "hwm_fan_mode" = "0xD5" # Sets FAN1-3 to Auto RPM mode
52 register "hwm_fan3_control" = "0x00" # Fan control 23kHz
53 register "hwm_fan2_temp_map_select" = "0x1E" # Fan control 23kHz
54 register "hwm_fan2_bound1" = "0x3C" # 60°C
55 register "hwm_fan2_bound2" = "0x32" # 50°C
56 register "hwm_fan2_bound3" = "0x28" # 40°C
57 register "hwm_fan2_bound4" = "0x1E" # 30°C
58 register "hwm_fan2_seg1_speed" = "0xFF" # 100%
59 register "hwm_fan2_seg2_speed" = "0xD9" # 85%
60 register "hwm_fan2_seg3_speed" = "0xB2" # 70%
61 register "hwm_fan2_seg4_speed" = "0x99" # 60%
62 register "hwm_fan2_seg5_speed" = "0x80" # 50%
63 register "hwm_temp_sens_type" = "0x04" # Sets temp sensor 1 type to to thermistor
64 device pnp 4e.0 off # Floppy
65 io 0x60 = 0x3f0
66 irq 0x70 = 6
67 drq 0x74 = 2
68 end
69 device pnp 4e.3 off end # Parallel Port
70 device pnp 4e.4 on # Hardware Monitor
71 io 0x60 = 0x295
72 irq 0x70 = 0
73 end
74 device pnp 4e.5 off # Keyboard
75 io 0x60 = 0x60
76 io 0x62 = 0x64
77 irq 0x70 = 1
78 end
79 device pnp 4e.6 off end # GPIO
80 device pnp 4e.7 on end # WDT
81 device pnp 4e.a off end # PME
82 device pnp 4e.10 on # COM1
83 io 0x60 = 0x3f8
84 irq 0x70 = 4
85 end
86 device pnp 4e.11 on # COM2
87 io 0x60 = 0x2f8
88 irq 0x70 = 3
89 end
90 device pnp 4e.12 off # COM3
91 io 0x60 = 0x3e8
92 irq 0x70 = 4
93 end
94 device pnp 4e.13 off # COM4
95 io 0x60 = 0x2e8
96 irq 0x70 = 3
97 end
98 device pnp 4e.14 off # COM5
99 end
100 device pnp 4e.15 off # COM6
101 end
102 end # f81866d
103 end #LPC
Fabian Kunkel171e2c92016-07-27 17:30:49 +0200104 device pci 14.7 on end # SD
Fabian Kunkel171e2c92016-07-27 17:30:49 +0200105 end #chip southbridge/amd/pi/hudson
106
107 device pci 18.0 on end
108 device pci 18.1 on end
109 device pci 18.2 on end
110 device pci 18.3 on end
111 device pci 18.4 on end
112 device pci 18.5 on end
Fabian Kunkel171e2c92016-07-27 17:30:49 +0200113
114 end #chip northbridge/amd/pi/00730F01 # CPU side of HT root complex
115 end #domain
116end #northbridge/amd/pi/00730F01/root_complex