xref: /openbmc/linux/arch/arm64/boot/dts/ti/k3-am64-main.dtsi (revision cd9f6b324277d324ae056ffd8dda6287bcb649ab)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source for AM642 SoC Family Main Domain peripherals
4 *
5 * Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/
6 */
7
8#include <dt-bindings/phy/phy-cadence.h>
9#include <dt-bindings/phy/phy-ti.h>
10
11/ {
12	serdes_refclk: clock-cmnrefclk {
13		#clock-cells = <0>;
14		compatible = "fixed-clock";
15		clock-frequency = <0>;
16	};
17};
18
19&cbass_main {
20	oc_sram: sram@70000000 {
21		compatible = "mmio-sram";
22		reg = <0x00 0x70000000 0x00 0x200000>;
23		#address-cells = <1>;
24		#size-cells = <1>;
25		ranges = <0x0 0x00 0x70000000 0x200000>;
26
27		tfa-sram@1c0000 {
28			reg = <0x1c0000 0x20000>;
29		};
30
31		dmsc-sram@1e0000 {
32			reg = <0x1e0000 0x1c000>;
33		};
34
35		sproxy-sram@1fc000 {
36			reg = <0x1fc000 0x4000>;
37		};
38	};
39
40	main_conf: syscon@43000000 {
41		compatible = "ti,j721e-system-controller", "syscon", "simple-mfd";
42		reg = <0x0 0x43000000 0x0 0x20000>;
43		#address-cells = <1>;
44		#size-cells = <1>;
45		ranges = <0x0 0x0 0x43000000 0x20000>;
46
47		chipid@14 {
48			compatible = "ti,am654-chipid";
49			reg = <0x00000014 0x4>;
50		};
51
52		serdes_ln_ctrl: mux-controller {
53			compatible = "mmio-mux";
54			#mux-control-cells = <1>;
55			mux-reg-masks = <0x4080 0x3>; /* SERDES0 lane0 select */
56		};
57
58		phy_gmii_sel: phy@4044 {
59			compatible = "ti,am654-phy-gmii-sel";
60			reg = <0x4044 0x8>;
61			#phy-cells = <1>;
62		};
63
64		epwm_tbclk: clock-controller@4140 {
65			compatible = "ti,am64-epwm-tbclk";
66			reg = <0x4130 0x4>;
67			#clock-cells = <1>;
68		};
69	};
70
71	gic500: interrupt-controller@1800000 {
72		compatible = "arm,gic-v3";
73		#address-cells = <2>;
74		#size-cells = <2>;
75		ranges;
76		#interrupt-cells = <3>;
77		interrupt-controller;
78		reg = <0x00 0x01800000 0x00 0x10000>,	/* GICD */
79		      <0x00 0x01840000 0x00 0xC0000>,	/* GICR */
80		      <0x01 0x00000000 0x00 0x2000>,	/* GICC */
81		      <0x01 0x00010000 0x00 0x1000>,	/* GICH */
82		      <0x01 0x00020000 0x00 0x2000>;	/* GICV */
83		/*
84		 * vcpumntirq:
85		 * virtual CPU interface maintenance interrupt
86		 */
87		interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
88
89		gic_its: msi-controller@1820000 {
90			compatible = "arm,gic-v3-its";
91			reg = <0x00 0x01820000 0x00 0x10000>;
92			socionext,synquacer-pre-its = <0x1000000 0x400000>;
93			msi-controller;
94			#msi-cells = <1>;
95		};
96	};
97
98	dmss: bus@48000000 {
99		compatible = "simple-mfd";
100		#address-cells = <2>;
101		#size-cells = <2>;
102		dma-ranges;
103		ranges = <0x00 0x48000000 0x00 0x48000000 0x00 0x06400000>;
104
105		ti,sci-dev-id = <25>;
106
107		secure_proxy_main: mailbox@4d000000 {
108			compatible = "ti,am654-secure-proxy";
109			#mbox-cells = <1>;
110			reg-names = "target_data", "rt", "scfg";
111			reg = <0x00 0x4d000000 0x00 0x80000>,
112			      <0x00 0x4a600000 0x00 0x80000>,
113			      <0x00 0x4a400000 0x00 0x80000>;
114			interrupt-names = "rx_012";
115			interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
116		};
117
118		inta_main_dmss: interrupt-controller@48000000 {
119			compatible = "ti,sci-inta";
120			reg = <0x00 0x48000000 0x00 0x100000>;
121			#interrupt-cells = <0>;
122			interrupt-controller;
123			interrupt-parent = <&gic500>;
124			msi-controller;
125			ti,sci = <&dmsc>;
126			ti,sci-dev-id = <28>;
127			ti,interrupt-ranges = <4 68 36>;
128			ti,unmapped-event-sources = <&main_bcdma>, <&main_pktdma>;
129		};
130
131		main_bcdma: dma-controller@485c0100 {
132			compatible = "ti,am64-dmss-bcdma";
133			reg = <0x00 0x485c0100 0x00 0x100>,
134			      <0x00 0x4c000000 0x00 0x20000>,
135			      <0x00 0x4a820000 0x00 0x20000>,
136			      <0x00 0x4aa40000 0x00 0x20000>,
137			      <0x00 0x4bc00000 0x00 0x100000>;
138			reg-names = "gcfg", "bchanrt", "rchanrt", "tchanrt", "ringrt";
139			msi-parent = <&inta_main_dmss>;
140			#dma-cells = <3>;
141
142			ti,sci = <&dmsc>;
143			ti,sci-dev-id = <26>;
144			ti,sci-rm-range-bchan = <0x20>; /* BLOCK_COPY_CHAN */
145			ti,sci-rm-range-rchan = <0x21>; /* SPLIT_TR_RX_CHAN */
146			ti,sci-rm-range-tchan = <0x22>; /* SPLIT_TR_TX_CHAN */
147		};
148
149		main_pktdma: dma-controller@485c0000 {
150			compatible = "ti,am64-dmss-pktdma";
151			reg = <0x00 0x485c0000 0x00 0x100>,
152			      <0x00 0x4a800000 0x00 0x20000>,
153			      <0x00 0x4aa00000 0x00 0x40000>,
154			      <0x00 0x4b800000 0x00 0x400000>;
155			reg-names = "gcfg", "rchanrt", "tchanrt", "ringrt";
156			msi-parent = <&inta_main_dmss>;
157			#dma-cells = <2>;
158
159			ti,sci = <&dmsc>;
160			ti,sci-dev-id = <30>;
161			ti,sci-rm-range-tchan = <0x23>, /* UNMAPPED_TX_CHAN */
162						<0x24>, /* CPSW_TX_CHAN */
163						<0x25>, /* SAUL_TX_0_CHAN */
164						<0x26>, /* SAUL_TX_1_CHAN */
165						<0x27>, /* ICSSG_0_TX_CHAN */
166						<0x28>; /* ICSSG_1_TX_CHAN */
167			ti,sci-rm-range-tflow = <0x10>, /* RING_UNMAPPED_TX_CHAN */
168						<0x11>, /* RING_CPSW_TX_CHAN */
169						<0x12>, /* RING_SAUL_TX_0_CHAN */
170						<0x13>, /* RING_SAUL_TX_1_CHAN */
171						<0x14>, /* RING_ICSSG_0_TX_CHAN */
172						<0x15>; /* RING_ICSSG_1_TX_CHAN */
173			ti,sci-rm-range-rchan = <0x29>, /* UNMAPPED_RX_CHAN */
174						<0x2b>, /* CPSW_RX_CHAN */
175						<0x2d>, /* SAUL_RX_0_CHAN */
176						<0x2f>, /* SAUL_RX_1_CHAN */
177						<0x31>, /* SAUL_RX_2_CHAN */
178						<0x33>, /* SAUL_RX_3_CHAN */
179						<0x35>, /* ICSSG_0_RX_CHAN */
180						<0x37>; /* ICSSG_1_RX_CHAN */
181			ti,sci-rm-range-rflow = <0x2a>, /* FLOW_UNMAPPED_RX_CHAN */
182						<0x2c>, /* FLOW_CPSW_RX_CHAN */
183						<0x2e>, /* FLOW_SAUL_RX_0/1_CHAN */
184						<0x32>, /* FLOW_SAUL_RX_2/3_CHAN */
185						<0x36>, /* FLOW_ICSSG_0_RX_CHAN */
186						<0x38>; /* FLOW_ICSSG_1_RX_CHAN */
187		};
188	};
189
190	dmsc: system-controller@44043000 {
191		compatible = "ti,k2g-sci";
192		ti,host-id = <12>;
193		mbox-names = "rx", "tx";
194		mboxes = <&secure_proxy_main 12>,
195			<&secure_proxy_main 13>;
196		reg-names = "debug_messages";
197		reg = <0x00 0x44043000 0x00 0xfe0>;
198
199		k3_pds: power-controller {
200			compatible = "ti,sci-pm-domain";
201			#power-domain-cells = <2>;
202		};
203
204		k3_clks: clock-controller {
205			compatible = "ti,k2g-sci-clk";
206			#clock-cells = <2>;
207		};
208
209		k3_reset: reset-controller {
210			compatible = "ti,sci-reset";
211			#reset-cells = <2>;
212		};
213	};
214
215	main_pmx0: pinctrl@f4000 {
216		compatible = "pinctrl-single";
217		reg = <0x00 0xf4000 0x00 0x2d0>;
218		#pinctrl-cells = <1>;
219		pinctrl-single,register-width = <32>;
220		pinctrl-single,function-mask = <0xffffffff>;
221	};
222
223	main_timer0: timer@2400000 {
224		compatible = "ti,am654-timer";
225		reg = <0x00 0x2400000 0x00 0x400>;
226		interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
227		clocks = <&k3_clks 36 1>;
228		clock-names = "fck";
229		assigned-clocks = <&k3_clks 36 1>;
230		assigned-clock-parents = <&k3_clks 36 2>;
231		power-domains = <&k3_pds 36 TI_SCI_PD_EXCLUSIVE>;
232		ti,timer-pwm;
233	};
234
235	main_timer1: timer@2410000 {
236		compatible = "ti,am654-timer";
237		reg = <0x00 0x2410000 0x00 0x400>;
238		interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
239		clocks = <&k3_clks 37 1>;
240		clock-names = "fck";
241		assigned-clocks = <&k3_clks 37 1>;
242		assigned-clock-parents = <&k3_clks 37 2>;
243		power-domains = <&k3_pds 37 TI_SCI_PD_EXCLUSIVE>;
244		ti,timer-pwm;
245	};
246
247	main_timer2: timer@2420000 {
248		compatible = "ti,am654-timer";
249		reg = <0x00 0x2420000 0x00 0x400>;
250		interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
251		clocks = <&k3_clks 38 1>;
252		clock-names = "fck";
253		assigned-clocks = <&k3_clks 38 1>;
254		assigned-clock-parents = <&k3_clks 38 2>;
255		power-domains = <&k3_pds 38 TI_SCI_PD_EXCLUSIVE>;
256		ti,timer-pwm;
257	};
258
259	main_timer3: timer@2430000 {
260		compatible = "ti,am654-timer";
261		reg = <0x00 0x2430000 0x00 0x400>;
262		interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
263		clocks = <&k3_clks 39 1>;
264		clock-names = "fck";
265		assigned-clocks = <&k3_clks 39 1>;
266		assigned-clock-parents = <&k3_clks 39 2>;
267		power-domains = <&k3_pds 39 TI_SCI_PD_EXCLUSIVE>;
268		ti,timer-pwm;
269	};
270
271	main_timer4: timer@2440000 {
272		compatible = "ti,am654-timer";
273		reg = <0x00 0x2440000 0x00 0x400>;
274		interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>;
275		clocks = <&k3_clks 40 1>;
276		clock-names = "fck";
277		assigned-clocks = <&k3_clks 40 1>;
278		assigned-clock-parents = <&k3_clks 40 2>;
279		power-domains = <&k3_pds 40 TI_SCI_PD_EXCLUSIVE>;
280		ti,timer-pwm;
281	};
282
283	main_timer5: timer@2450000 {
284		compatible = "ti,am654-timer";
285		reg = <0x00 0x2450000 0x00 0x400>;
286		interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
287		clocks = <&k3_clks 41 1>;
288		clock-names = "fck";
289		assigned-clocks = <&k3_clks 41 1>;
290		assigned-clock-parents = <&k3_clks 41 2>;
291		power-domains = <&k3_pds 41 TI_SCI_PD_EXCLUSIVE>;
292		ti,timer-pwm;
293	};
294
295	main_timer6: timer@2460000 {
296		compatible = "ti,am654-timer";
297		reg = <0x00 0x2460000 0x00 0x400>;
298		interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
299		clocks = <&k3_clks 42 1>;
300		clock-names = "fck";
301		assigned-clocks = <&k3_clks 42 1>;
302		assigned-clock-parents = <&k3_clks 42 2>;
303		power-domains = <&k3_pds 42 TI_SCI_PD_EXCLUSIVE>;
304		ti,timer-pwm;
305	};
306
307	main_timer7: timer@2470000 {
308		compatible = "ti,am654-timer";
309		reg = <0x00 0x2470000 0x00 0x400>;
310		interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
311		clocks = <&k3_clks 43 1>;
312		clock-names = "fck";
313		assigned-clocks = <&k3_clks 43 1>;
314		assigned-clock-parents = <&k3_clks 43 2>;
315		power-domains = <&k3_pds 43 TI_SCI_PD_EXCLUSIVE>;
316		ti,timer-pwm;
317	};
318
319	main_timer8: timer@2480000 {
320		compatible = "ti,am654-timer";
321		reg = <0x00 0x2480000 0x00 0x400>;
322		interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>;
323		clocks = <&k3_clks 44 1>;
324		clock-names = "fck";
325		assigned-clocks = <&k3_clks 44 1>;
326		assigned-clock-parents = <&k3_clks 44 2>;
327		power-domains = <&k3_pds 44 TI_SCI_PD_EXCLUSIVE>;
328		ti,timer-pwm;
329	};
330
331	main_timer9: timer@2490000 {
332		compatible = "ti,am654-timer";
333		reg = <0x00 0x2490000 0x00 0x400>;
334		interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>;
335		clocks = <&k3_clks 45 1>;
336		clock-names = "fck";
337		assigned-clocks = <&k3_clks 45 1>;
338		assigned-clock-parents = <&k3_clks 45 2>;
339		power-domains = <&k3_pds 45 TI_SCI_PD_EXCLUSIVE>;
340		ti,timer-pwm;
341	};
342
343	main_timer10: timer@24a0000 {
344		compatible = "ti,am654-timer";
345		reg = <0x00 0x24a0000 0x00 0x400>;
346		interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
347		clocks = <&k3_clks 46 1>;
348		clock-names = "fck";
349		assigned-clocks = <&k3_clks 46 1>;
350		assigned-clock-parents = <&k3_clks 46 2>;
351		power-domains = <&k3_pds 46 TI_SCI_PD_EXCLUSIVE>;
352		ti,timer-pwm;
353	};
354
355	main_timer11: timer@24b0000 {
356		compatible = "ti,am654-timer";
357		reg = <0x00 0x24b0000 0x00 0x400>;
358		interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
359		clocks = <&k3_clks 47 1>;
360		clock-names = "fck";
361		assigned-clocks = <&k3_clks 47 1>;
362		assigned-clock-parents = <&k3_clks 47 2>;
363		power-domains = <&k3_pds 47 TI_SCI_PD_EXCLUSIVE>;
364		ti,timer-pwm;
365	};
366
367	main_esm: esm@420000 {
368		compatible = "ti,j721e-esm";
369		reg = <0x00 0x420000 0x00 0x1000>;
370		ti,esm-pins = <160>, <161>;
371	};
372
373	main_uart0: serial@2800000 {
374		compatible = "ti,am64-uart", "ti,am654-uart";
375		reg = <0x00 0x02800000 0x00 0x100>;
376		interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
377		clock-frequency = <48000000>;
378		power-domains = <&k3_pds 146 TI_SCI_PD_EXCLUSIVE>;
379		clocks = <&k3_clks 146 0>;
380		clock-names = "fclk";
381		status = "disabled";
382	};
383
384	main_uart1: serial@2810000 {
385		compatible = "ti,am64-uart", "ti,am654-uart";
386		reg = <0x00 0x02810000 0x00 0x100>;
387		interrupts = <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>;
388		clock-frequency = <48000000>;
389		power-domains = <&k3_pds 152 TI_SCI_PD_EXCLUSIVE>;
390		clocks = <&k3_clks 152 0>;
391		clock-names = "fclk";
392		status = "disabled";
393	};
394
395	main_uart2: serial@2820000 {
396		compatible = "ti,am64-uart", "ti,am654-uart";
397		reg = <0x00 0x02820000 0x00 0x100>;
398		interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>;
399		clock-frequency = <48000000>;
400		power-domains = <&k3_pds 153 TI_SCI_PD_EXCLUSIVE>;
401		clocks = <&k3_clks 153 0>;
402		clock-names = "fclk";
403		status = "disabled";
404	};
405
406	main_uart3: serial@2830000 {
407		compatible = "ti,am64-uart", "ti,am654-uart";
408		reg = <0x00 0x02830000 0x00 0x100>;
409		interrupts = <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>;
410		clock-frequency = <48000000>;
411		power-domains = <&k3_pds 154 TI_SCI_PD_EXCLUSIVE>;
412		clocks = <&k3_clks 154 0>;
413		clock-names = "fclk";
414		status = "disabled";
415	};
416
417	main_uart4: serial@2840000 {
418		compatible = "ti,am64-uart", "ti,am654-uart";
419		reg = <0x00 0x02840000 0x00 0x100>;
420		interrupts = <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>;
421		clock-frequency = <48000000>;
422		power-domains = <&k3_pds 155 TI_SCI_PD_EXCLUSIVE>;
423		clocks = <&k3_clks 155 0>;
424		clock-names = "fclk";
425		status = "disabled";
426	};
427
428	main_uart5: serial@2850000 {
429		compatible = "ti,am64-uart", "ti,am654-uart";
430		reg = <0x00 0x02850000 0x00 0x100>;
431		interrupts = <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>;
432		clock-frequency = <48000000>;
433		power-domains = <&k3_pds 156 TI_SCI_PD_EXCLUSIVE>;
434		clocks = <&k3_clks 156 0>;
435		clock-names = "fclk";
436		status = "disabled";
437	};
438
439	main_uart6: serial@2860000 {
440		compatible = "ti,am64-uart", "ti,am654-uart";
441		reg = <0x00 0x02860000 0x00 0x100>;
442		interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
443		clock-frequency = <48000000>;
444		power-domains = <&k3_pds 158 TI_SCI_PD_EXCLUSIVE>;
445		clocks = <&k3_clks 158 0>;
446		clock-names = "fclk";
447		status = "disabled";
448	};
449
450	main_i2c0: i2c@20000000 {
451		compatible = "ti,am64-i2c", "ti,omap4-i2c";
452		reg = <0x00 0x20000000 0x00 0x100>;
453		interrupts = <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
454		#address-cells = <1>;
455		#size-cells = <0>;
456		power-domains = <&k3_pds 102 TI_SCI_PD_EXCLUSIVE>;
457		clocks = <&k3_clks 102 2>;
458		clock-names = "fck";
459		status = "disabled";
460	};
461
462	main_i2c1: i2c@20010000 {
463		compatible = "ti,am64-i2c", "ti,omap4-i2c";
464		reg = <0x00 0x20010000 0x00 0x100>;
465		interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
466		#address-cells = <1>;
467		#size-cells = <0>;
468		power-domains = <&k3_pds 103 TI_SCI_PD_EXCLUSIVE>;
469		clocks = <&k3_clks 103 2>;
470		clock-names = "fck";
471		status = "disabled";
472	};
473
474	main_i2c2: i2c@20020000 {
475		compatible = "ti,am64-i2c", "ti,omap4-i2c";
476		reg = <0x00 0x20020000 0x00 0x100>;
477		interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
478		#address-cells = <1>;
479		#size-cells = <0>;
480		power-domains = <&k3_pds 104 TI_SCI_PD_EXCLUSIVE>;
481		clocks = <&k3_clks 104 2>;
482		clock-names = "fck";
483		status = "disabled";
484	};
485
486	main_i2c3: i2c@20030000 {
487		compatible = "ti,am64-i2c", "ti,omap4-i2c";
488		reg = <0x00 0x20030000 0x00 0x100>;
489		interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
490		#address-cells = <1>;
491		#size-cells = <0>;
492		power-domains = <&k3_pds 105 TI_SCI_PD_EXCLUSIVE>;
493		clocks = <&k3_clks 105 2>;
494		clock-names = "fck";
495		status = "disabled";
496	};
497
498	main_spi0: spi@20100000 {
499		compatible = "ti,am654-mcspi", "ti,omap4-mcspi";
500		reg = <0x00 0x20100000 0x00 0x400>;
501		interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
502		#address-cells = <1>;
503		#size-cells = <0>;
504		power-domains = <&k3_pds 141 TI_SCI_PD_EXCLUSIVE>;
505		clocks = <&k3_clks 141 0>;
506		dmas = <&main_pktdma 0xc300 0>, <&main_pktdma 0x4300 0>;
507		dma-names = "tx0", "rx0";
508		status = "disabled";
509	};
510
511	main_spi1: spi@20110000 {
512		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
513		reg = <0x00 0x20110000 0x00 0x400>;
514		interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
515		#address-cells = <1>;
516		#size-cells = <0>;
517		power-domains = <&k3_pds 142 TI_SCI_PD_EXCLUSIVE>;
518		clocks = <&k3_clks 142 0>;
519		status = "disabled";
520	};
521
522	main_spi2: spi@20120000 {
523		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
524		reg = <0x00 0x20120000 0x00 0x400>;
525		interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
526		#address-cells = <1>;
527		#size-cells = <0>;
528		power-domains = <&k3_pds 143 TI_SCI_PD_EXCLUSIVE>;
529		clocks = <&k3_clks 143 0>;
530		status = "disabled";
531	};
532
533	main_spi3: spi@20130000 {
534		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
535		reg = <0x00 0x20130000 0x00 0x400>;
536		interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
537		#address-cells = <1>;
538		#size-cells = <0>;
539		power-domains = <&k3_pds 144 TI_SCI_PD_EXCLUSIVE>;
540		clocks = <&k3_clks 144 0>;
541		status = "disabled";
542	};
543
544	main_spi4: spi@20140000 {
545		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
546		reg = <0x00 0x20140000 0x00 0x400>;
547		interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
548		#address-cells = <1>;
549		#size-cells = <0>;
550		power-domains = <&k3_pds 145 TI_SCI_PD_EXCLUSIVE>;
551		clocks = <&k3_clks 145 0>;
552		status = "disabled";
553	};
554
555	main_gpio_intr: interrupt-controller@a00000 {
556		compatible = "ti,sci-intr";
557		reg = <0x00 0x00a00000 0x00 0x800>;
558		ti,intr-trigger-type = <1>;
559		interrupt-controller;
560		interrupt-parent = <&gic500>;
561		#interrupt-cells = <1>;
562		ti,sci = <&dmsc>;
563		ti,sci-dev-id = <3>;
564		ti,interrupt-ranges = <0 32 16>;
565	};
566
567	main_gpio0: gpio@600000 {
568		compatible = "ti,am64-gpio", "ti,keystone-gpio";
569		reg = <0x0 0x00600000 0x0 0x100>;
570		gpio-controller;
571		#gpio-cells = <2>;
572		interrupt-parent = <&main_gpio_intr>;
573		interrupts = <190>, <191>, <192>,
574			     <193>, <194>, <195>;
575		interrupt-controller;
576		#interrupt-cells = <2>;
577		ti,ngpio = <87>;
578		ti,davinci-gpio-unbanked = <0>;
579		power-domains = <&k3_pds 77 TI_SCI_PD_EXCLUSIVE>;
580		clocks = <&k3_clks 77 0>;
581		clock-names = "gpio";
582	};
583
584	main_gpio1: gpio@601000 {
585		compatible = "ti,am64-gpio", "ti,keystone-gpio";
586		reg = <0x0 0x00601000 0x0 0x100>;
587		gpio-controller;
588		#gpio-cells = <2>;
589		interrupt-parent = <&main_gpio_intr>;
590		interrupts = <180>, <181>, <182>,
591			     <183>, <184>, <185>;
592		interrupt-controller;
593		#interrupt-cells = <2>;
594		ti,ngpio = <88>;
595		ti,davinci-gpio-unbanked = <0>;
596		power-domains = <&k3_pds 78 TI_SCI_PD_EXCLUSIVE>;
597		clocks = <&k3_clks 78 0>;
598		clock-names = "gpio";
599	};
600
601	sdhci0: mmc@fa10000 {
602		compatible = "ti,am64-sdhci-8bit";
603		reg = <0x00 0xfa10000 0x00 0x260>, <0x00 0xfa18000 0x00 0x134>;
604		interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
605		power-domains = <&k3_pds 57 TI_SCI_PD_EXCLUSIVE>;
606		clocks = <&k3_clks 57 0>, <&k3_clks 57 1>;
607		clock-names = "clk_ahb", "clk_xin";
608		mmc-ddr-1_8v;
609		mmc-hs200-1_8v;
610		ti,trm-icp = <0x2>;
611		ti,otap-del-sel-legacy = <0x0>;
612		ti,otap-del-sel-mmc-hs = <0x0>;
613		ti,otap-del-sel-ddr52 = <0x6>;
614		ti,otap-del-sel-hs200 = <0x7>;
615	};
616
617	sdhci1: mmc@fa00000 {
618		compatible = "ti,am64-sdhci-4bit";
619		reg = <0x00 0xfa00000 0x00 0x260>, <0x00 0xfa08000 0x00 0x134>;
620		interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
621		power-domains = <&k3_pds 58 TI_SCI_PD_EXCLUSIVE>;
622		clocks = <&k3_clks 58 3>, <&k3_clks 58 4>;
623		clock-names = "clk_ahb", "clk_xin";
624		ti,trm-icp = <0x2>;
625		ti,otap-del-sel-legacy = <0x0>;
626		ti,otap-del-sel-sd-hs = <0xf>;
627		ti,otap-del-sel-sdr12 = <0xf>;
628		ti,otap-del-sel-sdr25 = <0xf>;
629		ti,otap-del-sel-sdr50 = <0xc>;
630		ti,otap-del-sel-sdr104 = <0x6>;
631		ti,otap-del-sel-ddr50 = <0x9>;
632		ti,clkbuf-sel = <0x7>;
633	};
634
635	cpsw3g: ethernet@8000000 {
636		compatible = "ti,am642-cpsw-nuss";
637		#address-cells = <2>;
638		#size-cells = <2>;
639		reg = <0x0 0x8000000 0x0 0x200000>;
640		reg-names = "cpsw_nuss";
641		ranges = <0x0 0x0 0x0 0x8000000 0x0 0x200000>;
642		clocks = <&k3_clks 13 0>;
643		assigned-clocks = <&k3_clks 13 1>;
644		assigned-clock-parents = <&k3_clks 13 9>;
645		clock-names = "fck";
646		power-domains = <&k3_pds 13 TI_SCI_PD_EXCLUSIVE>;
647
648		dmas = <&main_pktdma 0xC500 15>,
649		       <&main_pktdma 0xC501 15>,
650		       <&main_pktdma 0xC502 15>,
651		       <&main_pktdma 0xC503 15>,
652		       <&main_pktdma 0xC504 15>,
653		       <&main_pktdma 0xC505 15>,
654		       <&main_pktdma 0xC506 15>,
655		       <&main_pktdma 0xC507 15>,
656		       <&main_pktdma 0x4500 15>;
657		dma-names = "tx0", "tx1", "tx2", "tx3", "tx4", "tx5", "tx6",
658			    "tx7", "rx";
659
660		ethernet-ports {
661			#address-cells = <1>;
662			#size-cells = <0>;
663
664			cpsw_port1: port@1 {
665				reg = <1>;
666				ti,mac-only;
667				label = "port1";
668				phys = <&phy_gmii_sel 1>;
669				mac-address = [00 00 00 00 00 00];
670				ti,syscon-efuse = <&main_conf 0x200>;
671			};
672
673			cpsw_port2: port@2 {
674				reg = <2>;
675				ti,mac-only;
676				label = "port2";
677				phys = <&phy_gmii_sel 2>;
678				mac-address = [00 00 00 00 00 00];
679			};
680		};
681
682		cpsw3g_mdio: mdio@f00 {
683			compatible = "ti,cpsw-mdio","ti,davinci_mdio";
684			reg = <0x0 0xf00 0x0 0x100>;
685			#address-cells = <1>;
686			#size-cells = <0>;
687			clocks = <&k3_clks 13 0>;
688			clock-names = "fck";
689			bus_freq = <1000000>;
690			status = "disabled";
691		};
692
693		cpts@3d000 {
694			compatible = "ti,j721e-cpts";
695			reg = <0x0 0x3d000 0x0 0x400>;
696			clocks = <&k3_clks 13 1>;
697			clock-names = "cpts";
698			interrupts-extended = <&gic500 GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
699			interrupt-names = "cpts";
700			ti,cpts-ext-ts-inputs = <4>;
701			ti,cpts-periodic-outputs = <2>;
702		};
703	};
704
705	main_cpts0: cpts@39000000 {
706		compatible = "ti,j721e-cpts";
707		reg = <0x0 0x39000000 0x0 0x400>;
708		reg-names = "cpts";
709		power-domains = <&k3_pds 84 TI_SCI_PD_EXCLUSIVE>;
710		clocks = <&k3_clks 84 0>;
711		clock-names = "cpts";
712		assigned-clocks = <&k3_clks 84 0>;
713		assigned-clock-parents = <&k3_clks 84 8>;
714		interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
715		interrupt-names = "cpts";
716		ti,cpts-periodic-outputs = <6>;
717		ti,cpts-ext-ts-inputs = <8>;
718	};
719
720	timesync_router: pinctrl@a40000 {
721		compatible = "pinctrl-single";
722		reg = <0x0 0xa40000 0x0 0x800>;
723		#pinctrl-cells = <1>;
724		pinctrl-single,register-width = <32>;
725		pinctrl-single,function-mask = <0x000107ff>;
726	};
727
728	usbss0: cdns-usb@f900000 {
729		compatible = "ti,am64-usb";
730		reg = <0x00 0xf900000 0x00 0x100>;
731		power-domains = <&k3_pds 161 TI_SCI_PD_EXCLUSIVE>;
732		clocks = <&k3_clks 161 9>, <&k3_clks 161 1>;
733		clock-names = "ref", "lpm";
734		assigned-clocks = <&k3_clks 161 9>; /* USB2_REFCLK */
735		assigned-clock-parents = <&k3_clks 161 10>; /* HF0SC0 */
736		#address-cells = <2>;
737		#size-cells = <2>;
738		ranges;
739		usb0: usb@f400000 {
740			compatible = "cdns,usb3";
741			reg = <0x00 0xf400000 0x00 0x10000>,
742			      <0x00 0xf410000 0x00 0x10000>,
743			      <0x00 0xf420000 0x00 0x10000>;
744			reg-names = "otg",
745				    "xhci",
746				    "dev";
747			interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>, /* irq.0 */
748				     <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>, /* irq.6 */
749				     <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>; /* otgirq */
750			interrupt-names = "host",
751					  "peripheral",
752					  "otg";
753			maximum-speed = "super-speed";
754			dr_mode = "otg";
755		};
756	};
757
758	tscadc0: tscadc@28001000 {
759		compatible = "ti,am654-tscadc", "ti,am3359-tscadc";
760		reg = <0x00 0x28001000 0x00 0x1000>;
761		interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
762		power-domains = <&k3_pds 0 TI_SCI_PD_EXCLUSIVE>;
763		clocks = <&k3_clks 0 0>;
764		assigned-clocks = <&k3_clks 0 0>;
765		assigned-clock-parents = <&k3_clks 0 3>;
766		assigned-clock-rates = <60000000>;
767		clock-names = "fck";
768
769		adc {
770			#io-channel-cells = <1>;
771			compatible = "ti,am654-adc", "ti,am3359-adc";
772		};
773	};
774
775	fss: bus@fc00000 {
776		compatible = "simple-bus";
777		reg = <0x00 0x0fc00000 0x00 0x70000>;
778		#address-cells = <2>;
779		#size-cells = <2>;
780		ranges;
781
782		ospi0: spi@fc40000 {
783			compatible = "ti,am654-ospi", "cdns,qspi-nor";
784			reg = <0x00 0x0fc40000 0x00 0x100>,
785			      <0x05 0x00000000 0x01 0x00000000>;
786			interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
787			cdns,fifo-depth = <256>;
788			cdns,fifo-width = <4>;
789			cdns,trigger-address = <0x0>;
790			#address-cells = <0x1>;
791			#size-cells = <0x0>;
792			clocks = <&k3_clks 75 6>;
793			assigned-clocks = <&k3_clks 75 6>;
794			assigned-clock-parents = <&k3_clks 75 7>;
795			assigned-clock-rates = <166666666>;
796			power-domains = <&k3_pds 75 TI_SCI_PD_EXCLUSIVE>;
797			status = "disabled";
798		};
799	};
800
801	hwspinlock: spinlock@2a000000 {
802		compatible = "ti,am64-hwspinlock";
803		reg = <0x00 0x2a000000 0x00 0x1000>;
804		#hwlock-cells = <1>;
805	};
806
807	mailbox0_cluster2: mailbox@29020000 {
808		compatible = "ti,am64-mailbox";
809		reg = <0x00 0x29020000 0x00 0x200>;
810		interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>,
811			     <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
812		#mbox-cells = <1>;
813		ti,mbox-num-users = <4>;
814		ti,mbox-num-fifos = <16>;
815		status = "disabled";
816	};
817
818	mailbox0_cluster3: mailbox@29030000 {
819		compatible = "ti,am64-mailbox";
820		reg = <0x00 0x29030000 0x00 0x200>;
821		interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>,
822			     <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
823		#mbox-cells = <1>;
824		ti,mbox-num-users = <4>;
825		ti,mbox-num-fifos = <16>;
826		status = "disabled";
827	};
828
829	mailbox0_cluster4: mailbox@29040000 {
830		compatible = "ti,am64-mailbox";
831		reg = <0x00 0x29040000 0x00 0x200>;
832		interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
833			     <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
834		#mbox-cells = <1>;
835		ti,mbox-num-users = <4>;
836		ti,mbox-num-fifos = <16>;
837		status = "disabled";
838	};
839
840	mailbox0_cluster5: mailbox@29050000 {
841		compatible = "ti,am64-mailbox";
842		reg = <0x00 0x29050000 0x00 0x200>;
843		interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
844			     <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
845		#mbox-cells = <1>;
846		ti,mbox-num-users = <4>;
847		ti,mbox-num-fifos = <16>;
848		status = "disabled";
849	};
850
851	mailbox0_cluster6: mailbox@29060000 {
852		compatible = "ti,am64-mailbox";
853		reg = <0x00 0x29060000 0x00 0x200>;
854		interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
855		#mbox-cells = <1>;
856		ti,mbox-num-users = <4>;
857		ti,mbox-num-fifos = <16>;
858		status = "disabled";
859	};
860
861	mailbox0_cluster7: mailbox@29070000 {
862		compatible = "ti,am64-mailbox";
863		reg = <0x00 0x29070000 0x00 0x200>;
864		interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
865		#mbox-cells = <1>;
866		ti,mbox-num-users = <4>;
867		ti,mbox-num-fifos = <16>;
868		status = "disabled";
869	};
870
871	main_r5fss0: r5fss@78000000 {
872		compatible = "ti,am64-r5fss";
873		ti,cluster-mode = <0>;
874		#address-cells = <1>;
875		#size-cells = <1>;
876		ranges = <0x78000000 0x00 0x78000000 0x10000>,
877			 <0x78100000 0x00 0x78100000 0x10000>,
878			 <0x78200000 0x00 0x78200000 0x08000>,
879			 <0x78300000 0x00 0x78300000 0x08000>;
880		power-domains = <&k3_pds 119 TI_SCI_PD_EXCLUSIVE>;
881
882		main_r5fss0_core0: r5f@78000000 {
883			compatible = "ti,am64-r5f";
884			reg = <0x78000000 0x00010000>,
885			      <0x78100000 0x00010000>;
886			reg-names = "atcm", "btcm";
887			ti,sci = <&dmsc>;
888			ti,sci-dev-id = <121>;
889			ti,sci-proc-ids = <0x01 0xff>;
890			resets = <&k3_reset 121 1>;
891			firmware-name = "am64-main-r5f0_0-fw";
892			ti,atcm-enable = <1>;
893			ti,btcm-enable = <1>;
894			ti,loczrama = <1>;
895		};
896
897		main_r5fss0_core1: r5f@78200000 {
898			compatible = "ti,am64-r5f";
899			reg = <0x78200000 0x00008000>,
900			      <0x78300000 0x00008000>;
901			reg-names = "atcm", "btcm";
902			ti,sci = <&dmsc>;
903			ti,sci-dev-id = <122>;
904			ti,sci-proc-ids = <0x02 0xff>;
905			resets = <&k3_reset 122 1>;
906			firmware-name = "am64-main-r5f0_1-fw";
907			ti,atcm-enable = <1>;
908			ti,btcm-enable = <1>;
909			ti,loczrama = <1>;
910		};
911	};
912
913	main_r5fss1: r5fss@78400000 {
914		compatible = "ti,am64-r5fss";
915		ti,cluster-mode = <0>;
916		#address-cells = <1>;
917		#size-cells = <1>;
918		ranges = <0x78400000 0x00 0x78400000 0x10000>,
919			 <0x78500000 0x00 0x78500000 0x10000>,
920			 <0x78600000 0x00 0x78600000 0x08000>,
921			 <0x78700000 0x00 0x78700000 0x08000>;
922		power-domains = <&k3_pds 120 TI_SCI_PD_EXCLUSIVE>;
923
924		main_r5fss1_core0: r5f@78400000 {
925			compatible = "ti,am64-r5f";
926			reg = <0x78400000 0x00010000>,
927			      <0x78500000 0x00010000>;
928			reg-names = "atcm", "btcm";
929			ti,sci = <&dmsc>;
930			ti,sci-dev-id = <123>;
931			ti,sci-proc-ids = <0x06 0xff>;
932			resets = <&k3_reset 123 1>;
933			firmware-name = "am64-main-r5f1_0-fw";
934			ti,atcm-enable = <1>;
935			ti,btcm-enable = <1>;
936			ti,loczrama = <1>;
937		};
938
939		main_r5fss1_core1: r5f@78600000 {
940			compatible = "ti,am64-r5f";
941			reg = <0x78600000 0x00008000>,
942			      <0x78700000 0x00008000>;
943			reg-names = "atcm", "btcm";
944			ti,sci = <&dmsc>;
945			ti,sci-dev-id = <124>;
946			ti,sci-proc-ids = <0x07 0xff>;
947			resets = <&k3_reset 124 1>;
948			firmware-name = "am64-main-r5f1_1-fw";
949			ti,atcm-enable = <1>;
950			ti,btcm-enable = <1>;
951			ti,loczrama = <1>;
952		};
953	};
954
955	serdes_wiz0: wiz@f000000 {
956		compatible = "ti,am64-wiz-10g";
957		#address-cells = <1>;
958		#size-cells = <1>;
959		power-domains = <&k3_pds 162 TI_SCI_PD_EXCLUSIVE>;
960		clocks = <&k3_clks 162 0>, <&k3_clks 162 1>, <&serdes_refclk>;
961		clock-names = "fck", "core_ref_clk", "ext_ref_clk";
962		num-lanes = <1>;
963		#reset-cells = <1>;
964		#clock-cells = <1>;
965		ranges = <0x0f000000 0x0 0x0f000000 0x00010000>;
966
967		assigned-clocks = <&k3_clks 162 1>;
968		assigned-clock-parents = <&k3_clks 162 5>;
969
970		serdes0: serdes@f000000 {
971			compatible = "ti,j721e-serdes-10g";
972			reg = <0x0f000000 0x00010000>;
973			reg-names = "torrent_phy";
974			resets = <&serdes_wiz0 0>;
975			reset-names = "torrent_reset";
976			clocks = <&serdes_wiz0 TI_WIZ_PLL0_REFCLK>,
977				 <&serdes_wiz0 TI_WIZ_PHY_EN_REFCLK>;
978			clock-names = "refclk", "phy_en_refclk";
979			assigned-clocks = <&serdes_wiz0 TI_WIZ_PLL0_REFCLK>,
980					  <&serdes_wiz0 TI_WIZ_PLL1_REFCLK>,
981					  <&serdes_wiz0 TI_WIZ_REFCLK_DIG>;
982			assigned-clock-parents = <&k3_clks 162 1>,
983						 <&k3_clks 162 1>,
984						 <&k3_clks 162 1>;
985			#address-cells = <1>;
986			#size-cells = <0>;
987			#clock-cells = <1>;
988		};
989	};
990
991	pcie0_rc: pcie@f102000 {
992		compatible = "ti,am64-pcie-host", "ti,j721e-pcie-host";
993		reg = <0x00 0x0f102000 0x00 0x1000>,
994		      <0x00 0x0f100000 0x00 0x400>,
995		      <0x00 0x0d000000 0x00 0x00800000>,
996		      <0x00 0x68000000 0x00 0x00001000>;
997		reg-names = "intd_cfg", "user_cfg", "reg", "cfg";
998		interrupt-names = "link_state";
999		interrupts = <GIC_SPI 203 IRQ_TYPE_EDGE_RISING>;
1000		device_type = "pci";
1001		ti,syscon-pcie-ctrl = <&main_conf 0x4070>;
1002		max-link-speed = <2>;
1003		num-lanes = <1>;
1004		power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
1005		clocks = <&k3_clks 114 0>, <&serdes0 CDNS_TORRENT_REFCLK_DRIVER>;
1006		clock-names = "fck", "pcie_refclk";
1007		#address-cells = <3>;
1008		#size-cells = <2>;
1009		bus-range = <0x0 0xff>;
1010		cdns,no-bar-match-nbits = <64>;
1011		vendor-id = <0x104c>;
1012		device-id = <0xb010>;
1013		msi-map = <0x0 &gic_its 0x0 0x10000>;
1014		ranges = <0x01000000 0x00 0x68001000  0x00 0x68001000  0x00 0x0010000>,
1015			 <0x02000000 0x00 0x68011000  0x00 0x68011000  0x00 0x7fef000>;
1016		dma-ranges = <0x02000000 0x0 0x0 0x0 0x0 0x00000010 0x0>;
1017		status = "disabled";
1018	};
1019
1020	pcie0_ep: pcie-ep@f102000 {
1021		compatible = "ti,am64-pcie-ep", "ti,j721e-pcie-ep";
1022		reg = <0x00 0x0f102000 0x00 0x1000>,
1023		      <0x00 0x0f100000 0x00 0x400>,
1024		      <0x00 0x0d000000 0x00 0x00800000>,
1025		      <0x00 0x68000000 0x00 0x08000000>;
1026		reg-names = "intd_cfg", "user_cfg", "reg", "mem";
1027		interrupt-names = "link_state";
1028		interrupts = <GIC_SPI 203 IRQ_TYPE_EDGE_RISING>;
1029		ti,syscon-pcie-ctrl = <&main_conf 0x4070>;
1030		max-link-speed = <2>;
1031		num-lanes = <1>;
1032		power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
1033		clocks = <&k3_clks 114 0>;
1034		clock-names = "fck";
1035		max-functions = /bits/ 8 <1>;
1036		status = "disabled";
1037	};
1038
1039	epwm0: pwm@23000000 {
1040		compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
1041		#pwm-cells = <3>;
1042		reg = <0x0 0x23000000 0x0 0x100>;
1043		power-domains = <&k3_pds 86 TI_SCI_PD_EXCLUSIVE>;
1044		clocks = <&epwm_tbclk 0>, <&k3_clks 86 0>;
1045		clock-names = "tbclk", "fck";
1046		status = "disabled";
1047	};
1048
1049	epwm1: pwm@23010000 {
1050		compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
1051		#pwm-cells = <3>;
1052		reg = <0x0 0x23010000 0x0 0x100>;
1053		power-domains = <&k3_pds 87 TI_SCI_PD_EXCLUSIVE>;
1054		clocks = <&epwm_tbclk 1>, <&k3_clks 87 0>;
1055		clock-names = "tbclk", "fck";
1056		status = "disabled";
1057	};
1058
1059	epwm2: pwm@23020000 {
1060		compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
1061		#pwm-cells = <3>;
1062		reg = <0x0 0x23020000 0x0 0x100>;
1063		power-domains = <&k3_pds 88 TI_SCI_PD_EXCLUSIVE>;
1064		clocks = <&epwm_tbclk 2>, <&k3_clks 88 0>;
1065		clock-names = "tbclk", "fck";
1066		status = "disabled";
1067	};
1068
1069	epwm3: pwm@23030000 {
1070		compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
1071		#pwm-cells = <3>;
1072		reg = <0x0 0x23030000 0x0 0x100>;
1073		power-domains = <&k3_pds 89 TI_SCI_PD_EXCLUSIVE>;
1074		clocks = <&epwm_tbclk 3>, <&k3_clks 89 0>;
1075		clock-names = "tbclk", "fck";
1076		status = "disabled";
1077	};
1078
1079	epwm4: pwm@23040000 {
1080		compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
1081		#pwm-cells = <3>;
1082		reg = <0x0 0x23040000 0x0 0x100>;
1083		power-domains = <&k3_pds 90 TI_SCI_PD_EXCLUSIVE>;
1084		clocks = <&epwm_tbclk 4>, <&k3_clks 90 0>;
1085		clock-names = "tbclk", "fck";
1086		status = "disabled";
1087	};
1088
1089	epwm5: pwm@23050000 {
1090		compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
1091		#pwm-cells = <3>;
1092		reg = <0x0 0x23050000 0x0 0x100>;
1093		power-domains = <&k3_pds 91 TI_SCI_PD_EXCLUSIVE>;
1094		clocks = <&epwm_tbclk 5>, <&k3_clks 91 0>;
1095		clock-names = "tbclk", "fck";
1096		status = "disabled";
1097	};
1098
1099	epwm6: pwm@23060000 {
1100		compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
1101		#pwm-cells = <3>;
1102		reg = <0x0 0x23060000 0x0 0x100>;
1103		power-domains = <&k3_pds 92 TI_SCI_PD_EXCLUSIVE>;
1104		clocks = <&epwm_tbclk 6>, <&k3_clks 92 0>;
1105		clock-names = "tbclk", "fck";
1106		status = "disabled";
1107	};
1108
1109	epwm7: pwm@23070000 {
1110		compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
1111		#pwm-cells = <3>;
1112		reg = <0x0 0x23070000 0x0 0x100>;
1113		power-domains = <&k3_pds 93 TI_SCI_PD_EXCLUSIVE>;
1114		clocks = <&epwm_tbclk 7>, <&k3_clks 93 0>;
1115		clock-names = "tbclk", "fck";
1116		status = "disabled";
1117	};
1118
1119	epwm8: pwm@23080000 {
1120		compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
1121		#pwm-cells = <3>;
1122		reg = <0x0 0x23080000 0x0 0x100>;
1123		power-domains = <&k3_pds 94 TI_SCI_PD_EXCLUSIVE>;
1124		clocks = <&epwm_tbclk 8>, <&k3_clks 94 0>;
1125		clock-names = "tbclk", "fck";
1126		status = "disabled";
1127	};
1128
1129	ecap0: pwm@23100000 {
1130		compatible = "ti,am64-ecap", "ti,am3352-ecap";
1131		#pwm-cells = <3>;
1132		reg = <0x0 0x23100000 0x0 0x60>;
1133		power-domains = <&k3_pds 51 TI_SCI_PD_EXCLUSIVE>;
1134		clocks = <&k3_clks 51 0>;
1135		clock-names = "fck";
1136		status = "disabled";
1137	};
1138
1139	ecap1: pwm@23110000 {
1140		compatible = "ti,am64-ecap", "ti,am3352-ecap";
1141		#pwm-cells = <3>;
1142		reg = <0x0 0x23110000 0x0 0x60>;
1143		power-domains = <&k3_pds 52 TI_SCI_PD_EXCLUSIVE>;
1144		clocks = <&k3_clks 52 0>;
1145		clock-names = "fck";
1146		status = "disabled";
1147	};
1148
1149	ecap2: pwm@23120000 {
1150		compatible = "ti,am64-ecap", "ti,am3352-ecap";
1151		#pwm-cells = <3>;
1152		reg = <0x0 0x23120000 0x0 0x60>;
1153		power-domains = <&k3_pds 53 TI_SCI_PD_EXCLUSIVE>;
1154		clocks = <&k3_clks 53 0>;
1155		clock-names = "fck";
1156		status = "disabled";
1157	};
1158
1159	main_rti0: watchdog@e000000 {
1160			compatible = "ti,j7-rti-wdt";
1161			reg = <0x00 0xe000000 0x00 0x100>;
1162			clocks = <&k3_clks 125 0>;
1163			power-domains = <&k3_pds 125 TI_SCI_PD_EXCLUSIVE>;
1164			assigned-clocks = <&k3_clks 125 0>;
1165			assigned-clock-parents = <&k3_clks 125 2>;
1166	};
1167
1168	main_rti1: watchdog@e010000 {
1169			compatible = "ti,j7-rti-wdt";
1170			reg = <0x00 0xe010000 0x00 0x100>;
1171			clocks = <&k3_clks 126 0>;
1172			power-domains = <&k3_pds 126 TI_SCI_PD_EXCLUSIVE>;
1173			assigned-clocks = <&k3_clks 126 0>;
1174			assigned-clock-parents = <&k3_clks 126 2>;
1175	};
1176
1177	icssg0: icssg@30000000 {
1178		compatible = "ti,am642-icssg";
1179		reg = <0x00 0x30000000 0x00 0x80000>;
1180		power-domains = <&k3_pds 81 TI_SCI_PD_EXCLUSIVE>;
1181		#address-cells = <1>;
1182		#size-cells = <1>;
1183		ranges = <0x0 0x00 0x30000000 0x80000>;
1184
1185		icssg0_mem: memories@0 {
1186			reg = <0x0 0x2000>,
1187			      <0x2000 0x2000>,
1188			      <0x10000 0x10000>;
1189			reg-names = "dram0", "dram1", "shrdram2";
1190		};
1191
1192		icssg0_cfg: cfg@26000 {
1193			compatible = "ti,pruss-cfg", "syscon";
1194			reg = <0x26000 0x200>;
1195			#address-cells = <1>;
1196			#size-cells = <1>;
1197			ranges = <0x0 0x26000 0x2000>;
1198
1199			clocks {
1200				#address-cells = <1>;
1201				#size-cells = <0>;
1202
1203				icssg0_coreclk_mux: coreclk-mux@3c {
1204					reg = <0x3c>;
1205					#clock-cells = <0>;
1206					clocks = <&k3_clks 81 0>,  /* icssg0_core_clk */
1207						 <&k3_clks 81 20>; /* icssg0_iclk */
1208					assigned-clocks = <&icssg0_coreclk_mux>;
1209					assigned-clock-parents = <&k3_clks 81 20>;
1210				};
1211
1212				icssg0_iepclk_mux: iepclk-mux@30 {
1213					reg = <0x30>;
1214					#clock-cells = <0>;
1215					clocks = <&k3_clks 81 3>,	/* icssg0_iep_clk */
1216						 <&icssg0_coreclk_mux>;	/* icssg0_coreclk_mux */
1217					assigned-clocks = <&icssg0_iepclk_mux>;
1218					assigned-clock-parents = <&icssg0_coreclk_mux>;
1219				};
1220			};
1221		};
1222
1223		icssg0_mii_rt: mii-rt@32000 {
1224			compatible = "ti,pruss-mii", "syscon";
1225			reg = <0x32000 0x100>;
1226		};
1227
1228		icssg0_mii_g_rt: mii-g-rt@33000 {
1229			compatible = "ti,pruss-mii-g", "syscon";
1230			reg = <0x33000 0x1000>;
1231		};
1232
1233		icssg0_intc: interrupt-controller@20000 {
1234			compatible = "ti,icssg-intc";
1235			reg = <0x20000 0x2000>;
1236			interrupt-controller;
1237			#interrupt-cells = <3>;
1238			interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>,
1239				     <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>,
1240				     <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>,
1241				     <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>,
1242				     <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>,
1243				     <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>,
1244				     <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>,
1245				     <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
1246			interrupt-names = "host_intr0", "host_intr1",
1247					  "host_intr2", "host_intr3",
1248					  "host_intr4", "host_intr5",
1249					  "host_intr6", "host_intr7";
1250		};
1251
1252		pru0_0: pru@34000 {
1253			compatible = "ti,am642-pru";
1254			reg = <0x34000 0x3000>,
1255			      <0x22000 0x100>,
1256			      <0x22400 0x100>;
1257			reg-names = "iram", "control", "debug";
1258			firmware-name = "am64x-pru0_0-fw";
1259		};
1260
1261		rtu0_0: rtu@4000 {
1262			compatible = "ti,am642-rtu";
1263			reg = <0x4000 0x2000>,
1264			      <0x23000 0x100>,
1265			      <0x23400 0x100>;
1266			reg-names = "iram", "control", "debug";
1267			firmware-name = "am64x-rtu0_0-fw";
1268		};
1269
1270		tx_pru0_0: txpru@a000 {
1271			compatible = "ti,am642-tx-pru";
1272			reg = <0xa000 0x1800>,
1273			      <0x25000 0x100>,
1274			      <0x25400 0x100>;
1275			reg-names = "iram", "control", "debug";
1276			firmware-name = "am64x-txpru0_0-fw";
1277		};
1278
1279		pru0_1: pru@38000 {
1280			compatible = "ti,am642-pru";
1281			reg = <0x38000 0x3000>,
1282			      <0x24000 0x100>,
1283			      <0x24400 0x100>;
1284			reg-names = "iram", "control", "debug";
1285			firmware-name = "am64x-pru0_1-fw";
1286		};
1287
1288		rtu0_1: rtu@6000 {
1289			compatible = "ti,am642-rtu";
1290			reg = <0x6000 0x2000>,
1291			      <0x23800 0x100>,
1292			      <0x23c00 0x100>;
1293			reg-names = "iram", "control", "debug";
1294			firmware-name = "am64x-rtu0_1-fw";
1295		};
1296
1297		tx_pru0_1: txpru@c000 {
1298			compatible = "ti,am642-tx-pru";
1299			reg = <0xc000 0x1800>,
1300			      <0x25800 0x100>,
1301			      <0x25c00 0x100>;
1302			reg-names = "iram", "control", "debug";
1303			firmware-name = "am64x-txpru0_1-fw";
1304		};
1305
1306		icssg0_mdio: mdio@32400 {
1307			compatible = "ti,davinci_mdio";
1308			reg = <0x32400 0x100>;
1309			clocks = <&k3_clks 62 3>;
1310			clock-names = "fck";
1311			#address-cells = <1>;
1312			#size-cells = <0>;
1313			bus_freq = <1000000>;
1314			status = "disabled";
1315		};
1316	};
1317
1318	icssg1: icssg@30080000 {
1319		compatible = "ti,am642-icssg";
1320		reg = <0x00 0x30080000 0x00 0x80000>;
1321		power-domains = <&k3_pds 82 TI_SCI_PD_EXCLUSIVE>;
1322		#address-cells = <1>;
1323		#size-cells = <1>;
1324		ranges = <0x0 0x00 0x30080000 0x80000>;
1325
1326		icssg1_mem: memories@0 {
1327			reg = <0x0 0x2000>,
1328			      <0x2000 0x2000>,
1329			      <0x10000 0x10000>;
1330			reg-names = "dram0", "dram1", "shrdram2";
1331		};
1332
1333		icssg1_cfg: cfg@26000 {
1334			compatible = "ti,pruss-cfg", "syscon";
1335			reg = <0x26000 0x200>;
1336			#address-cells = <1>;
1337			#size-cells = <1>;
1338			ranges = <0x0 0x26000 0x2000>;
1339
1340			clocks {
1341				#address-cells = <1>;
1342				#size-cells = <0>;
1343
1344				icssg1_coreclk_mux: coreclk-mux@3c {
1345					reg = <0x3c>;
1346					#clock-cells = <0>;
1347					clocks = <&k3_clks 82 0>,   /* icssg1_core_clk */
1348						 <&k3_clks 82 20>;  /* icssg1_iclk */
1349					assigned-clocks = <&icssg1_coreclk_mux>;
1350					assigned-clock-parents = <&k3_clks 82 20>;
1351				};
1352
1353				icssg1_iepclk_mux: iepclk-mux@30 {
1354					reg = <0x30>;
1355					#clock-cells = <0>;
1356					clocks = <&k3_clks 82 3>,	/* icssg1_iep_clk */
1357						 <&icssg1_coreclk_mux>;	/* icssg1_coreclk_mux */
1358					assigned-clocks = <&icssg1_iepclk_mux>;
1359					assigned-clock-parents = <&icssg1_coreclk_mux>;
1360				};
1361			};
1362		};
1363
1364		icssg1_mii_rt: mii-rt@32000 {
1365			compatible = "ti,pruss-mii", "syscon";
1366			reg = <0x32000 0x100>;
1367		};
1368
1369		icssg1_mii_g_rt: mii-g-rt@33000 {
1370			compatible = "ti,pruss-mii-g", "syscon";
1371			reg = <0x33000 0x1000>;
1372		};
1373
1374		icssg1_intc: interrupt-controller@20000 {
1375			compatible = "ti,icssg-intc";
1376			reg = <0x20000 0x2000>;
1377			interrupt-controller;
1378			#interrupt-cells = <3>;
1379			interrupts = <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>,
1380				     <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
1381				     <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>,
1382				     <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>,
1383				     <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>,
1384				     <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>,
1385				     <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>,
1386				     <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>;
1387			interrupt-names = "host_intr0", "host_intr1",
1388					  "host_intr2", "host_intr3",
1389					  "host_intr4", "host_intr5",
1390					  "host_intr6", "host_intr7";
1391		};
1392
1393		pru1_0: pru@34000 {
1394			compatible = "ti,am642-pru";
1395			reg = <0x34000 0x4000>,
1396			      <0x22000 0x100>,
1397			      <0x22400 0x100>;
1398			reg-names = "iram", "control", "debug";
1399			firmware-name = "am64x-pru1_0-fw";
1400		};
1401
1402		rtu1_0: rtu@4000 {
1403			compatible = "ti,am642-rtu";
1404			reg = <0x4000 0x2000>,
1405			      <0x23000 0x100>,
1406			      <0x23400 0x100>;
1407			reg-names = "iram", "control", "debug";
1408			firmware-name = "am64x-rtu1_0-fw";
1409		};
1410
1411		tx_pru1_0: txpru@a000 {
1412			compatible = "ti,am642-tx-pru";
1413			reg = <0xa000 0x1800>,
1414			      <0x25000 0x100>,
1415			      <0x25400 0x100>;
1416			reg-names = "iram", "control", "debug";
1417			firmware-name = "am64x-txpru1_0-fw";
1418		};
1419
1420		pru1_1: pru@38000 {
1421			compatible = "ti,am642-pru";
1422			reg = <0x38000 0x4000>,
1423			      <0x24000 0x100>,
1424			      <0x24400 0x100>;
1425			reg-names = "iram", "control", "debug";
1426			firmware-name = "am64x-pru1_1-fw";
1427		};
1428
1429		rtu1_1: rtu@6000 {
1430			compatible = "ti,am642-rtu";
1431			reg = <0x6000 0x2000>,
1432			      <0x23800 0x100>,
1433			      <0x23c00 0x100>;
1434			reg-names = "iram", "control", "debug";
1435			firmware-name = "am64x-rtu1_1-fw";
1436		};
1437
1438		tx_pru1_1: txpru@c000 {
1439			compatible = "ti,am642-tx-pru";
1440			reg = <0xc000 0x1800>,
1441			      <0x25800 0x100>,
1442			      <0x25c00 0x100>;
1443			reg-names = "iram", "control", "debug";
1444			firmware-name = "am64x-txpru1_1-fw";
1445		};
1446
1447		icssg1_mdio: mdio@32400 {
1448			compatible = "ti,davinci_mdio";
1449			reg = <0x32400 0x100>;
1450			#address-cells = <1>;
1451			#size-cells = <0>;
1452			clocks = <&k3_clks 82 0>;
1453			clock-names = "fck";
1454			bus_freq = <1000000>;
1455			status = "disabled";
1456		};
1457	};
1458
1459	main_mcan0: can@20701000 {
1460		compatible = "bosch,m_can";
1461		reg = <0x00 0x20701000 0x00 0x200>,
1462		      <0x00 0x20708000 0x00 0x8000>;
1463		reg-names = "m_can", "message_ram";
1464		power-domains = <&k3_pds 98 TI_SCI_PD_EXCLUSIVE>;
1465		clocks = <&k3_clks 98 5>, <&k3_clks 98 0>;
1466		clock-names = "hclk", "cclk";
1467		interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>,
1468			     <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
1469		interrupt-names = "int0", "int1";
1470		bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
1471		status = "disabled";
1472	};
1473
1474	main_mcan1: can@20711000 {
1475		compatible = "bosch,m_can";
1476		reg = <0x00 0x20711000 0x00 0x200>,
1477		      <0x00 0x20718000 0x00 0x8000>;
1478		reg-names = "m_can", "message_ram";
1479		power-domains = <&k3_pds 99 TI_SCI_PD_EXCLUSIVE>;
1480		clocks = <&k3_clks 99 5>, <&k3_clks 99 0>;
1481		clock-names = "hclk", "cclk";
1482		interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>,
1483			     <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
1484		interrupt-names = "int0", "int1";
1485		bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
1486		status = "disabled";
1487	};
1488
1489	crypto: crypto@40900000 {
1490		compatible = "ti,am64-sa2ul";
1491		reg = <0x00 0x40900000 0x00 0x1200>;
1492		power-domains = <&k3_pds 133 TI_SCI_PD_SHARED>;
1493		#address-cells = <2>;
1494		#size-cells = <2>;
1495		ranges = <0x00 0x40900000 0x00 0x40900000 0x00 0x30000>;
1496		dmas = <&main_pktdma 0xc001 0>, <&main_pktdma 0x4002 0>,
1497		       <&main_pktdma 0x4003 0>;
1498		dma-names = "tx", "rx1", "rx2";
1499
1500		rng: rng@40910000 {
1501			compatible = "inside-secure,safexcel-eip76";
1502			reg = <0x00 0x40910000 0x00 0x7d>;
1503			interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
1504			status = "disabled"; /* Used by OP-TEE */
1505		};
1506	};
1507
1508	gpmc0: memory-controller@3b000000 {
1509		compatible = "ti,am64-gpmc";
1510		power-domains = <&k3_pds 80 TI_SCI_PD_EXCLUSIVE>;
1511		clocks = <&k3_clks 80 0>;
1512		clock-names = "fck";
1513		reg = <0x00 0x3b000000 0x00 0x400>,
1514		      <0x00 0x50000000 0x00 0x8000000>;
1515		reg-names = "cfg", "data";
1516		interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
1517		gpmc,num-cs = <3>;
1518		gpmc,num-waitpins = <2>;
1519		#address-cells = <2>;
1520		#size-cells = <1>;
1521		interrupt-controller;
1522		#interrupt-cells = <2>;
1523		gpio-controller;
1524		#gpio-cells = <2>;
1525		status = "disabled";
1526	};
1527
1528	elm0: ecc@25010000 {
1529		compatible = "ti,am64-elm";
1530		reg = <0x00 0x25010000 0x00 0x2000>;
1531		interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
1532		power-domains = <&k3_pds 54 TI_SCI_PD_EXCLUSIVE>;
1533		clocks = <&k3_clks 54 0>;
1534		clock-names = "fck";
1535		status = "disabled";
1536	};
1537
1538	main_vtm0: temperature-sensor@b00000 {
1539		compatible = "ti,j7200-vtm";
1540		reg = <0x00 0xb00000 0x00 0x400>,
1541		      <0x00 0xb01000 0x00 0x400>;
1542		power-domains = <&k3_pds 95 TI_SCI_PD_EXCLUSIVE>;
1543		#thermal-sensor-cells = <1>;
1544	};
1545};
1546