blob: e1d43acc8550caf797d24375ced9304394572982 [file] [log] [blame]
Lokesh Vutlac8339702020-08-05 22:44:28 +05301// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source for J7200 SoC Family Main Domain peripherals
4 *
5 * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
6 */
7
Aswath Govindraju45c42472021-07-21 21:28:41 +05308/ {
9 serdes_refclk: serdes-refclk {
10 #clock-cells = <0>;
11 compatible = "fixed-clock";
12 };
13};
14
Lokesh Vutlac8339702020-08-05 22:44:28 +053015&cbass_main {
16 msmc_ram: sram@70000000 {
17 compatible = "mmio-sram";
Lokesh Vutla195eb682021-02-01 11:26:41 +053018 reg = <0x00 0x70000000 0x00 0x100000>;
Lokesh Vutlac8339702020-08-05 22:44:28 +053019 #address-cells = <1>;
20 #size-cells = <1>;
Lokesh Vutla195eb682021-02-01 11:26:41 +053021 ranges = <0x00 0x00 0x70000000 0x100000>;
Lokesh Vutlac8339702020-08-05 22:44:28 +053022
23 atf-sram@0 {
Lokesh Vutla195eb682021-02-01 11:26:41 +053024 reg = <0x00 0x20000>;
Lokesh Vutlac8339702020-08-05 22:44:28 +053025 };
26 };
27
Lokesh Vutla195eb682021-02-01 11:26:41 +053028 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
Lokesh Vutlac8339702020-08-05 22:44:28 +053049 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
Lokesh Vutla195eb682021-02-01 11:26:41 +053071 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 {
Lokesh Vutlac8339702020-08-05 22:44:28 +053083 compatible = "simple-mfd";
84 #address-cells = <2>;
85 #size-cells = <2>;
86 ranges = <0x00 0x30000000 0x00 0x30000000 0x00 0x0c400000>;
Lokesh Vutla195eb682021-02-01 11:26:41 +053087 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 };
Lokesh Vutlac8339702020-08-05 22:44:28 +0530113
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 };
Lokesh Vutla195eb682021-02-01 11:26:41 +0530124
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 };
Lokesh Vutlac8339702020-08-05 22:44:28 +0530286 };
287
Lokesh Vutla195eb682021-02-01 11:26:41 +0530288 main_pmx0: pinctrl@11c000 {
Lokesh Vutlac8339702020-08-05 22:44:28 +0530289 compatible = "pinctrl-single";
290 /* Proxy 0 addressing */
Lokesh Vutla195eb682021-02-01 11:26:41 +0530291 reg = <0x00 0x11c000 0x00 0x2b4>;
Lokesh Vutlac8339702020-08-05 22:44:28 +0530292 #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_sdhci0: sdhci@4f80000 {
428 compatible = "ti,j721e-sdhci-8bit";
429 reg = <0x0 0x04f80000 0x0 0x260>, <0x0 0x4f88000 0x0 0x134>;
430 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
431 power-domains = <&k3_pds 91 TI_SCI_PD_EXCLUSIVE>;
432 clock-names = "clk_xin", "clk_ahb";
433 clocks = <&k3_clks 91 3>, <&k3_clks 91 0>;
434 ti,otap-del-sel-legacy = <0x0>;
435 ti,otap-del-sel-mmc-hs = <0x0>;
436 ti,otap-del-sel-ddr52 = <0x6>;
437 ti,otap-del-sel-hs200 = <0x8>;
Aswath Govindrajuea78c8e2021-05-25 15:08:24 +0530438 ti,otap-del-sel-hs400 = <0x5>;
439 ti,itap-del-sel-legacy = <0x10>;
440 ti,itap-del-sel-mmc-hs = <0xa>;
Lokesh Vutlac8339702020-08-05 22:44:28 +0530441 ti,strobe-sel = <0x77>;
Aswath Govindrajuea78c8e2021-05-25 15:08:24 +0530442 ti,clkbuf-sel = <0x7>;
Lokesh Vutlac8339702020-08-05 22:44:28 +0530443 ti,trm-icp = <0x8>;
444 bus-width = <8>;
Aswath Govindrajuea78c8e2021-05-25 15:08:24 +0530445 mmc-hs400-1_8v;
Lokesh Vutlac8339702020-08-05 22:44:28 +0530446 mmc-hs200-1_8v;
447 mmc-ddr-1_8v;
448 dma-coherent;
449 };
450
451 main_sdhci1: sdhci@4fb0000 {
452 compatible = "ti,j721e-sdhci-4bit";
453 reg = <0x0 0x04fb0000 0x0 0x260>, <0x0 0x4fb8000 0x0 0x134>;
454 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
455 power-domains = <&k3_pds 92 TI_SCI_PD_EXCLUSIVE>;
456 clock-names = "clk_xin", "clk_ahb";
457 clocks = <&k3_clks 92 2>, <&k3_clks 92 1>;
458 ti,otap-del-sel-legacy = <0x0>;
459 ti,otap-del-sel-sd-hs = <0x0>;
460 ti,otap-del-sel-sdr12 = <0xf>;
461 ti,otap-del-sel-sdr25 = <0xf>;
462 ti,otap-del-sel-sdr50 = <0xc>;
463 ti,otap-del-sel-sdr104 = <0x5>;
464 ti,otap-del-sel-ddr50 = <0xc>;
Aswath Govindrajuea78c8e2021-05-25 15:08:24 +0530465 ti,itap-del-sel-legacy = <0x0>;
466 ti,itap-del-sel-sd-hs = <0x0>;
467 ti,itap-del-sel-sdr12 = <0x0>;
468 ti,itap-del-sel-sdr25 = <0x0>;
Faiz Abbas131c3322021-02-04 15:11:00 +0530469 ti,clkbuf-sel = <0x7>;
Aswath Govindrajuea78c8e2021-05-25 15:08:24 +0530470 ti,trm-icp = <0x8>;
Lokesh Vutlac8339702020-08-05 22:44:28 +0530471 dma-coherent;
472 };
473
474 main_i2c0: i2c@2000000 {
475 compatible = "ti,j721e-i2c", "ti,omap4-i2c";
Lokesh Vutla195eb682021-02-01 11:26:41 +0530476 reg = <0x00 0x2000000 0x00 0x100>;
Lokesh Vutlac8339702020-08-05 22:44:28 +0530477 interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>;
478 #address-cells = <1>;
479 #size-cells = <0>;
480 clock-names = "fck";
481 clocks = <&k3_clks 187 1>;
Lokesh Vutla195eb682021-02-01 11:26:41 +0530482 power-domains = <&k3_pds 187 TI_SCI_PD_SHARED>;
Lokesh Vutlac8339702020-08-05 22:44:28 +0530483 };
484
485 main_i2c1: i2c@2010000 {
486 compatible = "ti,j721e-i2c", "ti,omap4-i2c";
Lokesh Vutla195eb682021-02-01 11:26:41 +0530487 reg = <0x00 0x2010000 0x00 0x100>;
Lokesh Vutlac8339702020-08-05 22:44:28 +0530488 interrupts = <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>;
489 #address-cells = <1>;
490 #size-cells = <0>;
491 clock-names = "fck";
492 clocks = <&k3_clks 188 1>;
493 power-domains = <&k3_pds 188 TI_SCI_PD_EXCLUSIVE>;
494 };
495
496 main_i2c2: i2c@2020000 {
497 compatible = "ti,j721e-i2c", "ti,omap4-i2c";
Lokesh Vutla195eb682021-02-01 11:26:41 +0530498 reg = <0x00 0x2020000 0x00 0x100>;
Lokesh Vutlac8339702020-08-05 22:44:28 +0530499 interrupts = <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>;
500 #address-cells = <1>;
501 #size-cells = <0>;
502 clock-names = "fck";
503 clocks = <&k3_clks 189 1>;
504 power-domains = <&k3_pds 189 TI_SCI_PD_EXCLUSIVE>;
505 };
506
507 main_i2c3: i2c@2030000 {
508 compatible = "ti,j721e-i2c", "ti,omap4-i2c";
Lokesh Vutla195eb682021-02-01 11:26:41 +0530509 reg = <0x00 0x2030000 0x00 0x100>;
Lokesh Vutlac8339702020-08-05 22:44:28 +0530510 interrupts = <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>;
511 #address-cells = <1>;
512 #size-cells = <0>;
513 clock-names = "fck";
514 clocks = <&k3_clks 190 1>;
515 power-domains = <&k3_pds 190 TI_SCI_PD_EXCLUSIVE>;
516 };
517
518 main_i2c4: i2c@2040000 {
519 compatible = "ti,j721e-i2c", "ti,omap4-i2c";
Lokesh Vutla195eb682021-02-01 11:26:41 +0530520 reg = <0x00 0x2040000 0x00 0x100>;
Lokesh Vutlac8339702020-08-05 22:44:28 +0530521 interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>;
522 #address-cells = <1>;
523 #size-cells = <0>;
524 clock-names = "fck";
525 clocks = <&k3_clks 191 1>;
526 power-domains = <&k3_pds 191 TI_SCI_PD_EXCLUSIVE>;
527 };
528
529 main_i2c5: i2c@2050000 {
530 compatible = "ti,j721e-i2c", "ti,omap4-i2c";
Lokesh Vutla195eb682021-02-01 11:26:41 +0530531 reg = <0x00 0x2050000 0x00 0x100>;
Lokesh Vutlac8339702020-08-05 22:44:28 +0530532 interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>;
533 #address-cells = <1>;
534 #size-cells = <0>;
535 clock-names = "fck";
536 clocks = <&k3_clks 192 1>;
537 power-domains = <&k3_pds 192 TI_SCI_PD_EXCLUSIVE>;
538 };
539
540 main_i2c6: i2c@2060000 {
541 compatible = "ti,j721e-i2c", "ti,omap4-i2c";
Lokesh Vutla195eb682021-02-01 11:26:41 +0530542 reg = <0x00 0x2060000 0x00 0x100>;
Lokesh Vutlac8339702020-08-05 22:44:28 +0530543 interrupts = <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>;
544 #address-cells = <1>;
545 #size-cells = <0>;
546 clock-names = "fck";
547 clocks = <&k3_clks 193 1>;
548 power-domains = <&k3_pds 193 TI_SCI_PD_EXCLUSIVE>;
549 };
Vignesh Raghavendra9bbc49f2020-08-07 00:26:56 +0530550
Lokesh Vutla195eb682021-02-01 11:26:41 +0530551 main_gpio0: gpio@600000 {
552 compatible = "ti,j721e-gpio", "ti,keystone-gpio";
553 reg = <0x0 0x00600000 0x0 0x100>;
554 gpio-controller;
555 #gpio-cells = <2>;
556 interrupts = <105 0 IRQ_TYPE_EDGE_RISING>,
557 <105 1 IRQ_TYPE_EDGE_RISING>,
558 <105 2 IRQ_TYPE_EDGE_RISING>,
559 <105 3 IRQ_TYPE_EDGE_RISING>,
560 <105 4 IRQ_TYPE_EDGE_RISING>,
561 <105 5 IRQ_TYPE_EDGE_RISING>,
562 <105 6 IRQ_TYPE_EDGE_RISING>,
563 <105 7 IRQ_TYPE_EDGE_RISING>;
564 interrupt-controller;
565 #interrupt-cells = <2>;
566 ti,ngpio = <69>;
567 ti,davinci-gpio-unbanked = <0>;
568 power-domains = <&k3_pds 105 TI_SCI_PD_EXCLUSIVE>;
569 clocks = <&k3_clks 105 0>;
570 clock-names = "gpio";
571 };
572
Aswath Govindraju45c42472021-07-21 21:28:41 +0530573 serdes_wiz0: wiz@5060000 {
574 compatible = "ti,j721e-wiz-10g";
575 #address-cells = <1>;
576 #size-cells = <1>;
577 power-domains = <&k3_pds 292 TI_SCI_PD_EXCLUSIVE>;
578 clocks = <&k3_clks 292 11>, <&k3_clks 292 85>, <&serdes_refclk>;
579 clock-names = "fck", "core_ref_clk", "ext_ref_clk";
580 num-lanes = <4>;
581 #reset-cells = <1>;
582 ranges = <0x5060000 0x0 0x5060000 0x10000>;
583
584 assigned-clocks = <&k3_clks 292 85>;
585 assigned-clock-parents = <&k3_clks 292 89>;
586
587 wiz0_pll0_refclk: pll0-refclk {
588 clocks = <&k3_clks 292 85>, <&serdes_refclk>;
589 clock-output-names = "wiz0_pll0_refclk";
590 #clock-cells = <0>;
591 assigned-clocks = <&wiz0_pll0_refclk>;
592 assigned-clock-parents = <&k3_clks 292 85>;
593 };
594
595 wiz0_pll1_refclk: pll1-refclk {
596 clocks = <&k3_clks 292 85>, <&serdes_refclk>;
597 clock-output-names = "wiz0_pll1_refclk";
598 #clock-cells = <0>;
599 assigned-clocks = <&wiz0_pll1_refclk>;
600 assigned-clock-parents = <&k3_clks 292 85>;
601 };
602
603 wiz0_refclk_dig: refclk-dig {
604 clocks = <&k3_clks 292 85>, <&serdes_refclk>;
605 clock-output-names = "wiz0_refclk_dig";
606 #clock-cells = <0>;
607 assigned-clocks = <&wiz0_refclk_dig>;
608 assigned-clock-parents = <&k3_clks 292 85>;
609 };
610
611 wiz0_cmn_refclk_dig_div: cmn-refclk-dig-div {
612 clocks = <&wiz0_refclk_dig>;
613 #clock-cells = <0>;
614 };
615
616 serdes0: serdes@5060000 {
617 compatible = "ti,j721e-serdes-10g";
618 reg = <0x05060000 0x00010000>;
619 reg-names = "torrent_phy";
620 resets = <&serdes_wiz0 0>;
621 reset-names = "torrent_reset";
622 clocks = <&wiz0_pll0_refclk>;
623 clock-names = "refclk";
624 #address-cells = <1>;
625 #size-cells = <0>;
626 };
627 };
628
Lokesh Vutla195eb682021-02-01 11:26:41 +0530629 usbss0: cdns-usb@4104000 {
Vignesh Raghavendra9bbc49f2020-08-07 00:26:56 +0530630 compatible = "ti,j721e-usb";
631 reg = <0x00 0x4104000 0x00 0x100>;
632 dma-coherent;
633 power-domains = <&k3_pds 288 TI_SCI_PD_EXCLUSIVE>;
634 clocks = <&k3_clks 288 12>, <&k3_clks 288 3>;
Lokesh Vutla195eb682021-02-01 11:26:41 +0530635 clock-names = "ref", "lpm";
Vignesh Raghavendra9bbc49f2020-08-07 00:26:56 +0530636 assigned-clocks = <&k3_clks 288 12>; /* USB2_REFCLK */
637 assigned-clock-parents = <&k3_clks 288 13>; /* HFOSC0 */
638 #address-cells = <2>;
639 #size-cells = <2>;
640 ranges;
641
642 usb0: usb@6000000 {
643 compatible = "cdns,usb3";
644 reg = <0x00 0x6000000 0x00 0x10000>,
645 <0x00 0x6010000 0x00 0x10000>,
646 <0x00 0x6020000 0x00 0x10000>;
647 reg-names = "otg", "xhci", "dev";
648 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>, /* irq.0 */
649 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, /* irq.6 */
650 <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; /* otgirq.0 */
651 interrupt-names = "host",
652 "peripheral",
653 "otg";
654 maximum-speed = "super-speed";
655 dr_mode = "otg";
656 };
657 };
Suman Annafff422d2020-08-17 18:15:11 -0500658
659 main_r5fss0: r5fss@5c00000 {
660 compatible = "ti,j7200-r5fss";
Suman Annaa45e6db2021-01-26 18:20:56 -0600661 ti,cluster-mode = <0>;
Suman Annafff422d2020-08-17 18:15:11 -0500662 #address-cells = <1>;
663 #size-cells = <1>;
664 ranges = <0x5c00000 0x00 0x5c00000 0x20000>,
665 <0x5d00000 0x00 0x5d00000 0x20000>;
666 power-domains = <&k3_pds 243 TI_SCI_PD_EXCLUSIVE>;
667
668 main_r5fss0_core0: r5f@5c00000 {
669 compatible = "ti,j7200-r5f";
670 reg = <0x5c00000 0x00010000>,
671 <0x5c10000 0x00010000>;
672 reg-names = "atcm", "btcm";
673 ti,sci = <&dmsc>;
674 ti,sci-dev-id = <245>;
675 ti,sci-proc-ids = <0x06 0xFF>;
676 resets = <&k3_reset 245 1>;
677 firmware-name = "j7200-main-r5f0_0-fw";
Suman Annaa45e6db2021-01-26 18:20:56 -0600678 ti,atcm-enable = <1>;
679 ti,btcm-enable = <1>;
680 ti,loczrama = <1>;
Suman Annafff422d2020-08-17 18:15:11 -0500681 };
682
683 main_r5fss0_core1: r5f@5d00000 {
684 compatible = "ti,j7200-r5f";
685 reg = <0x5d00000 0x00008000>,
686 <0x5d10000 0x00008000>;
687 reg-names = "atcm", "btcm";
688 ti,sci = <&dmsc>;
689 ti,sci-dev-id = <246>;
690 ti,sci-proc-ids = <0x07 0xFF>;
691 resets = <&k3_reset 246 1>;
692 firmware-name = "j7200-main-r5f0_1-fw";
Suman Annaa45e6db2021-01-26 18:20:56 -0600693 ti,atcm-enable = <1>;
694 ti,btcm-enable = <1>;
695 ti,loczrama = <1>;
Suman Annafff422d2020-08-17 18:15:11 -0500696 };
697 };
Lokesh Vutlac8339702020-08-05 22:44:28 +0530698};