perf probe: Add --bootconfig to output definition in bootconfig format
[linux-2.6-microblaze.git] / arch / arm64 / boot / dts / ti / k3-j7200-main.dtsi
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Device Tree Source for J7200 SoC Family Main Domain peripherals
4  *
5  * Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/
6  */
7
8 / {
9         serdes_refclk: serdes-refclk {
10                 #clock-cells = <0>;
11                 compatible = "fixed-clock";
12         };
13 };
14
15 &cbass_main {
16         msmc_ram: sram@70000000 {
17                 compatible = "mmio-sram";
18                 reg = <0x00 0x70000000 0x00 0x100000>;
19                 #address-cells = <1>;
20                 #size-cells = <1>;
21                 ranges = <0x00 0x00 0x70000000 0x100000>;
22
23                 atf-sram@0 {
24                         reg = <0x00 0x20000>;
25                 };
26         };
27
28         scm_conf: scm-conf@100000 {
29                 compatible = "ti,j721e-system-controller", "syscon", "simple-mfd";
30                 reg = <0x00 0x00100000 0x00 0x1c000>;
31                 #address-cells = <1>;
32                 #size-cells = <1>;
33                 ranges = <0x00 0x00 0x00100000 0x1c000>;
34
35                 serdes_ln_ctrl: serdes-ln-ctrl@4080 {
36                         compatible = "mmio-mux";
37                         #mux-control-cells = <1>;
38                         mux-reg-masks = <0x4080 0x3>, <0x4084 0x3>, /* SERDES0 lane0/1 select */
39                                         <0x4088 0x3>, <0x408c 0x3>; /* SERDES0 lane2/3 select */
40                 };
41
42                 usb_serdes_mux: mux-controller@4000 {
43                         compatible = "mmio-mux";
44                         #mux-control-cells = <1>;
45                         mux-reg-masks = <0x4000 0x8000000>; /* USB0 to SERDES0 lane 1/3 mux */
46                 };
47         };
48
49         gic500: interrupt-controller@1800000 {
50                 compatible = "arm,gic-v3";
51                 #address-cells = <2>;
52                 #size-cells = <2>;
53                 ranges;
54                 #interrupt-cells = <3>;
55                 interrupt-controller;
56                 reg = <0x00 0x01800000 0x00 0x10000>,   /* GICD */
57                       <0x00 0x01900000 0x00 0x100000>;  /* GICR */
58
59                 /* vcpumntirq: virtual CPU interface maintenance interrupt */
60                 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
61
62                 gic_its: msi-controller@1820000 {
63                         compatible = "arm,gic-v3-its";
64                         reg = <0x00 0x01820000 0x00 0x10000>;
65                         socionext,synquacer-pre-its = <0x1000000 0x400000>;
66                         msi-controller;
67                         #msi-cells = <1>;
68                 };
69         };
70
71         main_gpio_intr: interrupt-controller0 {
72                 compatible = "ti,sci-intr";
73                 ti,intr-trigger-type = <1>;
74                 interrupt-controller;
75                 interrupt-parent = <&gic500>;
76                 #interrupt-cells = <1>;
77                 ti,sci = <&dmsc>;
78                 ti,sci-dev-id = <131>;
79                 ti,interrupt-ranges = <8 392 56>;
80         };
81
82         main_navss: bus@30000000 {
83                 compatible = "simple-mfd";
84                 #address-cells = <2>;
85                 #size-cells = <2>;
86                 ranges = <0x00 0x30000000 0x00 0x30000000 0x00 0x0c400000>;
87                 ti,sci-dev-id = <199>;
88
89                 main_navss_intr: interrupt-controller1 {
90                         compatible = "ti,sci-intr";
91                         ti,intr-trigger-type = <4>;
92                         interrupt-controller;
93                         interrupt-parent = <&gic500>;
94                         #interrupt-cells = <1>;
95                         ti,sci = <&dmsc>;
96                         ti,sci-dev-id = <213>;
97                         ti,interrupt-ranges = <0 64 64>,
98                                               <64 448 64>,
99                                               <128 672 64>;
100                 };
101
102                 main_udmass_inta: msi-controller@33d00000 {
103                         compatible = "ti,sci-inta";
104                         reg = <0x00 0x33d00000 0x00 0x100000>;
105                         interrupt-controller;
106                         #interrupt-cells = <0>;
107                         interrupt-parent = <&main_navss_intr>;
108                         msi-controller;
109                         ti,sci = <&dmsc>;
110                         ti,sci-dev-id = <209>;
111                         ti,interrupt-ranges = <0 0 256>;
112                 };
113
114                 secure_proxy_main: mailbox@32c00000 {
115                         compatible = "ti,am654-secure-proxy";
116                         #mbox-cells = <1>;
117                         reg-names = "target_data", "rt", "scfg";
118                         reg = <0x00 0x32c00000 0x00 0x100000>,
119                               <0x00 0x32400000 0x00 0x100000>,
120                               <0x00 0x32800000 0x00 0x100000>;
121                         interrupt-names = "rx_011";
122                         interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
123                 };
124
125                 hwspinlock: spinlock@30e00000 {
126                         compatible = "ti,am654-hwspinlock";
127                         reg = <0x00 0x30e00000 0x00 0x1000>;
128                         #hwlock-cells = <1>;
129                 };
130
131                 mailbox0_cluster0: mailbox@31f80000 {
132                         compatible = "ti,am654-mailbox";
133                         reg = <0x00 0x31f80000 0x00 0x200>;
134                         #mbox-cells = <1>;
135                         ti,mbox-num-users = <4>;
136                         ti,mbox-num-fifos = <16>;
137                         interrupt-parent = <&main_navss_intr>;
138                 };
139
140                 mailbox0_cluster1: mailbox@31f81000 {
141                         compatible = "ti,am654-mailbox";
142                         reg = <0x00 0x31f81000 0x00 0x200>;
143                         #mbox-cells = <1>;
144                         ti,mbox-num-users = <4>;
145                         ti,mbox-num-fifos = <16>;
146                         interrupt-parent = <&main_navss_intr>;
147                 };
148
149                 mailbox0_cluster2: mailbox@31f82000 {
150                         compatible = "ti,am654-mailbox";
151                         reg = <0x00 0x31f82000 0x00 0x200>;
152                         #mbox-cells = <1>;
153                         ti,mbox-num-users = <4>;
154                         ti,mbox-num-fifos = <16>;
155                         interrupt-parent = <&main_navss_intr>;
156                 };
157
158                 mailbox0_cluster3: mailbox@31f83000 {
159                         compatible = "ti,am654-mailbox";
160                         reg = <0x00 0x31f83000 0x00 0x200>;
161                         #mbox-cells = <1>;
162                         ti,mbox-num-users = <4>;
163                         ti,mbox-num-fifos = <16>;
164                         interrupt-parent = <&main_navss_intr>;
165                 };
166
167                 mailbox0_cluster4: mailbox@31f84000 {
168                         compatible = "ti,am654-mailbox";
169                         reg = <0x00 0x31f84000 0x00 0x200>;
170                         #mbox-cells = <1>;
171                         ti,mbox-num-users = <4>;
172                         ti,mbox-num-fifos = <16>;
173                         interrupt-parent = <&main_navss_intr>;
174                 };
175
176                 mailbox0_cluster5: mailbox@31f85000 {
177                         compatible = "ti,am654-mailbox";
178                         reg = <0x00 0x31f85000 0x00 0x200>;
179                         #mbox-cells = <1>;
180                         ti,mbox-num-users = <4>;
181                         ti,mbox-num-fifos = <16>;
182                         interrupt-parent = <&main_navss_intr>;
183                 };
184
185                 mailbox0_cluster6: mailbox@31f86000 {
186                         compatible = "ti,am654-mailbox";
187                         reg = <0x00 0x31f86000 0x00 0x200>;
188                         #mbox-cells = <1>;
189                         ti,mbox-num-users = <4>;
190                         ti,mbox-num-fifos = <16>;
191                         interrupt-parent = <&main_navss_intr>;
192                 };
193
194                 mailbox0_cluster7: mailbox@31f87000 {
195                         compatible = "ti,am654-mailbox";
196                         reg = <0x00 0x31f87000 0x00 0x200>;
197                         #mbox-cells = <1>;
198                         ti,mbox-num-users = <4>;
199                         ti,mbox-num-fifos = <16>;
200                         interrupt-parent = <&main_navss_intr>;
201                 };
202
203                 mailbox0_cluster8: mailbox@31f88000 {
204                         compatible = "ti,am654-mailbox";
205                         reg = <0x00 0x31f88000 0x00 0x200>;
206                         #mbox-cells = <1>;
207                         ti,mbox-num-users = <4>;
208                         ti,mbox-num-fifos = <16>;
209                         interrupt-parent = <&main_navss_intr>;
210                 };
211
212                 mailbox0_cluster9: mailbox@31f89000 {
213                         compatible = "ti,am654-mailbox";
214                         reg = <0x00 0x31f89000 0x00 0x200>;
215                         #mbox-cells = <1>;
216                         ti,mbox-num-users = <4>;
217                         ti,mbox-num-fifos = <16>;
218                         interrupt-parent = <&main_navss_intr>;
219                 };
220
221                 mailbox0_cluster10: mailbox@31f8a000 {
222                         compatible = "ti,am654-mailbox";
223                         reg = <0x00 0x31f8a000 0x00 0x200>;
224                         #mbox-cells = <1>;
225                         ti,mbox-num-users = <4>;
226                         ti,mbox-num-fifos = <16>;
227                         interrupt-parent = <&main_navss_intr>;
228                 };
229
230                 mailbox0_cluster11: mailbox@31f8b000 {
231                         compatible = "ti,am654-mailbox";
232                         reg = <0x00 0x31f8b000 0x00 0x200>;
233                         #mbox-cells = <1>;
234                         ti,mbox-num-users = <4>;
235                         ti,mbox-num-fifos = <16>;
236                         interrupt-parent = <&main_navss_intr>;
237                 };
238
239                 main_ringacc: ringacc@3c000000 {
240                         compatible = "ti,am654-navss-ringacc";
241                         reg =   <0x00 0x3c000000 0x00 0x400000>,
242                                 <0x00 0x38000000 0x00 0x400000>,
243                                 <0x00 0x31120000 0x00 0x100>,
244                                 <0x00 0x33000000 0x00 0x40000>;
245                         reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target";
246                         ti,num-rings = <1024>;
247                         ti,sci-rm-range-gp-rings = <0x1>; /* GP ring range */
248                         ti,sci = <&dmsc>;
249                         ti,sci-dev-id = <211>;
250                         msi-parent = <&main_udmass_inta>;
251                 };
252
253                 main_udmap: dma-controller@31150000 {
254                         compatible = "ti,j721e-navss-main-udmap";
255                         reg =   <0x00 0x31150000 0x00 0x100>,
256                                 <0x00 0x34000000 0x00 0x100000>,
257                                 <0x00 0x35000000 0x00 0x100000>;
258                         reg-names = "gcfg", "rchanrt", "tchanrt";
259                         msi-parent = <&main_udmass_inta>;
260                         #dma-cells = <1>;
261
262                         ti,sci = <&dmsc>;
263                         ti,sci-dev-id = <212>;
264                         ti,ringacc = <&main_ringacc>;
265
266                         ti,sci-rm-range-tchan = <0x0d>, /* TX_CHAN */
267                                                 <0x0f>, /* TX_HCHAN */
268                                                 <0x10>; /* TX_UHCHAN */
269                         ti,sci-rm-range-rchan = <0x0a>, /* RX_CHAN */
270                                                 <0x0b>, /* RX_HCHAN */
271                                                 <0x0c>; /* RX_UHCHAN */
272                         ti,sci-rm-range-rflow = <0x00>; /* GP RFLOW */
273                 };
274
275                 cpts@310d0000 {
276                         compatible = "ti,j721e-cpts";
277                         reg = <0x00 0x310d0000 0x00 0x400>;
278                         reg-names = "cpts";
279                         clocks = <&k3_clks 201 1>;
280                         clock-names = "cpts";
281                         interrupts-extended = <&main_navss_intr 391>;
282                         interrupt-names = "cpts";
283                         ti,cpts-periodic-outputs = <6>;
284                         ti,cpts-ext-ts-inputs = <8>;
285                 };
286         };
287
288         main_pmx0: pinctrl@11c000 {
289                 compatible = "pinctrl-single";
290                 /* Proxy 0 addressing */
291                 reg = <0x00 0x11c000 0x00 0x2b4>;
292                 #pinctrl-cells = <1>;
293                 pinctrl-single,register-width = <32>;
294                 pinctrl-single,function-mask = <0xffffffff>;
295         };
296
297         main_uart0: serial@2800000 {
298                 compatible = "ti,j721e-uart", "ti,am654-uart";
299                 reg = <0x00 0x02800000 0x00 0x100>;
300                 reg-shift = <2>;
301                 reg-io-width = <4>;
302                 interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
303                 clock-frequency = <48000000>;
304                 current-speed = <115200>;
305                 power-domains = <&k3_pds 146 TI_SCI_PD_EXCLUSIVE>;
306                 clocks = <&k3_clks 146 2>;
307                 clock-names = "fclk";
308         };
309
310         main_uart1: serial@2810000 {
311                 compatible = "ti,j721e-uart", "ti,am654-uart";
312                 reg = <0x00 0x02810000 0x00 0x100>;
313                 reg-shift = <2>;
314                 reg-io-width = <4>;
315                 interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
316                 clock-frequency = <48000000>;
317                 current-speed = <115200>;
318                 power-domains = <&k3_pds 278 TI_SCI_PD_EXCLUSIVE>;
319                 clocks = <&k3_clks 278 2>;
320                 clock-names = "fclk";
321         };
322
323         main_uart2: serial@2820000 {
324                 compatible = "ti,j721e-uart", "ti,am654-uart";
325                 reg = <0x00 0x02820000 0x00 0x100>;
326                 reg-shift = <2>;
327                 reg-io-width = <4>;
328                 interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>;
329                 clock-frequency = <48000000>;
330                 current-speed = <115200>;
331                 power-domains = <&k3_pds 279 TI_SCI_PD_EXCLUSIVE>;
332                 clocks = <&k3_clks 279 2>;
333                 clock-names = "fclk";
334         };
335
336         main_uart3: serial@2830000 {
337                 compatible = "ti,j721e-uart", "ti,am654-uart";
338                 reg = <0x00 0x02830000 0x00 0x100>;
339                 reg-shift = <2>;
340                 reg-io-width = <4>;
341                 interrupts = <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>;
342                 clock-frequency = <48000000>;
343                 current-speed = <115200>;
344                 power-domains = <&k3_pds 280 TI_SCI_PD_EXCLUSIVE>;
345                 clocks = <&k3_clks 280 2>;
346                 clock-names = "fclk";
347         };
348
349         main_uart4: serial@2840000 {
350                 compatible = "ti,j721e-uart", "ti,am654-uart";
351                 reg = <0x00 0x02840000 0x00 0x100>;
352                 reg-shift = <2>;
353                 reg-io-width = <4>;
354                 interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>;
355                 clock-frequency = <48000000>;
356                 current-speed = <115200>;
357                 power-domains = <&k3_pds 281 TI_SCI_PD_EXCLUSIVE>;
358                 clocks = <&k3_clks 281 2>;
359                 clock-names = "fclk";
360         };
361
362         main_uart5: serial@2850000 {
363                 compatible = "ti,j721e-uart", "ti,am654-uart";
364                 reg = <0x00 0x02850000 0x00 0x100>;
365                 reg-shift = <2>;
366                 reg-io-width = <4>;
367                 interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
368                 clock-frequency = <48000000>;
369                 current-speed = <115200>;
370                 power-domains = <&k3_pds 282 TI_SCI_PD_EXCLUSIVE>;
371                 clocks = <&k3_clks 282 2>;
372                 clock-names = "fclk";
373         };
374
375         main_uart6: serial@2860000 {
376                 compatible = "ti,j721e-uart", "ti,am654-uart";
377                 reg = <0x00 0x02860000 0x00 0x100>;
378                 reg-shift = <2>;
379                 reg-io-width = <4>;
380                 interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>;
381                 clock-frequency = <48000000>;
382                 current-speed = <115200>;
383                 power-domains = <&k3_pds 283 TI_SCI_PD_EXCLUSIVE>;
384                 clocks = <&k3_clks 283 2>;
385                 clock-names = "fclk";
386         };
387
388         main_uart7: serial@2870000 {
389                 compatible = "ti,j721e-uart", "ti,am654-uart";
390                 reg = <0x00 0x02870000 0x00 0x100>;
391                 reg-shift = <2>;
392                 reg-io-width = <4>;
393                 interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>;
394                 clock-frequency = <48000000>;
395                 current-speed = <115200>;
396                 power-domains = <&k3_pds 284 TI_SCI_PD_EXCLUSIVE>;
397                 clocks = <&k3_clks 284 2>;
398                 clock-names = "fclk";
399         };
400
401         main_uart8: serial@2880000 {
402                 compatible = "ti,j721e-uart", "ti,am654-uart";
403                 reg = <0x00 0x02880000 0x00 0x100>;
404                 reg-shift = <2>;
405                 reg-io-width = <4>;
406                 interrupts = <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>;
407                 clock-frequency = <48000000>;
408                 current-speed = <115200>;
409                 power-domains = <&k3_pds 285 TI_SCI_PD_EXCLUSIVE>;
410                 clocks = <&k3_clks 285 2>;
411                 clock-names = "fclk";
412         };
413
414         main_uart9: serial@2890000 {
415                 compatible = "ti,j721e-uart", "ti,am654-uart";
416                 reg = <0x00 0x02890000 0x00 0x100>;
417                 reg-shift = <2>;
418                 reg-io-width = <4>;
419                 interrupts = <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>;
420                 clock-frequency = <48000000>;
421                 current-speed = <115200>;
422                 power-domains = <&k3_pds 286 TI_SCI_PD_EXCLUSIVE>;
423                 clocks = <&k3_clks 286 2>;
424                 clock-names = "fclk";
425         };
426
427         main_i2c0: i2c@2000000 {
428                 compatible = "ti,j721e-i2c", "ti,omap4-i2c";
429                 reg = <0x00 0x2000000 0x00 0x100>;
430                 interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>;
431                 #address-cells = <1>;
432                 #size-cells = <0>;
433                 clock-names = "fck";
434                 clocks = <&k3_clks 187 1>;
435                 power-domains = <&k3_pds 187 TI_SCI_PD_SHARED>;
436         };
437
438         main_i2c1: i2c@2010000 {
439                 compatible = "ti,j721e-i2c", "ti,omap4-i2c";
440                 reg = <0x00 0x2010000 0x00 0x100>;
441                 interrupts = <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>;
442                 #address-cells = <1>;
443                 #size-cells = <0>;
444                 clock-names = "fck";
445                 clocks = <&k3_clks 188 1>;
446                 power-domains = <&k3_pds 188 TI_SCI_PD_EXCLUSIVE>;
447         };
448
449         main_i2c2: i2c@2020000 {
450                 compatible = "ti,j721e-i2c", "ti,omap4-i2c";
451                 reg = <0x00 0x2020000 0x00 0x100>;
452                 interrupts = <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>;
453                 #address-cells = <1>;
454                 #size-cells = <0>;
455                 clock-names = "fck";
456                 clocks = <&k3_clks 189 1>;
457                 power-domains = <&k3_pds 189 TI_SCI_PD_EXCLUSIVE>;
458         };
459
460         main_i2c3: i2c@2030000 {
461                 compatible = "ti,j721e-i2c", "ti,omap4-i2c";
462                 reg = <0x00 0x2030000 0x00 0x100>;
463                 interrupts = <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>;
464                 #address-cells = <1>;
465                 #size-cells = <0>;
466                 clock-names = "fck";
467                 clocks = <&k3_clks 190 1>;
468                 power-domains = <&k3_pds 190 TI_SCI_PD_EXCLUSIVE>;
469         };
470
471         main_i2c4: i2c@2040000 {
472                 compatible = "ti,j721e-i2c", "ti,omap4-i2c";
473                 reg = <0x00 0x2040000 0x00 0x100>;
474                 interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>;
475                 #address-cells = <1>;
476                 #size-cells = <0>;
477                 clock-names = "fck";
478                 clocks = <&k3_clks 191 1>;
479                 power-domains = <&k3_pds 191 TI_SCI_PD_EXCLUSIVE>;
480         };
481
482         main_i2c5: i2c@2050000 {
483                 compatible = "ti,j721e-i2c", "ti,omap4-i2c";
484                 reg = <0x00 0x2050000 0x00 0x100>;
485                 interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>;
486                 #address-cells = <1>;
487                 #size-cells = <0>;
488                 clock-names = "fck";
489                 clocks = <&k3_clks 192 1>;
490                 power-domains = <&k3_pds 192 TI_SCI_PD_EXCLUSIVE>;
491         };
492
493         main_i2c6: i2c@2060000 {
494                 compatible = "ti,j721e-i2c", "ti,omap4-i2c";
495                 reg = <0x00 0x2060000 0x00 0x100>;
496                 interrupts = <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>;
497                 #address-cells = <1>;
498                 #size-cells = <0>;
499                 clock-names = "fck";
500                 clocks = <&k3_clks 193 1>;
501                 power-domains = <&k3_pds 193 TI_SCI_PD_EXCLUSIVE>;
502         };
503
504         main_sdhci0: mmc@4f80000 {
505                 compatible = "ti,j7200-sdhci-8bit", "ti,j721e-sdhci-8bit";
506                 reg = <0x00 0x04f80000 0x00 0x260>, <0x00 0x4f88000 0x00 0x134>;
507                 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
508                 power-domains = <&k3_pds 91 TI_SCI_PD_EXCLUSIVE>;
509                 clock-names = "clk_ahb", "clk_xin";
510                 clocks = <&k3_clks 91 0>, <&k3_clks 91 3>;
511                 ti,otap-del-sel-legacy = <0x0>;
512                 ti,otap-del-sel-mmc-hs = <0x0>;
513                 ti,otap-del-sel-ddr52 = <0x6>;
514                 ti,otap-del-sel-hs200 = <0x8>;
515                 ti,otap-del-sel-hs400 = <0x5>;
516                 ti,itap-del-sel-legacy = <0x10>;
517                 ti,itap-del-sel-mmc-hs = <0xa>;
518                 ti,strobe-sel = <0x77>;
519                 ti,clkbuf-sel = <0x7>;
520                 ti,trm-icp = <0x8>;
521                 bus-width = <8>;
522                 mmc-ddr-1_8v;
523                 mmc-hs200-1_8v;
524                 mmc-hs400-1_8v;
525                 dma-coherent;
526         };
527
528         main_sdhci1: mmc@4fb0000 {
529                 compatible = "ti,j7200-sdhci-4bit", "ti,j721e-sdhci-4bit";
530                 reg = <0x00 0x04fb0000 0x00 0x260>, <0x00 0x4fb8000 0x00 0x134>;
531                 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
532                 power-domains = <&k3_pds 92 TI_SCI_PD_EXCLUSIVE>;
533                 clock-names = "clk_ahb", "clk_xin";
534                 clocks = <&k3_clks 92 1>, <&k3_clks 92 2>;
535                 ti,otap-del-sel-legacy = <0x0>;
536                 ti,otap-del-sel-sd-hs = <0x0>;
537                 ti,otap-del-sel-sdr12 = <0xf>;
538                 ti,otap-del-sel-sdr25 = <0xf>;
539                 ti,otap-del-sel-sdr50 = <0xc>;
540                 ti,otap-del-sel-sdr104 = <0x5>;
541                 ti,otap-del-sel-ddr50 = <0xc>;
542                 ti,itap-del-sel-legacy = <0x0>;
543                 ti,itap-del-sel-sd-hs = <0x0>;
544                 ti,itap-del-sel-sdr12 = <0x0>;
545                 ti,itap-del-sel-sdr25 = <0x0>;
546                 ti,clkbuf-sel = <0x7>;
547                 ti,trm-icp = <0x8>;
548                 dma-coherent;
549         };
550
551         serdes_wiz0: wiz@5060000 {
552                 compatible = "ti,j721e-wiz-10g";
553                 #address-cells = <1>;
554                 #size-cells = <1>;
555                 power-domains = <&k3_pds 292 TI_SCI_PD_EXCLUSIVE>;
556                 clocks = <&k3_clks 292 11>, <&k3_clks 292 85>, <&serdes_refclk>;
557                 clock-names = "fck", "core_ref_clk", "ext_ref_clk";
558                 num-lanes = <4>;
559                 #reset-cells = <1>;
560                 ranges = <0x5060000 0x0 0x5060000 0x10000>;
561
562                 assigned-clocks = <&k3_clks 292 85>;
563                 assigned-clock-parents = <&k3_clks 292 89>;
564
565                 wiz0_pll0_refclk: pll0-refclk {
566                         clocks = <&k3_clks 292 85>, <&serdes_refclk>;
567                         clock-output-names = "wiz0_pll0_refclk";
568                         #clock-cells = <0>;
569                         assigned-clocks = <&wiz0_pll0_refclk>;
570                         assigned-clock-parents = <&k3_clks 292 85>;
571                 };
572
573                 wiz0_pll1_refclk: pll1-refclk {
574                         clocks = <&k3_clks 292 85>, <&serdes_refclk>;
575                         clock-output-names = "wiz0_pll1_refclk";
576                         #clock-cells = <0>;
577                         assigned-clocks = <&wiz0_pll1_refclk>;
578                         assigned-clock-parents = <&k3_clks 292 85>;
579                 };
580
581                 wiz0_refclk_dig: refclk-dig {
582                         clocks = <&k3_clks 292 85>, <&serdes_refclk>;
583                         clock-output-names = "wiz0_refclk_dig";
584                         #clock-cells = <0>;
585                         assigned-clocks = <&wiz0_refclk_dig>;
586                         assigned-clock-parents = <&k3_clks 292 85>;
587                 };
588
589                 wiz0_cmn_refclk_dig_div: cmn-refclk-dig-div {
590                         clocks = <&wiz0_refclk_dig>;
591                         #clock-cells = <0>;
592                 };
593
594                 serdes0: serdes@5060000 {
595                         compatible = "ti,j721e-serdes-10g";
596                         reg = <0x05060000 0x00010000>;
597                         reg-names = "torrent_phy";
598                         resets = <&serdes_wiz0 0>;
599                         reset-names = "torrent_reset";
600                         clocks = <&wiz0_pll0_refclk>;
601                         clock-names = "refclk";
602                         #address-cells = <1>;
603                         #size-cells = <0>;
604                 };
605         };
606
607         pcie1_rc: pcie@2910000 {
608                 compatible = "ti,j7200-pcie-host", "ti,j721e-pcie-host";
609                 reg = <0x00 0x02910000 0x00 0x1000>,
610                       <0x00 0x02917000 0x00 0x400>,
611                       <0x00 0x0d800000 0x00 0x00800000>,
612                       <0x00 0x18000000 0x00 0x00001000>;
613                 reg-names = "intd_cfg", "user_cfg", "reg", "cfg";
614                 interrupt-names = "link_state";
615                 interrupts = <GIC_SPI 330 IRQ_TYPE_EDGE_RISING>;
616                 device_type = "pci";
617                 ti,syscon-pcie-ctrl = <&scm_conf 0x4074>;
618                 max-link-speed = <3>;
619                 num-lanes = <4>;
620                 power-domains = <&k3_pds 240 TI_SCI_PD_EXCLUSIVE>;
621                 clocks = <&k3_clks 240 6>;
622                 clock-names = "fck";
623                 #address-cells = <3>;
624                 #size-cells = <2>;
625                 bus-range = <0x0 0xf>;
626                 cdns,no-bar-match-nbits = <64>;
627                 vendor-id = /bits/ 16 <0x104c>;
628                 device-id = /bits/ 16 <0xb00f>;
629                 msi-map = <0x0 &gic_its 0x0 0x10000>;
630                 dma-coherent;
631                 ranges = <0x01000000 0x0 0x18001000  0x00 0x18001000  0x0 0x0010000>,
632                          <0x02000000 0x0 0x18011000  0x00 0x18011000  0x0 0x7fef000>;
633                 dma-ranges = <0x02000000 0x0 0x0 0x0 0x0 0x10000 0x0>;
634         };
635
636         pcie1_ep: pcie-ep@2910000 {
637                 compatible = "ti,j7200-pcie-ep", "ti,j721e-pcie-ep";
638                 reg = <0x00 0x02910000 0x00 0x1000>,
639                       <0x00 0x02917000 0x00 0x400>,
640                       <0x00 0x0d800000 0x00 0x00800000>,
641                       <0x00 0x18000000 0x00 0x08000000>;
642                 reg-names = "intd_cfg", "user_cfg", "reg", "mem";
643                 interrupt-names = "link_state";
644                 interrupts = <GIC_SPI 330 IRQ_TYPE_EDGE_RISING>;
645                 ti,syscon-pcie-ctrl = <&scm_conf 0x4074>;
646                 max-link-speed = <3>;
647                 num-lanes = <4>;
648                 power-domains = <&k3_pds 240 TI_SCI_PD_EXCLUSIVE>;
649                 clocks = <&k3_clks 240 6>;
650                 clock-names = "fck";
651                 max-functions = /bits/ 8 <6>;
652                 dma-coherent;
653         };
654
655         usbss0: cdns-usb@4104000 {
656                 compatible = "ti,j721e-usb";
657                 reg = <0x00 0x4104000 0x00 0x100>;
658                 dma-coherent;
659                 power-domains = <&k3_pds 288 TI_SCI_PD_EXCLUSIVE>;
660                 clocks = <&k3_clks 288 12>, <&k3_clks 288 3>;
661                 clock-names = "ref", "lpm";
662                 assigned-clocks = <&k3_clks 288 12>;    /* USB2_REFCLK */
663                 assigned-clock-parents = <&k3_clks 288 13>; /* HFOSC0 */
664                 #address-cells = <2>;
665                 #size-cells = <2>;
666                 ranges;
667
668                 usb0: usb@6000000 {
669                         compatible = "cdns,usb3";
670                         reg = <0x00 0x6000000 0x00 0x10000>,
671                               <0x00 0x6010000 0x00 0x10000>,
672                               <0x00 0x6020000 0x00 0x10000>;
673                         reg-names = "otg", "xhci", "dev";
674                         interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,  /* irq.0 */
675                                      <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, /* irq.6 */
676                                      <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; /* otgirq.0 */
677                         interrupt-names = "host",
678                                           "peripheral",
679                                           "otg";
680                         maximum-speed = "super-speed";
681                         dr_mode = "otg";
682                 };
683         };
684
685         main_gpio0: gpio@600000 {
686                 compatible = "ti,j721e-gpio", "ti,keystone-gpio";
687                 reg = <0x00 0x00600000 0x00 0x100>;
688                 gpio-controller;
689                 #gpio-cells = <2>;
690                 interrupt-parent = <&main_gpio_intr>;
691                 interrupts = <145>, <146>, <147>, <148>,
692                              <149>;
693                 interrupt-controller;
694                 #interrupt-cells = <2>;
695                 #address-cells = <0>;
696                 ti,ngpio = <69>;
697                 ti,davinci-gpio-unbanked = <0>;
698                 power-domains = <&k3_pds 105 TI_SCI_PD_EXCLUSIVE>;
699                 clocks = <&k3_clks 105 0>;
700                 clock-names = "gpio";
701         };
702
703         main_gpio2: gpio@610000 {
704                 compatible = "ti,j721e-gpio", "ti,keystone-gpio";
705                 reg = <0x00 0x00610000 0x00 0x100>;
706                 gpio-controller;
707                 #gpio-cells = <2>;
708                 interrupt-parent = <&main_gpio_intr>;
709                 interrupts = <154>, <155>, <156>, <157>,
710                              <158>;
711                 interrupt-controller;
712                 #interrupt-cells = <2>;
713                 #address-cells = <0>;
714                 ti,ngpio = <69>;
715                 ti,davinci-gpio-unbanked = <0>;
716                 power-domains = <&k3_pds 107 TI_SCI_PD_EXCLUSIVE>;
717                 clocks = <&k3_clks 107 0>;
718                 clock-names = "gpio";
719         };
720
721         main_gpio4: gpio@620000 {
722                 compatible = "ti,j721e-gpio", "ti,keystone-gpio";
723                 reg = <0x00 0x00620000 0x00 0x100>;
724                 gpio-controller;
725                 #gpio-cells = <2>;
726                 interrupt-parent = <&main_gpio_intr>;
727                 interrupts = <163>, <164>, <165>, <166>,
728                              <167>;
729                 interrupt-controller;
730                 #interrupt-cells = <2>;
731                 #address-cells = <0>;
732                 ti,ngpio = <69>;
733                 ti,davinci-gpio-unbanked = <0>;
734                 power-domains = <&k3_pds 109 TI_SCI_PD_EXCLUSIVE>;
735                 clocks = <&k3_clks 109 0>;
736                 clock-names = "gpio";
737         };
738
739         main_gpio6: gpio@630000 {
740                 compatible = "ti,j721e-gpio", "ti,keystone-gpio";
741                 reg = <0x00 0x00630000 0x00 0x100>;
742                 gpio-controller;
743                 #gpio-cells = <2>;
744                 interrupt-parent = <&main_gpio_intr>;
745                 interrupts = <172>, <173>, <174>, <175>,
746                              <176>;
747                 interrupt-controller;
748                 #interrupt-cells = <2>;
749                 #address-cells = <0>;
750                 ti,ngpio = <69>;
751                 ti,davinci-gpio-unbanked = <0>;
752                 power-domains = <&k3_pds 111 TI_SCI_PD_EXCLUSIVE>;
753                 clocks = <&k3_clks 111 0>;
754                 clock-names = "gpio";
755         };
756
757         main_r5fss0: r5fss@5c00000 {
758                 compatible = "ti,j7200-r5fss";
759                 ti,cluster-mode = <1>;
760                 #address-cells = <1>;
761                 #size-cells = <1>;
762                 ranges = <0x5c00000 0x00 0x5c00000 0x20000>,
763                          <0x5d00000 0x00 0x5d00000 0x20000>;
764                 power-domains = <&k3_pds 243 TI_SCI_PD_EXCLUSIVE>;
765
766                 main_r5fss0_core0: r5f@5c00000 {
767                         compatible = "ti,j7200-r5f";
768                         reg = <0x5c00000 0x00010000>,
769                               <0x5c10000 0x00010000>;
770                         reg-names = "atcm", "btcm";
771                         ti,sci = <&dmsc>;
772                         ti,sci-dev-id = <245>;
773                         ti,sci-proc-ids = <0x06 0xff>;
774                         resets = <&k3_reset 245 1>;
775                         firmware-name = "j7200-main-r5f0_0-fw";
776                         ti,atcm-enable = <1>;
777                         ti,btcm-enable = <1>;
778                         ti,loczrama = <1>;
779                 };
780
781                 main_r5fss0_core1: r5f@5d00000 {
782                         compatible = "ti,j7200-r5f";
783                         reg = <0x5d00000 0x00008000>,
784                               <0x5d10000 0x00008000>;
785                         reg-names = "atcm", "btcm";
786                         ti,sci = <&dmsc>;
787                         ti,sci-dev-id = <246>;
788                         ti,sci-proc-ids = <0x07 0xff>;
789                         resets = <&k3_reset 246 1>;
790                         firmware-name = "j7200-main-r5f0_1-fw";
791                         ti,atcm-enable = <1>;
792                         ti,btcm-enable = <1>;
793                         ti,loczrama = <1>;
794                 };
795         };
796 };