xref: /freebsd/sys/contrib/device-tree/src/arm64/ti/k3-am65-iot2050-common.dtsi (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
101950c46SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
22eb4d8dcSEmmanuel Vadot/*
301950c46SEmmanuel Vadot * Copyright (c) Siemens AG, 2018-2024
42eb4d8dcSEmmanuel Vadot *
52eb4d8dcSEmmanuel Vadot * Authors:
62eb4d8dcSEmmanuel Vadot *   Le Jin <le.jin@siemens.com>
78cc087a1SEmmanuel Vadot *   Jan Kiszka <jan.kiszka@siemens.com>
82eb4d8dcSEmmanuel Vadot *
98cc087a1SEmmanuel Vadot * Common bits of the IOT2050 Basic and Advanced variants, PG1 and PG2
102eb4d8dcSEmmanuel Vadot */
112eb4d8dcSEmmanuel Vadot
1201950c46SEmmanuel Vadot#include <dt-bindings/leds/common.h>
132eb4d8dcSEmmanuel Vadot#include <dt-bindings/phy/phy.h>
148d13bc63SEmmanuel Vadot#include <dt-bindings/net/ti-dp83867.h>
152eb4d8dcSEmmanuel Vadot
162eb4d8dcSEmmanuel Vadot/ {
172eb4d8dcSEmmanuel Vadot	aliases {
188d13bc63SEmmanuel Vadot		serial0 = &wkup_uart0;
198d13bc63SEmmanuel Vadot		serial1 = &mcu_uart0;
208d13bc63SEmmanuel Vadot		serial2 = &main_uart0;
218d13bc63SEmmanuel Vadot		serial3 = &main_uart1;
228d13bc63SEmmanuel Vadot		i2c0 = &wkup_i2c0;
238d13bc63SEmmanuel Vadot		i2c1 = &mcu_i2c0;
248d13bc63SEmmanuel Vadot		i2c2 = &main_i2c0;
258d13bc63SEmmanuel Vadot		i2c3 = &main_i2c1;
268d13bc63SEmmanuel Vadot		i2c4 = &main_i2c2;
278d13bc63SEmmanuel Vadot		i2c5 = &main_i2c3;
282eb4d8dcSEmmanuel Vadot		spi0 = &mcu_spi0;
298cc087a1SEmmanuel Vadot		mmc0 = &sdhci1;
308cc087a1SEmmanuel Vadot		mmc1 = &sdhci0;
318d13bc63SEmmanuel Vadot		ethernet1 = &icssg0_emac0;
328d13bc63SEmmanuel Vadot		ethernet2 = &icssg0_emac1;
332eb4d8dcSEmmanuel Vadot	};
342eb4d8dcSEmmanuel Vadot
352eb4d8dcSEmmanuel Vadot	chosen {
362eb4d8dcSEmmanuel Vadot		stdout-path = "serial3:115200n8";
372eb4d8dcSEmmanuel Vadot	};
382eb4d8dcSEmmanuel Vadot
392eb4d8dcSEmmanuel Vadot	reserved-memory {
402eb4d8dcSEmmanuel Vadot		#address-cells = <2>;
412eb4d8dcSEmmanuel Vadot		#size-cells = <2>;
422eb4d8dcSEmmanuel Vadot		ranges;
432eb4d8dcSEmmanuel Vadot
442eb4d8dcSEmmanuel Vadot		secure_ddr: secure-ddr@9e800000 {
452eb4d8dcSEmmanuel Vadot			reg = <0 0x9e800000 0 0x01800000>; /* for OP-TEE */
462eb4d8dcSEmmanuel Vadot			alignment = <0x1000>;
472eb4d8dcSEmmanuel Vadot			no-map;
482eb4d8dcSEmmanuel Vadot		};
492eb4d8dcSEmmanuel Vadot
502eb4d8dcSEmmanuel Vadot		mcu_r5fss0_core0_dma_memory_region: r5f-dma-memory@a0000000 {
512eb4d8dcSEmmanuel Vadot			compatible = "shared-dma-pool";
522eb4d8dcSEmmanuel Vadot			reg = <0 0xa0000000 0 0x100000>;
532eb4d8dcSEmmanuel Vadot			no-map;
542eb4d8dcSEmmanuel Vadot		};
552eb4d8dcSEmmanuel Vadot
562eb4d8dcSEmmanuel Vadot		mcu_r5fss0_core0_memory_region: r5f-memory@a0100000 {
572eb4d8dcSEmmanuel Vadot			compatible = "shared-dma-pool";
582eb4d8dcSEmmanuel Vadot			reg = <0 0xa0100000 0 0xf00000>;
592eb4d8dcSEmmanuel Vadot			no-map;
602eb4d8dcSEmmanuel Vadot		};
612eb4d8dcSEmmanuel Vadot
622eb4d8dcSEmmanuel Vadot		mcu_r5fss0_core1_dma_memory_region: r5f-dma-memory@a1000000 {
632eb4d8dcSEmmanuel Vadot			compatible = "shared-dma-pool";
642eb4d8dcSEmmanuel Vadot			reg = <0 0xa1000000 0 0x100000>;
652eb4d8dcSEmmanuel Vadot			no-map;
662eb4d8dcSEmmanuel Vadot		};
672eb4d8dcSEmmanuel Vadot
682eb4d8dcSEmmanuel Vadot		mcu_r5fss0_core1_memory_region: r5f-memory@a1100000 {
692eb4d8dcSEmmanuel Vadot			compatible = "shared-dma-pool";
702eb4d8dcSEmmanuel Vadot			reg = <0 0xa1100000 0 0xf00000>;
712eb4d8dcSEmmanuel Vadot			no-map;
722eb4d8dcSEmmanuel Vadot		};
732eb4d8dcSEmmanuel Vadot
742eb4d8dcSEmmanuel Vadot		rtos_ipc_memory_region: ipc-memories@a2000000 {
752eb4d8dcSEmmanuel Vadot			reg = <0x00 0xa2000000 0x00 0x00200000>;
762eb4d8dcSEmmanuel Vadot			alignment = <0x1000>;
772eb4d8dcSEmmanuel Vadot			no-map;
782eb4d8dcSEmmanuel Vadot		};
7901950c46SEmmanuel Vadot
8001950c46SEmmanuel Vadot		/* To reserve the power-on(PON) reason for watchdog reset */
8101950c46SEmmanuel Vadot		wdt_reset_memory_region: wdt-memory@a2200000 {
8201950c46SEmmanuel Vadot			reg = <0x00 0xa2200000 0x00 0x1000>;
8301950c46SEmmanuel Vadot			no-map;
8401950c46SEmmanuel Vadot		};
852eb4d8dcSEmmanuel Vadot	};
862eb4d8dcSEmmanuel Vadot
872eb4d8dcSEmmanuel Vadot	leds {
882eb4d8dcSEmmanuel Vadot		compatible = "gpio-leds";
892eb4d8dcSEmmanuel Vadot		pinctrl-names = "default";
902eb4d8dcSEmmanuel Vadot		pinctrl-0 = <&leds_pins_default>;
912eb4d8dcSEmmanuel Vadot
9201950c46SEmmanuel Vadot		led-0 {
9301950c46SEmmanuel Vadot			color = <LED_COLOR_ID_RED>;
9401950c46SEmmanuel Vadot			function = LED_FUNCTION_STATUS;
9501950c46SEmmanuel Vadot			label = "status-led-red";
962eb4d8dcSEmmanuel Vadot			gpios = <&wkup_gpio0 32 GPIO_ACTIVE_HIGH>;
972eb4d8dcSEmmanuel Vadot			panic-indicator;
982eb4d8dcSEmmanuel Vadot		};
992eb4d8dcSEmmanuel Vadot
10001950c46SEmmanuel Vadot		led-1 {
10101950c46SEmmanuel Vadot			color = <LED_COLOR_ID_GREEN>;
10201950c46SEmmanuel Vadot			function = LED_FUNCTION_STATUS;
10301950c46SEmmanuel Vadot			label = "status-led-green";
1042eb4d8dcSEmmanuel Vadot			gpios = <&wkup_gpio0 24 GPIO_ACTIVE_HIGH>;
1052eb4d8dcSEmmanuel Vadot		};
1062eb4d8dcSEmmanuel Vadot
10701950c46SEmmanuel Vadot		led-2 {
10801950c46SEmmanuel Vadot			color = <LED_COLOR_ID_RED>;
10901950c46SEmmanuel Vadot			function = LED_FUNCTION_INDICATOR;
11001950c46SEmmanuel Vadot			label = "user-led1-red";
1112eb4d8dcSEmmanuel Vadot			gpios = <&pcal9535_3 14 GPIO_ACTIVE_HIGH>;
1122eb4d8dcSEmmanuel Vadot		};
1132eb4d8dcSEmmanuel Vadot
11401950c46SEmmanuel Vadot		led-3 {
11501950c46SEmmanuel Vadot			color = <LED_COLOR_ID_GREEN>;
11601950c46SEmmanuel Vadot			function = LED_FUNCTION_INDICATOR;
11701950c46SEmmanuel Vadot			label = "user-led1-green";
1182eb4d8dcSEmmanuel Vadot			gpios = <&pcal9535_2 15 GPIO_ACTIVE_HIGH>;
1192eb4d8dcSEmmanuel Vadot		};
1202eb4d8dcSEmmanuel Vadot
12101950c46SEmmanuel Vadot		led-4 {
12201950c46SEmmanuel Vadot			color = <LED_COLOR_ID_RED>;
12301950c46SEmmanuel Vadot			function = LED_FUNCTION_INDICATOR;
12401950c46SEmmanuel Vadot			label = "user-led2-red";
1252eb4d8dcSEmmanuel Vadot			gpios = <&wkup_gpio0 17 GPIO_ACTIVE_HIGH>;
1262eb4d8dcSEmmanuel Vadot		};
1272eb4d8dcSEmmanuel Vadot
12801950c46SEmmanuel Vadot		led-5 {
12901950c46SEmmanuel Vadot			color = <LED_COLOR_ID_RED>;
13001950c46SEmmanuel Vadot			function = LED_FUNCTION_INDICATOR;
13101950c46SEmmanuel Vadot			label = "user-led2-green";
1322eb4d8dcSEmmanuel Vadot			gpios = <&wkup_gpio0 22 GPIO_ACTIVE_HIGH>;
1332eb4d8dcSEmmanuel Vadot		};
1342eb4d8dcSEmmanuel Vadot	};
1352eb4d8dcSEmmanuel Vadot
1362eb4d8dcSEmmanuel Vadot	dp_refclk: clock {
1372eb4d8dcSEmmanuel Vadot		compatible = "fixed-clock";
1382eb4d8dcSEmmanuel Vadot		#clock-cells = <0>;
1392eb4d8dcSEmmanuel Vadot		clock-frequency = <19200000>;
1402eb4d8dcSEmmanuel Vadot	};
1418d13bc63SEmmanuel Vadot
1428d13bc63SEmmanuel Vadot	/* Dual Ethernet application node on PRU-ICSSG0 */
1438d13bc63SEmmanuel Vadot	icssg0_eth: icssg0-eth {
1448d13bc63SEmmanuel Vadot		compatible = "ti,am654-icssg-prueth";
1458d13bc63SEmmanuel Vadot		pinctrl-names = "default";
1468d13bc63SEmmanuel Vadot		pinctrl-0 = <&icssg0_rgmii_pins_default>;
1478d13bc63SEmmanuel Vadot		sram = <&msmc_ram>;
1488d13bc63SEmmanuel Vadot
1498d13bc63SEmmanuel Vadot		ti,prus = <&pru0_0>, <&rtu0_0>, <&tx_pru0_0>,
1508d13bc63SEmmanuel Vadot			<&pru0_1>, <&rtu0_1>, <&tx_pru0_1>;
1518d13bc63SEmmanuel Vadot		firmware-name = "ti-pruss/am65x-sr2-pru0-prueth-fw.elf",
1528d13bc63SEmmanuel Vadot				"ti-pruss/am65x-sr2-rtu0-prueth-fw.elf",
1538d13bc63SEmmanuel Vadot				"ti-pruss/am65x-sr2-txpru0-prueth-fw.elf",
1548d13bc63SEmmanuel Vadot				"ti-pruss/am65x-sr2-pru1-prueth-fw.elf",
1558d13bc63SEmmanuel Vadot				"ti-pruss/am65x-sr2-rtu1-prueth-fw.elf",
1568d13bc63SEmmanuel Vadot				"ti-pruss/am65x-sr2-txpru1-prueth-fw.elf";
1578d13bc63SEmmanuel Vadot
1588d13bc63SEmmanuel Vadot		ti,pruss-gp-mux-sel = <2>,      /* MII mode */
1598d13bc63SEmmanuel Vadot				      <2>,
1608d13bc63SEmmanuel Vadot				      <2>,
1618d13bc63SEmmanuel Vadot				      <2>,	/* MII mode */
1628d13bc63SEmmanuel Vadot				      <2>,
1638d13bc63SEmmanuel Vadot				      <2>;
1648d13bc63SEmmanuel Vadot
1658d13bc63SEmmanuel Vadot		ti,mii-g-rt = <&icssg0_mii_g_rt>;
1668d13bc63SEmmanuel Vadot		ti,mii-rt = <&icssg0_mii_rt>;
1678d13bc63SEmmanuel Vadot		ti,iep = <&icssg0_iep0>,  <&icssg0_iep1>;
1688d13bc63SEmmanuel Vadot
1698d13bc63SEmmanuel Vadot		interrupt-parent = <&icssg0_intc>;
1708d13bc63SEmmanuel Vadot		interrupts = <24 0 2>, <25 1 3>;
1718d13bc63SEmmanuel Vadot		interrupt-names = "tx_ts0", "tx_ts1";
1728d13bc63SEmmanuel Vadot
1738d13bc63SEmmanuel Vadot		dmas = <&main_udmap 0xc100>, /* egress slice 0 */
1748d13bc63SEmmanuel Vadot		       <&main_udmap 0xc101>, /* egress slice 0 */
1758d13bc63SEmmanuel Vadot		       <&main_udmap 0xc102>, /* egress slice 0 */
1768d13bc63SEmmanuel Vadot		       <&main_udmap 0xc103>, /* egress slice 0 */
1778d13bc63SEmmanuel Vadot		       <&main_udmap 0xc104>, /* egress slice 1 */
1788d13bc63SEmmanuel Vadot		       <&main_udmap 0xc105>, /* egress slice 1 */
1798d13bc63SEmmanuel Vadot		       <&main_udmap 0xc106>, /* egress slice 1 */
1808d13bc63SEmmanuel Vadot		       <&main_udmap 0xc107>, /* egress slice 1 */
1818d13bc63SEmmanuel Vadot		       <&main_udmap 0x4100>, /* ingress slice 0 */
1828d13bc63SEmmanuel Vadot		       <&main_udmap 0x4101>; /* ingress slice 1 */
1838d13bc63SEmmanuel Vadot		dma-names = "tx0-0", "tx0-1", "tx0-2", "tx0-3",
1848d13bc63SEmmanuel Vadot			    "tx1-0", "tx1-1", "tx1-2", "tx1-3",
1858d13bc63SEmmanuel Vadot			    "rx0", "rx1";
1868d13bc63SEmmanuel Vadot
1878d13bc63SEmmanuel Vadot		ethernet-ports {
1888d13bc63SEmmanuel Vadot			#address-cells = <1>;
1898d13bc63SEmmanuel Vadot			#size-cells = <0>;
1908d13bc63SEmmanuel Vadot			icssg0_emac0: port@0 {
1918d13bc63SEmmanuel Vadot				reg = <0>;
1928d13bc63SEmmanuel Vadot				phy-handle = <&icssg0_eth0_phy>;
1938d13bc63SEmmanuel Vadot				phy-mode = "rgmii-id";
1948d13bc63SEmmanuel Vadot				ti,syscon-rgmii-delay = <&scm_conf 0x4100>;
1958d13bc63SEmmanuel Vadot				ti,half-duplex-capable;
1968d13bc63SEmmanuel Vadot				/* Filled in by bootloader */
1978d13bc63SEmmanuel Vadot				local-mac-address = [00 00 00 00 00 00];
1988d13bc63SEmmanuel Vadot			};
1998d13bc63SEmmanuel Vadot
2008d13bc63SEmmanuel Vadot			icssg0_emac1: port@1 {
2018d13bc63SEmmanuel Vadot				reg = <1>;
2028d13bc63SEmmanuel Vadot				phy-handle = <&icssg0_eth1_phy>;
2038d13bc63SEmmanuel Vadot				phy-mode = "rgmii-id";
2048d13bc63SEmmanuel Vadot				ti,syscon-rgmii-delay = <&scm_conf 0x4104>;
2058d13bc63SEmmanuel Vadot				ti,half-duplex-capable;
2068d13bc63SEmmanuel Vadot				/* Filled in by bootloader */
2078d13bc63SEmmanuel Vadot				local-mac-address = [00 00 00 00 00 00];
2088d13bc63SEmmanuel Vadot			};
2098d13bc63SEmmanuel Vadot		};
2108d13bc63SEmmanuel Vadot	};
2112eb4d8dcSEmmanuel Vadot};
2122eb4d8dcSEmmanuel Vadot
2132eb4d8dcSEmmanuel Vadot&wkup_pmx0 {
214f126890aSEmmanuel Vadot	mcu_i2c0_pins_default: mcu-i2c0-default-pins {
2152eb4d8dcSEmmanuel Vadot		pinctrl-single,pins = <
2162eb4d8dcSEmmanuel Vadot			/* (AD8) MCU_I2C0_SCL */
2172eb4d8dcSEmmanuel Vadot			AM65X_WKUP_IOPAD(0x00e8, PIN_INPUT,  0)
2182eb4d8dcSEmmanuel Vadot			/* (AD7) MCU_I2C0_SDA */
2192eb4d8dcSEmmanuel Vadot			AM65X_WKUP_IOPAD(0x00ec, PIN_INPUT,  0)
2202eb4d8dcSEmmanuel Vadot		>;
2212eb4d8dcSEmmanuel Vadot	};
2222eb4d8dcSEmmanuel Vadot
223f126890aSEmmanuel Vadot	push_button_pins_default: push-button-default-pins {
2242eb4d8dcSEmmanuel Vadot		pinctrl-single,pins = <
2252eb4d8dcSEmmanuel Vadot			/* (T1) MCU_OSPI1_CLK.WKUP_GPIO0_25 */
2262eb4d8dcSEmmanuel Vadot			AM65X_WKUP_IOPAD(0x0034, PIN_INPUT,  7)
2272eb4d8dcSEmmanuel Vadot		>;
2282eb4d8dcSEmmanuel Vadot	};
2292eb4d8dcSEmmanuel Vadot
230f126890aSEmmanuel Vadot	mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-default-pins {
2312eb4d8dcSEmmanuel Vadot		pinctrl-single,pins = <
2322eb4d8dcSEmmanuel Vadot			/* (V1) MCU_OSPI0_CLK */
2332eb4d8dcSEmmanuel Vadot			AM65X_WKUP_IOPAD(0x0000, PIN_OUTPUT, 0)
2342eb4d8dcSEmmanuel Vadot			/* (U2) MCU_OSPI0_DQS */
2352eb4d8dcSEmmanuel Vadot			AM65X_WKUP_IOPAD(0x0008, PIN_INPUT,  0)
2362eb4d8dcSEmmanuel Vadot			/* (U4) MCU_OSPI0_D0 */
2372eb4d8dcSEmmanuel Vadot			AM65X_WKUP_IOPAD(0x000c, PIN_INPUT,  0)
2382eb4d8dcSEmmanuel Vadot			/* (U5) MCU_OSPI0_D1 */
2392eb4d8dcSEmmanuel Vadot			AM65X_WKUP_IOPAD(0x0010, PIN_INPUT,  0)
2402eb4d8dcSEmmanuel Vadot			/* (R4) MCU_OSPI0_CSn0 */
2412eb4d8dcSEmmanuel Vadot			AM65X_WKUP_IOPAD(0x002c, PIN_OUTPUT, 0)
2422eb4d8dcSEmmanuel Vadot		>;
2432eb4d8dcSEmmanuel Vadot	};
2442eb4d8dcSEmmanuel Vadot
245f126890aSEmmanuel Vadot	db9_com_mode_pins_default: db9-com-mode-default-pins {
2462eb4d8dcSEmmanuel Vadot		pinctrl-single,pins = <
2472eb4d8dcSEmmanuel Vadot			/* (AD3) WKUP_GPIO0_5, used as uart0 mode 0 */
2482eb4d8dcSEmmanuel Vadot			AM65X_WKUP_IOPAD(0x00c4, PIN_OUTPUT, 7)
2492eb4d8dcSEmmanuel Vadot			/* (AC3) WKUP_GPIO0_4, used as uart0 mode 1 */
2502eb4d8dcSEmmanuel Vadot			AM65X_WKUP_IOPAD(0x00c0, PIN_OUTPUT, 7)
2512eb4d8dcSEmmanuel Vadot			/* (AC1) WKUP_GPIO0_7, used as uart0 term */
2522eb4d8dcSEmmanuel Vadot			AM65X_WKUP_IOPAD(0x00cc, PIN_OUTPUT, 7)
2532eb4d8dcSEmmanuel Vadot			/* (AC2) WKUP_GPIO0_6, used as uart0 en */
2542eb4d8dcSEmmanuel Vadot			AM65X_WKUP_IOPAD(0x00c8, PIN_OUTPUT, 7)
2552eb4d8dcSEmmanuel Vadot		>;
2562eb4d8dcSEmmanuel Vadot	};
2572eb4d8dcSEmmanuel Vadot
258f126890aSEmmanuel Vadot	leds_pins_default: leds-default-pins {
2592eb4d8dcSEmmanuel Vadot		pinctrl-single,pins = <
2602eb4d8dcSEmmanuel Vadot			/* (T2) WKUP_GPIO0_17, used as user led1 red */
2612eb4d8dcSEmmanuel Vadot			AM65X_WKUP_IOPAD(0x0014, PIN_OUTPUT, 7)
2622eb4d8dcSEmmanuel Vadot			/* (R3) WKUP_GPIO0_22, used as user led1 green */
2632eb4d8dcSEmmanuel Vadot			AM65X_WKUP_IOPAD(0x0028, PIN_OUTPUT, 7)
2642eb4d8dcSEmmanuel Vadot			/* (R5) WKUP_GPIO0_24, used as status led red */
2652eb4d8dcSEmmanuel Vadot			AM65X_WKUP_IOPAD(0x0030, PIN_OUTPUT, 7)
2662eb4d8dcSEmmanuel Vadot			/* (N2) WKUP_GPIO0_32, used as status led green */
2672eb4d8dcSEmmanuel Vadot			AM65X_WKUP_IOPAD(0x0050, PIN_OUTPUT, 7)
2682eb4d8dcSEmmanuel Vadot		>;
2692eb4d8dcSEmmanuel Vadot	};
2702eb4d8dcSEmmanuel Vadot
271f126890aSEmmanuel Vadot	mcu_spi0_pins_default: mcu-spi0-default-pins {
2722eb4d8dcSEmmanuel Vadot		pinctrl-single,pins = <
2732eb4d8dcSEmmanuel Vadot			/* (Y1) MCU_SPI0_CLK */
2742eb4d8dcSEmmanuel Vadot			AM65X_WKUP_IOPAD(0x0090, PIN_INPUT,  0)
2752eb4d8dcSEmmanuel Vadot			/* (Y3) MCU_SPI0_D0 */
2762eb4d8dcSEmmanuel Vadot			AM65X_WKUP_IOPAD(0x0094, PIN_INPUT,  0)
2772eb4d8dcSEmmanuel Vadot			/* (Y2) MCU_SPI0_D1 */
2782eb4d8dcSEmmanuel Vadot			AM65X_WKUP_IOPAD(0x0098, PIN_INPUT,  0)
2792eb4d8dcSEmmanuel Vadot			/* (Y4) MCU_SPI0_CS0 */
2802eb4d8dcSEmmanuel Vadot			AM65X_WKUP_IOPAD(0x009c, PIN_OUTPUT, 0)
2812eb4d8dcSEmmanuel Vadot		>;
2822eb4d8dcSEmmanuel Vadot	};
2832eb4d8dcSEmmanuel Vadot
284f126890aSEmmanuel Vadot	minipcie_pins_default: minipcie-default-pins {
2852eb4d8dcSEmmanuel Vadot		pinctrl-single,pins = <
2862eb4d8dcSEmmanuel Vadot			/* (P2) MCU_OSPI1_DQS.WKUP_GPIO0_27 */
2872eb4d8dcSEmmanuel Vadot			AM65X_WKUP_IOPAD(0x003C, PIN_OUTPUT, 7)
2882eb4d8dcSEmmanuel Vadot		>;
2892eb4d8dcSEmmanuel Vadot	};
2902eb4d8dcSEmmanuel Vadot};
2912eb4d8dcSEmmanuel Vadot
2922eb4d8dcSEmmanuel Vadot&main_pmx0 {
2938d13bc63SEmmanuel Vadot	main_pcie_enable_pins_default: main-pcie-enable-default-pins {
2948d13bc63SEmmanuel Vadot		pinctrl-single,pins = <
2958d13bc63SEmmanuel Vadot			AM65X_IOPAD(0x01c4, PIN_INPUT_PULLUP, 7)  /* (AH13) GPIO1_17 */
2968d13bc63SEmmanuel Vadot		>;
2978d13bc63SEmmanuel Vadot	};
2988d13bc63SEmmanuel Vadot
299f126890aSEmmanuel Vadot	main_uart1_pins_default: main-uart1-default-pins {
3002eb4d8dcSEmmanuel Vadot		pinctrl-single,pins = <
3012eb4d8dcSEmmanuel Vadot			AM65X_IOPAD(0x0174, PIN_INPUT,  6)  /* (AE23) UART1_RXD */
3022eb4d8dcSEmmanuel Vadot			AM65X_IOPAD(0x014c, PIN_OUTPUT, 6)  /* (AD23) UART1_TXD */
3032eb4d8dcSEmmanuel Vadot			AM65X_IOPAD(0x0178, PIN_INPUT,  6)  /* (AD22) UART1_CTSn */
3042eb4d8dcSEmmanuel Vadot			AM65X_IOPAD(0x017c, PIN_OUTPUT, 6)  /* (AC21) UART1_RTSn */
3052eb4d8dcSEmmanuel Vadot		>;
3062eb4d8dcSEmmanuel Vadot	};
3072eb4d8dcSEmmanuel Vadot
308f126890aSEmmanuel Vadot	main_i2c3_pins_default: main-i2c3-default-pins {
3092eb4d8dcSEmmanuel Vadot		pinctrl-single,pins = <
3102eb4d8dcSEmmanuel Vadot			AM65X_IOPAD(0x01c0, PIN_INPUT,  2)  /* (AF13) I2C3_SCL */
3112eb4d8dcSEmmanuel Vadot			AM65X_IOPAD(0x01d4, PIN_INPUT,  2)  /* (AG12) I2C3_SDA */
3122eb4d8dcSEmmanuel Vadot		>;
3132eb4d8dcSEmmanuel Vadot	};
3142eb4d8dcSEmmanuel Vadot
315f126890aSEmmanuel Vadot	main_mmc1_pins_default: main-mmc1-default-pins {
3162eb4d8dcSEmmanuel Vadot		pinctrl-single,pins = <
3172eb4d8dcSEmmanuel Vadot			AM65X_IOPAD(0x02d4, PIN_INPUT_PULLDOWN, 0)  /* (C27) MMC1_CLK */
3182eb4d8dcSEmmanuel Vadot			AM65X_IOPAD(0x02d8, PIN_INPUT_PULLUP,   0)  /* (C28) MMC1_CMD */
3192eb4d8dcSEmmanuel Vadot			AM65X_IOPAD(0x02d0, PIN_INPUT_PULLUP,   0)  /* (D28) MMC1_DAT0 */
3202eb4d8dcSEmmanuel Vadot			AM65X_IOPAD(0x02cc, PIN_INPUT_PULLUP,   0)  /* (E27) MMC1_DAT1 */
3212eb4d8dcSEmmanuel Vadot			AM65X_IOPAD(0x02c8, PIN_INPUT_PULLUP,   0)  /* (D26) MMC1_DAT2 */
3222eb4d8dcSEmmanuel Vadot			AM65X_IOPAD(0x02c4, PIN_INPUT_PULLUP,   0)  /* (D27) MMC1_DAT3 */
3232eb4d8dcSEmmanuel Vadot			AM65X_IOPAD(0x02dc, PIN_INPUT_PULLUP,   0)  /* (B24) MMC1_SDCD */
3242eb4d8dcSEmmanuel Vadot			AM65X_IOPAD(0x02e0, PIN_INPUT_PULLUP,   0)  /* (C24) MMC1_SDWP */
3252eb4d8dcSEmmanuel Vadot		>;
3262eb4d8dcSEmmanuel Vadot	};
3272eb4d8dcSEmmanuel Vadot
328f126890aSEmmanuel Vadot	usb0_pins_default: usb0-default-pins {
3292eb4d8dcSEmmanuel Vadot		pinctrl-single,pins = <
3302eb4d8dcSEmmanuel Vadot			AM65X_IOPAD(0x02bc, PIN_OUTPUT, 0)  /* (AD9) USB0_DRVVBUS */
3312eb4d8dcSEmmanuel Vadot		>;
3322eb4d8dcSEmmanuel Vadot	};
3332eb4d8dcSEmmanuel Vadot
334f126890aSEmmanuel Vadot	usb1_pins_default: usb1-default-pins {
3352eb4d8dcSEmmanuel Vadot		pinctrl-single,pins = <
3362eb4d8dcSEmmanuel Vadot			AM65X_IOPAD(0x02c0, PIN_OUTPUT, 0)  /* (AC8) USB1_DRVVBUS */
3372eb4d8dcSEmmanuel Vadot		>;
3382eb4d8dcSEmmanuel Vadot	};
3392eb4d8dcSEmmanuel Vadot
340f126890aSEmmanuel Vadot	main_i2c2_pins_default: main-i2c2-default-pins {
3412eb4d8dcSEmmanuel Vadot		pinctrl-single,pins = <
3422eb4d8dcSEmmanuel Vadot			AM65X_IOPAD(0x0074, PIN_INPUT,  5)  /* (T27) I2C2_SCL */
3432eb4d8dcSEmmanuel Vadot			AM65X_IOPAD(0x0070, PIN_INPUT,  5)  /* (R25) I2C2_SDA */
3442eb4d8dcSEmmanuel Vadot		>;
3452eb4d8dcSEmmanuel Vadot	};
3468d13bc63SEmmanuel Vadot
3478d13bc63SEmmanuel Vadot	icssg0_mdio_pins_default: icssg0-mdio-default-pins {
3488d13bc63SEmmanuel Vadot		pinctrl-single,pins = <
3498d13bc63SEmmanuel Vadot			AM65X_IOPAD(0x0294, PIN_INPUT, 0) /* (AE26) PRG0_MDIO0_MDIO */
3508d13bc63SEmmanuel Vadot			AM65X_IOPAD(0x0298, PIN_OUTPUT, 0) /* (AE28) PRG0_MDIO0_MDC */
3518d13bc63SEmmanuel Vadot		>;
3528d13bc63SEmmanuel Vadot	};
3538d13bc63SEmmanuel Vadot
3548d13bc63SEmmanuel Vadot	icssg0_rgmii_pins_default: icssg0-rgmii-default-pins {
3558d13bc63SEmmanuel Vadot		pinctrl-single,pins = <
3568d13bc63SEmmanuel Vadot			AM65X_IOPAD(0x0244, PIN_INPUT, 2) /* (AB28) PRG0_PRU1_GPO0.PRG0_RGMII2_RD0 */
3578d13bc63SEmmanuel Vadot			AM65X_IOPAD(0x0248, PIN_INPUT, 2) /* (AC28) PRG0_PRU1_GPO1.PRG0_RGMII2_RD1 */
3588d13bc63SEmmanuel Vadot			AM65X_IOPAD(0x024c, PIN_INPUT, 2) /* (AC27) PRG0_PRU1_GPO2.PRG0_RGMII2_RD2 */
3598d13bc63SEmmanuel Vadot			AM65X_IOPAD(0x0250, PIN_INPUT, 2) /* (AB26) PRG0_PRU1_GPO3.PRG0_RGMII2_RD3 */
3608d13bc63SEmmanuel Vadot			AM65X_IOPAD(0x0274, PIN_OUTPUT, 2) /* (AC25) PRG0_PRU1_GPO12.PRG0_RGMII2_TD0 */
3618d13bc63SEmmanuel Vadot			AM65X_IOPAD(0x0278, PIN_OUTPUT, 2) /* (AD25) PRG0_PRU1_GPO13.PRG0_RGMII2_TD1 */
3628d13bc63SEmmanuel Vadot			AM65X_IOPAD(0x027c, PIN_OUTPUT, 2) /* (AD24) PRG0_PRU1_GPO14.PRG0_RGMII2_TD2 */
3638d13bc63SEmmanuel Vadot			AM65X_IOPAD(0x0280, PIN_OUTPUT, 2) /* (AE27) PRG0_PRU1_GPO15.PRG0_RGMII2_TD3 */
3648d13bc63SEmmanuel Vadot			AM65X_IOPAD(0x0284, PIN_INPUT, 2) /* (AC24) PRG0_PRU1_GPO16.PRG0_RGMII2_TXC */
3658d13bc63SEmmanuel Vadot			AM65X_IOPAD(0x0270, PIN_OUTPUT, 2) /* (AB24) PRG0_PRU1_GPO11.PRG0_RGMII2_TX_CTL */
3668d13bc63SEmmanuel Vadot			AM65X_IOPAD(0x025c, PIN_INPUT, 2) /* (AB27) PRG0_PRU1_GPO6.PRG0_RGMII2_RXC */
3678d13bc63SEmmanuel Vadot			AM65X_IOPAD(0x0254, PIN_INPUT, 2) /* (AA25) PRG0_PRU1_GPO4.PRG0_RGMII2_RX_CTL */
3688d13bc63SEmmanuel Vadot
3698d13bc63SEmmanuel Vadot			AM65X_IOPAD(0x01f4, PIN_INPUT, 2) /* (V24) PRG0_PRU0_GPO0.PRG0_RGMII1_RD0 */
3708d13bc63SEmmanuel Vadot			AM65X_IOPAD(0x01f8, PIN_INPUT, 2) /* (W25) PRG0_PRU0_GPO1.PRG0_RGMII1_RD1 */
3718d13bc63SEmmanuel Vadot			AM65X_IOPAD(0x01fc, PIN_INPUT, 2) /* (W24) PRG0_PRU0_GPO2.PRG0_RGMII1_RD2 */
3728d13bc63SEmmanuel Vadot			AM65X_IOPAD(0x0200, PIN_INPUT, 2) /* (AA27) PRG0_PRU0_GPO3.PRG0_RGMII1_RD3 */
3738d13bc63SEmmanuel Vadot			AM65X_IOPAD(0x0224, PIN_OUTPUT, 2) /* (AD27) PRG0_PRU0_GPO12.PRG0_RGMII1_TD0 */
3748d13bc63SEmmanuel Vadot			AM65X_IOPAD(0x0228, PIN_OUTPUT, 2) /* (AC26) PRG0_PRU0_GPO13.PRG0_RGMII1_TD1 */
3758d13bc63SEmmanuel Vadot			AM65X_IOPAD(0x022c, PIN_OUTPUT, 2) /* (AD26) PRG0_PRU0_GPO14.PRG0_RGMII1_TD2 */
3768d13bc63SEmmanuel Vadot			AM65X_IOPAD(0x0230, PIN_OUTPUT, 2) /* (AA24) PRG0_PRU0_GPO15.PRG0_RGMII1_TD3 */
3778d13bc63SEmmanuel Vadot			AM65X_IOPAD(0x0234, PIN_INPUT, 2) /* (AD28) PRG0_PRU0_GPO16.PRG0_RGMII1_TXC */
3788d13bc63SEmmanuel Vadot			AM65X_IOPAD(0x0220, PIN_OUTPUT, 2) /* (AB25) PRG0_PRU0_GPO11.PRG0_RGMII1_TX_CTL */
3798d13bc63SEmmanuel Vadot			AM65X_IOPAD(0x020c, PIN_INPUT, 2) /* (Y25) PRG0_PRU0_GPO6.PRG0_RGMII1_RXC */
3808d13bc63SEmmanuel Vadot			AM65X_IOPAD(0x0204, PIN_INPUT, 2) /* (Y24) PRG0_PRU0_GPO4.PRG0_RGMII1_RX_CTL */
3818d13bc63SEmmanuel Vadot		>;
3828d13bc63SEmmanuel Vadot	};
3832eb4d8dcSEmmanuel Vadot};
3842eb4d8dcSEmmanuel Vadot
3852eb4d8dcSEmmanuel Vadot&main_pmx1 {
386f126890aSEmmanuel Vadot	main_i2c0_pins_default: main-i2c0-default-pins {
3872eb4d8dcSEmmanuel Vadot		pinctrl-single,pins = <
3882eb4d8dcSEmmanuel Vadot			AM65X_IOPAD(0x0000, PIN_INPUT,  0)  /* (D20) I2C0_SCL */
3892eb4d8dcSEmmanuel Vadot			AM65X_IOPAD(0x0004, PIN_INPUT,  0)  /* (C21) I2C0_SDA */
3902eb4d8dcSEmmanuel Vadot		>;
3912eb4d8dcSEmmanuel Vadot	};
3922eb4d8dcSEmmanuel Vadot
393f126890aSEmmanuel Vadot	main_i2c1_pins_default: main-i2c1-default-pins {
3942eb4d8dcSEmmanuel Vadot		pinctrl-single,pins = <
3952eb4d8dcSEmmanuel Vadot			AM65X_IOPAD(0x0008, PIN_INPUT,  0)  /* (B21) I2C1_SCL */
3962eb4d8dcSEmmanuel Vadot			AM65X_IOPAD(0x000c, PIN_INPUT,  0)  /* (E21) I2C1_SDA */
3972eb4d8dcSEmmanuel Vadot		>;
3982eb4d8dcSEmmanuel Vadot	};
3992eb4d8dcSEmmanuel Vadot};
4002eb4d8dcSEmmanuel Vadot
4012eb4d8dcSEmmanuel Vadot&wkup_uart0 {
4022eb4d8dcSEmmanuel Vadot	/* Wakeup UART is used by System firmware */
4032eb4d8dcSEmmanuel Vadot	status = "reserved";
4042eb4d8dcSEmmanuel Vadot};
4052eb4d8dcSEmmanuel Vadot
4062eb4d8dcSEmmanuel Vadot&main_uart1 {
4078bab661aSEmmanuel Vadot	status = "okay";
4082eb4d8dcSEmmanuel Vadot	pinctrl-names = "default";
4092eb4d8dcSEmmanuel Vadot	pinctrl-0 = <&main_uart1_pins_default>;
4102eb4d8dcSEmmanuel Vadot};
4112eb4d8dcSEmmanuel Vadot
4128d13bc63SEmmanuel Vadot&main_gpio1 {
4138d13bc63SEmmanuel Vadot	pinctrl-names = "default";
4148d13bc63SEmmanuel Vadot	pinctrl-0 = <&main_pcie_enable_pins_default>;
4158d13bc63SEmmanuel Vadot};
4168d13bc63SEmmanuel Vadot
4172eb4d8dcSEmmanuel Vadot&mcu_i2c0 {
4188bab661aSEmmanuel Vadot	status = "okay";
4192eb4d8dcSEmmanuel Vadot	pinctrl-names = "default";
4202eb4d8dcSEmmanuel Vadot	pinctrl-0 = <&mcu_i2c0_pins_default>;
4212eb4d8dcSEmmanuel Vadot	clock-frequency = <400000>;
4222eb4d8dcSEmmanuel Vadot
4232eb4d8dcSEmmanuel Vadot	psu: regulator@60 {
4242eb4d8dcSEmmanuel Vadot		compatible = "ti,tps62363";
4252eb4d8dcSEmmanuel Vadot		reg = <0x60>;
4262eb4d8dcSEmmanuel Vadot		regulator-name = "tps62363-vout";
4272eb4d8dcSEmmanuel Vadot		regulator-min-microvolt = <500000>;
4282eb4d8dcSEmmanuel Vadot		regulator-max-microvolt = <1500000>;
4292eb4d8dcSEmmanuel Vadot		regulator-boot-on;
4302eb4d8dcSEmmanuel Vadot		ti,vsel0-state-high;
4312eb4d8dcSEmmanuel Vadot		ti,vsel1-state-high;
4322eb4d8dcSEmmanuel Vadot		ti,enable-vout-discharge;
4332eb4d8dcSEmmanuel Vadot	};
4342eb4d8dcSEmmanuel Vadot};
4352eb4d8dcSEmmanuel Vadot
4362eb4d8dcSEmmanuel Vadot&main_i2c0 {
4378bab661aSEmmanuel Vadot	status = "okay";
4382eb4d8dcSEmmanuel Vadot	pinctrl-names = "default";
4392eb4d8dcSEmmanuel Vadot	pinctrl-0 = <&main_i2c0_pins_default>;
4402eb4d8dcSEmmanuel Vadot	clock-frequency = <400000>;
4412eb4d8dcSEmmanuel Vadot
442f126890aSEmmanuel Vadot	rtc: rtc@51 {
4432eb4d8dcSEmmanuel Vadot		compatible = "nxp,pcf8563";
4442eb4d8dcSEmmanuel Vadot		reg = <0x51>;
4452eb4d8dcSEmmanuel Vadot	};
4462eb4d8dcSEmmanuel Vadot
4472eb4d8dcSEmmanuel Vadot	eeprom: eeprom@54 {
4482eb4d8dcSEmmanuel Vadot		compatible = "atmel,24c08";
4492eb4d8dcSEmmanuel Vadot		reg = <0x54>;
4502eb4d8dcSEmmanuel Vadot		pagesize = <16>;
4512eb4d8dcSEmmanuel Vadot	};
4522eb4d8dcSEmmanuel Vadot};
4532eb4d8dcSEmmanuel Vadot
4542eb4d8dcSEmmanuel Vadot&main_i2c1 {
4558bab661aSEmmanuel Vadot	status = "okay";
4562eb4d8dcSEmmanuel Vadot	pinctrl-names = "default";
4572eb4d8dcSEmmanuel Vadot	pinctrl-0 = <&main_i2c1_pins_default>;
4582eb4d8dcSEmmanuel Vadot	clock-frequency = <400000>;
4592eb4d8dcSEmmanuel Vadot};
4602eb4d8dcSEmmanuel Vadot
4612eb4d8dcSEmmanuel Vadot&main_i2c2 {
4628bab661aSEmmanuel Vadot	status = "okay";
4632eb4d8dcSEmmanuel Vadot	pinctrl-names = "default";
4642eb4d8dcSEmmanuel Vadot	pinctrl-0 = <&main_i2c2_pins_default>;
4652eb4d8dcSEmmanuel Vadot	clock-frequency = <400000>;
4662eb4d8dcSEmmanuel Vadot};
4672eb4d8dcSEmmanuel Vadot
4682eb4d8dcSEmmanuel Vadot&main_i2c3 {
4698bab661aSEmmanuel Vadot	status = "okay";
4702eb4d8dcSEmmanuel Vadot	pinctrl-names = "default";
4712eb4d8dcSEmmanuel Vadot	pinctrl-0 = <&main_i2c3_pins_default>;
4722eb4d8dcSEmmanuel Vadot	clock-frequency = <400000>;
4732eb4d8dcSEmmanuel Vadot
4742eb4d8dcSEmmanuel Vadot	#address-cells = <1>;
4752eb4d8dcSEmmanuel Vadot	#size-cells = <0>;
4762eb4d8dcSEmmanuel Vadot};
4772eb4d8dcSEmmanuel Vadot
4782eb4d8dcSEmmanuel Vadot&mcu_cpsw {
4792eb4d8dcSEmmanuel Vadot	status = "disabled";
4802eb4d8dcSEmmanuel Vadot};
4812eb4d8dcSEmmanuel Vadot
4822eb4d8dcSEmmanuel Vadot&sdhci1 {
4838d13bc63SEmmanuel Vadot	status = "okay";
4842eb4d8dcSEmmanuel Vadot	pinctrl-names = "default";
4852eb4d8dcSEmmanuel Vadot	pinctrl-0 = <&main_mmc1_pins_default>;
4862eb4d8dcSEmmanuel Vadot	ti,driver-strength-ohm = <50>;
4872eb4d8dcSEmmanuel Vadot	disable-wp;
4882eb4d8dcSEmmanuel Vadot};
4892eb4d8dcSEmmanuel Vadot
4902eb4d8dcSEmmanuel Vadot&usb0 {
4912eb4d8dcSEmmanuel Vadot	pinctrl-names = "default";
4922eb4d8dcSEmmanuel Vadot	pinctrl-0 = <&usb0_pins_default>;
4932eb4d8dcSEmmanuel Vadot	dr_mode = "host";
4942eb4d8dcSEmmanuel Vadot};
4952eb4d8dcSEmmanuel Vadot
4962eb4d8dcSEmmanuel Vadot&usb1 {
4972eb4d8dcSEmmanuel Vadot	pinctrl-names = "default";
4982eb4d8dcSEmmanuel Vadot	pinctrl-0 = <&usb1_pins_default>;
4992eb4d8dcSEmmanuel Vadot	dr_mode = "host";
5002eb4d8dcSEmmanuel Vadot};
5012eb4d8dcSEmmanuel Vadot
5022eb4d8dcSEmmanuel Vadot&mcu_spi0 {
5038bab661aSEmmanuel Vadot	status = "okay";
5042eb4d8dcSEmmanuel Vadot	#address-cells = <1>;
5052eb4d8dcSEmmanuel Vadot	#size-cells = <0>;
5065956d97fSEmmanuel Vadot	ti,pindir-d0-out-d1-in;
5072eb4d8dcSEmmanuel Vadot};
5082eb4d8dcSEmmanuel Vadot
5092eb4d8dcSEmmanuel Vadot&ospi0 {
510aa1a8ff2SEmmanuel Vadot	status = "okay";
5112eb4d8dcSEmmanuel Vadot	pinctrl-names = "default";
5122eb4d8dcSEmmanuel Vadot	pinctrl-0 = <&mcu_fss0_ospi0_pins_default>;
5132eb4d8dcSEmmanuel Vadot
5142eb4d8dcSEmmanuel Vadot	flash@0 {
5152eb4d8dcSEmmanuel Vadot		compatible = "jedec,spi-nor";
5162eb4d8dcSEmmanuel Vadot		reg = <0x0>;
5172eb4d8dcSEmmanuel Vadot		spi-tx-bus-width = <1>;
5182eb4d8dcSEmmanuel Vadot		spi-rx-bus-width = <1>;
5192eb4d8dcSEmmanuel Vadot		spi-max-frequency = <50000000>;
5202eb4d8dcSEmmanuel Vadot		cdns,tshsl-ns = <60>;
5212eb4d8dcSEmmanuel Vadot		cdns,tsd2d-ns = <60>;
5222eb4d8dcSEmmanuel Vadot		cdns,tchsh-ns = <60>;
5232eb4d8dcSEmmanuel Vadot		cdns,tslch-ns = <60>;
5242eb4d8dcSEmmanuel Vadot		cdns,read-delay = <2>;
525cb7aa33aSEmmanuel Vadot
526cb7aa33aSEmmanuel Vadot		partitions {
527cb7aa33aSEmmanuel Vadot			compatible = "fixed-partitions";
528cb7aa33aSEmmanuel Vadot			#address-cells = <1>;
529cb7aa33aSEmmanuel Vadot			#size-cells = <1>;
530cb7aa33aSEmmanuel Vadot
531cb7aa33aSEmmanuel Vadot			seboot@0 {
532cb7aa33aSEmmanuel Vadot				label = "seboot";
533cb7aa33aSEmmanuel Vadot				reg = <0x0 0x180000>; /* 1.5M */
534cb7aa33aSEmmanuel Vadot			};
535cb7aa33aSEmmanuel Vadot
536cb7aa33aSEmmanuel Vadot			tispl@180000 {
537cb7aa33aSEmmanuel Vadot				label = "tispl";
538cb7aa33aSEmmanuel Vadot				reg = <0x180000 0x200000>; /* 2M */
539cb7aa33aSEmmanuel Vadot			};
540cb7aa33aSEmmanuel Vadot
541cb7aa33aSEmmanuel Vadot			u-boot@380000 {
542cb7aa33aSEmmanuel Vadot				label = "u-boot";
543cb7aa33aSEmmanuel Vadot				reg = <0x380000 0x300000>; /* 3M */
544cb7aa33aSEmmanuel Vadot			};
545cb7aa33aSEmmanuel Vadot
546cb7aa33aSEmmanuel Vadot			env@680000 {
547cb7aa33aSEmmanuel Vadot				label = "env";
548cb7aa33aSEmmanuel Vadot				reg = <0x680000 0x20000>; /* 128K */
549cb7aa33aSEmmanuel Vadot			};
550cb7aa33aSEmmanuel Vadot
551cb7aa33aSEmmanuel Vadot			env-backup@6a0000 {
552cb7aa33aSEmmanuel Vadot				label = "env.backup";
553cb7aa33aSEmmanuel Vadot				reg = <0x6a0000 0x20000>; /* 128K */
554cb7aa33aSEmmanuel Vadot			};
555cb7aa33aSEmmanuel Vadot
556cb7aa33aSEmmanuel Vadot			otpcmd@6c0000 {
557cb7aa33aSEmmanuel Vadot				label = "otpcmd";
558cb7aa33aSEmmanuel Vadot				reg = <0x6c0000 0x10000>; /* 64K */
559cb7aa33aSEmmanuel Vadot			};
560cb7aa33aSEmmanuel Vadot
561cb7aa33aSEmmanuel Vadot			unused@6d0000 {
562cb7aa33aSEmmanuel Vadot				label = "unused";
563cb7aa33aSEmmanuel Vadot				reg = <0x6d0000 0x7b0000>; /* 7872K */
564cb7aa33aSEmmanuel Vadot			};
565cb7aa33aSEmmanuel Vadot
566cb7aa33aSEmmanuel Vadot			seboot-backup@e80000 {
567cb7aa33aSEmmanuel Vadot				label = "seboot.backup";
568cb7aa33aSEmmanuel Vadot				reg = <0xe80000 0x180000>; /* 1.5M */
569cb7aa33aSEmmanuel Vadot			};
570cb7aa33aSEmmanuel Vadot		};
5712eb4d8dcSEmmanuel Vadot	};
5722eb4d8dcSEmmanuel Vadot};
5732eb4d8dcSEmmanuel Vadot
5742eb4d8dcSEmmanuel Vadot&pcie1_rc {
5758bab661aSEmmanuel Vadot	status = "okay";
5762eb4d8dcSEmmanuel Vadot	pinctrl-names = "default";
5772eb4d8dcSEmmanuel Vadot	pinctrl-0 = <&minipcie_pins_default>;
5782eb4d8dcSEmmanuel Vadot
5792eb4d8dcSEmmanuel Vadot	num-lanes = <1>;
5802eb4d8dcSEmmanuel Vadot	phys = <&serdes1 PHY_TYPE_PCIE 0>;
5812eb4d8dcSEmmanuel Vadot	phy-names = "pcie-phy0";
5822eb4d8dcSEmmanuel Vadot	reset-gpios = <&wkup_gpio0 27 GPIO_ACTIVE_HIGH>;
5832eb4d8dcSEmmanuel Vadot};
5842eb4d8dcSEmmanuel Vadot
5855956d97fSEmmanuel Vadot&mailbox0_cluster0 {
5868bab661aSEmmanuel Vadot	status = "okay";
5878cc087a1SEmmanuel Vadot	interrupts = <436>;
5888cc087a1SEmmanuel Vadot
5898cc087a1SEmmanuel Vadot	mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 {
5908cc087a1SEmmanuel Vadot		ti,mbox-tx = <1 0 0>;
5918cc087a1SEmmanuel Vadot		ti,mbox-rx = <0 0 0>;
5928cc087a1SEmmanuel Vadot	};
5935956d97fSEmmanuel Vadot};
5945956d97fSEmmanuel Vadot
5955956d97fSEmmanuel Vadot&mailbox0_cluster1 {
5968bab661aSEmmanuel Vadot	status = "okay";
5978cc087a1SEmmanuel Vadot	interrupts = <432>;
5988cc087a1SEmmanuel Vadot
5998cc087a1SEmmanuel Vadot	mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 {
6008cc087a1SEmmanuel Vadot		ti,mbox-tx = <1 0 0>;
6018cc087a1SEmmanuel Vadot		ti,mbox-rx = <0 0 0>;
6028cc087a1SEmmanuel Vadot	};
6035956d97fSEmmanuel Vadot};
6045956d97fSEmmanuel Vadot
6058cc087a1SEmmanuel Vadot&mcu_r5fss0_core0 {
6068cc087a1SEmmanuel Vadot	memory-region = <&mcu_r5fss0_core0_dma_memory_region>,
6078cc087a1SEmmanuel Vadot			<&mcu_r5fss0_core0_memory_region>;
60801950c46SEmmanuel Vadot	mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>;
6098cc087a1SEmmanuel Vadot};
6108cc087a1SEmmanuel Vadot
6118cc087a1SEmmanuel Vadot&mcu_r5fss0_core1 {
6128cc087a1SEmmanuel Vadot	memory-region = <&mcu_r5fss0_core1_dma_memory_region>,
6138cc087a1SEmmanuel Vadot			<&mcu_r5fss0_core1_memory_region>;
61401950c46SEmmanuel Vadot	mboxes = <&mailbox0_cluster1 &mbox_mcu_r5fss0_core1>;
61501950c46SEmmanuel Vadot};
61601950c46SEmmanuel Vadot
61701950c46SEmmanuel Vadot&mcu_rti1 {
61801950c46SEmmanuel Vadot	memory-region = <&wdt_reset_memory_region>;
6198cc087a1SEmmanuel Vadot};
6208d13bc63SEmmanuel Vadot
6218d13bc63SEmmanuel Vadot&icssg0_mdio {
6228d13bc63SEmmanuel Vadot	status = "okay";
6238d13bc63SEmmanuel Vadot	pinctrl-names = "default";
6248d13bc63SEmmanuel Vadot	pinctrl-0 = <&icssg0_mdio_pins_default>;
6258d13bc63SEmmanuel Vadot
6268d13bc63SEmmanuel Vadot	icssg0_eth0_phy: ethernet-phy@0 {
6278d13bc63SEmmanuel Vadot		reg = <0>;
6288d13bc63SEmmanuel Vadot		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
6298d13bc63SEmmanuel Vadot		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
630*b2d2a78aSEmmanuel Vadot
631*b2d2a78aSEmmanuel Vadot		leds {
632*b2d2a78aSEmmanuel Vadot			#address-cells = <1>;
633*b2d2a78aSEmmanuel Vadot			#size-cells = <0>;
634*b2d2a78aSEmmanuel Vadot
635*b2d2a78aSEmmanuel Vadot			led@0 {
636*b2d2a78aSEmmanuel Vadot				reg = <0>;
637*b2d2a78aSEmmanuel Vadot				color = <LED_COLOR_ID_GREEN>;
638*b2d2a78aSEmmanuel Vadot				function = LED_FUNCTION_LAN;
639*b2d2a78aSEmmanuel Vadot			};
640*b2d2a78aSEmmanuel Vadot
641*b2d2a78aSEmmanuel Vadot			led@1 {
642*b2d2a78aSEmmanuel Vadot				reg = <1>;
643*b2d2a78aSEmmanuel Vadot				color = <LED_COLOR_ID_GREEN>;
644*b2d2a78aSEmmanuel Vadot				function = LED_FUNCTION_SPEED_LAN;
645*b2d2a78aSEmmanuel Vadot			};
646*b2d2a78aSEmmanuel Vadot
647*b2d2a78aSEmmanuel Vadot			led@2 {
648*b2d2a78aSEmmanuel Vadot				reg = <2>;
649*b2d2a78aSEmmanuel Vadot				color = <LED_COLOR_ID_YELLOW>;
650*b2d2a78aSEmmanuel Vadot				function = LED_FUNCTION_SPEED_LAN;
651*b2d2a78aSEmmanuel Vadot			};
652*b2d2a78aSEmmanuel Vadot		};
6538d13bc63SEmmanuel Vadot	};
6548d13bc63SEmmanuel Vadot
6558d13bc63SEmmanuel Vadot	icssg0_eth1_phy: ethernet-phy@1 {
6568d13bc63SEmmanuel Vadot		reg = <1>;
6578d13bc63SEmmanuel Vadot		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
6588d13bc63SEmmanuel Vadot		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
659*b2d2a78aSEmmanuel Vadot
660*b2d2a78aSEmmanuel Vadot		leds {
661*b2d2a78aSEmmanuel Vadot			#address-cells = <1>;
662*b2d2a78aSEmmanuel Vadot			#size-cells = <0>;
663*b2d2a78aSEmmanuel Vadot
664*b2d2a78aSEmmanuel Vadot			led@0 {
665*b2d2a78aSEmmanuel Vadot				reg = <0>;
666*b2d2a78aSEmmanuel Vadot				color = <LED_COLOR_ID_GREEN>;
667*b2d2a78aSEmmanuel Vadot				function = LED_FUNCTION_LAN;
6688d13bc63SEmmanuel Vadot			};
669*b2d2a78aSEmmanuel Vadot
670*b2d2a78aSEmmanuel Vadot			led@1 {
671*b2d2a78aSEmmanuel Vadot				reg = <1>;
672*b2d2a78aSEmmanuel Vadot				color = <LED_COLOR_ID_GREEN>;
673*b2d2a78aSEmmanuel Vadot				function = LED_FUNCTION_SPEED_LAN;
674*b2d2a78aSEmmanuel Vadot			};
675*b2d2a78aSEmmanuel Vadot
676*b2d2a78aSEmmanuel Vadot			led@2 {
677*b2d2a78aSEmmanuel Vadot				reg = <2>;
678*b2d2a78aSEmmanuel Vadot				color = <LED_COLOR_ID_YELLOW>;
679*b2d2a78aSEmmanuel Vadot				function = LED_FUNCTION_SPEED_LAN;
680*b2d2a78aSEmmanuel Vadot			};
681*b2d2a78aSEmmanuel Vadot		};
682*b2d2a78aSEmmanuel Vadot	};
683*b2d2a78aSEmmanuel Vadot};
684*b2d2a78aSEmmanuel Vadot
685*b2d2a78aSEmmanuel Vadot&mcu_r5fss0 {
686*b2d2a78aSEmmanuel Vadot	/* lock-step mode not supported on iot2050 boards */
687*b2d2a78aSEmmanuel Vadot	ti,cluster-mode = <0>;
6888d13bc63SEmmanuel Vadot};
689