1 # SPDX
-License
-Identifier
: GPL
-2.0-only
3 chip northbridge
/amd
/agesa
/family15tn
/root_complex
5 device cpu_cluster
0 on
6 chip cpu
/amd
/agesa
/family15tn
12 subsystemid
0x1022 0x1410 inherit
13 chip northbridge
/amd
/agesa
/family15tn
14 device pci
0.0 on
end # Root Complex
15 device pci
0.2 on
end # IOMMU
16 device pci
1.0 on
end # Internal Graphics P2P bridge
0x990e
17 device pci
1.1 on
end # Internal Multimedia
18 device pci
2.0 on
end # PCIe x16
19 device pci
3.0 off
end #
-
20 device pci
4.0 on
end # PCIE Realtek LAN
21 device pci
5.0 on
end # PCIE x1
(1)
22 device pci
6.0 on
end # PCIE x1
(2)
23 device pci
7.0 off
end # LAN
24 device pci
8.0 off
end # NB
/SB Link P2P bridge
25 end #chip northbridge
/amd
/agesa
/family15tn
27 chip southbridge
/amd
/agesa
/hudson
28 device pci
10.0 on
end # USB XHCI
29 device pci
10.1 on
end # USB XHCI
30 device pci
11.0 on
end # SATA
31 device pci
12.0 on
end # USB OHCI
32 device pci
12.2 on
end # USB EHCI
33 device pci
13.0 on
end # USB OHCI
34 device pci
13.2 on
end # USB EHCI
35 device pci
14.0 on
end # SMBUS
36 device pci
14.1 off
end # IDE
0x439c
37 device pci
14.2 on
end # Azalia
(Audio
)
38 device pci
14.3 on # LPC
0x439d
39 chip superio
/fintek
/f71869ad
40 register
"multi_function_register_1" = "0x01"
41 register
"multi_function_register_2" = "0x0f"
42 register
"multi_function_register_3" = "0x2f"
43 register
"multi_function_register_4" = "0x04"
44 register
"multi_function_register_5" = "0x3e"
46 # HWM configuration registers
47 register
"hwm_smbus_address" = "0x98"
48 register
"hwm_smbus_control_reg" = "0x02"
49 register
"hwm_fan_type_sel_reg" = "0x00"
50 register
"hwm_fan1_temp_adj_rate_reg" = "0x33"
51 register
"hwm_fan_mode_sel_reg" = "0x07"
52 register
"hwm_fan1_idx_rpm_mode" = "0x0e"
53 register
"hwm_fan1_seg1_speed_count" = "0xff"
54 register
"hwm_fan1_seg2_speed_count" = "0x0e"
55 register
"hwm_fan1_seg3_speed_count" = "0x07"
56 register
"hwm_fan1_temp_map_sel" = "0x8c"
57 register
"hwm_temp_sensor_type" = "0x08"
59 device pnp
4e
.00 off
end
60 device pnp
4e
.01 on # COM1
64 device pnp
4e
.02 off # COM2
(Level converter
not populated
, but may be usable?
)
68 device pnp
4e
.03 on # Parallel Port
72 irq
0xf0 = 0x44 # PRT Mode
Select Register
74 device pnp
4e
.04 on # Hardware Monitor
75 io
0x60 = 0x225 # Fintek datasheet says
0x295.
78 device pnp
4e
.05 on # KBC
80 irq
0x70 = 1 # Keyboard IRQ
81 irq
0x72 = 12 # Mouse IRQ
83 device pnp
4e
.06 on # GPIO
84 #
! GPIO config is disabled because the code in romstage.c
85 #
! has already taken care of it
87 #irq
0xe0 = 0x04 # GPIO1 output
88 #irq
0xe1 = 0xff # GPIO1 output data
89 #irq
0xe3 = 0x04 # GPIO1 drive enable
90 #irq
0xe4 = 0x00 # GPIO1 PME enable
91 #irq
0xe5 = 0x00 # GPIO1 input detect
select
92 #irq
0xe6 = 0x40 # GPIO1 event status
94 #irq
0xd0 = 0x00 # GPIO2 output
95 #irq
0xd1 = 0xff # GPIO2 output data
96 #irq
0xd3 = 0x00 # GPIO2 drive enable
98 #irq
0xc0 = 0x00 # GPIO3 output
99 #irq
0xc1 = 0xff # GPIO3 output data
101 #irq
0xb0 = 0x04 # GPIO4 output
102 #irq
0xb1 = 0x04 # GPIO4 output data
103 #irq
0xb3 = 0x04 # GPIO4 drive enable
104 #irq
0xb4 = 0x00 # GPIO4 PME enable
105 #irq
0xb5 = 0x00 # GPIO4 input detect
select
106 #irq
0xb6 = 0x00 # GPIO4 event status
108 #irq
0xa0 = 0x00 # GPIO5 output
109 #irq
0xa1 = 0x1f # GPIO5 output data
110 #irq
0xa3 = 0x00 # GPIO5 drive enable
111 #irq
0xa4 = 0x00 # GPIO5 PME enable
112 #irq
0xa5 = 0xff # GPIO5 input detect
select
113 #irq
0xa6 = 0xe0 # GPIO5 event status
115 #irq
0x90 = 0x00 # GPIO6 output
116 #irq
0x91 = 0xff # GPIO6 output data
117 #irq
0x93 = 0x00 # GPIO6 drive enable
119 #irq
0x80 = 0x00 # GPIO7 output
120 #irq
0x81 = 0xff # GPIO7 output data
121 #irq
0x83 = 0x00 # GPIO7 drive enable
124 device pnp
4e
.07 on
end # WDT
125 device pnp
4e
.08 off
end # CIR
126 device pnp
4e
.0a on
end # PME
128 end #device pci
14.3 # LPC
129 device pci
14.4 on
end # PCI
0x4384 (PCI slot on board
)
130 device pci
14.5 on
end # USB OHCI
131 device pci
14.6 off
end # Gec
132 device pci
14.7 off
end # SD
133 device pci
15.0 off
end # unused
134 device pci
15.1 off
end # unused
135 device pci
15.2 off
end # unused
136 device pci
15.3 off
end # unused
138 end #chip southbridge
/amd
/agesa
/hudson
140 chip northbridge
/amd
/agesa
/family15tn
141 device pci
18.0 on
end
142 device pci
18.1 on
end
143 device pci
18.2 on
end
144 device pci
18.3 on
end
145 device pci
18.4 on
end
146 device pci
18.5 on
end
148 register
"spdAddrLookup" = "
150 { {0xA0, 0xA4}, {0xA2, 0xA6}, }, // socket 0 - Channel 0 & 1 - 8-bit SPD addresses
151 { {0x00, 0x00}, {0x00, 0x00}, }, // socket 1 - Channel 0 & 1 - 8-bit SPD addresses
156 end #chip northbridge
/amd
/agesa
/family15tn
/root_complex