Debian Codegraph @

scripts/dtc/include-prefixes/arm64/apple/t600x-dieX.dtsi

raw
1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
2 /*
3 * Devices used on both dies on the Apple T6002 "M1 Ultra" and present on
4 * Apple T6000/T6001 "M1 Pro/Max".
5 *
6 * Copyright The Asahi Linux Contributors
7 */
8
9 DIE_NODE(cpufreq_e): cpufreq@210e20000 {
10 compatible = "apple,t6000-cluster-cpufreq", "apple,t8103-cluster-cpufreq", "apple,cluster-cpufreq";
11 reg = <0x2 0x10e20000 0 0x1000>;
12 #performance-domain-cells = <0>;
13 };
14
15 DIE_NODE(cpufreq_p0): cpufreq@211e20000 {
16 compatible = "apple,t6000-cluster-cpufreq", "apple,t8103-cluster-cpufreq", "apple,cluster-cpufreq";
17 reg = <0x2 0x11e20000 0 0x1000>;
18 #performance-domain-cells = <0>;
19 };
20
21 DIE_NODE(cpufreq_p1): cpufreq@212e20000 {
22 compatible = "apple,t6000-cluster-cpufreq", "apple,t8103-cluster-cpufreq", "apple,cluster-cpufreq";
23 reg = <0x2 0x12e20000 0 0x1000>;
24 #performance-domain-cells = <0>;
25 };
26
27 DIE_NODE(pmgr): power-management@28e080000 {
28 compatible = "apple,t6000-pmgr", "apple,pmgr", "syscon", "simple-mfd";
29 #address-cells = <1>;
30 #size-cells = <1>;
31 reg = <0x2 0x8e080000 0 0x4000>;
32 };
33
34 DIE_NODE(pmgr_east): power-management@28e580000 {
35 compatible = "apple,t6000-pmgr", "apple,pmgr", "syscon", "simple-mfd";
36 #address-cells = <1>;
37 #size-cells = <1>;
38 reg = <0x2 0x8e580000 0 0xc000>;
39 };
40
41 DIE_NODE(pmgr_south): power-management@28e680000 {
42 compatible = "apple,t6000-pmgr", "apple,pmgr", "syscon", "simple-mfd";
43 #address-cells = <1>;
44 #size-cells = <1>;
45 reg = <0x2 0x8e680000 0 0xc000>;
46 };
47
48 DIE_NODE(pinctrl_nub): pinctrl@2921f0000 {
49 compatible = "apple,t6000-pinctrl", "apple,pinctrl";
50 reg = <0x2 0x921f0000 0x0 0x4000>;
51 power-domains = <&DIE_NODE(ps_nub_gpio)>;
52
53 gpio-controller;
54 #gpio-cells = <2>;
55 gpio-ranges = <&DIE_NODE(pinctrl_nub) 0 0 16>;
56 apple,npins = <16>;
57
58 interrupt-controller;
59 #interrupt-cells = <2>;
60 interrupt-parent = <&aic>;
61 interrupts = <AIC_IRQ DIE_NO 623 IRQ_TYPE_LEVEL_HIGH>,
62 <AIC_IRQ DIE_NO 624 IRQ_TYPE_LEVEL_HIGH>,
63 <AIC_IRQ DIE_NO 625 IRQ_TYPE_LEVEL_HIGH>,
64 <AIC_IRQ DIE_NO 626 IRQ_TYPE_LEVEL_HIGH>,
65 <AIC_IRQ DIE_NO 627 IRQ_TYPE_LEVEL_HIGH>,
66 <AIC_IRQ DIE_NO 628 IRQ_TYPE_LEVEL_HIGH>,
67 <AIC_IRQ DIE_NO 629 IRQ_TYPE_LEVEL_HIGH>;
68 };
69
70 DIE_NODE(pmgr_mini): power-management@292280000 {
71 compatible = "apple,t6000-pmgr", "apple,pmgr", "syscon", "simple-mfd";
72 #address-cells = <1>;
73 #size-cells = <1>;
74 reg = <0x2 0x92280000 0 0x4000>;
75 };
76
77 DIE_NODE(pinctrl_aop): pinctrl@293820000 {
78 compatible = "apple,t6000-pinctrl", "apple,pinctrl";
79 reg = <0x2 0x93820000 0x0 0x4000>;
80
81 gpio-controller;
82 #gpio-cells = <2>;
83 gpio-ranges = <&DIE_NODE(pinctrl_aop) 0 0 63>;
84 apple,npins = <63>;
85
86 interrupt-controller;
87 #interrupt-cells = <2>;
88 interrupt-parent = <&aic>;
89 interrupts = <AIC_IRQ DIE_NO 567 IRQ_TYPE_LEVEL_HIGH>,
90 <AIC_IRQ DIE_NO 568 IRQ_TYPE_LEVEL_HIGH>,
91 <AIC_IRQ DIE_NO 569 IRQ_TYPE_LEVEL_HIGH>,
92 <AIC_IRQ DIE_NO 570 IRQ_TYPE_LEVEL_HIGH>,
93 <AIC_IRQ DIE_NO 571 IRQ_TYPE_LEVEL_HIGH>,
94 <AIC_IRQ DIE_NO 572 IRQ_TYPE_LEVEL_HIGH>,
95 <AIC_IRQ DIE_NO 573 IRQ_TYPE_LEVEL_HIGH>;
96 };
97
98 DIE_NODE(pinctrl_ap): pinctrl@39b028000 {
99 compatible = "apple,t6000-pinctrl", "apple,pinctrl";
100 reg = <0x3 0x9b028000 0x0 0x4000>;
101
102 interrupt-parent = <&aic>;
103 interrupts = <AIC_IRQ DIE_NO 427 IRQ_TYPE_LEVEL_HIGH>,
104 <AIC_IRQ DIE_NO 428 IRQ_TYPE_LEVEL_HIGH>,
105 <AIC_IRQ DIE_NO 429 IRQ_TYPE_LEVEL_HIGH>,
106 <AIC_IRQ DIE_NO 430 IRQ_TYPE_LEVEL_HIGH>,
107 <AIC_IRQ DIE_NO 431 IRQ_TYPE_LEVEL_HIGH>,
108 <AIC_IRQ DIE_NO 432 IRQ_TYPE_LEVEL_HIGH>,
109 <AIC_IRQ DIE_NO 433 IRQ_TYPE_LEVEL_HIGH>;
110
111 clocks = <&clkref>;
112 power-domains = <&DIE_NODE(ps_gpio)>;
113
114 gpio-controller;
115 #gpio-cells = <2>;
116 gpio-ranges = <&DIE_NODE(pinctrl_ap) 0 0 255>;
117 apple,npins = <255>;
118
119 interrupt-controller;
120 #interrupt-cells = <2>;
121 };
122
123 DIE_NODE(dwc3_0): usb@702280000 {
124 compatible = "apple,t6000-dwc3", "apple,t8103-dwc3";
125 reg = <0x7 0x02280000 0x0 0xcd00>, <0x7 0x0228cd00 0x0 0x3200>;
126 reg-names = "dwc3-core", "dwc3-apple";
127 interrupt-parent = <&aic>;
128 interrupts = <AIC_IRQ DIE_NO 1190 IRQ_TYPE_LEVEL_HIGH>;
129 dr_mode = "otg";
130 usb-role-switch;
131 role-switch-default-mode = "host";
132 iommus = <&DIE_NODE(dwc3_0_dart_0) 0>,
133 <&DIE_NODE(dwc3_0_dart_1) 1>;
134 power-domains = <&DIE_NODE(ps_atc0_usb)>;
135 resets = <&DIE_NODE(atcphy0)>;
136 phys = <&DIE_NODE(atcphy0) PHY_TYPE_USB2>, <&DIE_NODE(atcphy0) PHY_TYPE_USB3>;
137 phy-names = "usb2-phy", "usb3-phy";
138 };
139
140 DIE_NODE(dwc3_0_dart_0): iommu@702f00000 {
141 compatible = "apple,t6000-dart";
142 reg = <0x7 0x02f00000 0x0 0x4000>;
143 interrupt-parent = <&aic>;
144 interrupts = <AIC_IRQ DIE_NO 1194 IRQ_TYPE_LEVEL_HIGH>;
145 power-domains = <&DIE_NODE(ps_atc0_usb)>;
146 #iommu-cells = <1>;
147 };
148
149 DIE_NODE(dwc3_0_dart_1): iommu@702f80000 {
150 compatible = "apple,t6000-dart";
151 reg = <0x7 0x02f80000 0x0 0x4000>;
152 interrupt-parent = <&aic>;
153 interrupts = <AIC_IRQ DIE_NO 1194 IRQ_TYPE_LEVEL_HIGH>;
154 power-domains = <&DIE_NODE(ps_atc0_usb)>;
155 #iommu-cells = <1>;
156 };
157
158 DIE_NODE(atcphy0): phy@703000000 {
159 compatible = "apple,t6000-atcphy", "apple,t8103-atcphy";
160 reg = <0x7 0x03000000 0x0 0x4c000>,
161 <0x7 0x03050000 0x0 0x8000>,
162 <0x7 0x00000000 0x0 0x4000>,
163 <0x7 0x02a90000 0x0 0x4000>,
164 <0x7 0x02a84000 0x0 0x4000>;
165 reg-names = "core", "lpdptx", "axi2af", "usb2phy",
166 "pipehandler";
167
168 #phy-cells = <1>;
169 #reset-cells = <0>;
170
171 orientation-switch;
172 mode-switch;
173 power-domains = <&DIE_NODE(ps_atc0_usb)>;
174 };
175
176 DIE_NODE(dwc3_1): usb@b02280000 {
177 compatible = "apple,t6000-dwc3", "apple,t8103-dwc3";
178 reg = <0xb 0x02280000 0x0 0xcd00>, <0xb 0x0228cd00 0x0 0x3200>;
179 reg-names = "dwc3-core", "dwc3-apple";
180 interrupt-parent = <&aic>;
181 interrupts = <AIC_IRQ DIE_NO 1207 IRQ_TYPE_LEVEL_HIGH>;
182 dr_mode = "otg";
183 usb-role-switch;
184 role-switch-default-mode = "host";
185 iommus = <&DIE_NODE(dwc3_1_dart_0) 0>,
186 <&DIE_NODE(dwc3_1_dart_1) 1>;
187 power-domains = <&DIE_NODE(ps_atc1_usb)>;
188 resets = <&DIE_NODE(atcphy1)>;
189 phys = <&DIE_NODE(atcphy1) PHY_TYPE_USB2>, <&DIE_NODE(atcphy1) PHY_TYPE_USB3>;
190 phy-names = "usb2-phy", "usb3-phy";
191 };
192
193 DIE_NODE(dwc3_1_dart_0): iommu@b02f00000 {
194 compatible = "apple,t6000-dart";
195 reg = <0xb 0x02f00000 0x0 0x4000>;
196 interrupt-parent = <&aic>;
197 interrupts = <AIC_IRQ DIE_NO 1211 IRQ_TYPE_LEVEL_HIGH>;
198 power-domains = <&DIE_NODE(ps_atc1_usb)>;
199 #iommu-cells = <1>;
200 };
201
202 DIE_NODE(dwc3_1_dart_1): iommu@b02f80000 {
203 compatible = "apple,t6000-dart";
204 reg = <0xb 0x02f80000 0x0 0x4000>;
205 interrupt-parent = <&aic>;
206 interrupts = <AIC_IRQ DIE_NO 1211 IRQ_TYPE_LEVEL_HIGH>;
207 power-domains = <&DIE_NODE(ps_atc1_usb)>;
208 #iommu-cells = <1>;
209 };
210
211 DIE_NODE(atcphy1): phy@b03000000 {
212 compatible = "apple,t6000-atcphy", "apple,t8103-atcphy";
213 reg = <0xb 0x03000000 0x0 0x4c000>,
214 <0xb 0x03050000 0x0 0x8000>,
215 <0xb 0x00000000 0x0 0x4000>,
216 <0xb 0x02a90000 0x0 0x4000>,
217 <0xb 0x02a84000 0x0 0x4000>;
218 reg-names = "core", "lpdptx", "axi2af", "usb2phy",
219 "pipehandler";
220
221 #phy-cells = <1>;
222 #reset-cells = <0>;
223
224 orientation-switch;
225 mode-switch;
226 power-domains = <&DIE_NODE(ps_atc1_usb)>;
227 };
228
229 DIE_NODE(dwc3_2): usb@f02280000 {
230 compatible = "apple,t6000-dwc3", "apple,t8103-dwc3";
231 reg = <0xf 0x02280000 0x0 0xcd00>, <0xf 0x0228cd00 0x0 0x3200>;
232 reg-names = "dwc3-core", "dwc3-apple";
233 interrupt-parent = <&aic>;
234 interrupts = <AIC_IRQ DIE_NO 1224 IRQ_TYPE_LEVEL_HIGH>;
235 dr_mode = "otg";
236 usb-role-switch;
237 role-switch-default-mode = "host";
238 iommus = <&DIE_NODE(dwc3_2_dart_0) 0>,
239 <&DIE_NODE(dwc3_2_dart_1) 1>;
240 power-domains = <&DIE_NODE(ps_atc2_usb)>;
241 resets = <&DIE_NODE(atcphy2)>;
242 phys = <&DIE_NODE(atcphy2) PHY_TYPE_USB2>, <&DIE_NODE(atcphy2) PHY_TYPE_USB3>;
243 phy-names = "usb2-phy", "usb3-phy";
244 };
245
246 DIE_NODE(dwc3_2_dart_0): iommu@f02f00000 {
247 compatible = "apple,t6000-dart";
248 reg = <0xf 0x02f00000 0x0 0x4000>;
249 interrupt-parent = <&aic>;
250 interrupts = <AIC_IRQ DIE_NO 1228 IRQ_TYPE_LEVEL_HIGH>;
251 power-domains = <&DIE_NODE(ps_atc2_usb)>;
252 #iommu-cells = <1>;
253 };
254
255 DIE_NODE(dwc3_2_dart_1): iommu@f02f80000 {
256 compatible = "apple,t6000-dart";
257 reg = <0xf 0x02f80000 0x0 0x4000>;
258 interrupt-parent = <&aic>;
259 interrupts = <AIC_IRQ DIE_NO 1228 IRQ_TYPE_LEVEL_HIGH>;
260 power-domains = <&DIE_NODE(ps_atc2_usb)>;
261 #iommu-cells = <1>;
262 };
263
264 DIE_NODE(atcphy2): phy@f03000000 {
265 compatible = "apple,t6000-atcphy", "apple,t8103-atcphy";
266 reg = <0xf 0x03000000 0x0 0x4c000>,
267 <0xf 0x03050000 0x0 0x8000>,
268 <0xf 0x00000000 0x0 0x4000>,
269 <0xf 0x02a90000 0x0 0x4000>,
270 <0xf 0x02a84000 0x0 0x4000>;
271 reg-names = "core", "lpdptx", "axi2af", "usb2phy",
272 "pipehandler";
273
274 #phy-cells = <1>;
275 #reset-cells = <0>;
276
277 orientation-switch;
278 mode-switch;
279 power-domains = <&DIE_NODE(ps_atc2_usb)>;
280 };
281
282 DIE_NODE(dwc3_3): usb@1302280000 {
283 compatible = "apple,t6000-dwc3", "apple,t8103-dwc3";
284 reg = <0x13 0x02280000 0x0 0xcd00>, <0x13 0x0228cd00 0x0 0x3200>;
285 reg-names = "dwc3-core", "dwc3-apple";
286 interrupt-parent = <&aic>;
287 interrupts = <AIC_IRQ DIE_NO 1241 IRQ_TYPE_LEVEL_HIGH>;
288 dr_mode = "otg";
289 usb-role-switch;
290 role-switch-default-mode = "host";
291 iommus = <&DIE_NODE(dwc3_3_dart_0) 0>,
292 <&DIE_NODE(dwc3_3_dart_1) 1>;
293 power-domains = <&DIE_NODE(ps_atc3_usb)>;
294 resets = <&DIE_NODE(atcphy3)>;
295 phys = <&DIE_NODE(atcphy3) PHY_TYPE_USB2>, <&DIE_NODE(atcphy3) PHY_TYPE_USB3>;
296 phy-names = "usb2-phy", "usb3-phy";
297 };
298
299 DIE_NODE(dwc3_3_dart_0): iommu@1302f00000 {
300 compatible = "apple,t6000-dart";
301 reg = <0x13 0x02f00000 0x0 0x4000>;
302 interrupt-parent = <&aic>;
303 interrupts = <AIC_IRQ DIE_NO 1245 IRQ_TYPE_LEVEL_HIGH>;
304 power-domains = <&DIE_NODE(ps_atc3_usb)>;
305 #iommu-cells = <1>;
306 };
307
308 DIE_NODE(dwc3_3_dart_1): iommu@1302f80000 {
309 compatible = "apple,t6000-dart";
310 reg = <0x13 0x02f80000 0x0 0x4000>;
311 interrupt-parent = <&aic>;
312 interrupts = <AIC_IRQ DIE_NO 1245 IRQ_TYPE_LEVEL_HIGH>;
313 power-domains = <&DIE_NODE(ps_atc3_usb)>;
314 #iommu-cells = <1>;
315 };
316
317 DIE_NODE(atcphy3): phy@1303000000 {
318 compatible = "apple,t6000-atcphy", "apple,t8103-atcphy";
319 reg = <0x13 0x03000000 0x0 0x4c000>,
320 <0x13 0x03050000 0x0 0x8000>,
321 <0x13 0x00000000 0x0 0x4000>,
322 <0x13 0x02a90000 0x0 0x4000>,
323 <0x13 0x02a84000 0x0 0x4000>;
324 reg-names = "core", "lpdptx", "axi2af", "usb2phy",
325 "pipehandler";
326
327 #phy-cells = <1>;
328 #reset-cells = <0>;
329
330 orientation-switch;
331 mode-switch;
332 power-domains = <&DIE_NODE(ps_atc3_usb)>;
333 };