1 # SPDX
-License
-Identifier
: GPL
-2.0-only
4 device cpu_cluster
0 on ops amd_cpu_bus_ops
end
7 register
"usb.usb2_oc_pins[0]" = "{ 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf }"
8 register
"usb.usb2_oc_pins[1]" = "{ 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf }"
9 register
"usb.usb3_oc_pins[0]" = "{ 0xf, 0xf, 0xf, 0xf }"
10 register
"usb.usb3_oc_pins[1]" = "{ 0xf, 0xf, 0xf, 0xf }"
13 ops genoa_pci_domain_ops
14 device pci
00.0 alias gnb_0 on
end
15 device pci
00.2 alias iommu_0 off ops amd_iommu_ops
end
16 device pci
00.3 alias rcec_0 off
end
18 device pci
01.0 on
end # Dummy device
function, do
not disable
19 chip vendorcode
/amd
/opensil
/chip
/mpio
20 device pci
01.1 alias gpp_bridge_0_0_a off
end
22 chip vendorcode
/amd
/opensil
/chip
/mpio
23 device pci
01.2 alias gpp_bridge_0_1_a off
end
25 chip vendorcode
/amd
/opensil
/chip
/mpio
26 device pci
01.3 alias gpp_bridge_0_2_a off
end
28 chip vendorcode
/amd
/opensil
/chip
/mpio
29 device pci
01.4 alias gpp_bridge_0_3_a off
end
31 chip vendorcode
/amd
/opensil
/chip
/mpio
32 device pci
01.5 alias gpp_bridge_0_4_a off
end
34 chip vendorcode
/amd
/opensil
/chip
/mpio
35 device pci
01.6 alias gpp_bridge_0_5_a off
end
37 chip vendorcode
/amd
/opensil
/chip
/mpio
38 device pci
01.7 alias gpp_bridge_0_6_a off
end
41 device pci
02.0 on
end # Dummy device
function, do
not disable
42 chip vendorcode
/amd
/opensil
/chip
/mpio
43 device pci
02.1 alias gpp_bridge_0_7_a off
end
45 chip vendorcode
/amd
/opensil
/chip
/mpio
46 device pci
02.2 alias gpp_bridge_0_8_a off
end
49 device pci
03.0 on
end # Dummy device
function, do
not disable
50 chip vendorcode
/amd
/opensil
/chip
/mpio
51 device pci
03.1 alias gpp_bridge_0_0_b off
end
53 chip vendorcode
/amd
/opensil
/chip
/mpio
54 device pci
03.2 alias gpp_bridge_0_1_b off
end
56 chip vendorcode
/amd
/opensil
/chip
/mpio
57 device pci
03.3 alias gpp_bridge_0_2_b off
end
59 chip vendorcode
/amd
/opensil
/chip
/mpio
60 device pci
03.4 alias gpp_bridge_0_3_b off
end
62 chip vendorcode
/amd
/opensil
/chip
/mpio
63 device pci
03.5 alias gpp_bridge_0_4_b off
end
65 chip vendorcode
/amd
/opensil
/chip
/mpio
66 device pci
03.6 alias gpp_bridge_0_5_b off
end
68 chip vendorcode
/amd
/opensil
/chip
/mpio
69 device pci
03.7 alias gpp_bridge_0_6_b off
end
72 device pci
04.0 on
end # Dummy device
function, do
not disable
73 chip vendorcode
/amd
/opensil
/chip
/mpio
74 device pci
04.1 alias gpp_bridge_0_7_b off
end
76 chip vendorcode
/amd
/opensil
/chip
/mpio
77 device pci
04.2 alias gpp_bridge_0_8_b off
end
80 device pci
05.0 on
end # Dummy device
function, do
not disable
81 chip vendorcode
/amd
/opensil
/chip
/mpio
82 device pci
05.1 alias gpp_bridge_0_0_c off
end
84 chip vendorcode
/amd
/opensil
/chip
/mpio
85 device pci
05.2 alias gpp_bridge_0_1_c off
end
87 chip vendorcode
/amd
/opensil
/chip
/mpio
88 device pci
05.3 alias gpp_bridge_0_2_c off
end
90 chip vendorcode
/amd
/opensil
/chip
/mpio
91 device pci
05.4 alias gpp_bridge_0_3_c off
end
94 device pci
07.0 on
end # Dummy device
function, do
not disable
95 device pci
07.1 alias gpp_bridge_0_a off # Internal GPP Bridge
0 to Bus B0
96 device pci
0.0 on
end # Dummy PCIe
function
97 device pci
0.1 off
end
98 device pci
0.2 alias primary_NTB_0 off
end # Primary PCIe Non
-TransparentBridge
99 device pci
0.3 alias secondry_NTB_0 off
end # Secondary vNTB
100 device pci
0.4 alias xhci_0 off
end # USB
101 device pci
0.5 alias mp0_0 off
end # PSP
(MP0
)
102 device pci
0.6 alias acp_0 off
end # Audio Processor
(ACP
)
103 device pci
0.7 alias hda_0 off
end # Audio Processor HD Audio Controller
(main AZ
)
105 device pci
07.2 alias gpp_bridge_0_b off # Internal GPP Bridge
1 to Bus C0
106 device pci
0.0 alias sata_0_0 off
end # first SATA controller
; AHCI mode
107 device pci
0.1 alias sata_0_1 off
end # second SATA controller
; AHCI mode
110 device pci
14.0 alias smbus on
end # primary FCH
function
111 device pci
14.3 alias lpc_bridge on ops amd_lpc_ops
end
112 device pci
14.6 alias sdhci off
end
114 device pci
18.0 alias data_fabric_0 on
end
115 device pci
18.1 alias data_fabric_1 on
end
116 device pci
18.2 alias data_fabric_2 on
end
117 device pci
18.3 alias data_fabric_3 on
end
118 device pci
18.4 alias data_fabric_4 on
end
119 device pci
18.5 alias data_fabric_5 on
end
120 device pci
18.6 alias data_fabric_6 on
end
121 device pci
18.7 alias data_fabric_7 on
end
125 ops genoa_pci_domain_ops
126 device pci
00.0 alias gnb_1 on
end
127 device pci
00.2 alias iommu_1 off ops amd_iommu_ops
end
128 device pci
00.3 alias rcec_1 off
end
130 device pci
01.0 on
end # Dummy device
function, do
not disable
131 chip vendorcode
/amd
/opensil
/chip
/mpio
132 device pci
01.1 alias gpp_bridge_1_0_a off
end
134 chip vendorcode
/amd
/opensil
/chip
/mpio
135 device pci
01.2 alias gpp_bridge_1_1_a off
end
137 chip vendorcode
/amd
/opensil
/chip
/mpio
138 device pci
01.3 alias gpp_bridge_1_2_a off
end
140 chip vendorcode
/amd
/opensil
/chip
/mpio
141 device pci
01.4 alias gpp_bridge_1_3_a off
end
143 chip vendorcode
/amd
/opensil
/chip
/mpio
144 device pci
01.5 alias gpp_bridge_1_4_a off
end
146 chip vendorcode
/amd
/opensil
/chip
/mpio
147 device pci
01.6 alias gpp_bridge_1_5_a off
end
149 chip vendorcode
/amd
/opensil
/chip
/mpio
150 device pci
01.7 alias gpp_bridge_1_6_a off
end
153 device pci
02.0 on
end # Dummy device
function, do
not disable
154 chip vendorcode
/amd
/opensil
/chip
/mpio
155 device pci
02.1 alias gpp_bridge_1_7_a off
end
157 chip vendorcode
/amd
/opensil
/chip
/mpio
158 device pci
02.2 alias gpp_bridge_1_8_a off
end
161 device pci
03.0 on
end # Dummy device
function, do
not disable
162 chip vendorcode
/amd
/opensil
/chip
/mpio
163 device pci
03.1 alias gpp_bridge_1_0_b off
end
165 chip vendorcode
/amd
/opensil
/chip
/mpio
166 device pci
03.2 alias gpp_bridge_1_1_b off
end
168 chip vendorcode
/amd
/opensil
/chip
/mpio
169 device pci
03.3 alias gpp_bridge_1_2_b off
end
171 chip vendorcode
/amd
/opensil
/chip
/mpio
172 device pci
03.4 alias gpp_bridge_1_3_b off
end
174 chip vendorcode
/amd
/opensil
/chip
/mpio
175 device pci
03.5 alias gpp_bridge_1_4_b off
end
177 chip vendorcode
/amd
/opensil
/chip
/mpio
178 device pci
03.6 alias gpp_bridge_1_5_b off
end
180 chip vendorcode
/amd
/opensil
/chip
/mpio
181 device pci
03.7 alias gpp_bridge_1_6_b off
end
184 device pci
04.0 on
end # Dummy device
function, do
not disable
185 chip vendorcode
/amd
/opensil
/chip
/mpio
186 device pci
04.1 alias gpp_bridge_1_7_b off
end
188 chip vendorcode
/amd
/opensil
/chip
/mpio
189 device pci
04.2 alias gpp_bridge_1_8_b off
end
192 device pci
05.0 on
end # Dummy device
function, do
not disable
194 device pci
07.0 on
end # Dummy device
function, do
not disable
195 device pci
07.1 alias gpp_bridge_1_a off
196 device pci
0.0 on
end # Dummy PCIe
function
197 device pci
0.1 off
end #SDXI
198 device pci
0.2 alias primary_NTB_1 off
end # Primary PCIe Non
-TransparentBridge
199 device pci
0.3 alias secondry_NTB_1 off
end # Secondary vNTB
204 ops genoa_pci_domain_ops
205 device pci
00.0 alias gnb_2 on
end
206 device pci
00.2 alias iommu_2 off ops amd_iommu_ops
end
207 device pci
00.3 alias rcec_2 off
end
209 device pci
01.0 on
end # Dummy device
function, do
not disable
210 chip vendorcode
/amd
/opensil
/chip
/mpio
211 device pci
01.1 alias gpp_bridge_2_0_a off
end
213 chip vendorcode
/amd
/opensil
/chip
/mpio
214 device pci
01.2 alias gpp_bridge_2_1_a off
end
216 chip vendorcode
/amd
/opensil
/chip
/mpio
217 device pci
01.3 alias gpp_bridge_2_2_a off
end
219 chip vendorcode
/amd
/opensil
/chip
/mpio
220 device pci
01.4 alias gpp_bridge_2_3_a off
end
222 chip vendorcode
/amd
/opensil
/chip
/mpio
223 device pci
01.5 alias gpp_bridge_2_4_a off
end
225 chip vendorcode
/amd
/opensil
/chip
/mpio
226 device pci
01.6 alias gpp_bridge_2_5_a off
end
228 chip vendorcode
/amd
/opensil
/chip
/mpio
229 device pci
01.7 alias gpp_bridge_2_6_a off
end
232 device pci
02.0 on
end # Dummy device
function, do
not disable
233 chip vendorcode
/amd
/opensil
/chip
/mpio
234 device pci
02.1 alias gpp_bridge_2_7_a off
end
236 chip vendorcode
/amd
/opensil
/chip
/mpio
237 device pci
02.2 alias gpp_bridge_2_8_a off
end
240 device pci
03.0 on
end # Dummy device
function, do
not disable
241 chip vendorcode
/amd
/opensil
/chip
/mpio
242 device pci
03.1 alias gpp_bridge_2_0_b off
end
244 chip vendorcode
/amd
/opensil
/chip
/mpio
245 device pci
03.2 alias gpp_bridge_2_1_b off
end
247 chip vendorcode
/amd
/opensil
/chip
/mpio
248 device pci
03.3 alias gpp_bridge_2_2_b off
end
250 chip vendorcode
/amd
/opensil
/chip
/mpio
251 device pci
03.4 alias gpp_bridge_2_3_b off
end
253 chip vendorcode
/amd
/opensil
/chip
/mpio
254 device pci
03.5 alias gpp_bridge_2_4_b off
end
256 chip vendorcode
/amd
/opensil
/chip
/mpio
257 device pci
03.6 alias gpp_bridge_2_5_b off
end
259 chip vendorcode
/amd
/opensil
/chip
/mpio
260 device pci
03.7 alias gpp_bridge_2_6_b off
end
263 device pci
04.0 on
end # Dummy device
function, do
not disable
264 chip vendorcode
/amd
/opensil
/chip
/mpio
265 device pci
04.1 alias gpp_bridge_2_7_b off
end
267 chip vendorcode
/amd
/opensil
/chip
/mpio
268 device pci
04.2 alias gpp_bridge_2_8_b off
end
271 device pci
05.0 on
end # Dummy device
function, do
not disable
273 device pci
07.0 on
end # Dummy device
function, do
not disable
274 device pci
07.1 alias gpp_bridge_2_a off
275 device pci
0.0 on
end # Dummy PCIe
function
276 device pci
0.1 off
end
277 device pci
0.2 alias primary_NTB_2 off
end # Primary PCIe Non
-TransparentBridge
278 device pci
0.3 alias secondry_NTB_2 off
end # Secondary vNTB
283 ops genoa_pci_domain_ops
284 device pci
00.0 alias gnb_3 on
end
285 device pci
00.2 alias iommu_3 off ops amd_iommu_ops
end
286 device pci
00.3 alias rcec_3 off
end
288 device pci
01.0 on
end # Dummy device
function, do
not disable
289 chip vendorcode
/amd
/opensil
/chip
/mpio
290 device pci
01.1 alias gpp_bridge_3_0_a off
end
292 chip vendorcode
/amd
/opensil
/chip
/mpio
293 device pci
01.2 alias gpp_bridge_3_1_a off
end
295 chip vendorcode
/amd
/opensil
/chip
/mpio
296 device pci
01.3 alias gpp_bridge_3_2_a off
end
298 chip vendorcode
/amd
/opensil
/chip
/mpio
299 device pci
01.4 alias gpp_bridge_3_3_a off
end
301 chip vendorcode
/amd
/opensil
/chip
/mpio
302 device pci
01.5 alias gpp_bridge_3_4_a off
end
304 chip vendorcode
/amd
/opensil
/chip
/mpio
305 device pci
01.6 alias gpp_bridge_3_5_a off
end
307 chip vendorcode
/amd
/opensil
/chip
/mpio
308 device pci
01.7 alias gpp_bridge_3_6_a off
end
311 device pci
02.0 on
end # Dummy device
function, do
not disable
312 chip vendorcode
/amd
/opensil
/chip
/mpio
313 device pci
02.1 alias gpp_bridge_3_7_a off
end
315 chip vendorcode
/amd
/opensil
/chip
/mpio
316 device pci
02.2 alias gpp_bridge_3_8_a off
end
319 device pci
03.0 on
end # Dummy device
function, do
not disable
320 chip vendorcode
/amd
/opensil
/chip
/mpio
321 device pci
03.1 alias gpp_bridge_3_0_b off
end
323 chip vendorcode
/amd
/opensil
/chip
/mpio
324 device pci
03.2 alias gpp_bridge_3_1_b off
end
326 chip vendorcode
/amd
/opensil
/chip
/mpio
327 device pci
03.3 alias gpp_bridge_3_2_b off
end
329 chip vendorcode
/amd
/opensil
/chip
/mpio
330 device pci
03.4 alias gpp_bridge_3_3_b off
end
332 chip vendorcode
/amd
/opensil
/chip
/mpio
333 device pci
03.5 alias gpp_bridge_3_4_b off
end
335 chip vendorcode
/amd
/opensil
/chip
/mpio
336 device pci
03.6 alias gpp_bridge_3_5_b off
end
338 chip vendorcode
/amd
/opensil
/chip
/mpio
339 device pci
03.7 alias gpp_bridge_3_6_b off
end
342 device pci
04.0 on
end # Dummy device
function, do
not disable
343 chip vendorcode
/amd
/opensil
/chip
/mpio
344 device pci
04.1 alias gpp_bridge_3_7_b off
end
346 chip vendorcode
/amd
/opensil
/chip
/mpio
347 device pci
04.2 alias gpp_bridge_3_8_b off
end
350 device pci
05.0 on
end # Dummy device
function, do
not disable
351 chip vendorcode
/amd
/opensil
/chip
/mpio
352 device pci
05.1 alias gpp_bridge_3_0_c off
end
354 chip vendorcode
/amd
/opensil
/chip
/mpio
355 device pci
05.2 alias gpp_bridge_3_1_c off
end
357 chip vendorcode
/amd
/opensil
/chip
/mpio
358 device pci
05.3 alias gpp_bridge_3_2_c off
end
360 chip vendorcode
/amd
/opensil
/chip
/mpio
361 device pci
05.4 alias gpp_bridge_3_3_c off
end
364 device pci
07.0 on
end # Dummy device
function, do
not disable
365 device pci
07.1 alias gpp_bridge_3_a off
366 device pci
0.0 on
end # Dummy PCIe
function
367 device pci
0.1 off
end #SDXI
368 device pci
0.2 alias primary_NTB_3 off
end # Primary PCIe Non
-TransparentBridge
369 device pci
0.3 alias secondry_NTB_3 off
end # Secondary vNTB
370 device pci
0.4 alias xhci_3 off
end # USB
371 device pci
0.5 alias mp0_3 off
end # PSP
(MP0
)
374 device pci
07.2 alias gpp_bridge_3_b off
375 device pci
0.0 alias sata_3_0 off
end # first SATA controller
; AHCI mode
376 device pci
0.1 alias sata_3_1 off
end # second SATA controller
; AHCI mode
380 device mmio
0xfedc2000 alias i2c_0 off ops soc_amd_i2c_mmio_ops
end
381 device mmio
0xfedc3000 alias i2c_1 off ops soc_amd_i2c_mmio_ops
end
382 device mmio
0xfedc4000 alias i2c_2 off ops soc_amd_i2c_mmio_ops
end
383 device mmio
0xfedc5000 alias i2c_3 off ops soc_amd_i2c_mmio_ops
end
384 device mmio
0xfedc6000 alias i2c_4 off ops soc_amd_i2c_mmio_ops
end
385 device mmio
0xfedcb000 alias i2c_5 off ops soc_amd_i2c_mmio_ops
end
386 device mmio
0xfedc9000 alias uart_0 off ops amd_uart_mmio_ops
end
387 device mmio
0xfedca000 alias uart_1 off ops amd_uart_mmio_ops
end
388 device mmio
0xfedce000 alias uart_2 off ops amd_uart_mmio_ops
end
389 device mmio
0xfedd2000 alias i3c_0 off
end
390 device mmio
0xfedd3000 alias i3c_1 off
end
391 device mmio
0xfedd4000 alias i3c_2 off
end
392 device mmio
0xfedd6000 alias i3c_3 off
end