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&cbass_main {
9	oc_sram: sram@70000000 {
10		compatible = "mmio-sram";
11		reg = <0x00 0x70000000 0x00 0x200000>;
12		#address-cells = <1>;
13		#size-cells = <1>;
14		ranges = <0x0 0x00 0x70000000 0x200000>;
15
16		atf-sram@0 {
17			reg = <0x0 0x1a000>;
18		};
19	};
20
21	gic500: interrupt-controller@1800000 {
22		compatible = "arm,gic-v3";
23		#address-cells = <2>;
24		#size-cells = <2>;
25		ranges;
26		#interrupt-cells = <3>;
27		interrupt-controller;
28		reg = <0x00 0x01800000 0x00 0x10000>,	/* GICD */
29		      <0x00 0x01840000 0x00 0xC0000>;	/* GICR */
30		/*
31		 * vcpumntirq:
32		 * virtual CPU interface maintenance interrupt
33		 */
34		interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
35
36		gic_its: msi-controller@1820000 {
37			compatible = "arm,gic-v3-its";
38			reg = <0x00 0x01820000 0x00 0x10000>;
39			socionext,synquacer-pre-its = <0x1000000 0x400000>;
40			msi-controller;
41			#msi-cells = <1>;
42		};
43	};
44
45	dmss: dmss {
46		compatible = "simple-mfd";
47		#address-cells = <2>;
48		#size-cells = <2>;
49		dma-ranges;
50		ranges;
51
52		ti,sci-dev-id = <25>;
53
54		secure_proxy_main: mailbox@4d000000 {
55			compatible = "ti,am654-secure-proxy";
56			#mbox-cells = <1>;
57			reg-names = "target_data", "rt", "scfg";
58			reg = <0x00 0x4d000000 0x00 0x80000>,
59			      <0x00 0x4a600000 0x00 0x80000>,
60			      <0x00 0x4a400000 0x00 0x80000>;
61			interrupt-names = "rx_012";
62			interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
63		};
64
65		inta_main_dmss: interrupt-controller@48000000 {
66			compatible = "ti,sci-inta";
67			reg = <0x00 0x48000000 0x00 0x100000>;
68			#interrupt-cells = <0>;
69			interrupt-controller;
70			interrupt-parent = <&gic500>;
71			msi-controller;
72			ti,sci = <&dmsc>;
73			ti,sci-dev-id = <28>;
74			ti,interrupt-ranges = <4 68 36>;
75			ti,unmapped-event-sources = <&main_bcdma>, <&main_pktdma>;
76		};
77
78		main_bcdma: dma-controller@485c0100 {
79			compatible = "ti,am64-dmss-bcdma";
80			reg = <0x00 0x485c0100 0x00 0x100>,
81			      <0x00 0x4c000000 0x00 0x20000>,
82			      <0x00 0x4a820000 0x00 0x20000>,
83			      <0x00 0x4aa40000 0x00 0x20000>,
84			      <0x00 0x4bc00000 0x00 0x100000>;
85			reg-names = "gcfg", "bchanrt", "rchanrt", "tchanrt", "ringrt";
86			msi-parent = <&inta_main_dmss>;
87			#dma-cells = <3>;
88
89			ti,sci = <&dmsc>;
90			ti,sci-dev-id = <26>;
91			ti,sci-rm-range-bchan = <0x20>; /* BLOCK_COPY_CHAN */
92			ti,sci-rm-range-rchan = <0x21>; /* SPLIT_TR_RX_CHAN */
93			ti,sci-rm-range-tchan = <0x22>; /* SPLIT_TR_TX_CHAN */
94		};
95
96		main_pktdma: dma-controller@485c0000 {
97			compatible = "ti,am64-dmss-pktdma";
98			reg = <0x00 0x485c0000 0x00 0x100>,
99			      <0x00 0x4a800000 0x00 0x20000>,
100			      <0x00 0x4aa00000 0x00 0x40000>,
101			      <0x00 0x4b800000 0x00 0x400000>;
102			reg-names = "gcfg", "rchanrt", "tchanrt", "ringrt";
103			msi-parent = <&inta_main_dmss>;
104			#dma-cells = <2>;
105
106			ti,sci = <&dmsc>;
107			ti,sci-dev-id = <30>;
108			ti,sci-rm-range-tchan = <0x23>, /* UNMAPPED_TX_CHAN */
109						<0x24>, /* CPSW_TX_CHAN */
110						<0x25>, /* SAUL_TX_0_CHAN */
111						<0x26>, /* SAUL_TX_1_CHAN */
112						<0x27>, /* ICSSG_0_TX_CHAN */
113						<0x28>; /* ICSSG_1_TX_CHAN */
114			ti,sci-rm-range-tflow = <0x10>, /* RING_UNMAPPED_TX_CHAN */
115						<0x11>, /* RING_CPSW_TX_CHAN */
116						<0x12>, /* RING_SAUL_TX_0_CHAN */
117						<0x13>, /* RING_SAUL_TX_1_CHAN */
118						<0x14>, /* RING_ICSSG_0_TX_CHAN */
119						<0x15>; /* RING_ICSSG_1_TX_CHAN */
120			ti,sci-rm-range-rchan = <0x29>, /* UNMAPPED_RX_CHAN */
121						<0x2b>, /* CPSW_RX_CHAN */
122						<0x2d>, /* SAUL_RX_0_CHAN */
123						<0x2f>, /* SAUL_RX_1_CHAN */
124						<0x31>, /* SAUL_RX_2_CHAN */
125						<0x33>, /* SAUL_RX_3_CHAN */
126						<0x35>, /* ICSSG_0_RX_CHAN */
127						<0x37>; /* ICSSG_1_RX_CHAN */
128			ti,sci-rm-range-rflow = <0x2a>, /* FLOW_UNMAPPED_RX_CHAN */
129						<0x2c>, /* FLOW_CPSW_RX_CHAN */
130						<0x2e>, /* FLOW_SAUL_RX_0/1_CHAN */
131						<0x32>, /* FLOW_SAUL_RX_2/3_CHAN */
132						<0x36>, /* FLOW_ICSSG_0_RX_CHAN */
133						<0x38>; /* FLOW_ICSSG_1_RX_CHAN */
134		};
135	};
136
137	dmsc: dmsc@44043000 {
138		compatible = "ti,k2g-sci";
139		ti,host-id = <12>;
140		mbox-names = "rx", "tx";
141		mboxes= <&secure_proxy_main 12>,
142			<&secure_proxy_main 13>;
143		reg-names = "debug_messages";
144		reg = <0x00 0x44043000 0x00 0xfe0>;
145
146		k3_pds: power-controller {
147			compatible = "ti,sci-pm-domain";
148			#power-domain-cells = <2>;
149		};
150
151		k3_clks: clocks {
152			compatible = "ti,k2g-sci-clk";
153			#clock-cells = <2>;
154		};
155
156		k3_reset: reset-controller {
157			compatible = "ti,sci-reset";
158			#reset-cells = <2>;
159		};
160	};
161
162	main_pmx0: pinctrl@f4000 {
163		compatible = "pinctrl-single";
164		reg = <0x00 0xf4000 0x00 0x2d0>;
165		#pinctrl-cells = <1>;
166		pinctrl-single,register-width = <32>;
167		pinctrl-single,function-mask = <0xffffffff>;
168	};
169
170	main_conf: syscon@43000000 {
171		compatible = "syscon", "simple-mfd";
172		reg = <0x00 0x43000000 0x00 0x20000>;
173		#address-cells = <1>;
174		#size-cells = <1>;
175		ranges = <0x00 0x00 0x43000000 0x20000>;
176
177		chipid@14 {
178			compatible = "ti,am654-chipid";
179			reg = <0x00000014 0x4>;
180		};
181
182		phy_gmii_sel: phy@4044 {
183			compatible = "ti,am654-phy-gmii-sel";
184			reg = <0x4044 0x8>;
185			#phy-cells = <1>;
186		};
187	};
188
189	main_uart0: serial@2800000 {
190		compatible = "ti,am64-uart", "ti,am654-uart";
191		reg = <0x00 0x02800000 0x00 0x100>;
192		reg-shift = <2>;
193		reg-io-width = <4>;
194		interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
195		clock-frequency = <48000000>;
196		current-speed = <115200>;
197		power-domains = <&k3_pds 146 TI_SCI_PD_EXCLUSIVE>;
198		clocks = <&k3_clks 146 0>;
199		clock-names = "fclk";
200	};
201
202	main_uart1: serial@2810000 {
203		compatible = "ti,am64-uart", "ti,am654-uart";
204		reg = <0x00 0x02810000 0x00 0x100>;
205		reg-shift = <2>;
206		reg-io-width = <4>;
207		interrupts = <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>;
208		clock-frequency = <48000000>;
209		current-speed = <115200>;
210		power-domains = <&k3_pds 152 TI_SCI_PD_EXCLUSIVE>;
211		clocks = <&k3_clks 152 0>;
212		clock-names = "fclk";
213	};
214
215	main_uart2: serial@2820000 {
216		compatible = "ti,am64-uart", "ti,am654-uart";
217		reg = <0x00 0x02820000 0x00 0x100>;
218		reg-shift = <2>;
219		reg-io-width = <4>;
220		interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>;
221		clock-frequency = <48000000>;
222		current-speed = <115200>;
223		power-domains = <&k3_pds 153 TI_SCI_PD_EXCLUSIVE>;
224		clocks = <&k3_clks 153 0>;
225		clock-names = "fclk";
226	};
227
228	main_uart3: serial@2830000 {
229		compatible = "ti,am64-uart", "ti,am654-uart";
230		reg = <0x00 0x02830000 0x00 0x100>;
231		reg-shift = <2>;
232		reg-io-width = <4>;
233		interrupts = <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>;
234		clock-frequency = <48000000>;
235		current-speed = <115200>;
236		power-domains = <&k3_pds 154 TI_SCI_PD_EXCLUSIVE>;
237		clocks = <&k3_clks 154 0>;
238		clock-names = "fclk";
239	};
240
241	main_uart4: serial@2840000 {
242		compatible = "ti,am64-uart", "ti,am654-uart";
243		reg = <0x00 0x02840000 0x00 0x100>;
244		reg-shift = <2>;
245		reg-io-width = <4>;
246		interrupts = <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>;
247		clock-frequency = <48000000>;
248		current-speed = <115200>;
249		power-domains = <&k3_pds 155 TI_SCI_PD_EXCLUSIVE>;
250		clocks = <&k3_clks 155 0>;
251		clock-names = "fclk";
252	};
253
254	main_uart5: serial@2850000 {
255		compatible = "ti,am64-uart", "ti,am654-uart";
256		reg = <0x00 0x02850000 0x00 0x100>;
257		reg-shift = <2>;
258		reg-io-width = <4>;
259		interrupts = <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>;
260		clock-frequency = <48000000>;
261		current-speed = <115200>;
262		power-domains = <&k3_pds 156 TI_SCI_PD_EXCLUSIVE>;
263		clocks = <&k3_clks 156 0>;
264		clock-names = "fclk";
265	};
266
267	main_uart6: serial@2860000 {
268		compatible = "ti,am64-uart", "ti,am654-uart";
269		reg = <0x00 0x02860000 0x00 0x100>;
270		reg-shift = <2>;
271		reg-io-width = <4>;
272		interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
273		clock-frequency = <48000000>;
274		current-speed = <115200>;
275		power-domains = <&k3_pds 158 TI_SCI_PD_EXCLUSIVE>;
276		clocks = <&k3_clks 158 0>;
277		clock-names = "fclk";
278	};
279
280	main_i2c0: i2c@20000000 {
281		compatible = "ti,am64-i2c", "ti,omap4-i2c";
282		reg = <0x00 0x20000000 0x00 0x100>;
283		interrupts = <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
284		#address-cells = <1>;
285		#size-cells = <0>;
286		power-domains = <&k3_pds 102 TI_SCI_PD_EXCLUSIVE>;
287		clocks = <&k3_clks 102 2>;
288		clock-names = "fck";
289	};
290
291	main_i2c1: i2c@20010000 {
292		compatible = "ti,am64-i2c", "ti,omap4-i2c";
293		reg = <0x00 0x20010000 0x00 0x100>;
294		interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
295		#address-cells = <1>;
296		#size-cells = <0>;
297		power-domains = <&k3_pds 103 TI_SCI_PD_EXCLUSIVE>;
298		clocks = <&k3_clks 103 2>;
299		clock-names = "fck";
300	};
301
302	main_i2c2: i2c@20020000 {
303		compatible = "ti,am64-i2c", "ti,omap4-i2c";
304		reg = <0x00 0x20020000 0x00 0x100>;
305		interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
306		#address-cells = <1>;
307		#size-cells = <0>;
308		power-domains = <&k3_pds 104 TI_SCI_PD_EXCLUSIVE>;
309		clocks = <&k3_clks 104 2>;
310		clock-names = "fck";
311	};
312
313	main_i2c3: i2c@20030000 {
314		compatible = "ti,am64-i2c", "ti,omap4-i2c";
315		reg = <0x00 0x20030000 0x00 0x100>;
316		interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
317		#address-cells = <1>;
318		#size-cells = <0>;
319		power-domains = <&k3_pds 105 TI_SCI_PD_EXCLUSIVE>;
320		clocks = <&k3_clks 105 2>;
321		clock-names = "fck";
322	};
323
324	main_spi0: spi@20100000 {
325		compatible = "ti,am654-mcspi", "ti,omap4-mcspi";
326		reg = <0x00 0x20100000 0x00 0x400>;
327		interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
328		#address-cells = <1>;
329		#size-cells = <0>;
330		power-domains = <&k3_pds 141 TI_SCI_PD_EXCLUSIVE>;
331		clocks = <&k3_clks 141 0>;
332		dmas = <&main_pktdma 0xc300 0>, <&main_pktdma 0x4300 0>;
333		dma-names = "tx0", "rx0";
334	};
335
336	main_spi1: spi@20110000 {
337		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
338		reg = <0x00 0x20110000 0x00 0x400>;
339		interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
340		#address-cells = <1>;
341		#size-cells = <0>;
342		power-domains = <&k3_pds 142 TI_SCI_PD_EXCLUSIVE>;
343		clocks = <&k3_clks 142 0>;
344	};
345
346	main_spi2: spi@20120000 {
347		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
348		reg = <0x00 0x20120000 0x00 0x400>;
349		interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
350		#address-cells = <1>;
351		#size-cells = <0>;
352		power-domains = <&k3_pds 143 TI_SCI_PD_EXCLUSIVE>;
353		clocks = <&k3_clks 143 0>;
354	};
355
356	main_spi3: spi@20130000 {
357		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
358		reg = <0x00 0x20130000 0x00 0x400>;
359		interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
360		#address-cells = <1>;
361		#size-cells = <0>;
362		power-domains = <&k3_pds 144 TI_SCI_PD_EXCLUSIVE>;
363		clocks = <&k3_clks 144 0>;
364	};
365
366	main_spi4: spi@20140000 {
367		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
368		reg = <0x00 0x20140000 0x00 0x400>;
369		interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
370		#address-cells = <1>;
371		#size-cells = <0>;
372		power-domains = <&k3_pds 145 TI_SCI_PD_EXCLUSIVE>;
373		clocks = <&k3_clks 145 0>;
374	};
375
376	main_gpio_intr: interrupt-controller0 {
377		compatible = "ti,sci-intr";
378		ti,intr-trigger-type = <1>;
379		interrupt-controller;
380		interrupt-parent = <&gic500>;
381		#interrupt-cells = <1>;
382		ti,sci = <&dmsc>;
383		ti,sci-dev-id = <3>;
384		ti,interrupt-ranges = <0 32 16>;
385	};
386
387	main_gpio0: gpio@600000 {
388		compatible = "ti,am64-gpio", "ti,keystone-gpio";
389		reg = <0x0 0x00600000 0x0 0x100>;
390		gpio-controller;
391		#gpio-cells = <2>;
392		interrupt-parent = <&main_gpio_intr>;
393		interrupts = <190>, <191>, <192>,
394			     <193>, <194>, <195>;
395		interrupt-controller;
396		#interrupt-cells = <2>;
397		ti,ngpio = <87>;
398		ti,davinci-gpio-unbanked = <0>;
399		power-domains = <&k3_pds 77 TI_SCI_PD_EXCLUSIVE>;
400		clocks = <&k3_clks 77 0>;
401		clock-names = "gpio";
402	};
403
404	main_gpio1: gpio@601000 {
405		compatible = "ti,am64-gpio", "ti,keystone-gpio";
406		reg = <0x0 0x00601000 0x0 0x100>;
407		gpio-controller;
408		#gpio-cells = <2>;
409		interrupt-parent = <&main_gpio_intr>;
410		interrupts = <180>, <181>, <182>,
411			     <183>, <184>, <185>;
412		interrupt-controller;
413		#interrupt-cells = <2>;
414		ti,ngpio = <88>;
415		ti,davinci-gpio-unbanked = <0>;
416		power-domains = <&k3_pds 78 TI_SCI_PD_EXCLUSIVE>;
417		clocks = <&k3_clks 78 0>;
418		clock-names = "gpio";
419	};
420
421	sdhci0: mmc@fa10000 {
422		compatible = "ti,am64-sdhci-8bit";
423		reg = <0x00 0xfa10000 0x00 0x260>, <0x00 0xfa18000 0x00 0x134>;
424		interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
425		power-domains = <&k3_pds 57 TI_SCI_PD_EXCLUSIVE>;
426		clocks = <&k3_clks 57 0>, <&k3_clks 57 1>;
427		clock-names = "clk_ahb", "clk_xin";
428		mmc-ddr-1_8v;
429		mmc-hs200-1_8v;
430		mmc-hs400-1_8v;
431		ti,trm-icp = <0x2>;
432		ti,otap-del-sel-legacy = <0x0>;
433		ti,otap-del-sel-mmc-hs = <0x0>;
434		ti,otap-del-sel-ddr52 = <0x6>;
435		ti,otap-del-sel-hs200 = <0x7>;
436		ti,otap-del-sel-hs400 = <0x4>;
437	};
438
439	sdhci1: mmc@fa00000 {
440		compatible = "ti,am64-sdhci-4bit";
441		reg = <0x00 0xfa00000 0x00 0x260>, <0x00 0xfa08000 0x00 0x134>;
442		interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
443		power-domains = <&k3_pds 58 TI_SCI_PD_EXCLUSIVE>;
444		clocks = <&k3_clks 58 3>, <&k3_clks 58 4>;
445		clock-names = "clk_ahb", "clk_xin";
446		ti,trm-icp = <0x2>;
447		ti,otap-del-sel-legacy = <0x0>;
448		ti,otap-del-sel-sd-hs = <0xf>;
449		ti,otap-del-sel-sdr12 = <0xf>;
450		ti,otap-del-sel-sdr25 = <0xf>;
451		ti,otap-del-sel-sdr50 = <0xc>;
452		ti,otap-del-sel-sdr104 = <0x6>;
453		ti,otap-del-sel-ddr50 = <0x9>;
454		ti,clkbuf-sel = <0x7>;
455	};
456
457	cpsw3g: ethernet@8000000 {
458		compatible = "ti,am642-cpsw-nuss";
459		#address-cells = <2>;
460		#size-cells = <2>;
461		reg = <0x0 0x8000000 0x0 0x200000>;
462		reg-names = "cpsw_nuss";
463		ranges = <0x0 0x0 0x0 0x8000000 0x0 0x200000>;
464		clocks = <&k3_clks 13 0>;
465		assigned-clocks = <&k3_clks 13 1>;
466		assigned-clock-parents = <&k3_clks 13 9>;
467		clock-names = "fck";
468		power-domains = <&k3_pds 13 TI_SCI_PD_EXCLUSIVE>;
469
470		dmas = <&main_pktdma 0xC500 15>,
471		       <&main_pktdma 0xC501 15>,
472		       <&main_pktdma 0xC502 15>,
473		       <&main_pktdma 0xC503 15>,
474		       <&main_pktdma 0xC504 15>,
475		       <&main_pktdma 0xC505 15>,
476		       <&main_pktdma 0xC506 15>,
477		       <&main_pktdma 0xC507 15>,
478		       <&main_pktdma 0x4500 15>;
479		dma-names = "tx0", "tx1", "tx2", "tx3", "tx4", "tx5", "tx6",
480			    "tx7", "rx";
481
482		ethernet-ports {
483			#address-cells = <1>;
484			#size-cells = <0>;
485
486			cpsw_port1: port@1 {
487				reg = <1>;
488				ti,mac-only;
489				label = "port1";
490				phys = <&phy_gmii_sel 1>;
491				mac-address = [00 00 de ad be ef];
492			};
493
494			cpsw_port2: port@2 {
495				reg = <2>;
496				ti,mac-only;
497				label = "port2";
498				phys = <&phy_gmii_sel 2>;
499				mac-address = [00 01 de ad be ef];
500			};
501		};
502
503		cpsw3g_mdio: mdio@f00 {
504			compatible = "ti,cpsw-mdio","ti,davinci_mdio";
505			reg = <0x0 0xf00 0x0 0x100>;
506			#address-cells = <1>;
507			#size-cells = <0>;
508			clocks = <&k3_clks 13 0>;
509			clock-names = "fck";
510			bus_freq = <1000000>;
511		};
512
513		cpts@3d000 {
514			compatible = "ti,j721e-cpts";
515			reg = <0x0 0x3d000 0x0 0x400>;
516			clocks = <&k3_clks 13 1>;
517			clock-names = "cpts";
518			interrupts-extended = <&gic500 GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
519			interrupt-names = "cpts";
520			ti,cpts-ext-ts-inputs = <4>;
521			ti,cpts-periodic-outputs = <2>;
522		};
523	};
524
525	cpts@39000000 {
526		compatible = "ti,j721e-cpts";
527		reg = <0x0 0x39000000 0x0 0x400>;
528		reg-names = "cpts";
529		power-domains = <&k3_pds 84 TI_SCI_PD_EXCLUSIVE>;
530		clocks = <&k3_clks 84 0>;
531		clock-names = "cpts";
532		assigned-clocks = <&k3_clks 84 0>;
533		assigned-clock-parents = <&k3_clks 84 8>;
534		interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
535		interrupt-names = "cpts";
536		ti,cpts-periodic-outputs = <6>;
537		ti,cpts-ext-ts-inputs = <8>;
538	};
539
540	usbss0: cdns-usb@f900000{
541		compatible = "ti,am64-usb";
542		reg = <0x00 0xf900000 0x00 0x100>;
543		power-domains = <&k3_pds 161 TI_SCI_PD_EXCLUSIVE>;
544		clocks = <&k3_clks 161 9>, <&k3_clks 161 1>;
545		clock-names = "ref", "lpm";
546		assigned-clocks = <&k3_clks 161 9>; /* USB2_REFCLK */
547		assigned-clock-parents = <&k3_clks 161 10>; /* HF0SC0 */
548		#address-cells = <2>;
549		#size-cells = <2>;
550		ranges;
551		usb0: usb@f400000{
552			compatible = "cdns,usb3";
553			reg = <0x00 0xf400000 0x00 0x10000>,
554			      <0x00 0xf410000 0x00 0x10000>,
555			      <0x00 0xf420000 0x00 0x10000>;
556			reg-names = "otg",
557				    "xhci",
558				    "dev";
559			interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>, /* irq.0 */
560				     <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>, /* irq.6 */
561				     <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>; /* otgirq */
562			interrupt-names = "host",
563					  "peripheral",
564					  "otg";
565			maximum-speed = "super-speed";
566			dr_mode = "otg";
567		};
568	};
569
570	tscadc0: tscadc@28001000 {
571		compatible = "ti,am654-tscadc", "ti,am3359-tscadc";
572		reg = <0x00 0x28001000 0x00 0x1000>;
573		interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
574		power-domains = <&k3_pds 0 TI_SCI_PD_EXCLUSIVE>;
575		clocks = <&k3_clks 0 0>;
576		assigned-clocks = <&k3_clks 0 0>;
577		assigned-clock-parents = <&k3_clks 0 3>;
578		assigned-clock-rates = <60000000>;
579		clock-names = "adc_tsc_fck";
580
581		adc {
582			#io-channel-cells = <1>;
583			compatible = "ti,am654-adc", "ti,am3359-adc";
584		};
585	};
586
587	fss: bus@fc00000 {
588		compatible = "simple-bus";
589		reg = <0x00 0x0fc00000 0x00 0x70000>;
590		#address-cells = <2>;
591		#size-cells = <2>;
592		ranges;
593
594		ospi0: spi@fc40000 {
595			compatible = "ti,am654-ospi", "cdns,qspi-nor";
596			reg = <0x00 0x0fc40000 0x00 0x100>,
597			      <0x05 0x00000000 0x01 0x00000000>;
598			interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
599			cdns,fifo-depth = <256>;
600			cdns,fifo-width = <4>;
601			cdns,trigger-address = <0x0>;
602			#address-cells = <0x1>;
603			#size-cells = <0x0>;
604			clocks = <&k3_clks 75 6>;
605			assigned-clocks = <&k3_clks 75 6>;
606			assigned-clock-parents = <&k3_clks 75 7>;
607			assigned-clock-rates = <166666666>;
608			power-domains = <&k3_pds 75 TI_SCI_PD_EXCLUSIVE>;
609		};
610	};
611
612	hwspinlock: spinlock@2a000000 {
613		compatible = "ti,am64-hwspinlock";
614		reg = <0x00 0x2a000000 0x00 0x1000>;
615		#hwlock-cells = <1>;
616	};
617
618	mailbox0_cluster2: mailbox@29020000 {
619		compatible = "ti,am64-mailbox";
620		reg = <0x00 0x29020000 0x00 0x200>;
621		interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>,
622			     <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
623		#mbox-cells = <1>;
624		ti,mbox-num-users = <4>;
625		ti,mbox-num-fifos = <16>;
626	};
627
628	mailbox0_cluster3: mailbox@29030000 {
629		compatible = "ti,am64-mailbox";
630		reg = <0x00 0x29030000 0x00 0x200>;
631		interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>,
632			     <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
633		#mbox-cells = <1>;
634		ti,mbox-num-users = <4>;
635		ti,mbox-num-fifos = <16>;
636	};
637
638	mailbox0_cluster4: mailbox@29040000 {
639		compatible = "ti,am64-mailbox";
640		reg = <0x00 0x29040000 0x00 0x200>;
641		interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
642			     <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
643		#mbox-cells = <1>;
644		ti,mbox-num-users = <4>;
645		ti,mbox-num-fifos = <16>;
646	};
647
648	mailbox0_cluster5: mailbox@29050000 {
649		compatible = "ti,am64-mailbox";
650		reg = <0x00 0x29050000 0x00 0x200>;
651		interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
652			     <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
653		#mbox-cells = <1>;
654		ti,mbox-num-users = <4>;
655		ti,mbox-num-fifos = <16>;
656	};
657
658	mailbox0_cluster6: mailbox@29060000 {
659		compatible = "ti,am64-mailbox";
660		reg = <0x00 0x29060000 0x00 0x200>;
661		interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
662		#mbox-cells = <1>;
663		ti,mbox-num-users = <4>;
664		ti,mbox-num-fifos = <16>;
665	};
666
667	mailbox0_cluster7: mailbox@29070000 {
668		compatible = "ti,am64-mailbox";
669		reg = <0x00 0x29070000 0x00 0x200>;
670		interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
671		#mbox-cells = <1>;
672		ti,mbox-num-users = <4>;
673		ti,mbox-num-fifos = <16>;
674	};
675};
676