1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source for J784S4 SoC Family MCU/WAKEUP Domain peripherals
4 *
5 * Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/
6 */
7
8&cbass_mcu_wakeup {
9	sms: system-controller@44083000 {
10		compatible = "ti,k2g-sci";
11		ti,host-id = <12>;
12
13		mbox-names = "rx", "tx";
14
15		mboxes = <&secure_proxy_main 11>,
16			 <&secure_proxy_main 13>;
17
18		reg-names = "debug_messages";
19		reg = <0x00 0x44083000 0x00 0x1000>;
20
21		k3_pds: power-controller {
22			compatible = "ti,sci-pm-domain";
23			#power-domain-cells = <2>;
24		};
25
26		k3_clks: clock-controller {
27			compatible = "ti,k2g-sci-clk";
28			#clock-cells = <2>;
29		};
30
31		k3_reset: reset-controller {
32			compatible = "ti,sci-reset";
33			#reset-cells = <2>;
34		};
35	};
36
37	chipid@43000014 {
38		compatible = "ti,am654-chipid";
39		reg = <0x00 0x43000014 0x00 0x4>;
40	};
41
42	secure_proxy_sa3: mailbox@43600000 {
43		compatible = "ti,am654-secure-proxy";
44		#mbox-cells = <1>;
45		reg-names = "target_data", "rt", "scfg";
46		reg = <0x00 0x43600000 0x00 0x10000>,
47		      <0x00 0x44880000 0x00 0x20000>,
48		      <0x00 0x44860000 0x00 0x20000>;
49		/*
50		 * Marked Disabled:
51		 * Node is incomplete as it is meant for bootloaders and
52		 * firmware on non-MPU processors
53		 */
54		status = "disabled";
55	};
56
57	mcu_ram: sram@41c00000 {
58		compatible = "mmio-sram";
59		reg = <0x00 0x41c00000 0x00 0x100000>;
60		ranges = <0x00 0x00 0x41c00000 0x100000>;
61		#address-cells = <1>;
62		#size-cells = <1>;
63	};
64
65	wkup_pmx0: pinctrl@4301c000 {
66		compatible = "pinctrl-single";
67		/* Proxy 0 addressing */
68		reg = <0x00 0x4301c000 0x00 0x034>;
69		#pinctrl-cells = <1>;
70		pinctrl-single,register-width = <32>;
71		pinctrl-single,function-mask = <0xffffffff>;
72	};
73
74	wkup_pmx1: pinctrl@4301c038 {
75		compatible = "pinctrl-single";
76		/* Proxy 0 addressing */
77		reg = <0x00 0x4301c038 0x00 0x02c>;
78		#pinctrl-cells = <1>;
79		pinctrl-single,register-width = <32>;
80		pinctrl-single,function-mask = <0xffffffff>;
81	};
82
83	wkup_pmx2: pinctrl@4301c068 {
84		compatible = "pinctrl-single";
85		/* Proxy 0 addressing */
86		reg = <0x00 0x4301c068 0x00 0x120>;
87		#pinctrl-cells = <1>;
88		pinctrl-single,register-width = <32>;
89		pinctrl-single,function-mask = <0xffffffff>;
90	};
91
92	wkup_pmx3: pinctrl@4301c190 {
93		compatible = "pinctrl-single";
94		/* Proxy 0 addressing */
95		reg = <0x00 0x4301c190 0x00 0x004>;
96		#pinctrl-cells = <1>;
97		pinctrl-single,register-width = <32>;
98		pinctrl-single,function-mask = <0xffffffff>;
99	};
100
101	wkup_gpio_intr: interrupt-controller@42200000 {
102		compatible = "ti,sci-intr";
103		reg = <0x00 0x42200000 0x00 0x400>;
104		ti,intr-trigger-type = <1>;
105		interrupt-controller;
106		interrupt-parent = <&gic500>;
107		#interrupt-cells = <1>;
108		ti,sci = <&sms>;
109		ti,sci-dev-id = <177>;
110		ti,interrupt-ranges = <16 928 16>;
111	};
112
113	/* MCU_TIMERIO pad input CTRLMMR_MCU_TIMER*_CTRL registers */
114	mcu_timerio_input: pinctrl@40f04200 {
115		compatible = "pinctrl-single";
116		reg = <0x00 0x40f04200 0x00 0x28>;
117		#pinctrl-cells = <1>;
118		pinctrl-single,register-width = <32>;
119		pinctrl-single,function-mask = <0x0000000f>;
120		/* Non-MPU Firmware usage */
121		status = "reserved";
122	};
123
124	/* MCU_TIMERIO pad output CTRLMMR_MCU_TIMERIO*_CTRL registers */
125	mcu_timerio_output: pinctrl@40f04280 {
126		compatible = "pinctrl-single";
127		reg = <0x00 0x40f04280 0x00 0x28>;
128		#pinctrl-cells = <1>;
129		pinctrl-single,register-width = <32>;
130		pinctrl-single,function-mask = <0x0000000f>;
131		/* Non-MPU Firmware usage */
132		status = "reserved";
133	};
134
135	mcu_conf: syscon@40f00000 {
136		compatible = "ti,j721e-system-controller", "syscon", "simple-mfd";
137		reg = <0x00 0x40f00000 0x00 0x20000>;
138		#address-cells = <1>;
139		#size-cells = <1>;
140		ranges = <0x00 0x00 0x40f00000 0x20000>;
141
142		phy_gmii_sel: phy@4040 {
143			compatible = "ti,am654-phy-gmii-sel";
144			reg = <0x4040 0x4>;
145			#phy-cells = <1>;
146		};
147	};
148
149	mcu_timer0: timer@40400000 {
150		compatible = "ti,am654-timer";
151		reg = <0x00 0x40400000 0x00 0x400>;
152		interrupts = <GIC_SPI 816 IRQ_TYPE_LEVEL_HIGH>;
153		clocks = <&k3_clks 35 2>;
154		clock-names = "fck";
155		assigned-clocks = <&k3_clks 35 2>;
156		assigned-clock-parents = <&k3_clks 35 3>;
157		power-domains = <&k3_pds 35 TI_SCI_PD_EXCLUSIVE>;
158		ti,timer-pwm;
159		/* Non-MPU Firmware usage */
160		status = "reserved";
161	};
162
163	mcu_timer1: timer@40410000 {
164		compatible = "ti,am654-timer";
165		reg = <0x00 0x40410000 0x00 0x400>;
166		interrupts = <GIC_SPI 817 IRQ_TYPE_LEVEL_HIGH>;
167		clocks = <&k3_clks 117 2>;
168		clock-names = "fck";
169		assigned-clocks = <&k3_clks 117 2>;
170		assigned-clock-parents = <&k3_clks 117 3>;
171		power-domains = <&k3_pds 117 TI_SCI_PD_EXCLUSIVE>;
172		ti,timer-pwm;
173		/* Non-MPU Firmware usage */
174		status = "reserved";
175	};
176
177	mcu_timer2: timer@40420000 {
178		compatible = "ti,am654-timer";
179		reg = <0x00 0x40420000 0x00 0x400>;
180		interrupts = <GIC_SPI 818 IRQ_TYPE_LEVEL_HIGH>;
181		clocks = <&k3_clks 118 2>;
182		clock-names = "fck";
183		assigned-clocks = <&k3_clks 118 2>;
184		assigned-clock-parents = <&k3_clks 118 3>;
185		power-domains = <&k3_pds 118 TI_SCI_PD_EXCLUSIVE>;
186		ti,timer-pwm;
187		/* Non-MPU Firmware usage */
188		status = "reserved";
189	};
190
191	mcu_timer3: timer@40430000 {
192		compatible = "ti,am654-timer";
193		reg = <0x00 0x40430000 0x00 0x400>;
194		interrupts = <GIC_SPI 819 IRQ_TYPE_LEVEL_HIGH>;
195		clocks = <&k3_clks 119 2>;
196		clock-names = "fck";
197		assigned-clocks = <&k3_clks 119 2>;
198		assigned-clock-parents = <&k3_clks 119 3>;
199		power-domains = <&k3_pds 119 TI_SCI_PD_EXCLUSIVE>;
200		ti,timer-pwm;
201		/* Non-MPU Firmware usage */
202		status = "reserved";
203	};
204
205	mcu_timer4: timer@40440000 {
206		compatible = "ti,am654-timer";
207		reg = <0x00 0x40440000 0x00 0x400>;
208		interrupts = <GIC_SPI 820 IRQ_TYPE_LEVEL_HIGH>;
209		clocks = <&k3_clks 120 2>;
210		clock-names = "fck";
211		assigned-clocks = <&k3_clks 120 2>;
212		assigned-clock-parents = <&k3_clks 120 3>;
213		power-domains = <&k3_pds 120 TI_SCI_PD_EXCLUSIVE>;
214		ti,timer-pwm;
215		/* Non-MPU Firmware usage */
216		status = "reserved";
217	};
218
219	mcu_timer5: timer@40450000 {
220		compatible = "ti,am654-timer";
221		reg = <0x00 0x40450000 0x00 0x400>;
222		interrupts = <GIC_SPI 821 IRQ_TYPE_LEVEL_HIGH>;
223		clocks = <&k3_clks 121 2>;
224		clock-names = "fck";
225		assigned-clocks = <&k3_clks 121 2>;
226		assigned-clock-parents = <&k3_clks 121 3>;
227		power-domains = <&k3_pds 121 TI_SCI_PD_EXCLUSIVE>;
228		ti,timer-pwm;
229		/* Non-MPU Firmware usage */
230		status = "reserved";
231	};
232
233	mcu_timer6: timer@40460000 {
234		compatible = "ti,am654-timer";
235		reg = <0x00 0x40460000 0x00 0x400>;
236		interrupts = <GIC_SPI 822 IRQ_TYPE_LEVEL_HIGH>;
237		clocks = <&k3_clks 122 2>;
238		clock-names = "fck";
239		assigned-clocks = <&k3_clks 122 2>;
240		assigned-clock-parents = <&k3_clks 122 3>;
241		power-domains = <&k3_pds 122 TI_SCI_PD_EXCLUSIVE>;
242		ti,timer-pwm;
243		/* Non-MPU Firmware usage */
244		status = "reserved";
245	};
246
247	mcu_timer7: timer@40470000 {
248		compatible = "ti,am654-timer";
249		reg = <0x00 0x40470000 0x00 0x400>;
250		interrupts = <GIC_SPI 823 IRQ_TYPE_LEVEL_HIGH>;
251		clocks = <&k3_clks 123 2>;
252		clock-names = "fck";
253		assigned-clocks = <&k3_clks 123 2>;
254		assigned-clock-parents = <&k3_clks 123 3>;
255		power-domains = <&k3_pds 123 TI_SCI_PD_EXCLUSIVE>;
256		ti,timer-pwm;
257		/* Non-MPU Firmware usage */
258		status = "reserved";
259	};
260
261	mcu_timer8: timer@40480000 {
262		compatible = "ti,am654-timer";
263		reg = <0x00 0x40480000 0x00 0x400>;
264		interrupts = <GIC_SPI 824 IRQ_TYPE_LEVEL_HIGH>;
265		clocks = <&k3_clks 124 2>;
266		clock-names = "fck";
267		assigned-clocks = <&k3_clks 124 2>;
268		assigned-clock-parents = <&k3_clks 124 3>;
269		power-domains = <&k3_pds 124 TI_SCI_PD_EXCLUSIVE>;
270		ti,timer-pwm;
271		/* Non-MPU Firmware usage */
272		status = "reserved";
273	};
274
275	mcu_timer9: timer@40490000 {
276		compatible = "ti,am654-timer";
277		reg = <0x00 0x40490000 0x00 0x400>;
278		interrupts = <GIC_SPI 825 IRQ_TYPE_LEVEL_HIGH>;
279		clocks = <&k3_clks 125 2>;
280		clock-names = "fck";
281		assigned-clocks = <&k3_clks 125 2>;
282		assigned-clock-parents = <&k3_clks 125 3>;
283		power-domains = <&k3_pds 125 TI_SCI_PD_EXCLUSIVE>;
284		ti,timer-pwm;
285		/* Non-MPU Firmware usage */
286		status = "reserved";
287	};
288
289	wkup_uart0: serial@42300000 {
290		compatible = "ti,j721e-uart", "ti,am654-uart";
291		reg = <0x00 0x42300000 0x00 0x200>;
292		interrupts = <GIC_SPI 897 IRQ_TYPE_LEVEL_HIGH>;
293		current-speed = <115200>;
294		clocks = <&k3_clks 397 0>;
295		clock-names = "fclk";
296		power-domains = <&k3_pds 397 TI_SCI_PD_EXCLUSIVE>;
297		status = "disabled";
298	};
299
300	mcu_uart0: serial@40a00000 {
301		compatible = "ti,j721e-uart", "ti,am654-uart";
302		reg = <0x00 0x40a00000 0x00 0x200>;
303		interrupts = <GIC_SPI 846 IRQ_TYPE_LEVEL_HIGH>;
304		current-speed = <115200>;
305		clocks = <&k3_clks 149 0>;
306		clock-names = "fclk";
307		power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>;
308		status = "disabled";
309	};
310
311	wkup_gpio0: gpio@42110000 {
312		compatible = "ti,j721e-gpio", "ti,keystone-gpio";
313		reg = <0x00 0x42110000 0x00 0x100>;
314		gpio-controller;
315		#gpio-cells = <2>;
316		interrupt-parent = <&wkup_gpio_intr>;
317		interrupts = <103>, <104>, <105>, <106>, <107>, <108>;
318		interrupt-controller;
319		#interrupt-cells = <2>;
320		ti,ngpio = <89>;
321		ti,davinci-gpio-unbanked = <0>;
322		power-domains = <&k3_pds 167 TI_SCI_PD_EXCLUSIVE>;
323		clocks = <&k3_clks 167 0>;
324		clock-names = "gpio";
325		status = "disabled";
326	};
327
328	wkup_gpio1: gpio@42100000 {
329		compatible = "ti,j721e-gpio", "ti,keystone-gpio";
330		reg = <0x00 0x42100000 0x00 0x100>;
331		gpio-controller;
332		#gpio-cells = <2>;
333		interrupt-parent = <&wkup_gpio_intr>;
334		interrupts = <112>, <113>, <114>, <115>, <116>, <117>;
335		interrupt-controller;
336		#interrupt-cells = <2>;
337		ti,ngpio = <89>;
338		ti,davinci-gpio-unbanked = <0>;
339		power-domains = <&k3_pds 168 TI_SCI_PD_EXCLUSIVE>;
340		clocks = <&k3_clks 168 0>;
341		clock-names = "gpio";
342		status = "disabled";
343	};
344
345	wkup_i2c0: i2c@42120000 {
346		compatible = "ti,j721e-i2c", "ti,omap4-i2c";
347		reg = <0x00 0x42120000 0x00 0x100>;
348		interrupts = <GIC_SPI 896 IRQ_TYPE_LEVEL_HIGH>;
349		#address-cells = <1>;
350		#size-cells = <0>;
351		clocks = <&k3_clks 279 2>;
352		clock-names = "fck";
353		power-domains = <&k3_pds 279 TI_SCI_PD_EXCLUSIVE>;
354		status = "disabled";
355	};
356
357	mcu_i2c0: i2c@40b00000 {
358		compatible = "ti,j721e-i2c", "ti,omap4-i2c";
359		reg = <0x00 0x40b00000 0x00 0x100>;
360		interrupts = <GIC_SPI 852 IRQ_TYPE_LEVEL_HIGH>;
361		#address-cells = <1>;
362		#size-cells = <0>;
363		clocks = <&k3_clks 277 2>;
364		clock-names = "fck";
365		power-domains = <&k3_pds 277 TI_SCI_PD_EXCLUSIVE>;
366		status = "disabled";
367	};
368
369	mcu_i2c1: i2c@40b10000 {
370		compatible = "ti,j721e-i2c", "ti,omap4-i2c";
371		reg = <0x00 0x40b10000 0x00 0x100>;
372		interrupts = <GIC_SPI 853 IRQ_TYPE_LEVEL_HIGH>;
373		#address-cells = <1>;
374		#size-cells = <0>;
375		clocks = <&k3_clks 278 2>;
376		clock-names = "fck";
377		power-domains = <&k3_pds 278 TI_SCI_PD_EXCLUSIVE>;
378		status = "disabled";
379	};
380
381	mcu_mcan0: can@40528000 {
382		compatible = "bosch,m_can";
383		reg = <0x00 0x40528000 0x00 0x200>,
384		      <0x00 0x40500000 0x00 0x8000>;
385		reg-names = "m_can", "message_ram";
386		power-domains = <&k3_pds 263 TI_SCI_PD_EXCLUSIVE>;
387		clocks = <&k3_clks 263 6>, <&k3_clks 263 1>;
388		clock-names = "hclk", "cclk";
389		interrupts = <GIC_SPI 832 IRQ_TYPE_LEVEL_HIGH>,
390			     <GIC_SPI 833 IRQ_TYPE_LEVEL_HIGH>;
391		interrupt-names = "int0", "int1";
392		bosch,mram-cfg = <0x00 128 64 64 64 64 32 32>;
393		status = "disabled";
394	};
395
396	mcu_mcan1: can@40568000 {
397		compatible = "bosch,m_can";
398		reg = <0x00 0x40568000 0x00 0x200>,
399		      <0x00 0x40540000 0x00 0x8000>;
400		reg-names = "m_can", "message_ram";
401		power-domains = <&k3_pds 264 TI_SCI_PD_EXCLUSIVE>;
402		clocks = <&k3_clks 264 6>, <&k3_clks 264 1>;
403		clock-names = "hclk", "cclk";
404		interrupts = <GIC_SPI 835 IRQ_TYPE_LEVEL_HIGH>,
405			     <GIC_SPI 836 IRQ_TYPE_LEVEL_HIGH>;
406		interrupt-names = "int0", "int1";
407		bosch,mram-cfg = <0x00 128 64 64 64 64 32 32>;
408		status = "disabled";
409	};
410
411	mcu_spi0: spi@40300000 {
412		compatible = "ti,am654-mcspi", "ti,omap4-mcspi";
413		reg = <0x00 0x040300000 0x00 0x400>;
414		interrupts = <GIC_SPI 848 IRQ_TYPE_LEVEL_HIGH>;
415		#address-cells = <1>;
416		#size-cells = <0>;
417		power-domains = <&k3_pds 384 TI_SCI_PD_EXCLUSIVE>;
418		clocks = <&k3_clks 384 0>;
419		status = "disabled";
420	};
421
422	mcu_spi1: spi@40310000 {
423		compatible = "ti,am654-mcspi", "ti,omap4-mcspi";
424		reg = <0x00 0x040310000 0x00 0x400>;
425		interrupts = <GIC_SPI 849 IRQ_TYPE_LEVEL_HIGH>;
426		#address-cells = <1>;
427		#size-cells = <0>;
428		power-domains = <&k3_pds 385 TI_SCI_PD_EXCLUSIVE>;
429		clocks = <&k3_clks 385 0>;
430		status = "disabled";
431	};
432
433	mcu_spi2: spi@40320000 {
434		compatible = "ti,am654-mcspi", "ti,omap4-mcspi";
435		reg = <0x00 0x040320000 0x00 0x400>;
436		interrupts = <GIC_SPI 850 IRQ_TYPE_LEVEL_HIGH>;
437		#address-cells = <1>;
438		#size-cells = <0>;
439		power-domains = <&k3_pds 386 TI_SCI_PD_EXCLUSIVE>;
440		clocks = <&k3_clks 386 0>;
441		status = "disabled";
442	};
443
444	mcu_navss: bus@28380000 {
445		compatible = "simple-bus";
446		#address-cells = <2>;
447		#size-cells = <2>;
448		ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>;
449		ti,sci-dev-id = <323>;
450		dma-coherent;
451		dma-ranges;
452
453		mcu_ringacc: ringacc@2b800000 {
454			compatible = "ti,am654-navss-ringacc";
455			reg = <0x00 0x2b800000 0x00 0x400000>,
456			      <0x00 0x2b000000 0x00 0x400000>,
457			      <0x00 0x28590000 0x00 0x100>,
458			      <0x00 0x2a500000 0x00 0x40000>;
459			reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target";
460			ti,num-rings = <286>;
461			ti,sci-rm-range-gp-rings = <0x1>;
462			ti,sci = <&sms>;
463			ti,sci-dev-id = <328>;
464			msi-parent = <&main_udmass_inta>;
465		};
466
467		mcu_udmap: dma-controller@285c0000 {
468			compatible = "ti,j721e-navss-mcu-udmap";
469			reg = <0x00 0x285c0000 0x00 0x100>,
470			      <0x00 0x2a800000 0x00 0x40000>,
471			      <0x00 0x2aa00000 0x00 0x40000>;
472			reg-names = "gcfg", "rchanrt", "tchanrt";
473			msi-parent = <&main_udmass_inta>;
474			#dma-cells = <1>;
475
476			ti,sci = <&sms>;
477			ti,sci-dev-id = <329>;
478			ti,ringacc = <&mcu_ringacc>;
479			ti,sci-rm-range-tchan = <0x0d>, /* TX_CHAN */
480						<0x0f>; /* TX_HCHAN */
481			ti,sci-rm-range-rchan = <0x0a>, /* RX_CHAN */
482						<0x0b>; /* RX_HCHAN */
483			ti,sci-rm-range-rflow = <0x00>; /* GP RFLOW */
484		};
485	};
486
487	secure_proxy_mcu: mailbox@2a480000 {
488		compatible = "ti,am654-secure-proxy";
489		#mbox-cells = <1>;
490		reg-names = "target_data", "rt", "scfg";
491		reg = <0x00 0x2a480000 0x00 0x80000>,
492		      <0x00 0x2a380000 0x00 0x80000>,
493		      <0x00 0x2a400000 0x00 0x80000>;
494		/*
495		 * Marked Disabled:
496		 * Node is incomplete as it is meant for bootloaders and
497		 * firmware on non-MPU processors
498		 */
499		status = "disabled";
500	};
501
502	mcu_cpsw: ethernet@46000000 {
503		compatible = "ti,j721e-cpsw-nuss";
504		#address-cells = <2>;
505		#size-cells = <2>;
506		reg = <0x00 0x46000000 0x00 0x200000>;
507		reg-names = "cpsw_nuss";
508		ranges = <0x00 0x00 0x00 0x46000000 0x00 0x200000>;
509		dma-coherent;
510		clocks = <&k3_clks 63 0>;
511		clock-names = "fck";
512		power-domains = <&k3_pds 63 TI_SCI_PD_EXCLUSIVE>;
513
514		dmas = <&mcu_udmap 0xf000>,
515		       <&mcu_udmap 0xf001>,
516		       <&mcu_udmap 0xf002>,
517		       <&mcu_udmap 0xf003>,
518		       <&mcu_udmap 0xf004>,
519		       <&mcu_udmap 0xf005>,
520		       <&mcu_udmap 0xf006>,
521		       <&mcu_udmap 0xf007>,
522		       <&mcu_udmap 0x7000>;
523		dma-names = "tx0", "tx1", "tx2", "tx3",
524			    "tx4", "tx5", "tx6", "tx7",
525			    "rx";
526		status = "disabled";
527
528		ethernet-ports {
529			#address-cells = <1>;
530			#size-cells = <0>;
531
532			mcu_cpsw_port1: port@1 {
533				reg = <1>;
534				ti,mac-only;
535				label = "port1";
536				ti,syscon-efuse = <&mcu_conf 0x200>;
537				phys = <&phy_gmii_sel 1>;
538			};
539		};
540
541		davinci_mdio: mdio@f00 {
542			compatible = "ti,cpsw-mdio","ti,davinci_mdio";
543			reg = <0x00 0xf00 0x00 0x100>;
544			#address-cells = <1>;
545			#size-cells = <0>;
546			clocks = <&k3_clks 63 0>;
547			clock-names = "fck";
548			bus_freq = <1000000>;
549		};
550
551		cpts@3d000 {
552			compatible = "ti,am65-cpts";
553			reg = <0x00 0x3d000 0x00 0x400>;
554			clocks = <&k3_clks 63 3>;
555			clock-names = "cpts";
556			assigned-clocks = <&k3_clks 63 3>; /* CPTS_RFT_CLK */
557			assigned-clock-parents = <&k3_clks 63 5>; /* MAIN_0_HSDIV6_CLK */
558			interrupts-extended = <&gic500 GIC_SPI 858 IRQ_TYPE_LEVEL_HIGH>;
559			interrupt-names = "cpts";
560			ti,cpts-ext-ts-inputs = <4>;
561			ti,cpts-periodic-outputs = <2>;
562		};
563	};
564
565	mcu_r5fss0: r5fss@41000000 {
566		compatible = "ti,j721s2-r5fss";
567		ti,cluster-mode = <1>;
568		#address-cells = <1>;
569		#size-cells = <1>;
570		ranges = <0x41000000 0x00 0x41000000 0x20000>,
571			 <0x41400000 0x00 0x41400000 0x20000>;
572		power-domains = <&k3_pds 345 TI_SCI_PD_EXCLUSIVE>;
573
574		mcu_r5fss0_core0: r5f@41000000 {
575			compatible = "ti,j721s2-r5f";
576			reg = <0x41000000 0x00010000>,
577			      <0x41010000 0x00010000>;
578			reg-names = "atcm", "btcm";
579			ti,sci = <&sms>;
580			ti,sci-dev-id = <346>;
581			ti,sci-proc-ids = <0x01 0xff>;
582			resets = <&k3_reset 346 1>;
583			firmware-name = "j784s4-mcu-r5f0_0-fw";
584			ti,atcm-enable = <1>;
585			ti,btcm-enable = <1>;
586			ti,loczrama = <1>;
587		};
588
589		mcu_r5fss0_core1: r5f@41400000 {
590			compatible = "ti,j721s2-r5f";
591			reg = <0x41400000 0x00010000>,
592			      <0x41410000 0x00010000>;
593			reg-names = "atcm", "btcm";
594			ti,sci = <&sms>;
595			ti,sci-dev-id = <347>;
596			ti,sci-proc-ids = <0x02 0xff>;
597			resets = <&k3_reset 347 1>;
598			firmware-name = "j784s4-mcu-r5f0_1-fw";
599			ti,atcm-enable = <1>;
600			ti,btcm-enable = <1>;
601			ti,loczrama = <1>;
602		};
603	};
604
605	wkup_vtm0: temperature-sensor@42040000 {
606		compatible = "ti,j7200-vtm";
607		reg = <0x00 0x42040000 0x00 0x350>,
608		      <0x00 0x42050000 0x00 0x350>;
609		power-domains = <&k3_pds 154 TI_SCI_PD_SHARED>;
610		#thermal-sensor-cells = <1>;
611	};
612
613	tscadc0: tscadc@40200000 {
614		compatible = "ti,am3359-tscadc";
615		reg = <0x00 0x40200000 0x00 0x1000>;
616		interrupts = <GIC_SPI 860 IRQ_TYPE_LEVEL_HIGH>;
617		power-domains = <&k3_pds 0 TI_SCI_PD_EXCLUSIVE>;
618		clocks = <&k3_clks 0 0>;
619		assigned-clocks = <&k3_clks 0 2>;
620		assigned-clock-rates = <60000000>;
621		clock-names = "fck";
622		dmas = <&main_udmap 0x7400>,
623			<&main_udmap 0x7401>;
624		dma-names = "fifo0", "fifo1";
625		status = "disabled";
626
627		adc {
628			#io-channel-cells = <1>;
629			compatible = "ti,am3359-adc";
630		};
631	};
632
633	tscadc1: tscadc@40210000 {
634		compatible = "ti,am3359-tscadc";
635		reg = <0x00 0x40210000 0x00 0x1000>;
636		interrupts = <GIC_SPI 861 IRQ_TYPE_LEVEL_HIGH>;
637		power-domains = <&k3_pds 1 TI_SCI_PD_EXCLUSIVE>;
638		clocks = <&k3_clks 1 0>;
639		assigned-clocks = <&k3_clks 1 2>;
640		assigned-clock-rates = <60000000>;
641		clock-names = "fck";
642		dmas = <&main_udmap 0x7402>,
643			<&main_udmap 0x7403>;
644		dma-names = "fifo0", "fifo1";
645		status = "disabled";
646
647		adc {
648			#io-channel-cells = <1>;
649			compatible = "ti,am3359-adc";
650		};
651	};
652
653	fss: bus@47000000 {
654		compatible = "simple-bus";
655		reg = <0x00 0x47000000 0x00 0x100>;
656		#address-cells = <2>;
657		#size-cells = <2>;
658		ranges;
659
660		ospi0: spi@47040000 {
661			compatible = "ti,am654-ospi", "cdns,qspi-nor";
662			reg = <0x00 0x47040000 0x00 0x100>,
663			      <0x05 0x0000000 0x01 0x0000000>;
664			interrupts = <GIC_SPI 840 IRQ_TYPE_LEVEL_HIGH>;
665			cdns,fifo-depth = <256>;
666			cdns,fifo-width = <4>;
667			cdns,trigger-address = <0x0>;
668			clocks = <&k3_clks 161 7>;
669			assigned-clocks = <&k3_clks 161 7>;
670			assigned-clock-parents = <&k3_clks 161 9>;
671			assigned-clock-rates = <166666666>;
672			power-domains = <&k3_pds 161 TI_SCI_PD_EXCLUSIVE>;
673			#address-cells = <1>;
674			#size-cells = <0>;
675			status = "disabled";
676		};
677
678		ospi1: spi@47050000 {
679			compatible = "ti,am654-ospi", "cdns,qspi-nor";
680			reg = <0x00 0x47050000 0x00 0x100>,
681			      <0x07 0x0000000 0x01 0x0000000>;
682			interrupts = <GIC_SPI 841 IRQ_TYPE_LEVEL_HIGH>;
683			cdns,fifo-depth = <256>;
684			cdns,fifo-width = <4>;
685			cdns,trigger-address = <0x0>;
686			clocks = <&k3_clks 162 7>;
687			power-domains = <&k3_pds 162 TI_SCI_PD_EXCLUSIVE>;
688			#address-cells = <1>;
689			#size-cells = <0>;
690			status = "disabled";
691		};
692	};
693};
694