xref: /freebsd/sys/contrib/device-tree/src/arm64/ti/k3-am642-sk.dts (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
101950c46SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only OR MIT
22eb4d8dcSEmmanuel Vadot/*
301950c46SEmmanuel Vadot * Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/
42eb4d8dcSEmmanuel Vadot */
52eb4d8dcSEmmanuel Vadot
62eb4d8dcSEmmanuel Vadot/dts-v1/;
72eb4d8dcSEmmanuel Vadot
85956d97fSEmmanuel Vadot#include <dt-bindings/phy/phy.h>
92eb4d8dcSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
102eb4d8dcSEmmanuel Vadot#include <dt-bindings/net/ti-dp83867.h>
117ef62cebSEmmanuel Vadot#include <dt-bindings/leds/common.h>
122eb4d8dcSEmmanuel Vadot#include "k3-am642.dtsi"
132eb4d8dcSEmmanuel Vadot
14aa1a8ff2SEmmanuel Vadot#include "k3-serdes.h"
15aa1a8ff2SEmmanuel Vadot
162eb4d8dcSEmmanuel Vadot/ {
172eb4d8dcSEmmanuel Vadot	compatible = "ti,am642-sk", "ti,am642";
182eb4d8dcSEmmanuel Vadot	model = "Texas Instruments AM642 SK";
192eb4d8dcSEmmanuel Vadot
202eb4d8dcSEmmanuel Vadot	chosen {
21f126890aSEmmanuel Vadot		stdout-path = &main_uart0;
22f126890aSEmmanuel Vadot	};
23f126890aSEmmanuel Vadot
24f126890aSEmmanuel Vadot	aliases {
25f126890aSEmmanuel Vadot		serial0 = &mcu_uart0;
26f126890aSEmmanuel Vadot		serial1 = &main_uart1;
27f126890aSEmmanuel Vadot		serial2 = &main_uart0;
28f126890aSEmmanuel Vadot		i2c0 = &main_i2c0;
29f126890aSEmmanuel Vadot		i2c1 = &main_i2c1;
30f126890aSEmmanuel Vadot		mmc0 = &sdhci0;
31f126890aSEmmanuel Vadot		mmc1 = &sdhci1;
32f126890aSEmmanuel Vadot		ethernet0 = &cpsw_port1;
33f126890aSEmmanuel Vadot		ethernet1 = &cpsw_port2;
342eb4d8dcSEmmanuel Vadot	};
352eb4d8dcSEmmanuel Vadot
362eb4d8dcSEmmanuel Vadot	memory@80000000 {
3784943d6fSEmmanuel Vadot		bootph-pre-ram;
382eb4d8dcSEmmanuel Vadot		device_type = "memory";
392eb4d8dcSEmmanuel Vadot		/* 2G RAM */
402eb4d8dcSEmmanuel Vadot		reg = <0x00000000 0x80000000 0x00000000 0x80000000>;
412eb4d8dcSEmmanuel Vadot	};
422eb4d8dcSEmmanuel Vadot
432eb4d8dcSEmmanuel Vadot	reserved-memory {
442eb4d8dcSEmmanuel Vadot		#address-cells = <2>;
452eb4d8dcSEmmanuel Vadot		#size-cells = <2>;
462eb4d8dcSEmmanuel Vadot		ranges;
472eb4d8dcSEmmanuel Vadot
482eb4d8dcSEmmanuel Vadot		secure_ddr: optee@9e800000 {
492eb4d8dcSEmmanuel Vadot			reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */
502eb4d8dcSEmmanuel Vadot			alignment = <0x1000>;
512eb4d8dcSEmmanuel Vadot			no-map;
522eb4d8dcSEmmanuel Vadot		};
535956d97fSEmmanuel Vadot
545956d97fSEmmanuel Vadot		main_r5fss0_core0_dma_memory_region: r5f-dma-memory@a0000000 {
555956d97fSEmmanuel Vadot			compatible = "shared-dma-pool";
565956d97fSEmmanuel Vadot			reg = <0x00 0xa0000000 0x00 0x100000>;
575956d97fSEmmanuel Vadot			no-map;
585956d97fSEmmanuel Vadot		};
595956d97fSEmmanuel Vadot
605956d97fSEmmanuel Vadot		main_r5fss0_core0_memory_region: r5f-memory@a0100000 {
615956d97fSEmmanuel Vadot			compatible = "shared-dma-pool";
625956d97fSEmmanuel Vadot			reg = <0x00 0xa0100000 0x00 0xf00000>;
635956d97fSEmmanuel Vadot			no-map;
645956d97fSEmmanuel Vadot		};
655956d97fSEmmanuel Vadot
665956d97fSEmmanuel Vadot		main_r5fss0_core1_dma_memory_region: r5f-dma-memory@a1000000 {
675956d97fSEmmanuel Vadot			compatible = "shared-dma-pool";
685956d97fSEmmanuel Vadot			reg = <0x00 0xa1000000 0x00 0x100000>;
695956d97fSEmmanuel Vadot			no-map;
705956d97fSEmmanuel Vadot		};
715956d97fSEmmanuel Vadot
725956d97fSEmmanuel Vadot		main_r5fss0_core1_memory_region: r5f-memory@a1100000 {
735956d97fSEmmanuel Vadot			compatible = "shared-dma-pool";
745956d97fSEmmanuel Vadot			reg = <0x00 0xa1100000 0x00 0xf00000>;
755956d97fSEmmanuel Vadot			no-map;
765956d97fSEmmanuel Vadot		};
775956d97fSEmmanuel Vadot
785956d97fSEmmanuel Vadot		main_r5fss1_core0_dma_memory_region: r5f-dma-memory@a2000000 {
795956d97fSEmmanuel Vadot			compatible = "shared-dma-pool";
805956d97fSEmmanuel Vadot			reg = <0x00 0xa2000000 0x00 0x100000>;
815956d97fSEmmanuel Vadot			no-map;
825956d97fSEmmanuel Vadot		};
835956d97fSEmmanuel Vadot
845956d97fSEmmanuel Vadot		main_r5fss1_core0_memory_region: r5f-memory@a2100000 {
855956d97fSEmmanuel Vadot			compatible = "shared-dma-pool";
865956d97fSEmmanuel Vadot			reg = <0x00 0xa2100000 0x00 0xf00000>;
875956d97fSEmmanuel Vadot			no-map;
885956d97fSEmmanuel Vadot		};
895956d97fSEmmanuel Vadot
905956d97fSEmmanuel Vadot		main_r5fss1_core1_dma_memory_region: r5f-dma-memory@a3000000 {
915956d97fSEmmanuel Vadot			compatible = "shared-dma-pool";
925956d97fSEmmanuel Vadot			reg = <0x00 0xa3000000 0x00 0x100000>;
935956d97fSEmmanuel Vadot			no-map;
945956d97fSEmmanuel Vadot		};
955956d97fSEmmanuel Vadot
965956d97fSEmmanuel Vadot		main_r5fss1_core1_memory_region: r5f-memory@a3100000 {
975956d97fSEmmanuel Vadot			compatible = "shared-dma-pool";
985956d97fSEmmanuel Vadot			reg = <0x00 0xa3100000 0x00 0xf00000>;
995956d97fSEmmanuel Vadot			no-map;
1005956d97fSEmmanuel Vadot		};
1015956d97fSEmmanuel Vadot
1025956d97fSEmmanuel Vadot		rtos_ipc_memory_region: ipc-memories@a5000000 {
1035956d97fSEmmanuel Vadot			reg = <0x00 0xa5000000 0x00 0x00800000>;
1045956d97fSEmmanuel Vadot			alignment = <0x1000>;
1055956d97fSEmmanuel Vadot			no-map;
1065956d97fSEmmanuel Vadot		};
1072eb4d8dcSEmmanuel Vadot	};
1082eb4d8dcSEmmanuel Vadot
109f126890aSEmmanuel Vadot	vusb_main: regulator-0 {
1102eb4d8dcSEmmanuel Vadot		/* USB MAIN INPUT 5V DC */
11184943d6fSEmmanuel Vadot		bootph-all;
1122eb4d8dcSEmmanuel Vadot		compatible = "regulator-fixed";
1132eb4d8dcSEmmanuel Vadot		regulator-name = "vusb_main5v0";
1142eb4d8dcSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
1152eb4d8dcSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
1162eb4d8dcSEmmanuel Vadot		regulator-always-on;
1172eb4d8dcSEmmanuel Vadot		regulator-boot-on;
1182eb4d8dcSEmmanuel Vadot	};
1192eb4d8dcSEmmanuel Vadot
120f126890aSEmmanuel Vadot	vcc_3v3_sys: regulator-1 {
1212eb4d8dcSEmmanuel Vadot		/* output of LP8733xx */
12284943d6fSEmmanuel Vadot		bootph-all;
1232eb4d8dcSEmmanuel Vadot		compatible = "regulator-fixed";
1242eb4d8dcSEmmanuel Vadot		regulator-name = "vcc_3v3_sys";
1252eb4d8dcSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
1262eb4d8dcSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
1272eb4d8dcSEmmanuel Vadot		vin-supply = <&vusb_main>;
1282eb4d8dcSEmmanuel Vadot		regulator-always-on;
1292eb4d8dcSEmmanuel Vadot		regulator-boot-on;
1302eb4d8dcSEmmanuel Vadot	};
1312eb4d8dcSEmmanuel Vadot
132f126890aSEmmanuel Vadot	vdd_mmc1: regulator-2 {
1332eb4d8dcSEmmanuel Vadot		/* TPS2051BD */
13484943d6fSEmmanuel Vadot		bootph-all;
1352eb4d8dcSEmmanuel Vadot		compatible = "regulator-fixed";
1362eb4d8dcSEmmanuel Vadot		regulator-name = "vdd_mmc1";
1372eb4d8dcSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
1382eb4d8dcSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
1392eb4d8dcSEmmanuel Vadot		regulator-boot-on;
1402eb4d8dcSEmmanuel Vadot		enable-active-high;
1412eb4d8dcSEmmanuel Vadot		vin-supply = <&vcc_3v3_sys>;
1422eb4d8dcSEmmanuel Vadot		gpio = <&exp1 3 GPIO_ACTIVE_HIGH>;
1432eb4d8dcSEmmanuel Vadot	};
144d5b0e70fSEmmanuel Vadot
145f126890aSEmmanuel Vadot	com8_ls_en: regulator-3 {
146d5b0e70fSEmmanuel Vadot		compatible = "regulator-fixed";
147d5b0e70fSEmmanuel Vadot		regulator-name = "com8_ls_en";
148d5b0e70fSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
149d5b0e70fSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
150d5b0e70fSEmmanuel Vadot		regulator-always-on;
151d5b0e70fSEmmanuel Vadot		regulator-boot-on;
152d5b0e70fSEmmanuel Vadot		pinctrl-0 = <&main_com8_ls_en_pins_default>;
153d5b0e70fSEmmanuel Vadot		pinctrl-names = "default";
154d5b0e70fSEmmanuel Vadot		gpio = <&main_gpio0 62 GPIO_ACTIVE_LOW>;
155d5b0e70fSEmmanuel Vadot	};
156d5b0e70fSEmmanuel Vadot
157f126890aSEmmanuel Vadot	wlan_en: regulator-4 {
158d5b0e70fSEmmanuel Vadot		/* output of SN74AVC4T245RSVR */
159d5b0e70fSEmmanuel Vadot		compatible = "regulator-fixed";
160d5b0e70fSEmmanuel Vadot		regulator-name = "wlan_en";
161d5b0e70fSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
162d5b0e70fSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
163d5b0e70fSEmmanuel Vadot		enable-active-high;
164d5b0e70fSEmmanuel Vadot		pinctrl-0 = <&main_wlan_en_pins_default>;
165d5b0e70fSEmmanuel Vadot		pinctrl-names = "default";
166d5b0e70fSEmmanuel Vadot		vin-supply = <&com8_ls_en>;
167d5b0e70fSEmmanuel Vadot		gpio = <&main_gpio0 48 GPIO_ACTIVE_HIGH>;
168d5b0e70fSEmmanuel Vadot	};
1697ef62cebSEmmanuel Vadot
1707ef62cebSEmmanuel Vadot	led-controller {
1717ef62cebSEmmanuel Vadot		compatible = "gpio-leds";
1727ef62cebSEmmanuel Vadot
1737ef62cebSEmmanuel Vadot		led-0 {
1747ef62cebSEmmanuel Vadot			color = <LED_COLOR_ID_GREEN>;
1757ef62cebSEmmanuel Vadot			function = LED_FUNCTION_INDICATOR;
1767ef62cebSEmmanuel Vadot			function-enumerator = <1>;
1777ef62cebSEmmanuel Vadot			gpios = <&exp2 0 GPIO_ACTIVE_HIGH>;
1787ef62cebSEmmanuel Vadot			default-state = "off";
1797ef62cebSEmmanuel Vadot		};
1807ef62cebSEmmanuel Vadot
1817ef62cebSEmmanuel Vadot		led-1 {
1827ef62cebSEmmanuel Vadot			color = <LED_COLOR_ID_RED>;
1837ef62cebSEmmanuel Vadot			function = LED_FUNCTION_INDICATOR;
1847ef62cebSEmmanuel Vadot			function-enumerator = <2>;
1857ef62cebSEmmanuel Vadot			gpios = <&exp2 1 GPIO_ACTIVE_HIGH>;
1867ef62cebSEmmanuel Vadot			default-state = "off";
1877ef62cebSEmmanuel Vadot		};
1887ef62cebSEmmanuel Vadot
1897ef62cebSEmmanuel Vadot		led-2 {
1907ef62cebSEmmanuel Vadot			color = <LED_COLOR_ID_GREEN>;
1917ef62cebSEmmanuel Vadot			function = LED_FUNCTION_INDICATOR;
1927ef62cebSEmmanuel Vadot			function-enumerator = <3>;
1937ef62cebSEmmanuel Vadot			gpios = <&exp2 2 GPIO_ACTIVE_HIGH>;
1947ef62cebSEmmanuel Vadot			default-state = "off";
1957ef62cebSEmmanuel Vadot		};
1967ef62cebSEmmanuel Vadot
1977ef62cebSEmmanuel Vadot		led-3 {
1987ef62cebSEmmanuel Vadot			color = <LED_COLOR_ID_AMBER>;
1997ef62cebSEmmanuel Vadot			function = LED_FUNCTION_INDICATOR;
2007ef62cebSEmmanuel Vadot			function-enumerator = <4>;
2017ef62cebSEmmanuel Vadot			gpios = <&exp2 3 GPIO_ACTIVE_HIGH>;
2027ef62cebSEmmanuel Vadot			default-state = "off";
2037ef62cebSEmmanuel Vadot		};
2047ef62cebSEmmanuel Vadot
2057ef62cebSEmmanuel Vadot		led-4 {
2067ef62cebSEmmanuel Vadot			color = <LED_COLOR_ID_GREEN>;
2077ef62cebSEmmanuel Vadot			function = LED_FUNCTION_INDICATOR;
2087ef62cebSEmmanuel Vadot			function-enumerator = <5>;
2097ef62cebSEmmanuel Vadot			gpios = <&exp2 4 GPIO_ACTIVE_HIGH>;
2107ef62cebSEmmanuel Vadot			default-state = "off";
2117ef62cebSEmmanuel Vadot		};
2127ef62cebSEmmanuel Vadot
2137ef62cebSEmmanuel Vadot		led-5 {
2147ef62cebSEmmanuel Vadot			color = <LED_COLOR_ID_RED>;
2157ef62cebSEmmanuel Vadot			function = LED_FUNCTION_INDICATOR;
2167ef62cebSEmmanuel Vadot			function-enumerator = <6>;
2177ef62cebSEmmanuel Vadot			gpios = <&exp2 5 GPIO_ACTIVE_HIGH>;
2187ef62cebSEmmanuel Vadot			default-state = "off";
2197ef62cebSEmmanuel Vadot		};
2207ef62cebSEmmanuel Vadot
2217ef62cebSEmmanuel Vadot		led-6 {
2227ef62cebSEmmanuel Vadot			color = <LED_COLOR_ID_GREEN>;
2237ef62cebSEmmanuel Vadot			function = LED_FUNCTION_INDICATOR;
2247ef62cebSEmmanuel Vadot			function-enumerator = <7>;
2257ef62cebSEmmanuel Vadot			gpios = <&exp2 6 GPIO_ACTIVE_HIGH>;
2267ef62cebSEmmanuel Vadot			default-state = "off";
2277ef62cebSEmmanuel Vadot		};
2287ef62cebSEmmanuel Vadot
2297ef62cebSEmmanuel Vadot		led-7 {
2307ef62cebSEmmanuel Vadot			color = <LED_COLOR_ID_AMBER>;
2317ef62cebSEmmanuel Vadot			function = LED_FUNCTION_HEARTBEAT;
2327ef62cebSEmmanuel Vadot			function-enumerator = <8>;
2337ef62cebSEmmanuel Vadot			linux,default-trigger = "heartbeat";
2347ef62cebSEmmanuel Vadot			gpios = <&exp2 7 GPIO_ACTIVE_HIGH>;
2357ef62cebSEmmanuel Vadot		};
2367ef62cebSEmmanuel Vadot	};
2372eb4d8dcSEmmanuel Vadot};
2382eb4d8dcSEmmanuel Vadot
2392eb4d8dcSEmmanuel Vadot&main_pmx0 {
240f126890aSEmmanuel Vadot	main_mmc1_pins_default: main-mmc1-default-pins {
24184943d6fSEmmanuel Vadot		bootph-all;
2422eb4d8dcSEmmanuel Vadot		pinctrl-single,pins = <
243f126890aSEmmanuel Vadot			AM64X_IOPAD(0x029c, PIN_INPUT_PULLUP, 0) /* (C20) MMC1_SDWP */
244f126890aSEmmanuel Vadot			AM64X_IOPAD(0x0298, PIN_INPUT_PULLUP, 0) /* (D19) MMC1_SDCD */
245f126890aSEmmanuel Vadot			AM64X_IOPAD(0x0294, PIN_INPUT_PULLUP, 0) /* (J19) MMC1_CMD */
2462eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x0290, PIN_INPUT, 0) /* (#N/A) MMC1_CLKLB */
247f126890aSEmmanuel Vadot			AM64X_IOPAD(0x028c, PIN_INPUT_PULLDOWN, 0) /* (L20) MMC1_CLK */
248f126890aSEmmanuel Vadot			AM64X_IOPAD(0x0288, PIN_INPUT_PULLUP, 0) /* (K21) MMC1_DAT0 */
249f126890aSEmmanuel Vadot			AM64X_IOPAD(0x0284, PIN_INPUT_PULLUP, 0) /* (L21) MMC1_DAT1 */
250f126890aSEmmanuel Vadot			AM64X_IOPAD(0x0280, PIN_INPUT_PULLUP, 0) /* (K19) MMC1_DAT2 */
251f126890aSEmmanuel Vadot			AM64X_IOPAD(0x027c, PIN_INPUT_PULLUP, 0) /* (K18) MMC1_DAT3 */
2522eb4d8dcSEmmanuel Vadot		>;
2532eb4d8dcSEmmanuel Vadot	};
2542eb4d8dcSEmmanuel Vadot
255f126890aSEmmanuel Vadot	main_uart0_pins_default: main-uart0-default-pins {
25684943d6fSEmmanuel Vadot		bootph-all;
257b97ee269SEmmanuel Vadot		pinctrl-single,pins = <
258b97ee269SEmmanuel Vadot			AM64X_IOPAD(0x0238, PIN_INPUT, 0) /* (B16) UART0_CTSn */
259b97ee269SEmmanuel Vadot			AM64X_IOPAD(0x023c, PIN_OUTPUT, 0) /* (A16) UART0_RTSn */
260b97ee269SEmmanuel Vadot			AM64X_IOPAD(0x0230, PIN_INPUT, 0) /* (D15) UART0_RXD */
261b97ee269SEmmanuel Vadot			AM64X_IOPAD(0x0234, PIN_OUTPUT, 0) /* (C16) UART0_TXD */
262b97ee269SEmmanuel Vadot		>;
263b97ee269SEmmanuel Vadot	};
264b97ee269SEmmanuel Vadot
265f126890aSEmmanuel Vadot	main_uart1_pins_default: main-uart1-default-pins {
26684943d6fSEmmanuel Vadot		bootph-pre-ram;
267f126890aSEmmanuel Vadot		pinctrl-single,pins = <
268f126890aSEmmanuel Vadot			AM64X_IOPAD(0x0248, PIN_INPUT, 0) /* (D16) UART1_CTSn */
269f126890aSEmmanuel Vadot			AM64X_IOPAD(0x024c, PIN_OUTPUT, 0) /* (E16) UART1_RTSn */
270f126890aSEmmanuel Vadot			AM64X_IOPAD(0x0240, PIN_INPUT, 0) /* (E15) UART1_RXD */
271f126890aSEmmanuel Vadot			AM64X_IOPAD(0x0244, PIN_OUTPUT, 0) /* (E14) UART1_TXD */
272f126890aSEmmanuel Vadot		>;
273f126890aSEmmanuel Vadot	};
274f126890aSEmmanuel Vadot
275f126890aSEmmanuel Vadot	main_usb0_pins_default: main-usb0-default-pins {
27684943d6fSEmmanuel Vadot		bootph-all;
2775956d97fSEmmanuel Vadot		pinctrl-single,pins = <
2785956d97fSEmmanuel Vadot			AM64X_IOPAD(0x02a8, PIN_OUTPUT, 0) /* (E19) USB0_DRVVBUS */
2795956d97fSEmmanuel Vadot		>;
2805956d97fSEmmanuel Vadot	};
2815956d97fSEmmanuel Vadot
282f126890aSEmmanuel Vadot	main_i2c0_pins_default: main-i2c0-default-pins {
28384943d6fSEmmanuel Vadot		bootph-all;
284f126890aSEmmanuel Vadot		pinctrl-single,pins = <
285f126890aSEmmanuel Vadot			AM64X_IOPAD(0x0260, PIN_INPUT_PULLUP, 0) /* (A18) I2C0_SCL */
286f126890aSEmmanuel Vadot			AM64X_IOPAD(0x0264, PIN_INPUT_PULLUP, 0) /* (B18) I2C0_SDA */
287f126890aSEmmanuel Vadot		>;
288f126890aSEmmanuel Vadot	};
289f126890aSEmmanuel Vadot
290f126890aSEmmanuel Vadot	main_i2c1_pins_default: main-i2c1-default-pins {
29184943d6fSEmmanuel Vadot		bootph-all;
2922eb4d8dcSEmmanuel Vadot		pinctrl-single,pins = <
2932eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x0268, PIN_INPUT_PULLUP, 0) /* (C18) I2C1_SCL */
2942eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x026c, PIN_INPUT_PULLUP, 0) /* (B19) I2C1_SDA */
2952eb4d8dcSEmmanuel Vadot		>;
2962eb4d8dcSEmmanuel Vadot	};
2972eb4d8dcSEmmanuel Vadot
298f126890aSEmmanuel Vadot	mdio1_pins_default: mdio1-default-pins {
2992eb4d8dcSEmmanuel Vadot		pinctrl-single,pins = <
3002eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x01fc, PIN_OUTPUT, 4) /* (R2) PRG0_PRU1_GPO19.MDIO0_MDC */
3012eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x01f8, PIN_INPUT, 4) /* (P5) PRG0_PRU1_GPO18.MDIO0_MDIO */
3022eb4d8dcSEmmanuel Vadot		>;
3032eb4d8dcSEmmanuel Vadot	};
3042eb4d8dcSEmmanuel Vadot
305f126890aSEmmanuel Vadot	rgmii1_pins_default: rgmii1-default-pins {
3062eb4d8dcSEmmanuel Vadot		pinctrl-single,pins = <
3072eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x011c, PIN_INPUT, 4) /* (AA13) PRG1_PRU1_GPO5.RGMII1_RD0 */
3082eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x0128, PIN_INPUT, 4) /* (U12) PRG1_PRU1_GPO8.RGMII1_RD1 */
3092eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x0150, PIN_INPUT, 4) /* (Y13) PRG1_PRU1_GPO18.RGMII1_RD2 */
3102eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x0154, PIN_INPUT, 4) /* (V12) PRG1_PRU1_GPO19.RGMII1_RD3 */
3112eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x00d8, PIN_INPUT, 4) /* (W13) PRG1_PRU0_GPO8.RGMII1_RXC */
3122eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x00cc, PIN_INPUT, 4) /* (V13) PRG1_PRU0_GPO5.RGMII1_RX_CTL */
3132eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x0124, PIN_OUTPUT, 4) /* (V15) PRG1_PRU1_GPO7.RGMII1_TD0 */
3142eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x012c, PIN_OUTPUT, 4) /* (V14) PRG1_PRU1_GPO9.RGMII1_TD1 */
3152eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x0130, PIN_OUTPUT, 4) /* (W14) PRG1_PRU1_GPO10.RGMII1_TD2 */
3162eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x014c, PIN_OUTPUT, 4) /* (AA14) PRG1_PRU1_GPO17.RGMII1_TD3 */
3172eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x00e0, PIN_OUTPUT, 4) /* (U14) PRG1_PRU0_GPO10.RGMII1_TXC */
3182eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x00dc, PIN_OUTPUT, 4) /* (U15) PRG1_PRU0_GPO9.RGMII1_TX_CTL */
3192eb4d8dcSEmmanuel Vadot		>;
3202eb4d8dcSEmmanuel Vadot	};
3212eb4d8dcSEmmanuel Vadot
322f126890aSEmmanuel Vadot       rgmii2_pins_default: rgmii2-default-pins {
3232eb4d8dcSEmmanuel Vadot		pinctrl-single,pins = <
3242eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x0108, PIN_INPUT, 4) /* (W11) PRG1_PRU1_GPO0.RGMII2_RD0 */
3252eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x010c, PIN_INPUT, 4) /* (V11) PRG1_PRU1_GPO1.RGMII2_RD1 */
3262eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x0110, PIN_INPUT, 4) /* (AA12) PRG1_PRU1_GPO2.RGMII2_RD2 */
3272eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x0114, PIN_INPUT, 4) /* (Y12) PRG1_PRU1_GPO3.RGMII2_RD3 */
3282eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x0120, PIN_INPUT, 4) /* (U11) PRG1_PRU1_GPO6.RGMII2_RXC */
3292eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x0118, PIN_INPUT, 4) /* (W12) PRG1_PRU1_GPO4.RGMII2_RX_CTL */
3302eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x0134, PIN_OUTPUT, 4) /* (AA10) PRG1_PRU1_GPO11.RGMII2_TD0 */
3312eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x0138, PIN_OUTPUT, 4) /* (V10) PRG1_PRU1_GPO12.RGMII2_TD1 */
3322eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x013c, PIN_OUTPUT, 4) /* (U10) PRG1_PRU1_GPO13.RGMII2_TD2 */
3332eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x0140, PIN_OUTPUT, 4) /* (AA11) PRG1_PRU1_GPO14.RGMII2_TD3 */
3342eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x0148, PIN_OUTPUT, 4) /* (Y10) PRG1_PRU1_GPO16.RGMII2_TXC */
3352eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x0144, PIN_OUTPUT, 4) /* (Y11) PRG1_PRU1_GPO15.RGMII2_TX_CTL */
3362eb4d8dcSEmmanuel Vadot		>;
3372eb4d8dcSEmmanuel Vadot	};
3382eb4d8dcSEmmanuel Vadot
339f126890aSEmmanuel Vadot	ospi0_pins_default: ospi0-default-pins {
3402eb4d8dcSEmmanuel Vadot		pinctrl-single,pins = <
3412eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x0000, PIN_OUTPUT, 0) /* (N20) OSPI0_CLK */
3422eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x002c, PIN_OUTPUT, 0) /* (L19) OSPI0_CSn0 */
3432eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x000c, PIN_INPUT, 0) /* (M19) OSPI0_D0 */
3442eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x0010, PIN_INPUT, 0) /* (M18) OSPI0_D1 */
3452eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x0014, PIN_INPUT, 0) /* (M20) OSPI0_D2 */
3462eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x0018, PIN_INPUT, 0) /* (M21) OSPI0_D3 */
3472eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x001c, PIN_INPUT, 0) /* (P21) OSPI0_D4 */
3482eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x0020, PIN_INPUT, 0) /* (P20) OSPI0_D5 */
3492eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x0024, PIN_INPUT, 0) /* (N18) OSPI0_D6 */
3502eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x0028, PIN_INPUT, 0) /* (M17) OSPI0_D7 */
3512eb4d8dcSEmmanuel Vadot			AM64X_IOPAD(0x0008, PIN_INPUT, 0) /* (N19) OSPI0_DQS */
3522eb4d8dcSEmmanuel Vadot		>;
3532eb4d8dcSEmmanuel Vadot	};
354354d7675SEmmanuel Vadot
355f126890aSEmmanuel Vadot	main_ecap0_pins_default: main-ecap0-default-pins {
356354d7675SEmmanuel Vadot		pinctrl-single,pins = <
357354d7675SEmmanuel Vadot			AM64X_IOPAD(0x0270, PIN_INPUT, 0) /* (D18) ECAP0_IN_APWM_OUT */
358354d7675SEmmanuel Vadot		>;
359354d7675SEmmanuel Vadot	};
360f126890aSEmmanuel Vadot	main_wlan_en_pins_default: main-wlan-en-default-pins {
361d5b0e70fSEmmanuel Vadot		pinctrl-single,pins = <
362d5b0e70fSEmmanuel Vadot			AM64X_IOPAD(0x00c4, PIN_OUTPUT_PULLUP, 7) /* (V8) GPIO0_48 */
363d5b0e70fSEmmanuel Vadot		>;
364d5b0e70fSEmmanuel Vadot	};
365d5b0e70fSEmmanuel Vadot
366f126890aSEmmanuel Vadot	main_com8_ls_en_pins_default: main-com8-ls-en-default-pins {
367d5b0e70fSEmmanuel Vadot		pinctrl-single,pins = <
368d5b0e70fSEmmanuel Vadot			AM64X_IOPAD(0x00fc, PIN_OUTPUT, 7) /* (U7) PRG1_PRU0_GPO17.GPIO0_62 */
369d5b0e70fSEmmanuel Vadot		>;
370d5b0e70fSEmmanuel Vadot	};
371d5b0e70fSEmmanuel Vadot
372f126890aSEmmanuel Vadot	main_wlan_pins_default: main-wlan-default-pins {
373d5b0e70fSEmmanuel Vadot		pinctrl-single,pins = <
374d5b0e70fSEmmanuel Vadot			AM64X_IOPAD(0x00bc, PIN_INPUT, 7) /* (U8) GPIO0_46 */
375d5b0e70fSEmmanuel Vadot		>;
376d5b0e70fSEmmanuel Vadot	};
3772eb4d8dcSEmmanuel Vadot};
3782eb4d8dcSEmmanuel Vadot
379b97ee269SEmmanuel Vadot&main_uart0 {
38084943d6fSEmmanuel Vadot	bootph-all;
3818bab661aSEmmanuel Vadot	status = "okay";
382b97ee269SEmmanuel Vadot	pinctrl-names = "default";
383b97ee269SEmmanuel Vadot	pinctrl-0 = <&main_uart0_pins_default>;
384b97ee269SEmmanuel Vadot};
385b97ee269SEmmanuel Vadot
3862eb4d8dcSEmmanuel Vadot&main_uart1 {
3872eb4d8dcSEmmanuel Vadot	/* main_uart1 is reserved for firmware usage */
38884943d6fSEmmanuel Vadot	bootph-pre-ram;
3892eb4d8dcSEmmanuel Vadot	status = "reserved";
390f126890aSEmmanuel Vadot	pinctrl-names = "default";
391f126890aSEmmanuel Vadot	pinctrl-0 = <&main_uart1_pins_default>;
392f126890aSEmmanuel Vadot};
393f126890aSEmmanuel Vadot
394f126890aSEmmanuel Vadot&main_i2c0 {
39584943d6fSEmmanuel Vadot	bootph-all;
396f126890aSEmmanuel Vadot	status = "okay";
397f126890aSEmmanuel Vadot	pinctrl-names = "default";
398f126890aSEmmanuel Vadot	pinctrl-0 = <&main_i2c0_pins_default>;
399f126890aSEmmanuel Vadot	clock-frequency = <400000>;
400f126890aSEmmanuel Vadot
401f126890aSEmmanuel Vadot	eeprom@51 {
402f126890aSEmmanuel Vadot		compatible = "atmel,24c512";
403f126890aSEmmanuel Vadot		reg = <0x51>;
404f126890aSEmmanuel Vadot	};
4052eb4d8dcSEmmanuel Vadot};
4062eb4d8dcSEmmanuel Vadot
4072eb4d8dcSEmmanuel Vadot&main_i2c1 {
40884943d6fSEmmanuel Vadot	bootph-all;
4098bab661aSEmmanuel Vadot	status = "okay";
4102eb4d8dcSEmmanuel Vadot	pinctrl-names = "default";
4112eb4d8dcSEmmanuel Vadot	pinctrl-0 = <&main_i2c1_pins_default>;
4122eb4d8dcSEmmanuel Vadot	clock-frequency = <400000>;
4132eb4d8dcSEmmanuel Vadot
4142eb4d8dcSEmmanuel Vadot	exp1: gpio@70 {
41584943d6fSEmmanuel Vadot		bootph-all;
4162eb4d8dcSEmmanuel Vadot		compatible = "nxp,pca9538";
4172eb4d8dcSEmmanuel Vadot		reg = <0x70>;
4182eb4d8dcSEmmanuel Vadot		gpio-controller;
4192eb4d8dcSEmmanuel Vadot		#gpio-cells = <2>;
4202eb4d8dcSEmmanuel Vadot		gpio-line-names = "GPIO_CPSW2_RST", "GPIO_CPSW1_RST",
4212eb4d8dcSEmmanuel Vadot				  "PRU_DETECT", "MMC1_SD_EN",
4222eb4d8dcSEmmanuel Vadot				  "VPP_LDO_EN", "RPI_PS_3V3_En",
4232eb4d8dcSEmmanuel Vadot				  "RPI_PS_5V0_En", "RPI_HAT_DETECT";
4242eb4d8dcSEmmanuel Vadot	};
4257ef62cebSEmmanuel Vadot
4267ef62cebSEmmanuel Vadot	exp2: gpio@60 {
4277ef62cebSEmmanuel Vadot		compatible = "ti,tpic2810";
4287ef62cebSEmmanuel Vadot		reg = <0x60>;
4297ef62cebSEmmanuel Vadot		gpio-controller;
4307ef62cebSEmmanuel Vadot		#gpio-cells = <2>;
4317ef62cebSEmmanuel Vadot		gpio-line-names = "LED1","LED2","LED3","LED4","LED5","LED6","LED7","LED8";
4327ef62cebSEmmanuel Vadot	};
4330e8011faSEmmanuel Vadot
4340e8011faSEmmanuel Vadot	/* SoC power supply temperature */
4350e8011faSEmmanuel Vadot	tmp100@48 {
4360e8011faSEmmanuel Vadot		compatible = "ti,tmp100";
4370e8011faSEmmanuel Vadot		reg = <0x48>;
4380e8011faSEmmanuel Vadot	};
4390e8011faSEmmanuel Vadot
4400e8011faSEmmanuel Vadot	/* DDR power supply temperature */
4410e8011faSEmmanuel Vadot	tmp100@49 {
4420e8011faSEmmanuel Vadot		compatible = "ti,tmp100";
4430e8011faSEmmanuel Vadot		reg = <0x49>;
4440e8011faSEmmanuel Vadot	};
4452eb4d8dcSEmmanuel Vadot};
4462eb4d8dcSEmmanuel Vadot
4478d13bc63SEmmanuel Vadot/* mcu_gpio0 and mcu_gpio_intr are reserved for mcu firmware usage */
4482eb4d8dcSEmmanuel Vadot&mcu_gpio0 {
4492eb4d8dcSEmmanuel Vadot	status = "reserved";
4502eb4d8dcSEmmanuel Vadot};
4512eb4d8dcSEmmanuel Vadot
4528d13bc63SEmmanuel Vadot&mcu_gpio_intr {
4538d13bc63SEmmanuel Vadot	status = "reserved";
4548d13bc63SEmmanuel Vadot};
4558d13bc63SEmmanuel Vadot
456d5b0e70fSEmmanuel Vadot&sdhci0 {
4578d13bc63SEmmanuel Vadot	status = "okay";
458d5b0e70fSEmmanuel Vadot	vmmc-supply = <&wlan_en>;
459d5b0e70fSEmmanuel Vadot	bus-width = <4>;
460d5b0e70fSEmmanuel Vadot	non-removable;
461d5b0e70fSEmmanuel Vadot	cap-power-off-card;
462d5b0e70fSEmmanuel Vadot	keep-power-in-suspend;
463d5b0e70fSEmmanuel Vadot	ti,driver-strength-ohm = <50>;
464d5b0e70fSEmmanuel Vadot
465d5b0e70fSEmmanuel Vadot	#address-cells = <1>;
466d5b0e70fSEmmanuel Vadot	#size-cells = <0>;
467d5b0e70fSEmmanuel Vadot	wlcore: wlcore@2 {
468d5b0e70fSEmmanuel Vadot		compatible = "ti,wl1837";
469d5b0e70fSEmmanuel Vadot		reg = <2>;
470d5b0e70fSEmmanuel Vadot		pinctrl-0 = <&main_wlan_pins_default>;
471d5b0e70fSEmmanuel Vadot		pinctrl-names = "default";
472d5b0e70fSEmmanuel Vadot		interrupt-parent = <&main_gpio0>;
473d5b0e70fSEmmanuel Vadot		interrupts = <46 IRQ_TYPE_EDGE_FALLING>;
474d5b0e70fSEmmanuel Vadot	};
475d5b0e70fSEmmanuel Vadot};
476d5b0e70fSEmmanuel Vadot
4772eb4d8dcSEmmanuel Vadot/* SD/MMC */
4788d13bc63SEmmanuel Vadot&sdhci1 {
47984943d6fSEmmanuel Vadot	bootph-all;
4808d13bc63SEmmanuel Vadot	status = "okay";
4812eb4d8dcSEmmanuel Vadot	vmmc-supply = <&vdd_mmc1>;
4822eb4d8dcSEmmanuel Vadot	pinctrl-names = "default";
4832eb4d8dcSEmmanuel Vadot	pinctrl-0 = <&main_mmc1_pins_default>;
4842eb4d8dcSEmmanuel Vadot	disable-wp;
4852eb4d8dcSEmmanuel Vadot};
4862eb4d8dcSEmmanuel Vadot
4875956d97fSEmmanuel Vadot&serdes_ln_ctrl {
48884943d6fSEmmanuel Vadot	bootph-all;
4895956d97fSEmmanuel Vadot	idle-states = <AM64_SERDES0_LANE0_USB>;
4905956d97fSEmmanuel Vadot};
4915956d97fSEmmanuel Vadot
49284943d6fSEmmanuel Vadot&serdes_refclk {
49384943d6fSEmmanuel Vadot	bootph-all;
49484943d6fSEmmanuel Vadot};
49584943d6fSEmmanuel Vadot
49684943d6fSEmmanuel Vadot&serdes_wiz0 {
49784943d6fSEmmanuel Vadot	bootph-all;
49884943d6fSEmmanuel Vadot};
49984943d6fSEmmanuel Vadot
5005956d97fSEmmanuel Vadot&serdes0 {
50184943d6fSEmmanuel Vadot	bootph-all;
5025956d97fSEmmanuel Vadot	serdes0_usb_link: phy@0 {
50384943d6fSEmmanuel Vadot		bootph-all;
5045956d97fSEmmanuel Vadot		reg = <0>;
5055956d97fSEmmanuel Vadot		cdns,num-lanes = <1>;
5065956d97fSEmmanuel Vadot		#phy-cells = <0>;
5075956d97fSEmmanuel Vadot		cdns,phy-type = <PHY_TYPE_USB3>;
5085956d97fSEmmanuel Vadot		resets = <&serdes_wiz0 1>;
5095956d97fSEmmanuel Vadot	};
5105956d97fSEmmanuel Vadot};
5115956d97fSEmmanuel Vadot
5125956d97fSEmmanuel Vadot&usbss0 {
51384943d6fSEmmanuel Vadot	bootph-all;
5145956d97fSEmmanuel Vadot	ti,vbus-divider;
5155956d97fSEmmanuel Vadot};
5165956d97fSEmmanuel Vadot
5175956d97fSEmmanuel Vadot&usb0 {
51884943d6fSEmmanuel Vadot	bootph-all;
5195956d97fSEmmanuel Vadot	dr_mode = "host";
5205956d97fSEmmanuel Vadot	maximum-speed = "super-speed";
5215956d97fSEmmanuel Vadot	pinctrl-names = "default";
5225956d97fSEmmanuel Vadot	pinctrl-0 = <&main_usb0_pins_default>;
5235956d97fSEmmanuel Vadot	phys = <&serdes0_usb_link>;
5245956d97fSEmmanuel Vadot	phy-names = "cdns3,usb3-phy";
5255956d97fSEmmanuel Vadot};
5265956d97fSEmmanuel Vadot
5272eb4d8dcSEmmanuel Vadot&cpsw3g {
5282eb4d8dcSEmmanuel Vadot	pinctrl-names = "default";
529f126890aSEmmanuel Vadot	pinctrl-0 = <&rgmii1_pins_default>, <&rgmii2_pins_default>;
530*b2d2a78aSEmmanuel Vadot	status = "okay";
5312eb4d8dcSEmmanuel Vadot};
5322eb4d8dcSEmmanuel Vadot
5332eb4d8dcSEmmanuel Vadot&cpsw_port1 {
5342eb4d8dcSEmmanuel Vadot	phy-mode = "rgmii-rxid";
5352eb4d8dcSEmmanuel Vadot	phy-handle = <&cpsw3g_phy0>;
536*b2d2a78aSEmmanuel Vadot	status = "okay";
5372eb4d8dcSEmmanuel Vadot};
5382eb4d8dcSEmmanuel Vadot
5392eb4d8dcSEmmanuel Vadot&cpsw_port2 {
5402eb4d8dcSEmmanuel Vadot	phy-mode = "rgmii-rxid";
5412eb4d8dcSEmmanuel Vadot	phy-handle = <&cpsw3g_phy1>;
542*b2d2a78aSEmmanuel Vadot	status = "okay";
5432eb4d8dcSEmmanuel Vadot};
5442eb4d8dcSEmmanuel Vadot
5452eb4d8dcSEmmanuel Vadot&cpsw3g_mdio {
5468bab661aSEmmanuel Vadot	status = "okay";
5478bab661aSEmmanuel Vadot	pinctrl-names = "default";
5488bab661aSEmmanuel Vadot	pinctrl-0 = <&mdio1_pins_default>;
5498bab661aSEmmanuel Vadot
5502eb4d8dcSEmmanuel Vadot	cpsw3g_phy0: ethernet-phy@0 {
5512eb4d8dcSEmmanuel Vadot		reg = <0>;
5522eb4d8dcSEmmanuel Vadot		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
5532eb4d8dcSEmmanuel Vadot		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
5542eb4d8dcSEmmanuel Vadot	};
5552eb4d8dcSEmmanuel Vadot
5562eb4d8dcSEmmanuel Vadot	cpsw3g_phy1: ethernet-phy@1 {
5572eb4d8dcSEmmanuel Vadot		reg = <1>;
5582eb4d8dcSEmmanuel Vadot		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
5592eb4d8dcSEmmanuel Vadot		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
5602eb4d8dcSEmmanuel Vadot	};
5612eb4d8dcSEmmanuel Vadot};
5622eb4d8dcSEmmanuel Vadot
5632eb4d8dcSEmmanuel Vadot&ospi0 {
564aa1a8ff2SEmmanuel Vadot	status = "okay";
5652eb4d8dcSEmmanuel Vadot	pinctrl-names = "default";
5662eb4d8dcSEmmanuel Vadot	pinctrl-0 = <&ospi0_pins_default>;
5672eb4d8dcSEmmanuel Vadot
5682eb4d8dcSEmmanuel Vadot	flash@0 {
5692eb4d8dcSEmmanuel Vadot		compatible = "jedec,spi-nor";
5702eb4d8dcSEmmanuel Vadot		reg = <0x0>;
5712eb4d8dcSEmmanuel Vadot		spi-tx-bus-width = <8>;
5722eb4d8dcSEmmanuel Vadot		spi-rx-bus-width = <8>;
5732eb4d8dcSEmmanuel Vadot		spi-max-frequency = <25000000>;
5742eb4d8dcSEmmanuel Vadot		cdns,tshsl-ns = <60>;
5752eb4d8dcSEmmanuel Vadot		cdns,tsd2d-ns = <60>;
5762eb4d8dcSEmmanuel Vadot		cdns,tchsh-ns = <60>;
5772eb4d8dcSEmmanuel Vadot		cdns,tslch-ns = <60>;
5782eb4d8dcSEmmanuel Vadot		cdns,read-delay = <4>;
579f126890aSEmmanuel Vadot
580f126890aSEmmanuel Vadot		partitions {
581f126890aSEmmanuel Vadot			compatible = "fixed-partitions";
582f126890aSEmmanuel Vadot			#address-cells = <1>;
583f126890aSEmmanuel Vadot			#size-cells = <1>;
584f126890aSEmmanuel Vadot
585f126890aSEmmanuel Vadot			partition@0 {
586f126890aSEmmanuel Vadot				label = "ospi.tiboot3";
587f126890aSEmmanuel Vadot				reg = <0x0 0x100000>;
588f126890aSEmmanuel Vadot			};
589f126890aSEmmanuel Vadot
590f126890aSEmmanuel Vadot			partition@100000 {
591f126890aSEmmanuel Vadot				label = "ospi.tispl";
592f126890aSEmmanuel Vadot				reg = <0x100000 0x200000>;
593f126890aSEmmanuel Vadot			};
594f126890aSEmmanuel Vadot
595f126890aSEmmanuel Vadot			partition@300000 {
596f126890aSEmmanuel Vadot				label = "ospi.u-boot";
597f126890aSEmmanuel Vadot				reg = <0x300000 0x400000>;
598f126890aSEmmanuel Vadot			};
599f126890aSEmmanuel Vadot
600f126890aSEmmanuel Vadot			partition@700000 {
601f126890aSEmmanuel Vadot				label = "ospi.env";
602f126890aSEmmanuel Vadot				reg = <0x700000 0x40000>;
603f126890aSEmmanuel Vadot			};
604f126890aSEmmanuel Vadot
605f126890aSEmmanuel Vadot			partition@740000 {
606f126890aSEmmanuel Vadot				label = "ospi.env.backup";
607f126890aSEmmanuel Vadot				reg = <0x740000 0x40000>;
608f126890aSEmmanuel Vadot			};
609f126890aSEmmanuel Vadot
610f126890aSEmmanuel Vadot			partition@800000 {
611f126890aSEmmanuel Vadot				label = "ospi.rootfs";
612f126890aSEmmanuel Vadot				reg = <0x800000 0x37c0000>;
613f126890aSEmmanuel Vadot			};
614f126890aSEmmanuel Vadot
615f126890aSEmmanuel Vadot			partition@3fc0000 {
616f126890aSEmmanuel Vadot				label = "ospi.phypattern";
617f126890aSEmmanuel Vadot				reg = <0x3fc0000 0x40000>;
618f126890aSEmmanuel Vadot			};
619f126890aSEmmanuel Vadot		};
6202eb4d8dcSEmmanuel Vadot	};
6212eb4d8dcSEmmanuel Vadot};
6222eb4d8dcSEmmanuel Vadot
6232eb4d8dcSEmmanuel Vadot&mailbox0_cluster2 {
624f126890aSEmmanuel Vadot	status = "okay";
625f126890aSEmmanuel Vadot
6262eb4d8dcSEmmanuel Vadot	mbox_main_r5fss0_core0: mbox-main-r5fss0-core0 {
6272eb4d8dcSEmmanuel Vadot		ti,mbox-rx = <0 0 2>;
6282eb4d8dcSEmmanuel Vadot		ti,mbox-tx = <1 0 2>;
6292eb4d8dcSEmmanuel Vadot	};
6302eb4d8dcSEmmanuel Vadot
6312eb4d8dcSEmmanuel Vadot	mbox_main_r5fss0_core1: mbox-main-r5fss0-core1 {
6322eb4d8dcSEmmanuel Vadot		ti,mbox-rx = <2 0 2>;
6332eb4d8dcSEmmanuel Vadot		ti,mbox-tx = <3 0 2>;
6342eb4d8dcSEmmanuel Vadot	};
6352eb4d8dcSEmmanuel Vadot};
6362eb4d8dcSEmmanuel Vadot
6372eb4d8dcSEmmanuel Vadot&mailbox0_cluster4 {
638f126890aSEmmanuel Vadot	status = "okay";
639f126890aSEmmanuel Vadot
6402eb4d8dcSEmmanuel Vadot	mbox_main_r5fss1_core0: mbox-main-r5fss1-core0 {
6412eb4d8dcSEmmanuel Vadot		ti,mbox-rx = <0 0 2>;
6422eb4d8dcSEmmanuel Vadot		ti,mbox-tx = <1 0 2>;
6432eb4d8dcSEmmanuel Vadot	};
6442eb4d8dcSEmmanuel Vadot
6452eb4d8dcSEmmanuel Vadot	mbox_main_r5fss1_core1: mbox-main-r5fss1-core1 {
6462eb4d8dcSEmmanuel Vadot		ti,mbox-rx = <2 0 2>;
6472eb4d8dcSEmmanuel Vadot		ti,mbox-tx = <3 0 2>;
6482eb4d8dcSEmmanuel Vadot	};
6492eb4d8dcSEmmanuel Vadot};
6502eb4d8dcSEmmanuel Vadot
6512eb4d8dcSEmmanuel Vadot&mailbox0_cluster6 {
652f126890aSEmmanuel Vadot	status = "okay";
653f126890aSEmmanuel Vadot
6542eb4d8dcSEmmanuel Vadot	mbox_m4_0: mbox-m4-0 {
6552eb4d8dcSEmmanuel Vadot		ti,mbox-rx = <0 0 2>;
6562eb4d8dcSEmmanuel Vadot		ti,mbox-tx = <1 0 2>;
6572eb4d8dcSEmmanuel Vadot	};
6582eb4d8dcSEmmanuel Vadot};
6592eb4d8dcSEmmanuel Vadot
6605956d97fSEmmanuel Vadot&main_r5fss0_core0 {
66101950c46SEmmanuel Vadot	mboxes = <&mailbox0_cluster2 &mbox_main_r5fss0_core0>;
6625956d97fSEmmanuel Vadot	memory-region = <&main_r5fss0_core0_dma_memory_region>,
6635956d97fSEmmanuel Vadot			<&main_r5fss0_core0_memory_region>;
6645956d97fSEmmanuel Vadot};
6655956d97fSEmmanuel Vadot
6665956d97fSEmmanuel Vadot&main_r5fss0_core1 {
66701950c46SEmmanuel Vadot	mboxes = <&mailbox0_cluster2 &mbox_main_r5fss0_core1>;
6685956d97fSEmmanuel Vadot	memory-region = <&main_r5fss0_core1_dma_memory_region>,
6695956d97fSEmmanuel Vadot			<&main_r5fss0_core1_memory_region>;
6705956d97fSEmmanuel Vadot};
6715956d97fSEmmanuel Vadot
6725956d97fSEmmanuel Vadot&main_r5fss1_core0 {
67301950c46SEmmanuel Vadot	mboxes = <&mailbox0_cluster4 &mbox_main_r5fss1_core0>;
6745956d97fSEmmanuel Vadot	memory-region = <&main_r5fss1_core0_dma_memory_region>,
6755956d97fSEmmanuel Vadot			<&main_r5fss1_core0_memory_region>;
6765956d97fSEmmanuel Vadot};
6775956d97fSEmmanuel Vadot
6785956d97fSEmmanuel Vadot&main_r5fss1_core1 {
67901950c46SEmmanuel Vadot	mboxes = <&mailbox0_cluster4 &mbox_main_r5fss1_core1>;
6805956d97fSEmmanuel Vadot	memory-region = <&main_r5fss1_core1_dma_memory_region>,
6815956d97fSEmmanuel Vadot			<&main_r5fss1_core1_memory_region>;
6825956d97fSEmmanuel Vadot};
6835956d97fSEmmanuel Vadot
684354d7675SEmmanuel Vadot&ecap0 {
6858bab661aSEmmanuel Vadot	status = "okay";
686354d7675SEmmanuel Vadot	/* PWM is available on Pin 1 of header J3 */
687354d7675SEmmanuel Vadot	pinctrl-names = "default";
688354d7675SEmmanuel Vadot	pinctrl-0 = <&main_ecap0_pins_default>;
689354d7675SEmmanuel Vadot};
690