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: mux-controller@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		cpsw0_phy_gmii_sel: phy@4044 {
43			compatible = "ti,j7200-cpsw5g-phy-gmii-sel";
44			ti,qsgmii-main-ports = <1>;
45			reg = <0x4044 0x10>;
46			#phy-cells = <1>;
47		};
48
49		usb_serdes_mux: mux-controller@4000 {
50			compatible = "mmio-mux";
51			#mux-control-cells = <1>;
52			mux-reg-masks = <0x4000 0x8000000>; /* USB0 to SERDES0 lane 1/3 mux */
53		};
54	};
55
56	gic500: interrupt-controller@1800000 {
57		compatible = "arm,gic-v3";
58		#address-cells = <2>;
59		#size-cells = <2>;
60		ranges;
61		#interrupt-cells = <3>;
62		interrupt-controller;
63		reg = <0x00 0x01800000 0x00 0x10000>,	/* GICD */
64		      <0x00 0x01900000 0x00 0x100000>,	/* GICR */
65		      <0x00 0x6f000000 0x00 0x2000>,	/* GICC */
66		      <0x00 0x6f010000 0x00 0x1000>,	/* GICH */
67		      <0x00 0x6f020000 0x00 0x2000>;	/* GICV */
68
69		/* vcpumntirq: virtual CPU interface maintenance interrupt */
70		interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
71
72		gic_its: msi-controller@1820000 {
73			compatible = "arm,gic-v3-its";
74			reg = <0x00 0x01820000 0x00 0x10000>;
75			socionext,synquacer-pre-its = <0x1000000 0x400000>;
76			msi-controller;
77			#msi-cells = <1>;
78		};
79	};
80
81	main_gpio_intr: interrupt-controller@a00000 {
82		compatible = "ti,sci-intr";
83		reg = <0x00 0x00a00000 0x00 0x800>;
84		ti,intr-trigger-type = <1>;
85		interrupt-controller;
86		interrupt-parent = <&gic500>;
87		#interrupt-cells = <1>;
88		ti,sci = <&dmsc>;
89		ti,sci-dev-id = <131>;
90		ti,interrupt-ranges = <8 392 56>;
91	};
92
93	main_navss: bus@30000000 {
94		compatible = "simple-mfd";
95		#address-cells = <2>;
96		#size-cells = <2>;
97		ranges = <0x00 0x30000000 0x00 0x30000000 0x00 0x0c400000>;
98		ti,sci-dev-id = <199>;
99		dma-coherent;
100		dma-ranges;
101
102		main_navss_intr: interrupt-controller@310e0000 {
103			compatible = "ti,sci-intr";
104			reg = <0x00 0x310e0000 0x00 0x4000>;
105			ti,intr-trigger-type = <4>;
106			interrupt-controller;
107			interrupt-parent = <&gic500>;
108			#interrupt-cells = <1>;
109			ti,sci = <&dmsc>;
110			ti,sci-dev-id = <213>;
111			ti,interrupt-ranges = <0 64 64>,
112					      <64 448 64>,
113					      <128 672 64>;
114		};
115
116		main_udmass_inta: msi-controller@33d00000 {
117			compatible = "ti,sci-inta";
118			reg = <0x00 0x33d00000 0x00 0x100000>;
119			interrupt-controller;
120			#interrupt-cells = <0>;
121			interrupt-parent = <&main_navss_intr>;
122			msi-controller;
123			ti,sci = <&dmsc>;
124			ti,sci-dev-id = <209>;
125			ti,interrupt-ranges = <0 0 256>;
126		};
127
128		secure_proxy_main: mailbox@32c00000 {
129			compatible = "ti,am654-secure-proxy";
130			#mbox-cells = <1>;
131			reg-names = "target_data", "rt", "scfg";
132			reg = <0x00 0x32c00000 0x00 0x100000>,
133			      <0x00 0x32400000 0x00 0x100000>,
134			      <0x00 0x32800000 0x00 0x100000>;
135			interrupt-names = "rx_011";
136			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
137		};
138
139		hwspinlock: spinlock@30e00000 {
140			compatible = "ti,am654-hwspinlock";
141			reg = <0x00 0x30e00000 0x00 0x1000>;
142			#hwlock-cells = <1>;
143		};
144
145		mailbox0_cluster0: mailbox@31f80000 {
146			compatible = "ti,am654-mailbox";
147			reg = <0x00 0x31f80000 0x00 0x200>;
148			#mbox-cells = <1>;
149			ti,mbox-num-users = <4>;
150			ti,mbox-num-fifos = <16>;
151			interrupt-parent = <&main_navss_intr>;
152			status = "disabled";
153		};
154
155		mailbox0_cluster1: mailbox@31f81000 {
156			compatible = "ti,am654-mailbox";
157			reg = <0x00 0x31f81000 0x00 0x200>;
158			#mbox-cells = <1>;
159			ti,mbox-num-users = <4>;
160			ti,mbox-num-fifos = <16>;
161			interrupt-parent = <&main_navss_intr>;
162			status = "disabled";
163		};
164
165		mailbox0_cluster2: mailbox@31f82000 {
166			compatible = "ti,am654-mailbox";
167			reg = <0x00 0x31f82000 0x00 0x200>;
168			#mbox-cells = <1>;
169			ti,mbox-num-users = <4>;
170			ti,mbox-num-fifos = <16>;
171			interrupt-parent = <&main_navss_intr>;
172			status = "disabled";
173		};
174
175		mailbox0_cluster3: mailbox@31f83000 {
176			compatible = "ti,am654-mailbox";
177			reg = <0x00 0x31f83000 0x00 0x200>;
178			#mbox-cells = <1>;
179			ti,mbox-num-users = <4>;
180			ti,mbox-num-fifos = <16>;
181			interrupt-parent = <&main_navss_intr>;
182			status = "disabled";
183		};
184
185		mailbox0_cluster4: mailbox@31f84000 {
186			compatible = "ti,am654-mailbox";
187			reg = <0x00 0x31f84000 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			status = "disabled";
193		};
194
195		mailbox0_cluster5: mailbox@31f85000 {
196			compatible = "ti,am654-mailbox";
197			reg = <0x00 0x31f85000 0x00 0x200>;
198			#mbox-cells = <1>;
199			ti,mbox-num-users = <4>;
200			ti,mbox-num-fifos = <16>;
201			interrupt-parent = <&main_navss_intr>;
202			status = "disabled";
203		};
204
205		mailbox0_cluster6: mailbox@31f86000 {
206			compatible = "ti,am654-mailbox";
207			reg = <0x00 0x31f86000 0x00 0x200>;
208			#mbox-cells = <1>;
209			ti,mbox-num-users = <4>;
210			ti,mbox-num-fifos = <16>;
211			interrupt-parent = <&main_navss_intr>;
212			status = "disabled";
213		};
214
215		mailbox0_cluster7: mailbox@31f87000 {
216			compatible = "ti,am654-mailbox";
217			reg = <0x00 0x31f87000 0x00 0x200>;
218			#mbox-cells = <1>;
219			ti,mbox-num-users = <4>;
220			ti,mbox-num-fifos = <16>;
221			interrupt-parent = <&main_navss_intr>;
222			status = "disabled";
223		};
224
225		mailbox0_cluster8: mailbox@31f88000 {
226			compatible = "ti,am654-mailbox";
227			reg = <0x00 0x31f88000 0x00 0x200>;
228			#mbox-cells = <1>;
229			ti,mbox-num-users = <4>;
230			ti,mbox-num-fifos = <16>;
231			interrupt-parent = <&main_navss_intr>;
232			status = "disabled";
233		};
234
235		mailbox0_cluster9: mailbox@31f89000 {
236			compatible = "ti,am654-mailbox";
237			reg = <0x00 0x31f89000 0x00 0x200>;
238			#mbox-cells = <1>;
239			ti,mbox-num-users = <4>;
240			ti,mbox-num-fifos = <16>;
241			interrupt-parent = <&main_navss_intr>;
242			status = "disabled";
243		};
244
245		mailbox0_cluster10: mailbox@31f8a000 {
246			compatible = "ti,am654-mailbox";
247			reg = <0x00 0x31f8a000 0x00 0x200>;
248			#mbox-cells = <1>;
249			ti,mbox-num-users = <4>;
250			ti,mbox-num-fifos = <16>;
251			interrupt-parent = <&main_navss_intr>;
252			status = "disabled";
253		};
254
255		mailbox0_cluster11: mailbox@31f8b000 {
256			compatible = "ti,am654-mailbox";
257			reg = <0x00 0x31f8b000 0x00 0x200>;
258			#mbox-cells = <1>;
259			ti,mbox-num-users = <4>;
260			ti,mbox-num-fifos = <16>;
261			interrupt-parent = <&main_navss_intr>;
262			status = "disabled";
263		};
264
265		main_ringacc: ringacc@3c000000 {
266			compatible = "ti,am654-navss-ringacc";
267			reg = <0x00 0x3c000000 0x00 0x400000>,
268			      <0x00 0x38000000 0x00 0x400000>,
269			      <0x00 0x31120000 0x00 0x100>,
270			      <0x00 0x33000000 0x00 0x40000>,
271			      <0x00 0x31080000 0x00 0x40000>;
272			reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target", "cfg";
273			ti,num-rings = <1024>;
274			ti,sci-rm-range-gp-rings = <0x1>; /* GP ring range */
275			ti,sci = <&dmsc>;
276			ti,sci-dev-id = <211>;
277			msi-parent = <&main_udmass_inta>;
278		};
279
280		main_udmap: dma-controller@31150000 {
281			compatible = "ti,j721e-navss-main-udmap";
282			reg = <0x00 0x31150000 0x00 0x100>,
283			      <0x00 0x34000000 0x00 0x100000>,
284			      <0x00 0x35000000 0x00 0x100000>;
285			reg-names = "gcfg", "rchanrt", "tchanrt";
286			msi-parent = <&main_udmass_inta>;
287			#dma-cells = <1>;
288
289			ti,sci = <&dmsc>;
290			ti,sci-dev-id = <212>;
291			ti,ringacc = <&main_ringacc>;
292
293			ti,sci-rm-range-tchan = <0x0d>, /* TX_CHAN */
294						<0x0f>, /* TX_HCHAN */
295						<0x10>; /* TX_UHCHAN */
296			ti,sci-rm-range-rchan = <0x0a>, /* RX_CHAN */
297						<0x0b>, /* RX_HCHAN */
298						<0x0c>; /* RX_UHCHAN */
299			ti,sci-rm-range-rflow = <0x00>; /* GP RFLOW */
300		};
301
302		cpts@310d0000 {
303			compatible = "ti,j721e-cpts";
304			reg = <0x00 0x310d0000 0x00 0x400>;
305			reg-names = "cpts";
306			clocks = <&k3_clks 201 1>;
307			clock-names = "cpts";
308			interrupts-extended = <&main_navss_intr 391>;
309			interrupt-names = "cpts";
310			ti,cpts-periodic-outputs = <6>;
311			ti,cpts-ext-ts-inputs = <8>;
312		};
313	};
314
315	cpsw0: ethernet@c000000 {
316		compatible = "ti,j7200-cpswxg-nuss";
317		#address-cells = <2>;
318		#size-cells = <2>;
319		reg = <0x00 0xc000000 0x00 0x200000>;
320		reg-names = "cpsw_nuss";
321		ranges = <0x00 0x00 0x00 0xc000000 0x00 0x200000>;
322		clocks = <&k3_clks 19 33>;
323		clock-names = "fck";
324		power-domains = <&k3_pds 19 TI_SCI_PD_EXCLUSIVE>;
325
326		dmas = <&main_udmap 0xca00>,
327		       <&main_udmap 0xca01>,
328		       <&main_udmap 0xca02>,
329		       <&main_udmap 0xca03>,
330		       <&main_udmap 0xca04>,
331		       <&main_udmap 0xca05>,
332		       <&main_udmap 0xca06>,
333		       <&main_udmap 0xca07>,
334		       <&main_udmap 0x4a00>;
335		dma-names = "tx0", "tx1", "tx2", "tx3",
336			    "tx4", "tx5", "tx6", "tx7",
337			    "rx";
338
339		status = "disabled";
340
341		ethernet-ports {
342			#address-cells = <1>;
343			#size-cells = <0>;
344			cpsw0_port1: port@1 {
345				reg = <1>;
346				ti,mac-only;
347				label = "port1";
348				status = "disabled";
349			};
350
351			cpsw0_port2: port@2 {
352				reg = <2>;
353				ti,mac-only;
354				label = "port2";
355				status = "disabled";
356			};
357
358			cpsw0_port3: port@3 {
359				reg = <3>;
360				ti,mac-only;
361				label = "port3";
362				status = "disabled";
363			};
364
365			cpsw0_port4: port@4 {
366				reg = <4>;
367				ti,mac-only;
368				label = "port4";
369				status = "disabled";
370			};
371		};
372
373		cpsw5g_mdio: mdio@f00 {
374			compatible = "ti,cpsw-mdio","ti,davinci_mdio";
375			reg = <0x00 0xf00 0x00 0x100>;
376			#address-cells = <1>;
377			#size-cells = <0>;
378			clocks = <&k3_clks 19 33>;
379			clock-names = "fck";
380			bus_freq = <1000000>;
381			status = "disabled";
382		};
383
384		cpts@3d000 {
385			compatible = "ti,j721e-cpts";
386			reg = <0x00 0x3d000 0x00 0x400>;
387			clocks = <&k3_clks 19 16>;
388			clock-names = "cpts";
389			interrupts-extended = <&gic500 GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
390			interrupt-names = "cpts";
391			ti,cpts-ext-ts-inputs = <4>;
392			ti,cpts-periodic-outputs = <2>;
393		};
394	};
395
396	/* TIMERIO pad input CTRLMMR_TIMER*_CTRL registers */
397	main_timerio_input: pinctrl@104200 {
398		compatible = "pinctrl-single";
399		reg = <0x0 0x104200 0x0 0x50>;
400		#pinctrl-cells = <1>;
401		pinctrl-single,register-width = <32>;
402		pinctrl-single,function-mask = <0x000001ff>;
403	};
404
405	/* TIMERIO pad output CTCTRLMMR_TIMERIO*_CTRL registers */
406	main_timerio_output: pinctrl@104280 {
407		compatible = "pinctrl-single";
408		reg = <0x0 0x104280 0x0 0x20>;
409		#pinctrl-cells = <1>;
410		pinctrl-single,register-width = <32>;
411		pinctrl-single,function-mask = <0x0000001f>;
412	};
413
414	main_pmx0: pinctrl@11c000 {
415		compatible = "pinctrl-single";
416		/* Proxy 0 addressing */
417		reg = <0x00 0x11c000 0x00 0x10c>;
418		#pinctrl-cells = <1>;
419		pinctrl-single,register-width = <32>;
420		pinctrl-single,function-mask = <0xffffffff>;
421	};
422
423	main_pmx1: pinctrl@11c11c {
424		compatible = "pinctrl-single";
425		/* Proxy 0 addressing */
426		reg = <0x00 0x11c11c 0x00 0xc>;
427		#pinctrl-cells = <1>;
428		pinctrl-single,register-width = <32>;
429		pinctrl-single,function-mask = <0xffffffff>;
430	};
431
432	main_uart0: serial@2800000 {
433		compatible = "ti,j721e-uart", "ti,am654-uart";
434		reg = <0x00 0x02800000 0x00 0x100>;
435		interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
436		clock-frequency = <48000000>;
437		current-speed = <115200>;
438		power-domains = <&k3_pds 146 TI_SCI_PD_EXCLUSIVE>;
439		clocks = <&k3_clks 146 2>;
440		clock-names = "fclk";
441		status = "disabled";
442	};
443
444	main_uart1: serial@2810000 {
445		compatible = "ti,j721e-uart", "ti,am654-uart";
446		reg = <0x00 0x02810000 0x00 0x100>;
447		interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
448		clock-frequency = <48000000>;
449		current-speed = <115200>;
450		power-domains = <&k3_pds 278 TI_SCI_PD_EXCLUSIVE>;
451		clocks = <&k3_clks 278 2>;
452		clock-names = "fclk";
453		status = "disabled";
454	};
455
456	main_uart2: serial@2820000 {
457		compatible = "ti,j721e-uart", "ti,am654-uart";
458		reg = <0x00 0x02820000 0x00 0x100>;
459		interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>;
460		clock-frequency = <48000000>;
461		current-speed = <115200>;
462		power-domains = <&k3_pds 279 TI_SCI_PD_EXCLUSIVE>;
463		clocks = <&k3_clks 279 2>;
464		clock-names = "fclk";
465		status = "disabled";
466	};
467
468	main_uart3: serial@2830000 {
469		compatible = "ti,j721e-uart", "ti,am654-uart";
470		reg = <0x00 0x02830000 0x00 0x100>;
471		interrupts = <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>;
472		clock-frequency = <48000000>;
473		current-speed = <115200>;
474		power-domains = <&k3_pds 280 TI_SCI_PD_EXCLUSIVE>;
475		clocks = <&k3_clks 280 2>;
476		clock-names = "fclk";
477		status = "disabled";
478	};
479
480	main_uart4: serial@2840000 {
481		compatible = "ti,j721e-uart", "ti,am654-uart";
482		reg = <0x00 0x02840000 0x00 0x100>;
483		interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>;
484		clock-frequency = <48000000>;
485		current-speed = <115200>;
486		power-domains = <&k3_pds 281 TI_SCI_PD_EXCLUSIVE>;
487		clocks = <&k3_clks 281 2>;
488		clock-names = "fclk";
489		status = "disabled";
490	};
491
492	main_uart5: serial@2850000 {
493		compatible = "ti,j721e-uart", "ti,am654-uart";
494		reg = <0x00 0x02850000 0x00 0x100>;
495		interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
496		clock-frequency = <48000000>;
497		current-speed = <115200>;
498		power-domains = <&k3_pds 282 TI_SCI_PD_EXCLUSIVE>;
499		clocks = <&k3_clks 282 2>;
500		clock-names = "fclk";
501		status = "disabled";
502	};
503
504	main_uart6: serial@2860000 {
505		compatible = "ti,j721e-uart", "ti,am654-uart";
506		reg = <0x00 0x02860000 0x00 0x100>;
507		interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>;
508		clock-frequency = <48000000>;
509		current-speed = <115200>;
510		power-domains = <&k3_pds 283 TI_SCI_PD_EXCLUSIVE>;
511		clocks = <&k3_clks 283 2>;
512		clock-names = "fclk";
513		status = "disabled";
514	};
515
516	main_uart7: serial@2870000 {
517		compatible = "ti,j721e-uart", "ti,am654-uart";
518		reg = <0x00 0x02870000 0x00 0x100>;
519		interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>;
520		clock-frequency = <48000000>;
521		current-speed = <115200>;
522		power-domains = <&k3_pds 284 TI_SCI_PD_EXCLUSIVE>;
523		clocks = <&k3_clks 284 2>;
524		clock-names = "fclk";
525		status = "disabled";
526	};
527
528	main_uart8: serial@2880000 {
529		compatible = "ti,j721e-uart", "ti,am654-uart";
530		reg = <0x00 0x02880000 0x00 0x100>;
531		interrupts = <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>;
532		clock-frequency = <48000000>;
533		current-speed = <115200>;
534		power-domains = <&k3_pds 285 TI_SCI_PD_EXCLUSIVE>;
535		clocks = <&k3_clks 285 2>;
536		clock-names = "fclk";
537		status = "disabled";
538	};
539
540	main_uart9: serial@2890000 {
541		compatible = "ti,j721e-uart", "ti,am654-uart";
542		reg = <0x00 0x02890000 0x00 0x100>;
543		interrupts = <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>;
544		clock-frequency = <48000000>;
545		current-speed = <115200>;
546		power-domains = <&k3_pds 286 TI_SCI_PD_EXCLUSIVE>;
547		clocks = <&k3_clks 286 2>;
548		clock-names = "fclk";
549		status = "disabled";
550	};
551
552	main_i2c0: i2c@2000000 {
553		compatible = "ti,j721e-i2c", "ti,omap4-i2c";
554		reg = <0x00 0x2000000 0x00 0x100>;
555		interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>;
556		#address-cells = <1>;
557		#size-cells = <0>;
558		clock-names = "fck";
559		clocks = <&k3_clks 187 1>;
560		power-domains = <&k3_pds 187 TI_SCI_PD_SHARED>;
561		status = "disabled";
562	};
563
564	main_i2c1: i2c@2010000 {
565		compatible = "ti,j721e-i2c", "ti,omap4-i2c";
566		reg = <0x00 0x2010000 0x00 0x100>;
567		interrupts = <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>;
568		#address-cells = <1>;
569		#size-cells = <0>;
570		clock-names = "fck";
571		clocks = <&k3_clks 188 1>;
572		power-domains = <&k3_pds 188 TI_SCI_PD_EXCLUSIVE>;
573		status = "disabled";
574	};
575
576	main_i2c2: i2c@2020000 {
577		compatible = "ti,j721e-i2c", "ti,omap4-i2c";
578		reg = <0x00 0x2020000 0x00 0x100>;
579		interrupts = <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>;
580		#address-cells = <1>;
581		#size-cells = <0>;
582		clock-names = "fck";
583		clocks = <&k3_clks 189 1>;
584		power-domains = <&k3_pds 189 TI_SCI_PD_EXCLUSIVE>;
585		status = "disabled";
586	};
587
588	main_i2c3: i2c@2030000 {
589		compatible = "ti,j721e-i2c", "ti,omap4-i2c";
590		reg = <0x00 0x2030000 0x00 0x100>;
591		interrupts = <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>;
592		#address-cells = <1>;
593		#size-cells = <0>;
594		clock-names = "fck";
595		clocks = <&k3_clks 190 1>;
596		power-domains = <&k3_pds 190 TI_SCI_PD_EXCLUSIVE>;
597		status = "disabled";
598	};
599
600	main_i2c4: i2c@2040000 {
601		compatible = "ti,j721e-i2c", "ti,omap4-i2c";
602		reg = <0x00 0x2040000 0x00 0x100>;
603		interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>;
604		#address-cells = <1>;
605		#size-cells = <0>;
606		clock-names = "fck";
607		clocks = <&k3_clks 191 1>;
608		power-domains = <&k3_pds 191 TI_SCI_PD_EXCLUSIVE>;
609		status = "disabled";
610	};
611
612	main_i2c5: i2c@2050000 {
613		compatible = "ti,j721e-i2c", "ti,omap4-i2c";
614		reg = <0x00 0x2050000 0x00 0x100>;
615		interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>;
616		#address-cells = <1>;
617		#size-cells = <0>;
618		clock-names = "fck";
619		clocks = <&k3_clks 192 1>;
620		power-domains = <&k3_pds 192 TI_SCI_PD_EXCLUSIVE>;
621		status = "disabled";
622	};
623
624	main_i2c6: i2c@2060000 {
625		compatible = "ti,j721e-i2c", "ti,omap4-i2c";
626		reg = <0x00 0x2060000 0x00 0x100>;
627		interrupts = <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>;
628		#address-cells = <1>;
629		#size-cells = <0>;
630		clock-names = "fck";
631		clocks = <&k3_clks 193 1>;
632		power-domains = <&k3_pds 193 TI_SCI_PD_EXCLUSIVE>;
633		status = "disabled";
634	};
635
636	main_sdhci0: mmc@4f80000 {
637		compatible = "ti,j7200-sdhci-8bit", "ti,j721e-sdhci-8bit";
638		reg = <0x00 0x04f80000 0x00 0x260>, <0x00 0x4f88000 0x00 0x134>;
639		interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
640		power-domains = <&k3_pds 91 TI_SCI_PD_EXCLUSIVE>;
641		clock-names = "clk_ahb", "clk_xin";
642		clocks = <&k3_clks 91 0>, <&k3_clks 91 3>;
643		ti,otap-del-sel-legacy = <0x0>;
644		ti,otap-del-sel-mmc-hs = <0x0>;
645		ti,otap-del-sel-ddr52 = <0x6>;
646		ti,otap-del-sel-hs200 = <0x8>;
647		ti,otap-del-sel-hs400 = <0x5>;
648		ti,itap-del-sel-legacy = <0x10>;
649		ti,itap-del-sel-mmc-hs = <0xa>;
650		ti,strobe-sel = <0x77>;
651		ti,clkbuf-sel = <0x7>;
652		ti,trm-icp = <0x8>;
653		bus-width = <8>;
654		mmc-ddr-1_8v;
655		mmc-hs200-1_8v;
656		mmc-hs400-1_8v;
657		dma-coherent;
658		status = "disabled";
659	};
660
661	main_sdhci1: mmc@4fb0000 {
662		compatible = "ti,j7200-sdhci-4bit", "ti,j721e-sdhci-4bit";
663		reg = <0x00 0x04fb0000 0x00 0x260>, <0x00 0x4fb8000 0x00 0x134>;
664		interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
665		power-domains = <&k3_pds 92 TI_SCI_PD_EXCLUSIVE>;
666		clock-names = "clk_ahb", "clk_xin";
667		clocks = <&k3_clks 92 1>, <&k3_clks 92 2>;
668		ti,otap-del-sel-legacy = <0x0>;
669		ti,otap-del-sel-sd-hs = <0x0>;
670		ti,otap-del-sel-sdr12 = <0xf>;
671		ti,otap-del-sel-sdr25 = <0xf>;
672		ti,otap-del-sel-sdr50 = <0xc>;
673		ti,otap-del-sel-sdr104 = <0x5>;
674		ti,otap-del-sel-ddr50 = <0xc>;
675		ti,itap-del-sel-legacy = <0x0>;
676		ti,itap-del-sel-sd-hs = <0x0>;
677		ti,itap-del-sel-sdr12 = <0x0>;
678		ti,itap-del-sel-sdr25 = <0x0>;
679		ti,clkbuf-sel = <0x7>;
680		ti,trm-icp = <0x8>;
681		dma-coherent;
682		status = "disabled";
683	};
684
685	serdes_wiz0: wiz@5060000 {
686		compatible = "ti,j721e-wiz-10g";
687		#address-cells = <1>;
688		#size-cells = <1>;
689		power-domains = <&k3_pds 292 TI_SCI_PD_EXCLUSIVE>;
690		clocks = <&k3_clks 292 11>, <&k3_clks 292 85>, <&serdes_refclk>;
691		clock-names = "fck", "core_ref_clk", "ext_ref_clk";
692		num-lanes = <4>;
693		#reset-cells = <1>;
694		ranges = <0x5060000 0x0 0x5060000 0x10000>;
695
696		assigned-clocks = <&k3_clks 292 85>;
697		assigned-clock-parents = <&k3_clks 292 89>;
698
699		wiz0_pll0_refclk: pll0-refclk {
700			clocks = <&k3_clks 292 85>, <&serdes_refclk>;
701			clock-output-names = "wiz0_pll0_refclk";
702			#clock-cells = <0>;
703			assigned-clocks = <&wiz0_pll0_refclk>;
704			assigned-clock-parents = <&k3_clks 292 85>;
705		};
706
707		wiz0_pll1_refclk: pll1-refclk {
708			clocks = <&k3_clks 292 85>, <&serdes_refclk>;
709			clock-output-names = "wiz0_pll1_refclk";
710			#clock-cells = <0>;
711			assigned-clocks = <&wiz0_pll1_refclk>;
712			assigned-clock-parents = <&k3_clks 292 85>;
713		};
714
715		wiz0_refclk_dig: refclk-dig {
716			clocks = <&k3_clks 292 85>, <&serdes_refclk>;
717			clock-output-names = "wiz0_refclk_dig";
718			#clock-cells = <0>;
719			assigned-clocks = <&wiz0_refclk_dig>;
720			assigned-clock-parents = <&k3_clks 292 85>;
721		};
722
723		wiz0_cmn_refclk_dig_div: cmn-refclk-dig-div {
724			clocks = <&wiz0_refclk_dig>;
725			#clock-cells = <0>;
726		};
727
728		serdes0: serdes@5060000 {
729			compatible = "ti,j721e-serdes-10g";
730			reg = <0x05060000 0x00010000>;
731			reg-names = "torrent_phy";
732			resets = <&serdes_wiz0 0>;
733			reset-names = "torrent_reset";
734			clocks = <&wiz0_pll0_refclk>;
735			clock-names = "refclk";
736			#address-cells = <1>;
737			#size-cells = <0>;
738		};
739	};
740
741	pcie1_rc: pcie@2910000 {
742		compatible = "ti,j7200-pcie-host", "ti,j721e-pcie-host";
743		reg = <0x00 0x02910000 0x00 0x1000>,
744		      <0x00 0x02917000 0x00 0x400>,
745		      <0x00 0x0d800000 0x00 0x00800000>,
746		      <0x00 0x18000000 0x00 0x00001000>;
747		reg-names = "intd_cfg", "user_cfg", "reg", "cfg";
748		interrupt-names = "link_state";
749		interrupts = <GIC_SPI 330 IRQ_TYPE_EDGE_RISING>;
750		device_type = "pci";
751		ti,syscon-pcie-ctrl = <&scm_conf 0x4074>;
752		max-link-speed = <3>;
753		num-lanes = <4>;
754		power-domains = <&k3_pds 240 TI_SCI_PD_EXCLUSIVE>;
755		clocks = <&k3_clks 240 6>;
756		clock-names = "fck";
757		#address-cells = <3>;
758		#size-cells = <2>;
759		bus-range = <0x0 0xff>;
760		cdns,no-bar-match-nbits = <64>;
761		vendor-id = <0x104c>;
762		device-id = <0xb00f>;
763		msi-map = <0x0 &gic_its 0x0 0x10000>;
764		dma-coherent;
765		ranges = <0x01000000 0x0 0x18001000  0x00 0x18001000  0x0 0x0010000>,
766			 <0x02000000 0x0 0x18011000  0x00 0x18011000  0x0 0x7fef000>;
767		dma-ranges = <0x02000000 0x0 0x0 0x0 0x0 0x10000 0x0>;
768	};
769
770	pcie1_ep: pcie-ep@2910000 {
771		compatible = "ti,j7200-pcie-ep", "ti,j721e-pcie-ep";
772		reg = <0x00 0x02910000 0x00 0x1000>,
773		      <0x00 0x02917000 0x00 0x400>,
774		      <0x00 0x0d800000 0x00 0x00800000>,
775		      <0x00 0x18000000 0x00 0x08000000>;
776		reg-names = "intd_cfg", "user_cfg", "reg", "mem";
777		interrupt-names = "link_state";
778		interrupts = <GIC_SPI 330 IRQ_TYPE_EDGE_RISING>;
779		ti,syscon-pcie-ctrl = <&scm_conf 0x4074>;
780		max-link-speed = <3>;
781		num-lanes = <4>;
782		power-domains = <&k3_pds 240 TI_SCI_PD_EXCLUSIVE>;
783		clocks = <&k3_clks 240 6>;
784		clock-names = "fck";
785		max-functions = /bits/ 8 <6>;
786		max-virtual-functions = /bits/ 8 <4 4 4 4 0 0>;
787		dma-coherent;
788	};
789
790	usbss0: cdns-usb@4104000 {
791		compatible = "ti,j721e-usb";
792		reg = <0x00 0x4104000 0x00 0x100>;
793		dma-coherent;
794		power-domains = <&k3_pds 288 TI_SCI_PD_EXCLUSIVE>;
795		clocks = <&k3_clks 288 12>, <&k3_clks 288 3>;
796		clock-names = "ref", "lpm";
797		assigned-clocks = <&k3_clks 288 12>;	/* USB2_REFCLK */
798		assigned-clock-parents = <&k3_clks 288 13>; /* HFOSC0 */
799		#address-cells = <2>;
800		#size-cells = <2>;
801		ranges;
802
803		usb0: usb@6000000 {
804			compatible = "cdns,usb3";
805			reg = <0x00 0x6000000 0x00 0x10000>,
806			      <0x00 0x6010000 0x00 0x10000>,
807			      <0x00 0x6020000 0x00 0x10000>;
808			reg-names = "otg", "xhci", "dev";
809			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,	/* irq.0 */
810				     <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,	/* irq.6 */
811				     <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;	/* otgirq.0 */
812			interrupt-names = "host",
813					  "peripheral",
814					  "otg";
815			maximum-speed = "super-speed";
816			dr_mode = "otg";
817			cdns,phyrst-a-enable;
818		};
819	};
820
821	main_gpio0: gpio@600000 {
822		compatible = "ti,j721e-gpio", "ti,keystone-gpio";
823		reg = <0x00 0x00600000 0x00 0x100>;
824		gpio-controller;
825		#gpio-cells = <2>;
826		interrupt-parent = <&main_gpio_intr>;
827		interrupts = <145>, <146>, <147>, <148>,
828			     <149>;
829		interrupt-controller;
830		#interrupt-cells = <2>;
831		ti,ngpio = <69>;
832		ti,davinci-gpio-unbanked = <0>;
833		power-domains = <&k3_pds 105 TI_SCI_PD_EXCLUSIVE>;
834		clocks = <&k3_clks 105 0>;
835		clock-names = "gpio";
836	};
837
838	main_gpio2: gpio@610000 {
839		compatible = "ti,j721e-gpio", "ti,keystone-gpio";
840		reg = <0x00 0x00610000 0x00 0x100>;
841		gpio-controller;
842		#gpio-cells = <2>;
843		interrupt-parent = <&main_gpio_intr>;
844		interrupts = <154>, <155>, <156>, <157>,
845			     <158>;
846		interrupt-controller;
847		#interrupt-cells = <2>;
848		ti,ngpio = <69>;
849		ti,davinci-gpio-unbanked = <0>;
850		power-domains = <&k3_pds 107 TI_SCI_PD_EXCLUSIVE>;
851		clocks = <&k3_clks 107 0>;
852		clock-names = "gpio";
853	};
854
855	main_gpio4: gpio@620000 {
856		compatible = "ti,j721e-gpio", "ti,keystone-gpio";
857		reg = <0x00 0x00620000 0x00 0x100>;
858		gpio-controller;
859		#gpio-cells = <2>;
860		interrupt-parent = <&main_gpio_intr>;
861		interrupts = <163>, <164>, <165>, <166>,
862			     <167>;
863		interrupt-controller;
864		#interrupt-cells = <2>;
865		ti,ngpio = <69>;
866		ti,davinci-gpio-unbanked = <0>;
867		power-domains = <&k3_pds 109 TI_SCI_PD_EXCLUSIVE>;
868		clocks = <&k3_clks 109 0>;
869		clock-names = "gpio";
870	};
871
872	main_gpio6: gpio@630000 {
873		compatible = "ti,j721e-gpio", "ti,keystone-gpio";
874		reg = <0x00 0x00630000 0x00 0x100>;
875		gpio-controller;
876		#gpio-cells = <2>;
877		interrupt-parent = <&main_gpio_intr>;
878		interrupts = <172>, <173>, <174>, <175>,
879			     <176>;
880		interrupt-controller;
881		#interrupt-cells = <2>;
882		ti,ngpio = <69>;
883		ti,davinci-gpio-unbanked = <0>;
884		power-domains = <&k3_pds 111 TI_SCI_PD_EXCLUSIVE>;
885		clocks = <&k3_clks 111 0>;
886		clock-names = "gpio";
887	};
888
889	main_spi0: spi@2100000 {
890		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
891		reg = <0x00 0x02100000 0x00 0x400>;
892		interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
893		#address-cells = <1>;
894		#size-cells = <0>;
895		power-domains = <&k3_pds 266 TI_SCI_PD_EXCLUSIVE>;
896		clocks = <&k3_clks 266 1>;
897		status = "disabled";
898	};
899
900	main_spi1: spi@2110000 {
901		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
902		reg = <0x00 0x02110000 0x00 0x400>;
903		interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>;
904		#address-cells = <1>;
905		#size-cells = <0>;
906		power-domains = <&k3_pds 267 TI_SCI_PD_EXCLUSIVE>;
907		clocks = <&k3_clks 267 1>;
908		status = "disabled";
909	};
910
911	main_spi2: spi@2120000 {
912		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
913		reg = <0x00 0x02120000 0x00 0x400>;
914		interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
915		#address-cells = <1>;
916		#size-cells = <0>;
917		power-domains = <&k3_pds 268 TI_SCI_PD_EXCLUSIVE>;
918		clocks = <&k3_clks 268 1>;
919		status = "disabled";
920	};
921
922	main_spi3: spi@2130000 {
923		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
924		reg = <0x00 0x02130000 0x00 0x400>;
925		interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
926		#address-cells = <1>;
927		#size-cells = <0>;
928		power-domains = <&k3_pds 269 TI_SCI_PD_EXCLUSIVE>;
929		clocks = <&k3_clks 269 1>;
930		status = "disabled";
931	};
932
933	main_spi4: spi@2140000 {
934		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
935		reg = <0x00 0x02140000 0x00 0x400>;
936		interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
937		#address-cells = <1>;
938		#size-cells = <0>;
939		power-domains = <&k3_pds 270 TI_SCI_PD_EXCLUSIVE>;
940		clocks = <&k3_clks 270 1>;
941		status = "disabled";
942	};
943
944	main_spi5: spi@2150000 {
945		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
946		reg = <0x00 0x02150000 0x00 0x400>;
947		interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
948		#address-cells = <1>;
949		#size-cells = <0>;
950		power-domains = <&k3_pds 271 TI_SCI_PD_EXCLUSIVE>;
951		clocks = <&k3_clks 271 1>;
952		status = "disabled";
953	};
954
955	main_spi6: spi@2160000 {
956		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
957		reg = <0x00 0x02160000 0x00 0x400>;
958		interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
959		#address-cells = <1>;
960		#size-cells = <0>;
961		power-domains = <&k3_pds 272 TI_SCI_PD_EXCLUSIVE>;
962		clocks = <&k3_clks 272 1>;
963		status = "disabled";
964	};
965
966	main_spi7: spi@2170000 {
967		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
968		reg = <0x00 0x02170000 0x00 0x400>;
969		interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
970		#address-cells = <1>;
971		#size-cells = <0>;
972		power-domains = <&k3_pds 273 TI_SCI_PD_EXCLUSIVE>;
973		clocks = <&k3_clks 273 1>;
974		status = "disabled";
975	};
976
977	watchdog0: watchdog@2200000 {
978		compatible = "ti,j7-rti-wdt";
979		reg = <0x0 0x2200000 0x0 0x100>;
980		clocks = <&k3_clks 252 1>;
981		power-domains = <&k3_pds 252 TI_SCI_PD_EXCLUSIVE>;
982		assigned-clocks = <&k3_clks 252 1>;
983		assigned-clock-parents = <&k3_clks 252 5>;
984	};
985
986	watchdog1: watchdog@2210000 {
987		compatible = "ti,j7-rti-wdt";
988		reg = <0x0 0x2210000 0x0 0x100>;
989		clocks = <&k3_clks 253 1>;
990		power-domains = <&k3_pds 253 TI_SCI_PD_EXCLUSIVE>;
991		assigned-clocks = <&k3_clks 253 1>;
992		assigned-clock-parents = <&k3_clks 253 5>;
993	};
994
995	main_timer0: timer@2400000 {
996		compatible = "ti,am654-timer";
997		reg = <0x00 0x2400000 0x00 0x400>;
998		interrupts = <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>;
999		clocks = <&k3_clks 49 1>;
1000		clock-names = "fck";
1001		assigned-clocks = <&k3_clks 49 1>;
1002		assigned-clock-parents = <&k3_clks 49 2>;
1003		power-domains = <&k3_pds 49 TI_SCI_PD_EXCLUSIVE>;
1004		ti,timer-pwm;
1005	};
1006
1007	main_timer1: timer@2410000 {
1008		compatible = "ti,am654-timer";
1009		reg = <0x00 0x2410000 0x00 0x400>;
1010		interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>;
1011		clocks = <&k3_clks 50 1>;
1012		clock-names = "fck";
1013		assigned-clocks = <&k3_clks 50 1>, <&k3_clks 313 0>;
1014		assigned-clock-parents = <&k3_clks 50 2>, <&k3_clks 313 1>;
1015		power-domains = <&k3_pds 50 TI_SCI_PD_EXCLUSIVE>;
1016		ti,timer-pwm;
1017	};
1018
1019	main_timer2: timer@2420000 {
1020		compatible = "ti,am654-timer";
1021		reg = <0x00 0x2420000 0x00 0x400>;
1022		interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
1023		clocks = <&k3_clks 51 1>;
1024		clock-names = "fck";
1025		assigned-clocks = <&k3_clks 51 1>;
1026		assigned-clock-parents = <&k3_clks 51 2>;
1027		power-domains = <&k3_pds 49 TI_SCI_PD_EXCLUSIVE>;
1028		ti,timer-pwm;
1029	};
1030
1031	main_timer3: timer@2430000 {
1032		compatible = "ti,am654-timer";
1033		reg = <0x00 0x2430000 0x00 0x400>;
1034		interrupts = <GIC_SPI 227 IRQ_TYPE_LEVEL_HIGH>;
1035		clocks = <&k3_clks 52 1>;
1036		clock-names = "fck";
1037		assigned-clocks = <&k3_clks 52 1>, <&k3_clks 314 0>;
1038		assigned-clock-parents = <&k3_clks 52 2>, <&k3_clks 314 1>;
1039		power-domains = <&k3_pds 52 TI_SCI_PD_EXCLUSIVE>;
1040		ti,timer-pwm;
1041	};
1042
1043	main_timer4: timer@2440000 {
1044		compatible = "ti,am654-timer";
1045		reg = <0x00 0x2440000 0x00 0x400>;
1046		interrupts = <GIC_SPI 228 IRQ_TYPE_LEVEL_HIGH>;
1047		clocks = <&k3_clks 53 1>;
1048		clock-names = "fck";
1049		assigned-clocks = <&k3_clks 53 1>;
1050		assigned-clock-parents = <&k3_clks 53 2>;
1051		power-domains = <&k3_pds 53 TI_SCI_PD_EXCLUSIVE>;
1052		ti,timer-pwm;
1053	};
1054
1055	main_timer5: timer@2450000 {
1056		compatible = "ti,am654-timer";
1057		reg = <0x00 0x2450000 0x00 0x400>;
1058		interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
1059		clocks = <&k3_clks 54 1>;
1060		clock-names = "fck";
1061		assigned-clocks = <&k3_clks 54 1>, <&k3_clks 315 0>;
1062		assigned-clock-parents = <&k3_clks 54 2>, <&k3_clks 315 1>;
1063		power-domains = <&k3_pds 54 TI_SCI_PD_EXCLUSIVE>;
1064		ti,timer-pwm;
1065	};
1066
1067	main_timer6: timer@2460000 {
1068		compatible = "ti,am654-timer";
1069		reg = <0x00 0x2460000 0x00 0x400>;
1070		interrupts = <GIC_SPI 230 IRQ_TYPE_LEVEL_HIGH>;
1071		clocks = <&k3_clks 55 1>;
1072		clock-names = "fck";
1073		assigned-clocks = <&k3_clks 55 1>;
1074		assigned-clock-parents = <&k3_clks 55 2>;
1075		power-domains = <&k3_pds 55 TI_SCI_PD_EXCLUSIVE>;
1076		ti,timer-pwm;
1077	};
1078
1079	main_timer7: timer@2470000 {
1080		compatible = "ti,am654-timer";
1081		reg = <0x00 0x2470000 0x00 0x400>;
1082		interrupts = <GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>;
1083		clocks = <&k3_clks 57 1>;
1084		clock-names = "fck";
1085		assigned-clocks = <&k3_clks 57 1>, <&k3_clks 316 0>;
1086		assigned-clock-parents = <&k3_clks 57 2>, <&k3_clks 316 1>;
1087		power-domains = <&k3_pds 57 TI_SCI_PD_EXCLUSIVE>;
1088		ti,timer-pwm;
1089	};
1090
1091	main_timer8: timer@2480000 {
1092		compatible = "ti,am654-timer";
1093		reg = <0x00 0x2480000 0x00 0x400>;
1094		interrupts = <GIC_SPI 232 IRQ_TYPE_LEVEL_HIGH>;
1095		clocks = <&k3_clks 58 1>;
1096		clock-names = "fck";
1097		assigned-clocks = <&k3_clks 58 1>;
1098		assigned-clock-parents = <&k3_clks 58 2>;
1099		power-domains = <&k3_pds 58 TI_SCI_PD_EXCLUSIVE>;
1100		ti,timer-pwm;
1101	};
1102
1103	main_timer9: timer@2490000 {
1104		compatible = "ti,am654-timer";
1105		reg = <0x00 0x2490000 0x00 0x400>;
1106		interrupts = <GIC_SPI 233 IRQ_TYPE_LEVEL_HIGH>;
1107		clocks = <&k3_clks 59 1>;
1108		clock-names = "fck";
1109		assigned-clocks = <&k3_clks 59 1>, <&k3_clks 317 0>;
1110		assigned-clock-parents = <&k3_clks 59 2>, <&k3_clks 317 1>;
1111		power-domains = <&k3_pds 59 TI_SCI_PD_EXCLUSIVE>;
1112		ti,timer-pwm;
1113	};
1114
1115	main_timer10: timer@24a0000 {
1116		compatible = "ti,am654-timer";
1117		reg = <0x00 0x24a0000 0x00 0x400>;
1118		interrupts = <GIC_SPI 234 IRQ_TYPE_LEVEL_HIGH>;
1119		clocks = <&k3_clks 60 1>;
1120		clock-names = "fck";
1121		assigned-clocks = <&k3_clks 60 1>;
1122		assigned-clock-parents = <&k3_clks 60 2>;
1123		power-domains = <&k3_pds 60 TI_SCI_PD_EXCLUSIVE>;
1124		ti,timer-pwm;
1125	};
1126
1127	main_timer11: timer@24b0000 {
1128		compatible = "ti,am654-timer";
1129		reg = <0x00 0x24b0000 0x00 0x400>;
1130		interrupts = <GIC_SPI 235 IRQ_TYPE_LEVEL_HIGH>;
1131		clocks = <&k3_clks 62 1>;
1132		clock-names = "fck";
1133		assigned-clocks = <&k3_clks 62 1>, <&k3_clks 318 0>;
1134		assigned-clock-parents = <&k3_clks 62 2>, <&k3_clks 318 1>;
1135		power-domains = <&k3_pds 62 TI_SCI_PD_EXCLUSIVE>;
1136		ti,timer-pwm;
1137	};
1138
1139	main_timer12: timer@24c0000 {
1140		compatible = "ti,am654-timer";
1141		reg = <0x00 0x24c0000 0x00 0x400>;
1142		interrupts = <GIC_SPI 236 IRQ_TYPE_LEVEL_HIGH>;
1143		clocks = <&k3_clks 63 1>;
1144		clock-names = "fck";
1145		assigned-clocks = <&k3_clks 63 1>;
1146		assigned-clock-parents = <&k3_clks 63 2>;
1147		power-domains = <&k3_pds 63 TI_SCI_PD_EXCLUSIVE>;
1148		ti,timer-pwm;
1149	};
1150
1151	main_timer13: timer@24d0000 {
1152		compatible = "ti,am654-timer";
1153		reg = <0x00 0x24d0000 0x00 0x400>;
1154		interrupts = <GIC_SPI 237 IRQ_TYPE_LEVEL_HIGH>;
1155		clocks = <&k3_clks 64 1>;
1156		clock-names = "fck";
1157		assigned-clocks = <&k3_clks 64 1>, <&k3_clks 319 0>;
1158		assigned-clock-parents = <&k3_clks 64 2>, <&k3_clks 319 1>;
1159		power-domains = <&k3_pds 64 TI_SCI_PD_EXCLUSIVE>;
1160		ti,timer-pwm;
1161	};
1162
1163	main_timer14: timer@24e0000 {
1164		compatible = "ti,am654-timer";
1165		reg = <0x00 0x24e0000 0x00 0x400>;
1166		interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
1167		clocks = <&k3_clks 65 1>;
1168		clock-names = "fck";
1169		assigned-clocks = <&k3_clks 65 1>;
1170		assigned-clock-parents = <&k3_clks 65 2>;
1171		power-domains = <&k3_pds 65 TI_SCI_PD_EXCLUSIVE>;
1172		ti,timer-pwm;
1173	};
1174
1175	main_timer15: timer@24f0000 {
1176		compatible = "ti,am654-timer";
1177		reg = <0x00 0x24f0000 0x00 0x400>;
1178		interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>;
1179		clocks = <&k3_clks 66 1>;
1180		clock-names = "fck";
1181		assigned-clocks = <&k3_clks 66 1>, <&k3_clks 320 0>;
1182		assigned-clock-parents = <&k3_clks 66 2>, <&k3_clks 320 1>;
1183		power-domains = <&k3_pds 66 TI_SCI_PD_EXCLUSIVE>;
1184		ti,timer-pwm;
1185	};
1186
1187	main_timer16: timer@2500000 {
1188		compatible = "ti,am654-timer";
1189		reg = <0x00 0x2500000 0x00 0x400>;
1190		interrupts = <GIC_SPI 240 IRQ_TYPE_LEVEL_HIGH>;
1191		clocks = <&k3_clks 67 1>;
1192		clock-names = "fck";
1193		assigned-clocks = <&k3_clks 67 1>;
1194		assigned-clock-parents = <&k3_clks 67 2>;
1195		power-domains = <&k3_pds 67 TI_SCI_PD_EXCLUSIVE>;
1196		ti,timer-pwm;
1197	};
1198
1199	main_timer17: timer@2510000 {
1200		compatible = "ti,am654-timer";
1201		reg = <0x00 0x2510000 0x00 0x400>;
1202		interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>;
1203		clocks = <&k3_clks 68 1>;
1204		clock-names = "fck";
1205		assigned-clocks = <&k3_clks 68 1>, <&k3_clks 321 0>;
1206		assigned-clock-parents = <&k3_clks 68 2>, <&k3_clks 321 1>;
1207		power-domains = <&k3_pds 68 TI_SCI_PD_EXCLUSIVE>;
1208		ti,timer-pwm;
1209	};
1210
1211	main_timer18: timer@2520000 {
1212		compatible = "ti,am654-timer";
1213		reg = <0x00 0x2520000 0x00 0x400>;
1214		interrupts = <GIC_SPI 242 IRQ_TYPE_LEVEL_HIGH>;
1215		clocks = <&k3_clks 69 1>;
1216		clock-names = "fck";
1217		assigned-clocks = <&k3_clks 69 1>;
1218		assigned-clock-parents = <&k3_clks 69 2>;
1219		power-domains = <&k3_pds 69 TI_SCI_PD_EXCLUSIVE>;
1220		ti,timer-pwm;
1221	};
1222
1223	main_timer19: timer@2530000 {
1224		compatible = "ti,am654-timer";
1225		reg = <0x00 0x2530000 0x00 0x400>;
1226		interrupts = <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>;
1227		clocks = <&k3_clks 70 1>;
1228		clock-names = "fck";
1229		assigned-clocks = <&k3_clks 70 1>, <&k3_clks 322 0>;
1230		assigned-clock-parents = <&k3_clks 70 2>, <&k3_clks 322 1>;
1231		power-domains = <&k3_pds 70 TI_SCI_PD_EXCLUSIVE>;
1232		ti,timer-pwm;
1233	};
1234
1235	main_r5fss0: r5fss@5c00000 {
1236		compatible = "ti,j7200-r5fss";
1237		ti,cluster-mode = <1>;
1238		#address-cells = <1>;
1239		#size-cells = <1>;
1240		ranges = <0x5c00000 0x00 0x5c00000 0x20000>,
1241			 <0x5d00000 0x00 0x5d00000 0x20000>;
1242		power-domains = <&k3_pds 243 TI_SCI_PD_EXCLUSIVE>;
1243
1244		main_r5fss0_core0: r5f@5c00000 {
1245			compatible = "ti,j7200-r5f";
1246			reg = <0x5c00000 0x00010000>,
1247			      <0x5c10000 0x00010000>;
1248			reg-names = "atcm", "btcm";
1249			ti,sci = <&dmsc>;
1250			ti,sci-dev-id = <245>;
1251			ti,sci-proc-ids = <0x06 0xff>;
1252			resets = <&k3_reset 245 1>;
1253			firmware-name = "j7200-main-r5f0_0-fw";
1254			ti,atcm-enable = <1>;
1255			ti,btcm-enable = <1>;
1256			ti,loczrama = <1>;
1257		};
1258
1259		main_r5fss0_core1: r5f@5d00000 {
1260			compatible = "ti,j7200-r5f";
1261			reg = <0x5d00000 0x00008000>,
1262			      <0x5d10000 0x00008000>;
1263			reg-names = "atcm", "btcm";
1264			ti,sci = <&dmsc>;
1265			ti,sci-dev-id = <246>;
1266			ti,sci-proc-ids = <0x07 0xff>;
1267			resets = <&k3_reset 246 1>;
1268			firmware-name = "j7200-main-r5f0_1-fw";
1269			ti,atcm-enable = <1>;
1270			ti,btcm-enable = <1>;
1271			ti,loczrama = <1>;
1272		};
1273	};
1274
1275	main_esm: esm@700000 {
1276		compatible = "ti,j721e-esm";
1277		reg = <0x0 0x700000 0x0 0x1000>;
1278		ti,esm-pins = <656>, <657>;
1279	};
1280};
1281