1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com/
4 *
5 * J721E SK URL: https://www.ti.com/tool/SK-TDA4VM
6 */
7
8/dts-v1/;
9
10#include "k3-j721e.dtsi"
11#include <dt-bindings/gpio/gpio.h>
12#include <dt-bindings/input/input.h>
13#include <dt-bindings/net/ti-dp83867.h>
14
15/ {
16	compatible = "ti,j721e-sk", "ti,j721e";
17	model = "Texas Instruments J721E SK";
18
19	aliases {
20		serial0 = &wkup_uart0;
21		serial1 = &mcu_uart0;
22		serial2 = &main_uart0;
23		serial3 = &main_uart1;
24		ethernet0 = &cpsw_port1;
25		mmc1 = &main_sdhci1;
26	};
27
28	chosen {
29		stdout-path = "serial2:115200n8";
30	};
31
32	memory@80000000 {
33		device_type = "memory";
34		/* 4G RAM */
35		reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
36		      <0x00000008 0x80000000 0x00000000 0x80000000>;
37	};
38
39	reserved_memory: reserved-memory {
40		#address-cells = <2>;
41		#size-cells = <2>;
42		ranges;
43
44		secure_ddr: optee@9e800000 {
45			reg = <0x00 0x9e800000 0x00 0x01800000>;
46			alignment = <0x1000>;
47			no-map;
48		};
49
50		mcu_r5fss0_core0_dma_memory_region: r5f-dma-memory@a0000000 {
51			compatible = "shared-dma-pool";
52			reg = <0x00 0xa0000000 0x00 0x100000>;
53			no-map;
54		};
55
56		mcu_r5fss0_core0_memory_region: r5f-memory@a0100000 {
57			compatible = "shared-dma-pool";
58			reg = <0x00 0xa0100000 0x00 0xf00000>;
59			no-map;
60		};
61
62		mcu_r5fss0_core1_dma_memory_region: r5f-dma-memory@a1000000 {
63			compatible = "shared-dma-pool";
64			reg = <0x00 0xa1000000 0x00 0x100000>;
65			no-map;
66		};
67
68		mcu_r5fss0_core1_memory_region: r5f-memory@a1100000 {
69			compatible = "shared-dma-pool";
70			reg = <0x00 0xa1100000 0x00 0xf00000>;
71			no-map;
72		};
73
74		main_r5fss0_core0_dma_memory_region: r5f-dma-memory@a2000000 {
75			compatible = "shared-dma-pool";
76			reg = <0x00 0xa2000000 0x00 0x100000>;
77			no-map;
78		};
79
80		main_r5fss0_core0_memory_region: r5f-memory@a2100000 {
81			compatible = "shared-dma-pool";
82			reg = <0x00 0xa2100000 0x00 0xf00000>;
83			no-map;
84		};
85
86		main_r5fss0_core1_dma_memory_region: r5f-dma-memory@a3000000 {
87			compatible = "shared-dma-pool";
88			reg = <0x00 0xa3000000 0x00 0x100000>;
89			no-map;
90		};
91
92		main_r5fss0_core1_memory_region: r5f-memory@a3100000 {
93			compatible = "shared-dma-pool";
94			reg = <0x00 0xa3100000 0x00 0xf00000>;
95			no-map;
96		};
97
98		main_r5fss1_core0_dma_memory_region: r5f-dma-memory@a4000000 {
99			compatible = "shared-dma-pool";
100			reg = <0x00 0xa4000000 0x00 0x100000>;
101			no-map;
102		};
103
104		main_r5fss1_core0_memory_region: r5f-memory@a4100000 {
105			compatible = "shared-dma-pool";
106			reg = <0x00 0xa4100000 0x00 0xf00000>;
107			no-map;
108		};
109
110		main_r5fss1_core1_dma_memory_region: r5f-dma-memory@a5000000 {
111			compatible = "shared-dma-pool";
112			reg = <0x00 0xa5000000 0x00 0x100000>;
113			no-map;
114		};
115
116		main_r5fss1_core1_memory_region: r5f-memory@a5100000 {
117			compatible = "shared-dma-pool";
118			reg = <0x00 0xa5100000 0x00 0xf00000>;
119			no-map;
120		};
121
122		c66_1_dma_memory_region: c66-dma-memory@a6000000 {
123			compatible = "shared-dma-pool";
124			reg = <0x00 0xa6000000 0x00 0x100000>;
125			no-map;
126		};
127
128		c66_0_memory_region: c66-memory@a6100000 {
129			compatible = "shared-dma-pool";
130			reg = <0x00 0xa6100000 0x00 0xf00000>;
131			no-map;
132		};
133
134		c66_0_dma_memory_region: c66-dma-memory@a7000000 {
135			compatible = "shared-dma-pool";
136			reg = <0x00 0xa7000000 0x00 0x100000>;
137			no-map;
138		};
139
140		c66_1_memory_region: c66-memory@a7100000 {
141			compatible = "shared-dma-pool";
142			reg = <0x00 0xa7100000 0x00 0xf00000>;
143			no-map;
144		};
145
146		c71_0_dma_memory_region: c71-dma-memory@a8000000 {
147			compatible = "shared-dma-pool";
148			reg = <0x00 0xa8000000 0x00 0x100000>;
149			no-map;
150		};
151
152		c71_0_memory_region: c71-memory@a8100000 {
153			compatible = "shared-dma-pool";
154			reg = <0x00 0xa8100000 0x00 0xf00000>;
155			no-map;
156		};
157
158		rtos_ipc_memory_region: ipc-memories@aa000000 {
159			reg = <0x00 0xaa000000 0x00 0x01c00000>;
160			alignment = <0x1000>;
161			no-map;
162		};
163	};
164
165	vusb_main: fixedregulator-vusb-main5v0 {
166		/* USB MAIN INPUT 5V DC */
167		compatible = "regulator-fixed";
168		regulator-name = "vusb-main5v0";
169		regulator-min-microvolt = <5000000>;
170		regulator-max-microvolt = <5000000>;
171		regulator-always-on;
172		regulator-boot-on;
173	};
174
175	vsys_3v3: fixedregulator-vsys3v3 {
176		/* Output of LM5141 */
177		compatible = "regulator-fixed";
178		regulator-name = "vsys_3v3";
179		regulator-min-microvolt = <3300000>;
180		regulator-max-microvolt = <3300000>;
181		vin-supply = <&vusb_main>;
182		regulator-always-on;
183		regulator-boot-on;
184	};
185
186	vdd_mmc1: fixedregulator-sd {
187		compatible = "regulator-fixed";
188		pinctrl-names = "default";
189		pinctrl-0 = <&vdd_mmc1_en_pins_default>;
190		regulator-name = "vdd_mmc1";
191		regulator-min-microvolt = <3300000>;
192		regulator-max-microvolt = <3300000>;
193		regulator-boot-on;
194		enable-active-high;
195		vin-supply = <&vsys_3v3>;
196		gpio = <&wkup_gpio0 8 GPIO_ACTIVE_HIGH>;
197	};
198
199	vdd_sd_dv_alt: gpio-regulator-tps659411 {
200		compatible = "regulator-gpio";
201		pinctrl-names = "default";
202		pinctrl-0 = <&vdd_sd_dv_alt_pins_default>;
203		regulator-name = "tps659411";
204		regulator-min-microvolt = <1800000>;
205		regulator-max-microvolt = <3300000>;
206		regulator-boot-on;
207		vin-supply = <&vsys_3v3>;
208		gpios = <&wkup_gpio0 9 GPIO_ACTIVE_HIGH>;
209		states = <1800000 0x0>,
210			 <3300000 0x1>;
211	};
212
213	dp_pwr_3v3: fixedregulator-dp-prw {
214		compatible = "regulator-fixed";
215		regulator-name = "dp-pwr";
216		regulator-min-microvolt = <3300000>;
217		regulator-max-microvolt = <3300000>;
218		pinctrl-names = "default";
219		pinctrl-0 = <&dp_pwr_en_pins_default>;
220		gpio = <&main_gpio0 111 0>;	/* DP0_3V3 _EN */
221		enable-active-high;
222	};
223
224	dp0: connector {
225		compatible = "dp-connector";
226		label = "DP0";
227		type = "full-size";
228		dp-pwr-supply = <&dp_pwr_3v3>;
229
230		port {
231			dp_connector_in: endpoint {
232				remote-endpoint = <&dp0_out>;
233			};
234		};
235	};
236
237	hdmi-connector {
238		compatible = "hdmi-connector";
239		label = "hdmi";
240		type = "a";
241
242		pinctrl-names = "default";
243		pinctrl-0 = <&hdmi_hpd_pins_default>;
244
245		ddc-i2c-bus = <&main_i2c1>;
246
247		/* HDMI_HPD */
248		hpd-gpios = <&main_gpio1 0 GPIO_ACTIVE_HIGH>;
249
250		port {
251			hdmi_connector_in: endpoint {
252				remote-endpoint = <&tfp410_out>;
253			};
254		};
255	};
256
257	dvi-bridge {
258		compatible = "ti,tfp410";
259
260		pinctrl-names = "default";
261		pinctrl-0 = <&hdmi_pdn_pins_default>;
262
263		powerdown-gpios = <&main_gpio0 127 GPIO_ACTIVE_LOW>;
264		ti,deskew = <0>;
265
266		ports {
267			#address-cells = <1>;
268			#size-cells = <0>;
269
270			port@0 {
271				reg = <0>;
272
273				tfp410_in: endpoint {
274					remote-endpoint = <&dpi1_out>;
275					pclk-sample = <1>;
276				};
277			};
278
279			port@1 {
280				reg = <1>;
281
282				tfp410_out: endpoint {
283					remote-endpoint =
284						<&hdmi_connector_in>;
285				};
286			};
287		};
288	};
289};
290
291&main_pmx0 {
292	main_mmc1_pins_default: main-mmc1-default-pins {
293		pinctrl-single,pins = <
294			J721E_IOPAD(0x254, PIN_INPUT, 0) /* (R29) MMC1_CMD */
295			J721E_IOPAD(0x250, PIN_INPUT, 0) /* (P25) MMC1_CLK */
296			J721E_IOPAD(0x2ac, PIN_INPUT, 0) /* (P25) MMC1_CLKLB */
297			J721E_IOPAD(0x24c, PIN_INPUT, 0) /* (R24) MMC1_DAT0 */
298			J721E_IOPAD(0x248, PIN_INPUT, 0) /* (P24) MMC1_DAT1 */
299			J721E_IOPAD(0x244, PIN_INPUT, 0) /* (R25) MMC1_DAT2 */
300			J721E_IOPAD(0x240, PIN_INPUT, 0) /* (R26) MMC1_DAT3 */
301			J721E_IOPAD(0x258, PIN_INPUT, 0) /* (P23) MMC1_SDCD */
302		>;
303	};
304
305	main_uart0_pins_default: main-uart0-default-pins {
306		pinctrl-single,pins = <
307			J721E_IOPAD(0x1f0, PIN_INPUT, 0) /* (AC2) UART0_CTSn */
308			J721E_IOPAD(0x1f4, PIN_OUTPUT, 0) /* (AB1) UART0_RTSn */
309			J721E_IOPAD(0x1e8, PIN_INPUT, 0) /* (AB2) UART0_RXD */
310			J721E_IOPAD(0x1ec, PIN_OUTPUT, 0) /* (AB3) UART0_TXD */
311		>;
312	};
313
314	main_uart1_pins_default: main-uart1-default-pins {
315		pinctrl-single,pins = <
316			J721E_IOPAD(0x1f8, PIN_INPUT, 0) /* (AA4) UART1_RXD */
317			J721E_IOPAD(0x1fc, PIN_OUTPUT, 0) /* (AB4) UART1_TXD */
318		>;
319	};
320
321	main_i2c0_pins_default: main-i2c0-default-pins {
322		pinctrl-single,pins = <
323			J721E_IOPAD(0x220, PIN_INPUT_PULLUP, 0) /* (AC5) I2C0_SCL */
324			J721E_IOPAD(0x224, PIN_INPUT_PULLUP, 0) /* (AA5) I2C0_SDA */
325		>;
326	};
327
328	main_i2c1_pins_default: main-i2c1-default-pins {
329		pinctrl-single,pins = <
330			J721E_IOPAD(0x228, PIN_INPUT_PULLUP, 0) /* (Y6) I2C1_SCL */
331			J721E_IOPAD(0x22c, PIN_INPUT_PULLUP, 0) /* (AA6) I2C1_SDA */
332		>;
333	};
334
335	main_i2c3_pins_default: main-i2c3-default-pins {
336		pinctrl-single,pins = <
337			J721E_IOPAD(0x270, PIN_INPUT_PULLUP, 4) /* (T26) MMC2_CLK.I2C3_SCL */
338			J721E_IOPAD(0x274, PIN_INPUT_PULLUP, 4) /* (T25) MMC2_CMD.I2C3_SDA */
339		>;
340	};
341
342	main_usbss0_pins_default: main-usbss0-default-pins {
343		pinctrl-single,pins = <
344			J721E_IOPAD(0x290, PIN_OUTPUT, 0) /* (U6) USB0_DRVVBUS */
345			J721E_IOPAD(0x210, PIN_INPUT, 7) /* (W3) MCAN1_RX.GPIO1_3 */
346		>;
347	};
348
349	main_usbss1_pins_default: main-usbss1-default-pins {
350		pinctrl-single,pins = <
351			J721E_IOPAD(0x214, PIN_OUTPUT, 4) /* (V4) MCAN1_TX.USB1_DRVVBUS */
352		>;
353	};
354
355	dp0_pins_default: dp0-default-pins {
356		pinctrl-single,pins = <
357			J721E_IOPAD(0x1c4, PIN_INPUT, 5) /* SPI0_CS1.DP0_HPD */
358		>;
359	};
360
361	dp_pwr_en_pins_default: dp-pwr-en-default-pins {
362		pinctrl-single,pins = <
363			J721E_IOPAD(0x1c0, PIN_INPUT, 7) /* (AA2) SPI0_CS0.GPIO0_111 */
364		>;
365	};
366
367	dss_vout0_pins_default: dss-vout0-default-pins {
368		pinctrl-single,pins = <
369			J721E_IOPAD(0x58, PIN_OUTPUT, 10) /* (AE22) PRG1_PRU1_GPO0.VOUT0_DATA0 */
370			J721E_IOPAD(0x5c, PIN_OUTPUT, 10) /* (AG23) PRG1_PRU1_GPO1.VOUT0_DATA1 */
371			J721E_IOPAD(0x60, PIN_OUTPUT, 10) /* (AF23) PRG1_PRU1_GPO2.VOUT0_DATA2 */
372			J721E_IOPAD(0x64, PIN_OUTPUT, 10) /* (AD23) PRG1_PRU1_GPO3.VOUT0_DATA3 */
373			J721E_IOPAD(0x68, PIN_OUTPUT, 10) /* (AH24) PRG1_PRU1_GPO4.VOUT0_DATA4 */
374			J721E_IOPAD(0x6c, PIN_OUTPUT, 10) /* (AG21) PRG1_PRU1_GPO5.VOUT0_DATA5 */
375			J721E_IOPAD(0x70, PIN_OUTPUT, 10) /* (AE23) PRG1_PRU1_GPO6.VOUT0_DATA6 */
376			J721E_IOPAD(0x74, PIN_OUTPUT, 10) /* (AC21) PRG1_PRU1_GPO7.VOUT0_DATA7 */
377			J721E_IOPAD(0x78, PIN_OUTPUT, 10) /* (Y23) PRG1_PRU1_GPO8.VOUT0_DATA8 */
378			J721E_IOPAD(0x7c, PIN_OUTPUT, 10) /* (AF21) PRG1_PRU1_GPO9.VOUT0_DATA9 */
379			J721E_IOPAD(0x80, PIN_OUTPUT, 10) /* (AB23) PRG1_PRU1_GPO10.VOUT0_DATA10 */
380			J721E_IOPAD(0x84, PIN_OUTPUT, 10) /* (AJ25) PRG1_PRU1_GPO11.VOUT0_DATA11 */
381			J721E_IOPAD(0x88, PIN_OUTPUT, 10) /* (AH25) PRG1_PRU1_GPO12.VOUT0_DATA12 */
382			J721E_IOPAD(0x8c, PIN_OUTPUT, 10) /* (AG25) PRG1_PRU1_GPO13.VOUT0_DATA13 */
383			J721E_IOPAD(0x90, PIN_OUTPUT, 10) /* (AH26) PRG1_PRU1_GPO14.VOUT0_DATA14 */
384			J721E_IOPAD(0x94, PIN_OUTPUT, 10) /* (AJ27) PRG1_PRU1_GPO15.VOUT0_DATA15 */
385			J721E_IOPAD(0x30, PIN_OUTPUT, 10) /* (AF24) PRG1_PRU0_GPO11.VOUT0_DATA16 */
386			J721E_IOPAD(0x34, PIN_OUTPUT, 10) /* (AJ24) PRG1_PRU0_GPO12.VOUT0_DATA17 */
387			J721E_IOPAD(0x38, PIN_OUTPUT, 10) /* (AG24) PRG1_PRU0_GPO13.VOUT0_DATA18 */
388			J721E_IOPAD(0x3c, PIN_OUTPUT, 10) /* (AD24) PRG1_PRU0_GPO14.VOUT0_DATA19 */
389			J721E_IOPAD(0x40, PIN_OUTPUT, 10) /* (AC24) PRG1_PRU0_GPO15.VOUT0_DATA20 */
390			J721E_IOPAD(0x44, PIN_OUTPUT, 10) /* (AE24) PRG1_PRU0_GPO16.VOUT0_DATA21 */
391			J721E_IOPAD(0x24, PIN_OUTPUT, 10) /* (AJ20) PRG1_PRU0_GPO8.VOUT0_DATA22 */
392			J721E_IOPAD(0x28, PIN_OUTPUT, 10) /* (AG20) PRG1_PRU0_GPO9.VOUT0_DATA23 */
393			J721E_IOPAD(0x9c, PIN_OUTPUT, 10) /* (AC22) PRG1_PRU1_GPO17.VOUT0_DE */
394			J721E_IOPAD(0x98, PIN_OUTPUT, 10) /* (AJ26) PRG1_PRU1_GPO16.VOUT0_HSYNC */
395			J721E_IOPAD(0xa4, PIN_OUTPUT, 10) /* (AH22) PRG1_PRU1_GPO19.VOUT0_PCLK */
396			J721E_IOPAD(0xa0, PIN_OUTPUT, 10) /* (AJ22) PRG1_PRU1_GPO18.VOUT0_VSYNC */
397		>;
398	};
399
400	hdmi_hpd_pins_default: hdmi-hpd-default-pins {
401		pinctrl-single,pins = <
402			J721E_IOPAD(0x204, PIN_INPUT, 7) /* (AD5) UART1_RTSn.GPIO1_0 */
403		>;
404	};
405
406	hdmi_pdn_pins_default: hdmi-pdn-default-pins {
407		pinctrl-single,pins = <
408			J721E_IOPAD(0x200, PIN_INPUT, 7) /* (AC4) UART1_CTSn.GPIO0_127 */
409		>;
410	};
411
412	/* Reset for M.2 E Key slot on PCIe0  */
413	ekey_reset_pins_default: ekey-reset-pns-default-pins {
414		pinctrl-single,pins = <
415			J721E_IOPAD(0x124, PIN_INPUT, 7) /* (Y24) PRG0_PRU1_GPO9.GPIO0_72 */
416		>;
417	};
418
419	main_i2c5_pins_default: main-i2c5-default-pins {
420		pinctrl-single,pins = <
421			J721E_IOPAD(0x150, PIN_INPUT_PULLUP, 2) /* (Y26) PRG0_MDIO0_MDIO.I2C5_SCL */
422			J721E_IOPAD(0x154, PIN_INPUT_PULLUP, 2) /* (AA27) PRG0_MDIO0_MDC.I2C5_SDA */
423		>;
424	};
425
426	rpi_header_gpio0_pins_default: rpi-header-gpio0-default-pins {
427		pinctrl-single,pins = <
428			J721E_IOPAD(0x01C, PIN_INPUT, 7) /* (AD22) PRG1_PRU0_GPO6.GPIO0_7 */
429			J721E_IOPAD(0x120, PIN_INPUT, 7) /* (AA28) PRG0_PRU1_GPO8.GPIO0_71 */
430			J721E_IOPAD(0x14C, PIN_INPUT, 7) /* (AA29) PRG0_PRU1_GPO19.GPIO0_82 */
431			J721E_IOPAD(0x02C, PIN_INPUT, 7) /* (AD21) PRG1_PRU0_GPO10.GPIO0_11 */
432			J721E_IOPAD(0x198, PIN_INPUT, 7) /* (V25) RGMII6_TD1.GPIO0_101 */
433			J721E_IOPAD(0x1B0, PIN_INPUT, 7) /* (W24) RGMII6_RD1.GPIO0_107 */
434			J721E_IOPAD(0x1A0, PIN_INPUT, 7) /* (W29) RGMII6_TXC.GPIO0_103 */
435			J721E_IOPAD(0x008, PIN_INPUT, 7) /* (AG22) PRG1_PRU0_GPO1.GPIO0_2 */
436			J721E_IOPAD(0x1D0, PIN_INPUT, 7) /* (AA3) SPI0_D1.GPIO0_115 */
437			J721E_IOPAD(0x11C, PIN_INPUT, 7) /* (AA24) PRG0_PRU1_GPO7.GPIO0_70 */
438			J721E_IOPAD(0x148, PIN_INPUT, 7) /* (AA26) PRG0_PRU1_GPO18.GPIO0_81 */
439			J721E_IOPAD(0x004, PIN_INPUT, 7) /* (AC23) PRG1_PRU0_GPO0.GPIO0_1 */
440			J721E_IOPAD(0x014, PIN_INPUT, 7) /* (AH23) PRG1_PRU0_GPO4.GPIO0_5 */
441			J721E_IOPAD(0x020, PIN_INPUT, 7) /* (AE20) PRG1_PRU0_GPO7.GPIO0_8 */
442			J721E_IOPAD(0x19C, PIN_INPUT, 7) /* (W27) RGMII6_TD0.GPIO0_102 */
443			J721E_IOPAD(0x1B4, PIN_INPUT, 7) /* (W25) RGMII6_RD0.GPIO0_108 */
444			J721E_IOPAD(0x188, PIN_INPUT, 7) /* (Y28) RGMII6_TX_CTL.GPIO0_97 */
445			J721E_IOPAD(0x00C, PIN_INPUT, 7) /* (AF22) PRG1_PRU0_GPO2.GPIO0_3 */
446			J721E_IOPAD(0x010, PIN_INPUT, 7) /* (AJ23) PRG1_PRU0_GPO3.GPIO0_4 */
447			J721E_IOPAD(0x178, PIN_INPUT, 7) /* (U27) RGMII5_RD3.GPIO0_93 */
448			J721E_IOPAD(0x17C, PIN_INPUT, 7) /* (U24) RGMII5_RD2.GPIO0_94 */
449			J721E_IOPAD(0x190, PIN_INPUT, 7) /* (W23) RGMII6_TD3.GPIO0_99 */
450			J721E_IOPAD(0x18C, PIN_INPUT, 7) /* (V23) RGMII6_RX_CTL.GPIO0_98 */
451		>;
452	};
453
454	rpi_header_gpio1_pins_default: rpi-header-gpio1-default-pins {
455		pinctrl-single,pins = <
456			J721E_IOPAD(0x234, PIN_INPUT, 7) /* (U3) EXT_REFCLK1.GPIO1_12 */
457		>;
458	};
459};
460
461&wkup_pmx0 {
462	pmic_irq_pins_default: pmic-irq-default-pins {
463		pinctrl-single,pins = <
464			J721E_WKUP_IOPAD(0x0cc, PIN_INPUT, 7) /* (G28) WKUP_GPIO0_7 */
465		>;
466	};
467
468	mcu_cpsw_pins_default: mcu-cpsw-default-pins {
469		pinctrl-single,pins = <
470			J721E_WKUP_IOPAD(0x84, PIN_INPUT, 0) /* (B24) MCU_RGMII1_RD0 */
471			J721E_WKUP_IOPAD(0x80, PIN_INPUT, 0) /* (A24) MCU_RGMII1_RD1 */
472			J721E_WKUP_IOPAD(0x7c, PIN_INPUT, 0) /* (D24) MCU_RGMII1_RD2 */
473			J721E_WKUP_IOPAD(0x78, PIN_INPUT, 0) /* (A25) MCU_RGMII1_RD3 */
474			J721E_WKUP_IOPAD(0x74, PIN_INPUT, 0) /* (C24) MCU_RGMII1_RXC */
475			J721E_WKUP_IOPAD(0x5c, PIN_INPUT, 0) /* (C25) MCU_RGMII1_RX_CTL */
476			J721E_WKUP_IOPAD(0x6c, PIN_OUTPUT, 0) /* (B25) MCU_RGMII1_TD0 */
477			J721E_WKUP_IOPAD(0x68, PIN_OUTPUT, 0) /* (A26) MCU_RGMII1_TD1 */
478			J721E_WKUP_IOPAD(0x64, PIN_OUTPUT, 0) /* (A27) MCU_RGMII1_TD2 */
479			J721E_WKUP_IOPAD(0x60, PIN_OUTPUT, 0) /* (A28) MCU_RGMII1_TD3 */
480			J721E_WKUP_IOPAD(0x70, PIN_OUTPUT, 0) /* (B26) MCU_RGMII1_TXC */
481			J721E_WKUP_IOPAD(0x58, PIN_OUTPUT, 0) /* (B27) MCU_RGMII1_TX_CTL */
482		>;
483	};
484
485	mcu_mdio_pins_default: mcu-mdio1-default-pins {
486		pinctrl-single,pins = <
487			J721E_WKUP_IOPAD(0x8c, PIN_OUTPUT, 0) /* (F23) MCU_MDIO0_MDC */
488			J721E_WKUP_IOPAD(0x88, PIN_INPUT, 0) /* (E23) MCU_MDIO0_MDIO */
489		>;
490	};
491
492	mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-default-pins {
493		pinctrl-single,pins = <
494			J721E_WKUP_IOPAD(0x0, PIN_OUTPUT, 0) /* (E20) MCU_OSPI0_CLK */
495			J721E_WKUP_IOPAD(0x2c, PIN_OUTPUT, 0) /* (F19) MCU_OSPI0_CSn0 */
496			J721E_WKUP_IOPAD(0xc, PIN_INPUT, 0) /* (D20) MCU_OSPI0_D0 */
497			J721E_WKUP_IOPAD(0x10, PIN_INPUT, 0) /* (G19) MCU_OSPI0_D1 */
498			J721E_WKUP_IOPAD(0x14, PIN_INPUT, 0) /* (G20) MCU_OSPI0_D2 */
499			J721E_WKUP_IOPAD(0x18, PIN_INPUT, 0) /* (F20) MCU_OSPI0_D3 */
500			J721E_WKUP_IOPAD(0x1c, PIN_INPUT, 0) /* (F21) MCU_OSPI0_D4 */
501			J721E_WKUP_IOPAD(0x20, PIN_INPUT, 0) /* (E21) MCU_OSPI0_D5 */
502			J721E_WKUP_IOPAD(0x24, PIN_INPUT, 0) /* (B22) MCU_OSPI0_D6 */
503			J721E_WKUP_IOPAD(0x28, PIN_INPUT, 0) /* (G21) MCU_OSPI0_D7 */
504			J721E_WKUP_IOPAD(0x8, PIN_INPUT, 0) /* (D21) MCU_OSPI0_DQS */
505		>;
506	};
507
508	vdd_mmc1_en_pins_default: vdd-mmc1-en-default-pins {
509		pinctrl-single,pins = <
510			J721E_WKUP_IOPAD(0xd0, PIN_OUTPUT, 7) /* (G27) WKUP_GPIO0_8 */
511		>;
512	};
513
514	vdd_sd_dv_alt_pins_default: vdd-sd-dv-alt-default-pins {
515		pinctrl-single,pins = <
516			J721E_WKUP_IOPAD(0xd4, PIN_OUTPUT, 7) /* (G26) WKUP_GPIO0_9 */
517		>;
518	};
519
520	wkup_uart0_pins_default: wkup-uart0-default-pins {
521		pinctrl-single,pins = <
522			J721E_WKUP_IOPAD(0xa0, PIN_INPUT, 0) /* (J29) WKUP_UART0_RXD */
523			J721E_WKUP_IOPAD(0xa4, PIN_OUTPUT, 0) /* (J28) WKUP_UART0_TXD */
524		>;
525	};
526
527	mcu_uart0_pins_default: mcu-uart0-default-pins {
528		pinctrl-single,pins = <
529			J721E_WKUP_IOPAD(0xf0, PIN_INPUT, 2) /* (D26) MCU_I3C0_SCL.MCU_UART0_CTSn */
530			J721E_WKUP_IOPAD(0xf4, PIN_OUTPUT, 2)/* (D25) MCU_I3C0_SDA.MCU_UART0_RTSn */
531			J721E_WKUP_IOPAD(0xe4, PIN_INPUT, 0) /* (H28) WKUP_GPIO0_13.MCU_UART0_RXD */
532			J721E_WKUP_IOPAD(0xe0, PIN_OUTPUT, 0)/* (G29) WKUP_GPIO0_12.MCU_UART0_TXD */
533		>;
534	};
535
536	wkup_i2c0_pins_default: wkup-i2c0-default-pins {
537		pinctrl-single,pins = <
538			J721E_WKUP_IOPAD(0xf8, PIN_INPUT_PULLUP, 0) /* (J25) WKUP_I2C0_SCL */
539			J721E_WKUP_IOPAD(0xfc, PIN_INPUT_PULLUP, 0) /* (H24) WKUP_I2C0_SDA */
540		>;
541	};
542
543	/* Reset for M.2 M Key slot on PCIe1  */
544	mkey_reset_pins_default: mkey-reset-pns-default-pins {
545		pinctrl-single,pins = <
546			J721E_WKUP_IOPAD(0xdc, PIN_INPUT, 7) /* (H27) WKUP_GPIO0_11 */
547		>;
548	};
549};
550
551&wkup_uart0 {
552	/* Wakeup UART is used by System firmware */
553	status = "reserved";
554	pinctrl-names = "default";
555	pinctrl-0 = <&wkup_uart0_pins_default>;
556};
557
558&wkup_i2c0 {
559	status = "okay";
560	pinctrl-names = "default";
561	pinctrl-0 = <&wkup_i2c0_pins_default>;
562	clock-frequency = <400000>;
563
564	eeprom@51 {
565		/* AT24C512C-MAHM-T */
566		compatible = "atmel,24c512";
567		reg = <0x51>;
568	};
569
570	tps659413: pmic@48 {
571		compatible = "ti,tps6594-q1";
572		reg = <0x48>;
573		system-power-controller;
574		pinctrl-names = "default";
575		pinctrl-0 = <&pmic_irq_pins_default>;
576		interrupt-parent = <&wkup_gpio0>;
577		interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
578		gpio-controller;
579		#gpio-cells = <2>;
580		ti,primary-pmic;
581		buck123-supply = <&vsys_3v3>;
582		buck4-supply = <&vsys_3v3>;
583		buck5-supply = <&vsys_3v3>;
584		ldo1-supply = <&vsys_3v3>;
585		ldo2-supply = <&vsys_3v3>;
586		ldo3-supply = <&vsys_3v3>;
587		ldo4-supply = <&vsys_3v3>;
588
589		regulators {
590			bucka123: buck123 {
591				regulator-name = "vdd_cpu_avs";
592				regulator-min-microvolt = <600000>;
593				regulator-max-microvolt = <900000>;
594				regulator-boot-on;
595				regulator-always-on;
596				bootph-pre-ram;
597			};
598
599			bucka4: buck4 {
600				regulator-name = "vdd_mcu_0v85";
601				regulator-min-microvolt = <850000>;
602				regulator-max-microvolt = <850000>;
603				regulator-boot-on;
604				regulator-always-on;
605			};
606
607			bucka5: buck5 {
608				regulator-name = "vdd_phyio_1v8";
609				regulator-min-microvolt = <1800000>;
610				regulator-max-microvolt = <1800000>;
611				regulator-boot-on;
612				regulator-always-on;
613			};
614
615			ldoa1: ldo1 {
616				regulator-name = "vdd1_lpddr4_1v8";
617				regulator-min-microvolt = <1800000>;
618				regulator-max-microvolt = <1800000>;
619				regulator-boot-on;
620				regulator-always-on;
621			};
622
623			ldoa2: ldo2 {
624				regulator-name = "vdd_mcuio_1v8";
625				regulator-min-microvolt = <1800000>;
626				regulator-max-microvolt = <1800000>;
627				regulator-boot-on;
628				regulator-always-on;
629			};
630
631			ldoa3: ldo3 {
632				regulator-name = "vdda_dll_0v8";
633				regulator-min-microvolt = <800000>;
634				regulator-max-microvolt = <800000>;
635				regulator-boot-on;
636				regulator-always-on;
637			};
638
639			ldoa4: ldo4 {
640				regulator-name = "vda_mcu_1v8";
641				regulator-min-microvolt = <1800000>;
642				regulator-max-microvolt = <1800000>;
643				regulator-boot-on;
644				regulator-always-on;
645			};
646		};
647	};
648
649	tps659411: pmic@4c {
650		compatible = "ti,tps6594-q1";
651		reg = <0x4c>;
652		system-power-controller;
653		interrupt-parent = <&wkup_gpio0>;
654		interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
655		gpio-controller;
656		#gpio-cells = <2>;
657		buck1234-supply = <&vsys_3v3>;
658		buck5-supply = <&vsys_3v3>;
659		ldo1-supply = <&vsys_3v3>;
660		ldo2-supply = <&vsys_3v3>;
661		ldo3-supply = <&vsys_3v3>;
662		ldo4-supply = <&vsys_3v3>;
663
664		regulators {
665			buckb1234: buck1234 {
666				regulator-name = "vdd_core_0v8";
667				regulator-min-microvolt = <800000>;
668				regulator-max-microvolt = <800000>;
669				regulator-boot-on;
670				regulator-always-on;
671			};
672
673			buckb5: buck5 {
674				regulator-name = "vdd_ram_0v85";
675				regulator-min-microvolt = <850000>;
676				regulator-max-microvolt = <850000>;
677				regulator-boot-on;
678				regulator-always-on;
679			};
680
681			ldob1: ldo1 {
682				regulator-name = "vdd_sd_dv";
683				regulator-min-microvolt = <1800000>;
684				regulator-max-microvolt = <3300000>;
685				regulator-boot-on;
686				regulator-always-on;
687			};
688
689			ldob2: ldo2 {
690				regulator-name = "vdd_usb_3v3";
691				regulator-min-microvolt = <3300000>;
692				regulator-max-microvolt = <3300000>;
693				regulator-boot-on;
694				regulator-always-on;
695			};
696
697			ldob3: ldo3 {
698				regulator-name = "vdd_io_1v8";
699				regulator-min-microvolt = <1800000>;
700				regulator-max-microvolt = <1800000>;
701				regulator-boot-on;
702				regulator-always-on;
703			};
704
705			ldob4: ldo4 {
706				regulator-name = "vda_pll_1v8";
707				regulator-min-microvolt = <1800000>;
708				regulator-max-microvolt = <1800000>;
709				regulator-boot-on;
710				regulator-always-on;
711			};
712		};
713	};
714};
715
716&mcu_uart0 {
717	status = "okay";
718	pinctrl-names = "default";
719	pinctrl-0 = <&mcu_uart0_pins_default>;
720};
721
722&main_uart0 {
723	status = "okay";
724	pinctrl-names = "default";
725	pinctrl-0 = <&main_uart0_pins_default>;
726	/* Shared with ATF on this platform */
727	power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>;
728};
729
730&main_uart1 {
731	status = "okay";
732	pinctrl-names = "default";
733	pinctrl-0 = <&main_uart1_pins_default>;
734};
735
736&main_sdhci1 {
737	/* SD Card */
738	status = "okay";
739	vmmc-supply = <&vdd_mmc1>;
740	vqmmc-supply = <&vdd_sd_dv_alt>;
741	pinctrl-names = "default";
742	pinctrl-0 = <&main_mmc1_pins_default>;
743	ti,driver-strength-ohm = <50>;
744	disable-wp;
745};
746
747&ospi0 {
748	status = "okay";
749	pinctrl-names = "default";
750	pinctrl-0 = <&mcu_fss0_ospi0_pins_default>;
751
752	flash@0 {
753		compatible = "jedec,spi-nor";
754		reg = <0x0>;
755		spi-tx-bus-width = <8>;
756		spi-rx-bus-width = <8>;
757		spi-max-frequency = <25000000>;
758		cdns,tshsl-ns = <60>;
759		cdns,tsd2d-ns = <60>;
760		cdns,tchsh-ns = <60>;
761		cdns,tslch-ns = <60>;
762		cdns,read-delay = <4>;
763
764		partitions {
765			compatible = "fixed-partitions";
766			#address-cells = <1>;
767			#size-cells = <1>;
768
769			partition@0 {
770				label = "ospi.tiboot3";
771				reg = <0x0 0x80000>;
772			};
773
774			partition@80000 {
775				label = "ospi.tispl";
776				reg = <0x80000 0x200000>;
777			};
778
779			partition@280000 {
780				label = "ospi.u-boot";
781				reg = <0x280000 0x400000>;
782			};
783
784			partition@680000 {
785				label = "ospi.env";
786				reg = <0x680000 0x40000>;
787			};
788
789			partition@6c0000 {
790				label = "ospi.sysfw";
791				reg = <0x6c0000 0x100000>;
792			};
793
794			partition@7c0000 {
795				label = "ospi.env.backup";
796				reg = <0x7c0000 0x40000>;
797			};
798
799			partition@800000 {
800				label = "ospi.rootfs";
801				reg = <0x800000 0x37c0000>;
802			};
803
804			partition@3fc0000 {
805				label = "ospi.phypattern";
806				reg = <0x3fc0000 0x40000>;
807			};
808		};
809	};
810};
811
812&main_i2c0 {
813	status = "okay";
814	pinctrl-names = "default";
815	pinctrl-0 = <&main_i2c0_pins_default>;
816	clock-frequency = <400000>;
817
818	i2c-mux@71 {
819		compatible = "nxp,pca9543";
820		#address-cells = <1>;
821		#size-cells = <0>;
822		reg = <0x71>;
823
824		/* PCIe1 M.2 M Key I2C */
825		i2c@0 {
826			#address-cells = <1>;
827			#size-cells = <0>;
828			reg = <0>;
829		};
830
831		/* PCIe0 M.2 E Key I2C */
832		i2c@1 {
833			#address-cells = <1>;
834			#size-cells = <0>;
835			reg = <1>;
836		};
837	};
838};
839
840&main_i2c1 {
841	status = "okay";
842	pinctrl-names = "default";
843	pinctrl-0 = <&main_i2c1_pins_default>;
844	/* i2c1 is used for DVI DDC, so we need to use 100kHz */
845	clock-frequency = <100000>;
846};
847
848&main_i2c3 {
849	status = "okay";
850	pinctrl-names = "default";
851	pinctrl-0 = <&main_i2c3_pins_default>;
852	clock-frequency = <400000>;
853
854	i2c-mux@70 {
855		compatible = "nxp,pca9543";
856		#address-cells = <1>;
857		#size-cells = <0>;
858		reg = <0x70>;
859
860		/* CSI0 I2C */
861		i2c@0 {
862			#address-cells = <1>;
863			#size-cells = <0>;
864			reg = <0>;
865		};
866
867		/* CSI1 I2C */
868		i2c@1 {
869			#address-cells = <1>;
870			#size-cells = <0>;
871			reg = <1>;
872		};
873	};
874};
875
876&main_i2c5 {
877	/* Brought out on RPi Header */
878	status = "okay";
879	pinctrl-names = "default";
880	pinctrl-0 = <&main_i2c5_pins_default>;
881	clock-frequency = <400000>;
882};
883
884&main_gpio0 {
885	status = "okay";
886	pinctrl-names = "default";
887	pinctrl-0 = <&rpi_header_gpio0_pins_default>;
888};
889
890&main_gpio1 {
891	status = "okay";
892	pinctrl-names = "default";
893	pinctrl-0 = <&rpi_header_gpio1_pins_default>;
894};
895
896&wkup_gpio0 {
897	status = "okay";
898};
899
900&usb_serdes_mux {
901	idle-states = <1>, <1>; /* USB0 to SERDES3, USB1 to SERDES2 */
902};
903
904&serdes_ln_ctrl {
905	idle-states = <J721E_SERDES0_LANE0_PCIE0_LANE0>, <J721E_SERDES0_LANE1_IP4_UNUSED>,
906		      <J721E_SERDES1_LANE0_PCIE1_LANE0>, <J721E_SERDES1_LANE1_PCIE1_LANE1>,
907		      <J721E_SERDES2_LANE0_IP1_UNUSED>, <J721E_SERDES2_LANE1_USB3_1>,
908		      <J721E_SERDES3_LANE0_USB3_0_SWAP>, <J721E_SERDES3_LANE1_USB3_0>,
909		      <J721E_SERDES4_LANE0_EDP_LANE0>, <J721E_SERDES4_LANE1_EDP_LANE1>,
910		      <J721E_SERDES4_LANE2_EDP_LANE2>, <J721E_SERDES4_LANE3_EDP_LANE3>;
911};
912
913&serdes_wiz3 {
914	typec-dir-gpios = <&main_gpio1 3 GPIO_ACTIVE_HIGH>;
915	typec-dir-debounce-ms = <700>;	/* TUSB321, tCCB_DEFAULT 133 ms */
916};
917
918&serdes3 {
919	serdes3_usb_link: phy@0 {
920		reg = <0>;
921		cdns,num-lanes = <2>;
922		#phy-cells = <0>;
923		cdns,phy-type = <PHY_TYPE_USB3>;
924		resets = <&serdes_wiz3 1>, <&serdes_wiz3 2>;
925	};
926};
927
928&serdes4 {
929	torrent_phy_dp: phy@0 {
930		reg = <0>;
931		resets = <&serdes_wiz4 1>;
932		cdns,phy-type = <PHY_TYPE_DP>;
933		cdns,num-lanes = <4>;
934		cdns,max-bit-rate = <5400>;
935		#phy-cells = <0>;
936	};
937};
938
939&mhdp {
940	phys = <&torrent_phy_dp>;
941	phy-names = "dpphy";
942	pinctrl-names = "default";
943	pinctrl-0 = <&dp0_pins_default>;
944};
945
946&usbss0 {
947	pinctrl-names = "default";
948	pinctrl-0 = <&main_usbss0_pins_default>;
949	ti,vbus-divider;
950};
951
952&usb0 {
953	dr_mode = "otg";
954	maximum-speed = "super-speed";
955	phys = <&serdes3_usb_link>;
956	phy-names = "cdns3,usb3-phy";
957};
958
959&serdes2 {
960	serdes2_usb_link: phy@1 {
961		reg = <1>;
962		cdns,num-lanes = <1>;
963		#phy-cells = <0>;
964		cdns,phy-type = <PHY_TYPE_USB3>;
965		resets = <&serdes_wiz2 2>;
966	};
967};
968
969&usbss1 {
970	pinctrl-names = "default";
971	pinctrl-0 = <&main_usbss1_pins_default>;
972	ti,vbus-divider;
973};
974
975&usb1 {
976	dr_mode = "host";
977	maximum-speed = "super-speed";
978	phys = <&serdes2_usb_link>;
979	phy-names = "cdns3,usb3-phy";
980};
981
982&mcu_cpsw {
983	pinctrl-names = "default";
984	pinctrl-0 = <&mcu_cpsw_pins_default>, <&mcu_mdio_pins_default>;
985};
986
987&davinci_mdio {
988	phy0: ethernet-phy@0 {
989		reg = <0>;
990		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
991		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
992	};
993};
994
995&cpsw_port1 {
996	phy-mode = "rgmii-rxid";
997	phy-handle = <&phy0>;
998};
999
1000&dss {
1001	pinctrl-names = "default";
1002	pinctrl-0 = <&dss_vout0_pins_default>;
1003
1004	assigned-clocks = <&k3_clks 152 1>,	/* VP 1 pixel clock */
1005			  <&k3_clks 152 4>,	/* VP 2 pixel clock */
1006			  <&k3_clks 152 9>,	/* VP 3 pixel clock */
1007			  <&k3_clks 152 13>;	/* VP 4 pixel clock */
1008	assigned-clock-parents = <&k3_clks 152 2>,	/* PLL16_HSDIV0 */
1009				 <&k3_clks 152 6>,	/* DPI0_EXT_CLKSEL_OUT0 */
1010				 <&k3_clks 152 11>,	/* PLL18_HSDIV0 */
1011				 <&k3_clks 152 18>;	/* DPI1_EXT_CLKSEL_OUT0 */
1012};
1013
1014&dss_ports {
1015	#address-cells = <1>;
1016	#size-cells = <0>;
1017
1018	port@0  {
1019		reg = <0>;
1020
1021		dpi0_out: endpoint {
1022			remote-endpoint = <&dp0_in>;
1023		};
1024	};
1025
1026	port@1 {
1027		reg = <1>;
1028
1029		dpi1_out: endpoint {
1030			remote-endpoint = <&tfp410_in>;
1031		};
1032	};
1033};
1034
1035&dp0_ports {
1036	#address-cells = <1>;
1037	#size-cells = <0>;
1038
1039	port@0 {
1040		reg = <0>;
1041		dp0_in: endpoint {
1042			remote-endpoint = <&dpi0_out>;
1043		};
1044	};
1045
1046	port@4 {
1047		reg = <4>;
1048		dp0_out: endpoint {
1049			remote-endpoint = <&dp_connector_in>;
1050		};
1051	};
1052};
1053
1054&serdes0 {
1055	serdes0_pcie_link: phy@0 {
1056		reg = <0>;
1057		cdns,num-lanes = <1>;
1058		#phy-cells = <0>;
1059		cdns,phy-type = <PHY_TYPE_PCIE>;
1060		resets = <&serdes_wiz0 1>;
1061	};
1062};
1063
1064&serdes1 {
1065	serdes1_pcie_link: phy@0 {
1066		reg = <0>;
1067		cdns,num-lanes = <2>;
1068		#phy-cells = <0>;
1069		cdns,phy-type = <PHY_TYPE_PCIE>;
1070		resets = <&serdes_wiz1 1>, <&serdes_wiz1 2>;
1071	};
1072};
1073
1074&pcie0_rc {
1075	status = "okay";
1076	pinctrl-names = "default";
1077	pinctrl-0 = <&ekey_reset_pins_default>;
1078	reset-gpios = <&main_gpio0 72 GPIO_ACTIVE_HIGH>;
1079
1080	phys = <&serdes0_pcie_link>;
1081	phy-names = "pcie-phy";
1082	num-lanes = <1>;
1083};
1084
1085&pcie1_rc {
1086	status = "okay";
1087	pinctrl-names = "default";
1088	pinctrl-0 = <&mkey_reset_pins_default>;
1089	reset-gpios = <&wkup_gpio0 11 GPIO_ACTIVE_HIGH>;
1090
1091	phys = <&serdes1_pcie_link>;
1092	phy-names = "pcie-phy";
1093	num-lanes = <2>;
1094};
1095
1096&ufs_wrapper {
1097	status = "disabled";
1098};
1099
1100&mailbox0_cluster0 {
1101	status = "okay";
1102	interrupts = <436>;
1103
1104	mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 {
1105		ti,mbox-rx = <0 0 0>;
1106		ti,mbox-tx = <1 0 0>;
1107	};
1108
1109	mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 {
1110		ti,mbox-rx = <2 0 0>;
1111		ti,mbox-tx = <3 0 0>;
1112	};
1113};
1114
1115&mailbox0_cluster1 {
1116	status = "okay";
1117	interrupts = <432>;
1118
1119	mbox_main_r5fss0_core0: mbox-main-r5fss0-core0 {
1120		ti,mbox-rx = <0 0 0>;
1121		ti,mbox-tx = <1 0 0>;
1122	};
1123
1124	mbox_main_r5fss0_core1: mbox-main-r5fss0-core1 {
1125		ti,mbox-rx = <2 0 0>;
1126		ti,mbox-tx = <3 0 0>;
1127	};
1128};
1129
1130&mailbox0_cluster2 {
1131	status = "okay";
1132	interrupts = <428>;
1133
1134	mbox_main_r5fss1_core0: mbox-main-r5fss1-core0 {
1135		ti,mbox-rx = <0 0 0>;
1136		ti,mbox-tx = <1 0 0>;
1137	};
1138
1139	mbox_main_r5fss1_core1: mbox-main-r5fss1-core1 {
1140		ti,mbox-rx = <2 0 0>;
1141		ti,mbox-tx = <3 0 0>;
1142	};
1143};
1144
1145&mailbox0_cluster3 {
1146	status = "okay";
1147	interrupts = <424>;
1148
1149	mbox_c66_0: mbox-c66-0 {
1150		ti,mbox-rx = <0 0 0>;
1151		ti,mbox-tx = <1 0 0>;
1152	};
1153
1154	mbox_c66_1: mbox-c66-1 {
1155		ti,mbox-rx = <2 0 0>;
1156		ti,mbox-tx = <3 0 0>;
1157	};
1158};
1159
1160&mailbox0_cluster4 {
1161	status = "okay";
1162	interrupts = <420>;
1163
1164	mbox_c71_0: mbox-c71-0 {
1165		ti,mbox-rx = <0 0 0>;
1166		ti,mbox-tx = <1 0 0>;
1167	};
1168};
1169
1170&mcu_r5fss0_core0 {
1171	mboxes = <&mailbox0_cluster0>, <&mbox_mcu_r5fss0_core0>;
1172	memory-region = <&mcu_r5fss0_core0_dma_memory_region>,
1173			<&mcu_r5fss0_core0_memory_region>;
1174};
1175
1176&mcu_r5fss0_core1 {
1177	mboxes = <&mailbox0_cluster0>, <&mbox_mcu_r5fss0_core1>;
1178	memory-region = <&mcu_r5fss0_core1_dma_memory_region>,
1179			<&mcu_r5fss0_core1_memory_region>;
1180};
1181
1182&main_r5fss0_core0 {
1183	mboxes = <&mailbox0_cluster1>, <&mbox_main_r5fss0_core0>;
1184	memory-region = <&main_r5fss0_core0_dma_memory_region>,
1185			<&main_r5fss0_core0_memory_region>;
1186};
1187
1188&main_r5fss0_core1 {
1189	mboxes = <&mailbox0_cluster1>, <&mbox_main_r5fss0_core1>;
1190	memory-region = <&main_r5fss0_core1_dma_memory_region>,
1191			<&main_r5fss0_core1_memory_region>;
1192};
1193
1194&main_r5fss1_core0 {
1195	mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss1_core0>;
1196	memory-region = <&main_r5fss1_core0_dma_memory_region>,
1197			<&main_r5fss1_core0_memory_region>;
1198};
1199
1200&main_r5fss1_core1 {
1201	mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss1_core1>;
1202	memory-region = <&main_r5fss1_core1_dma_memory_region>,
1203			<&main_r5fss1_core1_memory_region>;
1204};
1205
1206&c66_0 {
1207	status = "okay";
1208	mboxes = <&mailbox0_cluster3>, <&mbox_c66_0>;
1209	memory-region = <&c66_0_dma_memory_region>,
1210			<&c66_0_memory_region>;
1211};
1212
1213&c66_1 {
1214	status = "okay";
1215	mboxes = <&mailbox0_cluster3>, <&mbox_c66_1>;
1216	memory-region = <&c66_1_dma_memory_region>,
1217			<&c66_1_memory_region>;
1218};
1219
1220&c71_0 {
1221	status = "okay";
1222	mboxes = <&mailbox0_cluster4>, <&mbox_c71_0>;
1223	memory-region = <&c71_0_dma_memory_region>,
1224			<&c71_0_memory_region>;
1225};
1226