blob: 60918e9bf12940b73681ea05aac03cc7dc1c14cc [file] [log] [blame]
vbpandya87d8b8c2023-09-22 20:49:37 +05301# SPDX-License-Identifier: GPL-2.0-only
2
3chip soc/amd/genoa
Arthur Heymans2e2f1662023-07-14 22:58:49 +02004 device cpu_cluster 0 on ops amd_cpu_bus_ops end
vbpandya87d8b8c2023-09-22 20:49:37 +05305
6 device domain 0 on
Felix Held926887c2023-10-13 21:19:53 +02007 ops genoa_pci_domain_ops
vbpandya87d8b8c2023-09-22 20:49:37 +05308 device pci 00.0 alias gnb_0 on end
Arthur Heymansc5122f92023-07-14 23:27:31 +02009 device pci 00.2 alias iommu_0 on ops amd_iommu_ops end
vbpandya87d8b8c2023-09-22 20:49:37 +053010 device pci 00.3 alias rcec_0 off end
11
Felix Heldf5b09db2023-12-05 00:41:05 +010012 device pci 01.0 on end # Dummy device function, do not disable
vbpandya87d8b8c2023-09-22 20:49:37 +053013 device pci 01.1 alias gpp_bridge_0_0_a off end
14 device pci 01.2 alias gpp_bridge_0_1_a off end
15 device pci 01.3 alias gpp_bridge_0_2_a off end
16 device pci 01.4 alias gpp_bridge_0_3_a off end
17 device pci 01.5 alias gpp_bridge_0_4_a off end
18 device pci 01.6 alias gpp_bridge_0_5_a off end
19 device pci 01.7 alias gpp_bridge_0_6_a off end
20
Felix Heldf5b09db2023-12-05 00:41:05 +010021 device pci 02.0 on end # Dummy device function, do not disable
vbpandya87d8b8c2023-09-22 20:49:37 +053022 device pci 02.1 alias gpp_bridge_0_7_a off end
23 device pci 02.2 alias gpp_bridge_0_8_a off end
24
Felix Heldf5b09db2023-12-05 00:41:05 +010025 device pci 03.0 on end # Dummy device function, do not disable
vbpandya87d8b8c2023-09-22 20:49:37 +053026 device pci 03.1 alias gpp_bridge_0_0_b off end
27 device pci 03.2 alias gpp_bridge_0_1_b off end
28 device pci 03.3 alias gpp_bridge_0_2_b off end
29 device pci 03.4 alias gpp_bridge_0_3_b off end
30 device pci 03.5 alias gpp_bridge_0_4_b off end
31 device pci 03.6 alias gpp_bridge_0_5_b off end
32 device pci 03.7 alias gpp_bridge_0_6_b off end
33
Felix Heldf5b09db2023-12-05 00:41:05 +010034 device pci 04.0 on end # Dummy device function, do not disable
vbpandya87d8b8c2023-09-22 20:49:37 +053035 device pci 04.1 alias gpp_bridge_0_7_b off end
36 device pci 04.2 alias gpp_bridge_0_8_b off end
37
Felix Heldf5b09db2023-12-05 00:41:05 +010038 device pci 05.0 on end # Dummy device function, do not disable
vbpandya87d8b8c2023-09-22 20:49:37 +053039 device pci 05.1 alias gpp_bridge_0_0_c off end
40 device pci 05.2 alias gpp_bridge_0_1_c off end
41 device pci 05.3 alias gpp_bridge_0_2_c off end
42 device pci 05.4 alias gpp_bridge_0_3_c off end
43
Felix Heldf5b09db2023-12-05 00:41:05 +010044 device pci 07.0 on end # Dummy device function, do not disable
vbpandya87d8b8c2023-09-22 20:49:37 +053045 device pci 07.1 alias gpp_bridge_0_a off # Internal GPP Bridge 0 to Bus B0
Felix Held543c1ee2023-12-07 23:16:47 +010046 device pci 0.0 on end # Dummy PCIe function
vbpandya87d8b8c2023-09-22 20:49:37 +053047 device pci 0.1 off end
48 device pci 0.2 alias primary_NTB_0 off end # Primary PCIe Non-TransparentBridge
49 device pci 0.3 alias secondry_NTB_0 off end # Secondary vNTB
50 device pci 0.4 alias xhci_0 off end # USB
51 device pci 0.5 alias mp0_0 off end # PSP (MP0)
52 device pci 0.6 alias acp_0 off end # Audio Processor (ACP)
53 device pci 0.7 alias hda_0 off end # Audio Processor HD Audio Controller (main AZ)
54 end
55 device pci 07.2 alias gpp_bridge_0_b off # Internal GPP Bridge 1 to Bus C0
56 device pci 0.0 alias sata_0_0 off end # first SATA controller; AHCI mode
57 device pci 0.1 alias sata_0_1 off end # second SATA controller; AHCI mode
58 end
59
60 device pci 14.0 alias smbus on end # primary FCH function
Arthur Heymans49bbe342023-07-14 23:16:56 +020061 device pci 14.3 alias lpc_bridge on ops amd_lpc_ops end
vbpandya87d8b8c2023-09-22 20:49:37 +053062 device pci 14.6 alias sdhci off end
63
64 device pci 18.0 alias data_fabric_0 on end
65 device pci 18.1 alias data_fabric_1 on end
66 device pci 18.2 alias data_fabric_2 on end
67 device pci 18.3 alias data_fabric_3 on end
68 device pci 18.4 alias data_fabric_4 on end
69 device pci 18.5 alias data_fabric_5 on end
70 device pci 18.6 alias data_fabric_6 on end
71 device pci 18.7 alias data_fabric_7 on end
72 end
73
74 device domain 1 on
Felix Held926887c2023-10-13 21:19:53 +020075 ops genoa_pci_domain_ops
vbpandya87d8b8c2023-09-22 20:49:37 +053076 device pci 00.0 alias gnb_1 on end
Arthur Heymansc5122f92023-07-14 23:27:31 +020077 device pci 00.2 alias iommu_1 on ops amd_iommu_ops end
vbpandya87d8b8c2023-09-22 20:49:37 +053078 device pci 00.3 alias rcec_1 off end
79
Felix Heldf5b09db2023-12-05 00:41:05 +010080 device pci 01.0 on end # Dummy device function, do not disable
vbpandya87d8b8c2023-09-22 20:49:37 +053081 device pci 01.1 alias gpp_bridge_1_0_a off end
82 device pci 01.2 alias gpp_bridge_1_1_a off end
83 device pci 01.3 alias gpp_bridge_1_2_a off end
84 device pci 01.4 alias gpp_bridge_1_3_a off end
85 device pci 01.5 alias gpp_bridge_1_4_a off end
86 device pci 01.6 alias gpp_bridge_1_5_a off end
87 device pci 01.7 alias gpp_bridge_1_6_a off end
88
Felix Heldf5b09db2023-12-05 00:41:05 +010089 device pci 02.0 on end # Dummy device function, do not disable
vbpandya87d8b8c2023-09-22 20:49:37 +053090 device pci 02.1 alias gpp_bridge_1_7_a off end
91 device pci 02.2 alias gpp_bridge_1_8_a off end
92
Felix Heldf5b09db2023-12-05 00:41:05 +010093 device pci 03.0 on end # Dummy device function, do not disable
vbpandya87d8b8c2023-09-22 20:49:37 +053094 device pci 03.1 alias gpp_bridge_1_0_b off end
95 device pci 03.2 alias gpp_bridge_1_1_b off end
96 device pci 03.3 alias gpp_bridge_1_2_b off end
97 device pci 03.4 alias gpp_bridge_1_3_b off end
98 device pci 03.5 alias gpp_bridge_1_4_b off end
99 device pci 03.6 alias gpp_bridge_1_5_b off end
100 device pci 03.7 alias gpp_bridge_1_6_b off end
101
Felix Heldf5b09db2023-12-05 00:41:05 +0100102 device pci 04.0 on end # Dummy device function, do not disable
vbpandya87d8b8c2023-09-22 20:49:37 +0530103 device pci 04.1 alias gpp_bridge_1_7_b off end
104 device pci 04.2 alias gpp_bridge_1_8_b off end
105
Felix Heldf5b09db2023-12-05 00:41:05 +0100106 device pci 05.0 on end # Dummy device function, do not disable
vbpandya87d8b8c2023-09-22 20:49:37 +0530107
Felix Heldf5b09db2023-12-05 00:41:05 +0100108 device pci 07.0 on end # Dummy device function, do not disable
vbpandya87d8b8c2023-09-22 20:49:37 +0530109 device pci 07.1 alias gpp_bridge_1_a off
Felix Held543c1ee2023-12-07 23:16:47 +0100110 device pci 0.0 on end # Dummy PCIe function
vbpandya87d8b8c2023-09-22 20:49:37 +0530111 device pci 0.1 off end #SDXI
112 end
113 end
114
115 device domain 2 on
Felix Held926887c2023-10-13 21:19:53 +0200116 ops genoa_pci_domain_ops
vbpandya87d8b8c2023-09-22 20:49:37 +0530117 device pci 00.0 alias gnb_2 on end
Arthur Heymansc5122f92023-07-14 23:27:31 +0200118 device pci 00.2 alias iommu_2 on ops amd_iommu_ops end
vbpandya87d8b8c2023-09-22 20:49:37 +0530119 device pci 00.3 alias rcec_2 off end
120
Felix Heldf5b09db2023-12-05 00:41:05 +0100121 device pci 01.0 on end # Dummy device function, do not disable
vbpandya87d8b8c2023-09-22 20:49:37 +0530122 device pci 01.1 alias gpp_bridge_2_0_a off end
123 device pci 01.2 alias gpp_bridge_2_1_a off end
124 device pci 01.3 alias gpp_bridge_2_2_a off end
125 device pci 01.4 alias gpp_bridge_2_3_a off end
126 device pci 01.5 alias gpp_bridge_2_4_a off end
127 device pci 01.6 alias gpp_bridge_2_5_a off end
128 device pci 01.7 alias gpp_bridge_2_6_a off end
129
Felix Heldf5b09db2023-12-05 00:41:05 +0100130 device pci 02.0 on end # Dummy device function, do not disable
vbpandya87d8b8c2023-09-22 20:49:37 +0530131 device pci 02.1 alias gpp_bridge_2_7_a off end
132 device pci 02.2 alias gpp_bridge_2_8_a off end
133
Felix Heldf5b09db2023-12-05 00:41:05 +0100134 device pci 03.0 on end # Dummy device function, do not disable
vbpandya87d8b8c2023-09-22 20:49:37 +0530135 device pci 03.1 alias gpp_bridge_2_0_b off end
136 device pci 03.2 alias gpp_bridge_2_1_b off end
137 device pci 03.3 alias gpp_bridge_2_2_b off end
138 device pci 03.4 alias gpp_bridge_2_3_b off end
139 device pci 03.5 alias gpp_bridge_2_4_b off end
140 device pci 03.6 alias gpp_bridge_2_5_b off end
141 device pci 03.7 alias gpp_bridge_2_6_b off end
142
Felix Heldf5b09db2023-12-05 00:41:05 +0100143 device pci 04.0 on end # Dummy device function, do not disable
vbpandya87d8b8c2023-09-22 20:49:37 +0530144 device pci 04.1 alias gpp_bridge_2_7_b off end
145 device pci 04.2 alias gpp_bridge_2_8_b off end
146
Felix Heldf5b09db2023-12-05 00:41:05 +0100147 device pci 05.0 on end # Dummy device function, do not disable
vbpandya87d8b8c2023-09-22 20:49:37 +0530148
Felix Heldf5b09db2023-12-05 00:41:05 +0100149 device pci 07.0 on end # Dummy device function, do not disable
vbpandya87d8b8c2023-09-22 20:49:37 +0530150 device pci 07.1 alias gpp_bridge_2_a off
Felix Held543c1ee2023-12-07 23:16:47 +0100151 device pci 0.0 on end # Dummy PCIe function
vbpandya87d8b8c2023-09-22 20:49:37 +0530152 device pci 0.1 off end
153 end
154 end
155
156 device domain 3 on
Felix Held926887c2023-10-13 21:19:53 +0200157 ops genoa_pci_domain_ops
vbpandya87d8b8c2023-09-22 20:49:37 +0530158 device pci 00.0 alias gnb_3 on end
Arthur Heymansc5122f92023-07-14 23:27:31 +0200159 device pci 00.2 alias iommu_3 on ops amd_iommu_ops end
vbpandya87d8b8c2023-09-22 20:49:37 +0530160 device pci 00.3 alias rcec_3 off end
161
Felix Heldf5b09db2023-12-05 00:41:05 +0100162 device pci 01.0 on end # Dummy device function, do not disable
vbpandya87d8b8c2023-09-22 20:49:37 +0530163 device pci 01.1 alias gpp_bridge_3_0_a off end
164 device pci 01.2 alias gpp_bridge_3_1_a off end
165 device pci 01.3 alias gpp_bridge_3_2_a off end
166 device pci 01.4 alias gpp_bridge_3_3_a off end
167 device pci 01.5 alias gpp_bridge_3_4_a off end
168 device pci 01.6 alias gpp_bridge_3_5_a off end
169 device pci 01.7 alias gpp_bridge_3_6_a off end
170
Felix Heldf5b09db2023-12-05 00:41:05 +0100171 device pci 02.0 on end # Dummy device function, do not disable
vbpandya87d8b8c2023-09-22 20:49:37 +0530172 device pci 02.1 alias gpp_bridge_3_7_a off end
173 device pci 02.2 alias gpp_bridge_3_8_a off end
174
Felix Heldf5b09db2023-12-05 00:41:05 +0100175 device pci 03.0 on end # Dummy device function, do not disable
vbpandya87d8b8c2023-09-22 20:49:37 +0530176 device pci 03.1 alias gpp_bridge_3_0_b off end
177 device pci 03.2 alias gpp_bridge_3_1_b off end
178 device pci 03.3 alias gpp_bridge_3_2_b off end
179 device pci 03.4 alias gpp_bridge_3_3_b off end
180 device pci 03.5 alias gpp_bridge_3_4_b off end
181 device pci 03.6 alias gpp_bridge_3_5_b off end
182 device pci 03.7 alias gpp_bridge_3_6_b off end
183
Felix Heldf5b09db2023-12-05 00:41:05 +0100184 device pci 04.0 on end # Dummy device function, do not disable
vbpandya87d8b8c2023-09-22 20:49:37 +0530185 device pci 04.1 alias gpp_bridge_3_7_b off end
186 device pci 04.2 alias gpp_bridge_3_8_b off end
187
Felix Heldf5b09db2023-12-05 00:41:05 +0100188 device pci 05.0 on end # Dummy device function, do not disable
vbpandya87d8b8c2023-09-22 20:49:37 +0530189 device pci 05.1 alias gpp_bridge_3_0_c off end
190 device pci 05.2 alias gpp_bridge_3_1_c off end
191 device pci 05.3 alias gpp_bridge_3_2_c off end
192 device pci 05.4 alias gpp_bridge_3_3_c off end
193
Felix Heldf5b09db2023-12-05 00:41:05 +0100194 device pci 07.0 on end # Dummy device function, do not disable
vbpandya87d8b8c2023-09-22 20:49:37 +0530195 device pci 07.1 alias gpp_bridge_3_a off
Felix Held543c1ee2023-12-07 23:16:47 +0100196 device pci 0.0 on end # Dummy PCIe function
vbpandya87d8b8c2023-09-22 20:49:37 +0530197 device pci 0.1 off end #SDXI
198 device pci 0.2 alias primary_NTB_3 off end # Primary PCIe Non-TransparentBridge
199 device pci 0.3 alias secondry_NTB_3 off end # Secondary vNTB
200 device pci 0.4 alias xhci_3 off end # USB
201 device pci 0.5 alias mp0_3 off end # PSP (MP0)
202 end
203
204 device pci 07.2 alias gpp_bridge_3b off
205 device pci 0.0 alias sata_3_0 off end # first SATA controller; AHCI mode
206 device pci 0.1 alias sata_3_1 off end # second SATA controller; AHCI mode
207 end
208 end
209
Felix Heldd26f5a12023-11-20 16:31:31 +0100210 device mmio 0xfedc2000 alias i2c_0 off ops soc_amd_i2c_mmio_ops end
211 device mmio 0xfedc3000 alias i2c_1 off ops soc_amd_i2c_mmio_ops end
212 device mmio 0xfedc4000 alias i2c_2 off ops soc_amd_i2c_mmio_ops end
213 device mmio 0xfedc5000 alias i2c_3 off ops soc_amd_i2c_mmio_ops end
214 device mmio 0xfedc6000 alias i2c_4 off ops soc_amd_i2c_mmio_ops end
215 device mmio 0xfedcb000 alias i2c_5 off ops soc_amd_i2c_mmio_ops end
Felix Held49509472023-11-04 06:08:41 +0100216 device mmio 0xfedc9000 alias uart_0 off ops amd_uart_mmio_ops end
217 device mmio 0xfedca000 alias uart_1 off ops amd_uart_mmio_ops end
218 device mmio 0xfedce000 alias uart_2 off ops amd_uart_mmio_ops end
Felix Held7bd043e2023-11-04 04:50:59 +0100219 device mmio 0xfedd2000 alias i3c_0 off end
220 device mmio 0xfedd3000 alias i3c_1 off end
221 device mmio 0xfedd4000 alias i3c_2 off end
222 device mmio 0xfedd6000 alias i3c_3 off end
vbpandya87d8b8c2023-09-22 20:49:37 +0530223
224end