xref: /openbmc/linux/arch/arm64/boot/dts/ti/k3-am642-evm.dts (revision 5ee9cd065836e5934710ca35653bce7905add20b)
11e6550d3SDave Gerlach// SPDX-License-Identifier: GPL-2.0
21e6550d3SDave Gerlach/*
31e6550d3SDave Gerlach * Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/
41e6550d3SDave Gerlach */
51e6550d3SDave Gerlach
61e6550d3SDave Gerlach/dts-v1/;
71e6550d3SDave Gerlach
8354065beSKishon Vijay Abraham I#include <dt-bindings/phy/phy.h>
91e6550d3SDave Gerlach#include <dt-bindings/leds/common.h>
10985204ecSVignesh Raghavendra#include <dt-bindings/gpio/gpio.h>
11985204ecSVignesh Raghavendra#include <dt-bindings/net/ti-dp83867.h>
121e6550d3SDave Gerlach#include "k3-am642.dtsi"
131e6550d3SDave Gerlach
148d08d7aaSJayesh Choudhary#include "k3-serdes.h"
158d08d7aaSJayesh Choudhary
161e6550d3SDave Gerlach/ {
171e6550d3SDave Gerlach	compatible = "ti,am642-evm", "ti,am642";
181e6550d3SDave Gerlach	model = "Texas Instruments AM642 EVM";
191e6550d3SDave Gerlach
201e6550d3SDave Gerlach	chosen {
216b343136SAndrew Davis		stdout-path = &main_uart0;
22bb3d6578SNishanth Menon	};
23bb3d6578SNishanth Menon
24bb3d6578SNishanth Menon	aliases {
25bb3d6578SNishanth Menon		serial0 = &mcu_uart0;
26bb3d6578SNishanth Menon		serial1 = &main_uart1;
27bb3d6578SNishanth Menon		serial2 = &main_uart0;
28bb3d6578SNishanth Menon		serial3 = &main_uart3;
29bb3d6578SNishanth Menon		i2c0 = &main_i2c0;
30bb3d6578SNishanth Menon		i2c1 = &main_i2c1;
31bb3d6578SNishanth Menon		mmc0 = &sdhci0;
32bb3d6578SNishanth Menon		mmc1 = &sdhci1;
33bb3d6578SNishanth Menon		ethernet0 = &cpsw_port1;
34bb3d6578SNishanth Menon		ethernet1 = &cpsw_port2;
351e6550d3SDave Gerlach	};
361e6550d3SDave Gerlach
371e6550d3SDave Gerlach	memory@80000000 {
3891e057f6SNishanth Menon		bootph-all;
391e6550d3SDave Gerlach		device_type = "memory";
401e6550d3SDave Gerlach		/* 2G RAM */
411e6550d3SDave Gerlach		reg = <0x00000000 0x80000000 0x00000000 0x80000000>;
421e6550d3SDave Gerlach	};
431e6550d3SDave Gerlach
441e6550d3SDave Gerlach	reserved-memory {
451e6550d3SDave Gerlach		#address-cells = <2>;
461e6550d3SDave Gerlach		#size-cells = <2>;
471e6550d3SDave Gerlach		ranges;
481e6550d3SDave Gerlach
491e6550d3SDave Gerlach		secure_ddr: optee@9e800000 {
501e6550d3SDave Gerlach			reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */
511e6550d3SDave Gerlach			alignment = <0x1000>;
521e6550d3SDave Gerlach			no-map;
531e6550d3SDave Gerlach		};
54d71abfccSSuman Anna
55d71abfccSSuman Anna		main_r5fss0_core0_dma_memory_region: r5f-dma-memory@a0000000 {
56d71abfccSSuman Anna			compatible = "shared-dma-pool";
57d71abfccSSuman Anna			reg = <0x00 0xa0000000 0x00 0x100000>;
58d71abfccSSuman Anna			no-map;
59d71abfccSSuman Anna		};
60d71abfccSSuman Anna
61d71abfccSSuman Anna		main_r5fss0_core0_memory_region: r5f-memory@a0100000 {
62d71abfccSSuman Anna			compatible = "shared-dma-pool";
63d71abfccSSuman Anna			reg = <0x00 0xa0100000 0x00 0xf00000>;
64d71abfccSSuman Anna			no-map;
65d71abfccSSuman Anna		};
66d71abfccSSuman Anna
67d71abfccSSuman Anna		main_r5fss0_core1_dma_memory_region: r5f-dma-memory@a1000000 {
68d71abfccSSuman Anna			compatible = "shared-dma-pool";
69d71abfccSSuman Anna			reg = <0x00 0xa1000000 0x00 0x100000>;
70d71abfccSSuman Anna			no-map;
71d71abfccSSuman Anna		};
72d71abfccSSuman Anna
73d71abfccSSuman Anna		main_r5fss0_core1_memory_region: r5f-memory@a1100000 {
74d71abfccSSuman Anna			compatible = "shared-dma-pool";
75d71abfccSSuman Anna			reg = <0x00 0xa1100000 0x00 0xf00000>;
76d71abfccSSuman Anna			no-map;
77d71abfccSSuman Anna		};
78d71abfccSSuman Anna
79d71abfccSSuman Anna		main_r5fss1_core0_dma_memory_region: r5f-dma-memory@a2000000 {
80d71abfccSSuman Anna			compatible = "shared-dma-pool";
81d71abfccSSuman Anna			reg = <0x00 0xa2000000 0x00 0x100000>;
82d71abfccSSuman Anna			no-map;
83d71abfccSSuman Anna		};
84d71abfccSSuman Anna
85d71abfccSSuman Anna		main_r5fss1_core0_memory_region: r5f-memory@a2100000 {
86d71abfccSSuman Anna			compatible = "shared-dma-pool";
87d71abfccSSuman Anna			reg = <0x00 0xa2100000 0x00 0xf00000>;
88d71abfccSSuman Anna			no-map;
89d71abfccSSuman Anna		};
90d71abfccSSuman Anna
91d71abfccSSuman Anna		main_r5fss1_core1_dma_memory_region: r5f-dma-memory@a3000000 {
92d71abfccSSuman Anna			compatible = "shared-dma-pool";
93d71abfccSSuman Anna			reg = <0x00 0xa3000000 0x00 0x100000>;
94d71abfccSSuman Anna			no-map;
95d71abfccSSuman Anna		};
96d71abfccSSuman Anna
97d71abfccSSuman Anna		main_r5fss1_core1_memory_region: r5f-memory@a3100000 {
98d71abfccSSuman Anna			compatible = "shared-dma-pool";
99d71abfccSSuman Anna			reg = <0x00 0xa3100000 0x00 0xf00000>;
100d71abfccSSuman Anna			no-map;
101d71abfccSSuman Anna		};
102d71abfccSSuman Anna
103d71abfccSSuman Anna		rtos_ipc_memory_region: ipc-memories@a5000000 {
104d71abfccSSuman Anna			reg = <0x00 0xa5000000 0x00 0x00800000>;
105d71abfccSSuman Anna			alignment = <0x1000>;
106d71abfccSSuman Anna			no-map;
107d71abfccSSuman Anna		};
1081e6550d3SDave Gerlach	};
1091e6550d3SDave Gerlach
11061ee5572SNishanth Menon	evm_12v0: regulator-0 {
1111e6550d3SDave Gerlach		/* main DC jack */
11291e057f6SNishanth Menon		bootph-all;
1131e6550d3SDave Gerlach		compatible = "regulator-fixed";
1141e6550d3SDave Gerlach		regulator-name = "evm_12v0";
1151e6550d3SDave Gerlach		regulator-min-microvolt = <12000000>;
1161e6550d3SDave Gerlach		regulator-max-microvolt = <12000000>;
1171e6550d3SDave Gerlach		regulator-always-on;
1181e6550d3SDave Gerlach		regulator-boot-on;
1191e6550d3SDave Gerlach	};
1201e6550d3SDave Gerlach
12161ee5572SNishanth Menon	vsys_5v0: regulator-1 {
1221e6550d3SDave Gerlach		/* output of LM5140 */
1231e6550d3SDave Gerlach		compatible = "regulator-fixed";
1241e6550d3SDave Gerlach		regulator-name = "vsys_5v0";
1251e6550d3SDave Gerlach		regulator-min-microvolt = <5000000>;
1261e6550d3SDave Gerlach		regulator-max-microvolt = <5000000>;
1271e6550d3SDave Gerlach		vin-supply = <&evm_12v0>;
1281e6550d3SDave Gerlach		regulator-always-on;
1291e6550d3SDave Gerlach		regulator-boot-on;
1301e6550d3SDave Gerlach	};
1311e6550d3SDave Gerlach
13261ee5572SNishanth Menon	vsys_3v3: regulator-2 {
1331e6550d3SDave Gerlach		/* output of LM5140 */
13491e057f6SNishanth Menon		bootph-all;
1351e6550d3SDave Gerlach		compatible = "regulator-fixed";
1361e6550d3SDave Gerlach		regulator-name = "vsys_3v3";
1371e6550d3SDave Gerlach		regulator-min-microvolt = <3300000>;
1381e6550d3SDave Gerlach		regulator-max-microvolt = <3300000>;
1391e6550d3SDave Gerlach		vin-supply = <&evm_12v0>;
1401e6550d3SDave Gerlach		regulator-always-on;
1411e6550d3SDave Gerlach		regulator-boot-on;
1421e6550d3SDave Gerlach	};
1431e6550d3SDave Gerlach
14461ee5572SNishanth Menon	vdd_mmc1: regulator-3 {
1451e6550d3SDave Gerlach		/* TPS2051BD */
14691e057f6SNishanth Menon		bootph-all;
1471e6550d3SDave Gerlach		compatible = "regulator-fixed";
1481e6550d3SDave Gerlach		regulator-name = "vdd_mmc1";
1491e6550d3SDave Gerlach		regulator-min-microvolt = <3300000>;
1501e6550d3SDave Gerlach		regulator-max-microvolt = <3300000>;
1511e6550d3SDave Gerlach		regulator-boot-on;
1521e6550d3SDave Gerlach		enable-active-high;
1531e6550d3SDave Gerlach		vin-supply = <&vsys_3v3>;
1541e6550d3SDave Gerlach		gpio = <&exp1 6 GPIO_ACTIVE_HIGH>;
1551e6550d3SDave Gerlach	};
1561e6550d3SDave Gerlach
15761ee5572SNishanth Menon	vddb: regulator-4 {
1581e6550d3SDave Gerlach		compatible = "regulator-fixed";
1591e6550d3SDave Gerlach		regulator-name = "vddb_3v3_display";
1601e6550d3SDave Gerlach		regulator-min-microvolt = <3300000>;
1611e6550d3SDave Gerlach		regulator-max-microvolt = <3300000>;
1621e6550d3SDave Gerlach		vin-supply = <&vsys_3v3>;
1631e6550d3SDave Gerlach		regulator-always-on;
1641e6550d3SDave Gerlach		regulator-boot-on;
1651e6550d3SDave Gerlach	};
1661e6550d3SDave Gerlach
167aca16cefSNishanth Menon	vtt_supply: regulator-5 {
16891e057f6SNishanth Menon		bootph-all;
169aca16cefSNishanth Menon		compatible = "regulator-fixed";
170aca16cefSNishanth Menon		regulator-name = "vtt";
171aca16cefSNishanth Menon		pinctrl-names = "default";
172aca16cefSNishanth Menon		pinctrl-0 = <&ddr_vtt_pins_default>;
173aca16cefSNishanth Menon		regulator-min-microvolt = <3300000>;
174aca16cefSNishanth Menon		regulator-max-microvolt = <3300000>;
175aca16cefSNishanth Menon		gpio = <&main_gpio0 12 GPIO_ACTIVE_HIGH>;
176aca16cefSNishanth Menon		vin-supply = <&vsys_3v3>;
177aca16cefSNishanth Menon		enable-active-high;
178aca16cefSNishanth Menon		regulator-always-on;
179aca16cefSNishanth Menon		regulator-boot-on;
180aca16cefSNishanth Menon	};
181aca16cefSNishanth Menon
1821e6550d3SDave Gerlach	leds {
1831e6550d3SDave Gerlach		compatible = "gpio-leds";
1841e6550d3SDave Gerlach
1851e6550d3SDave Gerlach		led-0 {
1861e6550d3SDave Gerlach			label = "am64-evm:red:heartbeat";
1871e6550d3SDave Gerlach			gpios = <&exp1 16 GPIO_ACTIVE_HIGH>;
1881e6550d3SDave Gerlach			linux,default-trigger = "heartbeat";
1891e6550d3SDave Gerlach			function = LED_FUNCTION_HEARTBEAT;
1901e6550d3SDave Gerlach			default-state = "off";
1911e6550d3SDave Gerlach		};
1921e6550d3SDave Gerlach	};
193985204ecSVignesh Raghavendra
194985204ecSVignesh Raghavendra	mdio_mux: mux-controller {
195985204ecSVignesh Raghavendra		compatible = "gpio-mux";
196985204ecSVignesh Raghavendra		#mux-control-cells = <0>;
197985204ecSVignesh Raghavendra
198985204ecSVignesh Raghavendra		mux-gpios = <&exp1 12 GPIO_ACTIVE_HIGH>;
199985204ecSVignesh Raghavendra	};
200985204ecSVignesh Raghavendra
201985204ecSVignesh Raghavendra	mdio-mux-1 {
202985204ecSVignesh Raghavendra		compatible = "mdio-mux-multiplexer";
203985204ecSVignesh Raghavendra		mux-controls = <&mdio_mux>;
204985204ecSVignesh Raghavendra		mdio-parent-bus = <&cpsw3g_mdio>;
205985204ecSVignesh Raghavendra		#address-cells = <1>;
206985204ecSVignesh Raghavendra		#size-cells = <0>;
207985204ecSVignesh Raghavendra
208985204ecSVignesh Raghavendra		mdio@1 {
209985204ecSVignesh Raghavendra			reg = <0x1>;
210985204ecSVignesh Raghavendra			#address-cells = <1>;
211985204ecSVignesh Raghavendra			#size-cells = <0>;
212985204ecSVignesh Raghavendra
213985204ecSVignesh Raghavendra			cpsw3g_phy3: ethernet-phy@3 {
214985204ecSVignesh Raghavendra				reg = <3>;
215985204ecSVignesh Raghavendra			};
216985204ecSVignesh Raghavendra		};
217985204ecSVignesh Raghavendra	};
2182f474da9SAswath Govindraju
2192f474da9SAswath Govindraju	transceiver1: can-phy0 {
2202f474da9SAswath Govindraju		compatible = "ti,tcan1042";
2212f474da9SAswath Govindraju		#phy-cells = <0>;
2222f474da9SAswath Govindraju		max-bitrate = <5000000>;
2232f474da9SAswath Govindraju		standby-gpios = <&exp1 8 GPIO_ACTIVE_HIGH>;
2242f474da9SAswath Govindraju	};
2252f474da9SAswath Govindraju
2262f474da9SAswath Govindraju	transceiver2: can-phy1 {
2272f474da9SAswath Govindraju		compatible = "ti,tcan1042";
2282f474da9SAswath Govindraju		#phy-cells = <0>;
2292f474da9SAswath Govindraju		max-bitrate = <5000000>;
2302f474da9SAswath Govindraju		standby-gpios = <&exp1 9 GPIO_ACTIVE_HIGH>;
2312f474da9SAswath Govindraju	};
2321e6550d3SDave Gerlach};
2331e6550d3SDave Gerlach
2341e6550d3SDave Gerlach&main_pmx0 {
235a4956811STony Lindgren	main_mmc1_pins_default: main-mmc1-default-pins {
2361e6550d3SDave Gerlach		pinctrl-single,pins = <
2371e6550d3SDave Gerlach			AM64X_IOPAD(0x0294, PIN_INPUT_PULLUP, 0) /* (J19) MMC1_CMD */
2381e6550d3SDave Gerlach			AM64X_IOPAD(0x028c, PIN_INPUT_PULLDOWN, 0) /* (L20) MMC1_CLK */
2391e6550d3SDave Gerlach			AM64X_IOPAD(0x0288, PIN_INPUT_PULLUP, 0) /* (K21) MMC1_DAT0 */
2401e6550d3SDave Gerlach			AM64X_IOPAD(0x0284, PIN_INPUT_PULLUP, 0) /* (L21) MMC1_DAT1 */
2411e6550d3SDave Gerlach			AM64X_IOPAD(0x0280, PIN_INPUT_PULLUP, 0) /* (K19) MMC1_DAT2 */
2421e6550d3SDave Gerlach			AM64X_IOPAD(0x027c, PIN_INPUT_PULLUP, 0) /* (K18) MMC1_DAT3 */
2431e6550d3SDave Gerlach			AM64X_IOPAD(0x0298, PIN_INPUT_PULLUP, 0) /* (D19) MMC1_SDCD */
2441e6550d3SDave Gerlach			AM64X_IOPAD(0x029c, PIN_INPUT, 0) /* (C20) MMC1_SDWP */
2451e6550d3SDave Gerlach			AM64X_IOPAD(0x0290, PIN_INPUT, 0) /* MMC1_CLKLB */
2461e6550d3SDave Gerlach		>;
2471e6550d3SDave Gerlach	};
2481e6550d3SDave Gerlach
249a4956811STony Lindgren	main_uart1_pins_default: main-uart1-default-pins {
250e3e1d9abSNishanth Menon		pinctrl-single,pins = <
251e3e1d9abSNishanth Menon			AM64X_IOPAD(0x0248, PIN_INPUT, 0)		/* (D16) UART1_CTSn */
252e3e1d9abSNishanth Menon			AM64X_IOPAD(0x024c, PIN_OUTPUT, 0)		/* (E16) UART1_RTSn */
253e3e1d9abSNishanth Menon			AM64X_IOPAD(0x0240, PIN_INPUT, 0)		/* (E15) UART1_RXD */
254e3e1d9abSNishanth Menon			AM64X_IOPAD(0x0244, PIN_OUTPUT, 0)		/* (E14) UART1_TXD */
255e3e1d9abSNishanth Menon		>;
256e3e1d9abSNishanth Menon	};
257e3e1d9abSNishanth Menon
258a4956811STony Lindgren	main_uart0_pins_default: main-uart0-default-pins {
25991e057f6SNishanth Menon		bootph-all;
2601e6550d3SDave Gerlach		pinctrl-single,pins = <
2611e6550d3SDave Gerlach			AM64X_IOPAD(0x0238, PIN_INPUT, 0) /* (B16) UART0_CTSn */
2621e6550d3SDave Gerlach			AM64X_IOPAD(0x023c, PIN_OUTPUT, 0) /* (A16) UART0_RTSn */
2631e6550d3SDave Gerlach			AM64X_IOPAD(0x0230, PIN_INPUT, 0) /* (D15) UART0_RXD */
2641e6550d3SDave Gerlach			AM64X_IOPAD(0x0234, PIN_OUTPUT, 0) /* (C16) UART0_TXD */
2651e6550d3SDave Gerlach		>;
2661e6550d3SDave Gerlach	};
2671e6550d3SDave Gerlach
268a4956811STony Lindgren	main_spi0_pins_default: main-spi0-default-pins {
2694fb6c046SAswath Govindraju		pinctrl-single,pins = <
2704fb6c046SAswath Govindraju			AM64X_IOPAD(0x0210, PIN_INPUT, 0) /* (D13) SPI0_CLK */
2714fb6c046SAswath Govindraju			AM64X_IOPAD(0x0208, PIN_OUTPUT, 0) /* (D12) SPI0_CS0 */
2724fb6c046SAswath Govindraju			AM64X_IOPAD(0x0214, PIN_OUTPUT, 0) /* (A13) SPI0_D0 */
2734fb6c046SAswath Govindraju			AM64X_IOPAD(0x0218, PIN_INPUT, 0) /* (A14) SPI0_D1 */
2744fb6c046SAswath Govindraju		>;
2754fb6c046SAswath Govindraju	};
2764fb6c046SAswath Govindraju
277a4956811STony Lindgren	main_i2c0_pins_default: main-i2c0-default-pins {
27891e057f6SNishanth Menon		bootph-all;
279cf3b25bcSNishanth Menon		pinctrl-single,pins = <
280cf3b25bcSNishanth Menon			AM64X_IOPAD(0x0260, PIN_INPUT_PULLUP, 0) /* (A18) I2C0_SCL */
281cf3b25bcSNishanth Menon			AM64X_IOPAD(0x0264, PIN_INPUT_PULLUP, 0) /* (B18) I2C0_SDA */
282cf3b25bcSNishanth Menon		>;
283cf3b25bcSNishanth Menon	};
284cf3b25bcSNishanth Menon
285a4956811STony Lindgren	main_i2c1_pins_default: main-i2c1-default-pins {
28691e057f6SNishanth Menon		bootph-all;
2871e6550d3SDave Gerlach		pinctrl-single,pins = <
2881e6550d3SDave Gerlach			AM64X_IOPAD(0x0268, PIN_INPUT_PULLUP, 0) /* (C18) I2C1_SCL */
2891e6550d3SDave Gerlach			AM64X_IOPAD(0x026c, PIN_INPUT_PULLUP, 0) /* (B19) I2C1_SDA */
2901e6550d3SDave Gerlach		>;
2911e6550d3SDave Gerlach	};
292985204ecSVignesh Raghavendra
293a4956811STony Lindgren	mdio1_pins_default: mdio1-default-pins {
29491e057f6SNishanth Menon		bootph-all;
295985204ecSVignesh Raghavendra		pinctrl-single,pins = <
296985204ecSVignesh Raghavendra			AM64X_IOPAD(0x01fc, PIN_OUTPUT, 4) /* (R2) PRG0_PRU1_GPO19.MDIO0_MDC */
297985204ecSVignesh Raghavendra			AM64X_IOPAD(0x01f8, PIN_INPUT, 4) /* (P5) PRG0_PRU1_GPO18.MDIO0_MDIO */
298985204ecSVignesh Raghavendra		>;
299985204ecSVignesh Raghavendra	};
300985204ecSVignesh Raghavendra
301a4956811STony Lindgren	rgmii1_pins_default: rgmii1-default-pins {
30291e057f6SNishanth Menon		bootph-all;
303985204ecSVignesh Raghavendra		pinctrl-single,pins = <
304985204ecSVignesh Raghavendra			AM64X_IOPAD(0x01cc, PIN_INPUT, 4) /* (W5) PRG0_PRU1_GPO7.RGMII1_RD0 */
305985204ecSVignesh Raghavendra			AM64X_IOPAD(0x01d4, PIN_INPUT, 4) /* (Y5) PRG0_PRU1_GPO9.RGMII1_RD1 */
306985204ecSVignesh Raghavendra			AM64X_IOPAD(0x01d8, PIN_INPUT, 4) /* (V6) PRG0_PRU1_GPO10.RGMII1_RD2 */
307985204ecSVignesh Raghavendra			AM64X_IOPAD(0x01f4, PIN_INPUT, 4) /* (V5) PRG0_PRU1_GPO17.RGMII1_RD3 */
308985204ecSVignesh Raghavendra			AM64X_IOPAD(0x0188, PIN_INPUT, 4) /* (AA5) PRG0_PRU0_GPO10.RGMII1_RXC */
309985204ecSVignesh Raghavendra			AM64X_IOPAD(0x0184, PIN_INPUT, 4) /* (W6) PRG0_PRU0_GPO9.RGMII1_RX_CTL */
310985204ecSVignesh Raghavendra			AM64X_IOPAD(0x0124, PIN_OUTPUT, 4) /* (V15) PRG1_PRU1_GPO7.RGMII1_TD0 */
311985204ecSVignesh Raghavendra			AM64X_IOPAD(0x012c, PIN_OUTPUT, 4) /* (V14) PRG1_PRU1_GPO9.RGMII1_TD1 */
312985204ecSVignesh Raghavendra			AM64X_IOPAD(0x0130, PIN_OUTPUT, 4) /* (W14) PRG1_PRU1_GPO10.RGMII1_TD2 */
313985204ecSVignesh Raghavendra			AM64X_IOPAD(0x014c, PIN_OUTPUT, 4) /* (AA14) PRG1_PRU1_GPO17.RGMII1_TD3 */
314985204ecSVignesh Raghavendra			AM64X_IOPAD(0x00e0, PIN_OUTPUT, 4) /* (U14) PRG1_PRU0_GPO10.RGMII1_TXC */
315985204ecSVignesh Raghavendra			AM64X_IOPAD(0x00dc, PIN_OUTPUT, 4) /* (U15) PRG1_PRU0_GPO9.RGMII1_TX_CTL */
316985204ecSVignesh Raghavendra		>;
317985204ecSVignesh Raghavendra	};
318985204ecSVignesh Raghavendra
319a4956811STony Lindgren       rgmii2_pins_default: rgmii2-default-pins {
32091e057f6SNishanth Menon		bootph-all;
321985204ecSVignesh Raghavendra		pinctrl-single,pins = <
322985204ecSVignesh Raghavendra			AM64X_IOPAD(0x0108, PIN_INPUT, 4) /* (W11) PRG1_PRU1_GPO0.RGMII2_RD0 */
323985204ecSVignesh Raghavendra			AM64X_IOPAD(0x010c, PIN_INPUT, 4) /* (V11) PRG1_PRU1_GPO1.RGMII2_RD1 */
324985204ecSVignesh Raghavendra			AM64X_IOPAD(0x0110, PIN_INPUT, 4) /* (AA12) PRG1_PRU1_GPO2.RGMII2_RD2 */
325985204ecSVignesh Raghavendra			AM64X_IOPAD(0x0114, PIN_INPUT, 4) /* (Y12) PRG1_PRU1_GPO3.RGMII2_RD3 */
326985204ecSVignesh Raghavendra			AM64X_IOPAD(0x0120, PIN_INPUT, 4) /* (U11) PRG1_PRU1_GPO6.RGMII2_RXC */
327985204ecSVignesh Raghavendra			AM64X_IOPAD(0x0118, PIN_INPUT, 4) /* (W12) PRG1_PRU1_GPO4.RGMII2_RX_CTL */
328985204ecSVignesh Raghavendra			AM64X_IOPAD(0x0134, PIN_OUTPUT, 4) /* (AA10) PRG1_PRU1_GPO11.RGMII2_TD0 */
329985204ecSVignesh Raghavendra			AM64X_IOPAD(0x0138, PIN_OUTPUT, 4) /* (V10) PRG1_PRU1_GPO12.RGMII2_TD1 */
330985204ecSVignesh Raghavendra			AM64X_IOPAD(0x013c, PIN_OUTPUT, 4) /* (U10) PRG1_PRU1_GPO13.RGMII2_TD2 */
331985204ecSVignesh Raghavendra			AM64X_IOPAD(0x0140, PIN_OUTPUT, 4) /* (AA11) PRG1_PRU1_GPO14.RGMII2_TD3 */
332985204ecSVignesh Raghavendra			AM64X_IOPAD(0x0148, PIN_OUTPUT, 4) /* (Y10) PRG1_PRU1_GPO16.RGMII2_TXC */
333985204ecSVignesh Raghavendra			AM64X_IOPAD(0x0144, PIN_OUTPUT, 4) /* (Y11) PRG1_PRU1_GPO15.RGMII2_TX_CTL */
334985204ecSVignesh Raghavendra		>;
335985204ecSVignesh Raghavendra	};
33604a80a75SAswath Govindraju
337a4956811STony Lindgren	main_usb0_pins_default: main-usb0-default-pins {
33891e057f6SNishanth Menon		bootph-all;
33904a80a75SAswath Govindraju		pinctrl-single,pins = <
34004a80a75SAswath Govindraju			AM64X_IOPAD(0x02a8, PIN_OUTPUT, 0) /* (E19) USB0_DRVVBUS */
34104a80a75SAswath Govindraju		>;
34204a80a75SAswath Govindraju	};
343e4e4e894SVignesh Raghavendra
344a4956811STony Lindgren	ospi0_pins_default: ospi0-default-pins {
345e4e4e894SVignesh Raghavendra		pinctrl-single,pins = <
346e4e4e894SVignesh Raghavendra			AM64X_IOPAD(0x0000, PIN_OUTPUT, 0) /* (N20) OSPI0_CLK */
347e4e4e894SVignesh Raghavendra			AM64X_IOPAD(0x002c, PIN_OUTPUT, 0) /* (L19) OSPI0_CSn0 */
348e4e4e894SVignesh Raghavendra			AM64X_IOPAD(0x000c, PIN_INPUT, 0) /* (M19) OSPI0_D0 */
349e4e4e894SVignesh Raghavendra			AM64X_IOPAD(0x0010, PIN_INPUT, 0) /* (M18) OSPI0_D1 */
350e4e4e894SVignesh Raghavendra			AM64X_IOPAD(0x0014, PIN_INPUT, 0) /* (M20) OSPI0_D2 */
351e4e4e894SVignesh Raghavendra			AM64X_IOPAD(0x0018, PIN_INPUT, 0) /* (M21) OSPI0_D3 */
352e4e4e894SVignesh Raghavendra			AM64X_IOPAD(0x001c, PIN_INPUT, 0) /* (P21) OSPI0_D4 */
353e4e4e894SVignesh Raghavendra			AM64X_IOPAD(0x0020, PIN_INPUT, 0) /* (P20) OSPI0_D5 */
354e4e4e894SVignesh Raghavendra			AM64X_IOPAD(0x0024, PIN_INPUT, 0) /* (N18) OSPI0_D6 */
355e4e4e894SVignesh Raghavendra			AM64X_IOPAD(0x0028, PIN_INPUT, 0) /* (M17) OSPI0_D7 */
356e4e4e894SVignesh Raghavendra			AM64X_IOPAD(0x0008, PIN_INPUT, 0) /* (N19) OSPI0_DQS */
357e4e4e894SVignesh Raghavendra		>;
358e4e4e894SVignesh Raghavendra	};
3598032affdSLokesh Vutla
360a4956811STony Lindgren	main_ecap0_pins_default: main-ecap0-default-pins {
3618032affdSLokesh Vutla		pinctrl-single,pins = <
3628032affdSLokesh Vutla			AM64X_IOPAD(0x0270, PIN_INPUT, 0) /* (D18) ECAP0_IN_APWM_OUT */
3638032affdSLokesh Vutla		>;
3648032affdSLokesh Vutla	};
3652f474da9SAswath Govindraju
366a4956811STony Lindgren	main_mcan0_pins_default: main-mcan0-default-pins {
3672f474da9SAswath Govindraju		pinctrl-single,pins = <
3682f474da9SAswath Govindraju			AM64X_IOPAD(0x0254, PIN_INPUT, 0) /* (B17) MCAN0_RX */
3692f474da9SAswath Govindraju			AM64X_IOPAD(0x0250, PIN_OUTPUT, 0) /* (A17) MCAN0_TX */
3702f474da9SAswath Govindraju		>;
3712f474da9SAswath Govindraju	};
3722f474da9SAswath Govindraju
373a4956811STony Lindgren	main_mcan1_pins_default: main-mcan1-default-pins {
3742f474da9SAswath Govindraju		pinctrl-single,pins = <
3752f474da9SAswath Govindraju			AM64X_IOPAD(0x025c, PIN_INPUT, 0) /* (D17) MCAN1_RX */
3762f474da9SAswath Govindraju			AM64X_IOPAD(0x0258, PIN_OUTPUT, 0) /* (C17) MCAN1_TX */
3772f474da9SAswath Govindraju		>;
3782f474da9SAswath Govindraju	};
379aca16cefSNishanth Menon
380a4956811STony Lindgren	ddr_vtt_pins_default: ddr-vtt-default-pins {
38191e057f6SNishanth Menon		bootph-all;
382aca16cefSNishanth Menon		pinctrl-single,pins = <
383aca16cefSNishanth Menon			AM64X_IOPAD(0x0030, PIN_OUTPUT_PULLUP, 7) /* (L18) OSPI0_CSN1.GPIO0_12 */
384aca16cefSNishanth Menon		>;
385aca16cefSNishanth Menon	};
3861e6550d3SDave Gerlach};
3871e6550d3SDave Gerlach
3881e6550d3SDave Gerlach&main_uart0 {
38991e057f6SNishanth Menon	bootph-all;
390dacf4705SAndrew Davis	status = "okay";
3911e6550d3SDave Gerlach	pinctrl-names = "default";
3921e6550d3SDave Gerlach	pinctrl-0 = <&main_uart0_pins_default>;
39327f98f3eSAndrew Davis	current-speed = <115200>;
3941e6550d3SDave Gerlach};
3951e6550d3SDave Gerlach
3961e6550d3SDave Gerlach/* main_uart1 is reserved for firmware usage */
3971e6550d3SDave Gerlach&main_uart1 {
3981e6550d3SDave Gerlach	status = "reserved";
399e3e1d9abSNishanth Menon	pinctrl-names = "default";
400e3e1d9abSNishanth Menon	pinctrl-0 = <&main_uart1_pins_default>;
4011e6550d3SDave Gerlach};
4021e6550d3SDave Gerlach
403cf3b25bcSNishanth Menon&main_i2c0 {
40491e057f6SNishanth Menon	bootph-all;
405cf3b25bcSNishanth Menon	status = "okay";
406cf3b25bcSNishanth Menon	pinctrl-names = "default";
407cf3b25bcSNishanth Menon	pinctrl-0 = <&main_i2c0_pins_default>;
408cf3b25bcSNishanth Menon	clock-frequency = <400000>;
409cf3b25bcSNishanth Menon
410cf3b25bcSNishanth Menon	eeprom@50 {
411cf3b25bcSNishanth Menon		/* AT24CM01 */
412cf3b25bcSNishanth Menon		compatible = "atmel,24c1024";
413cf3b25bcSNishanth Menon		reg = <0x50>;
414cf3b25bcSNishanth Menon	};
415cf3b25bcSNishanth Menon};
416cf3b25bcSNishanth Menon
4171e6550d3SDave Gerlach&main_i2c1 {
41891e057f6SNishanth Menon	bootph-all;
419b80f75d8SAndrew Davis	status = "okay";
4201e6550d3SDave Gerlach	pinctrl-names = "default";
4211e6550d3SDave Gerlach	pinctrl-0 = <&main_i2c1_pins_default>;
4221e6550d3SDave Gerlach	clock-frequency = <400000>;
4231e6550d3SDave Gerlach
4241e6550d3SDave Gerlach	exp1: gpio@22 {
42591e057f6SNishanth Menon		bootph-all;
4261e6550d3SDave Gerlach		compatible = "ti,tca6424";
4271e6550d3SDave Gerlach		reg = <0x22>;
4281e6550d3SDave Gerlach		gpio-controller;
4291e6550d3SDave Gerlach		#gpio-cells = <2>;
4301e6550d3SDave Gerlach		gpio-line-names = "GPIO_eMMC_RSTn", "CAN_MUX_SEL",
4311e6550d3SDave Gerlach				  "GPIO_CPSW1_RST", "GPIO_RGMII1_RST",
4321e6550d3SDave Gerlach				  "GPIO_RGMII2_RST", "GPIO_PCIe_RST_OUT",
4331e6550d3SDave Gerlach				  "MMC1_SD_EN", "FSI_FET_SEL",
4341e6550d3SDave Gerlach				  "MCAN0_STB_3V3", "MCAN1_STB_3V3",
4351e6550d3SDave Gerlach				  "CPSW_FET_SEL", "CPSW_FET2_SEL",
4361e6550d3SDave Gerlach				  "PRG1_RGMII2_FET_SEL", "TEST_GPIO2",
4371e6550d3SDave Gerlach				  "GPIO_OLED_RESETn", "VPP_LDO_EN",
4381e6550d3SDave Gerlach				  "TEST_LED1", "TP92", "TP90", "TP88",
4391e6550d3SDave Gerlach				  "TP87", "TP86", "TP89", "TP91";
4401e6550d3SDave Gerlach	};
4411e6550d3SDave Gerlach
4421e6550d3SDave Gerlach	/* osd9616p0899-10 */
4431e6550d3SDave Gerlach	display@3c {
4441e6550d3SDave Gerlach		compatible = "solomon,ssd1306fb-i2c";
4451e6550d3SDave Gerlach		reg = <0x3c>;
4461e6550d3SDave Gerlach		reset-gpios = <&exp1 14 GPIO_ACTIVE_LOW>;
4471e6550d3SDave Gerlach		vbat-supply = <&vddb>;
4481e6550d3SDave Gerlach		solomon,height = <16>;
4491e6550d3SDave Gerlach		solomon,width = <96>;
4501e6550d3SDave Gerlach		solomon,com-seq;
4511e6550d3SDave Gerlach		solomon,com-invdir;
4521e6550d3SDave Gerlach		solomon,page-offset = <0>;
4531e6550d3SDave Gerlach		solomon,prechargep1 = <2>;
4541e6550d3SDave Gerlach		solomon,prechargep2 = <13>;
4551e6550d3SDave Gerlach	};
4561e6550d3SDave Gerlach};
4571e6550d3SDave Gerlach
45891e057f6SNishanth Menon&main_gpio0 {
45991e057f6SNishanth Menon	bootph-all;
46091e057f6SNishanth Menon};
46191e057f6SNishanth Menon
462d5a4d541SAswath Govindraju/* mcu_gpio0 is reserved for mcu firmware usage */
463d5a4d541SAswath Govindraju&mcu_gpio0 {
464d5a4d541SAswath Govindraju	status = "reserved";
465d5a4d541SAswath Govindraju};
466d5a4d541SAswath Govindraju
4674fb6c046SAswath Govindraju&main_spi0 {
46879d4aa62SAndrew Davis	status = "okay";
4694fb6c046SAswath Govindraju	pinctrl-names = "default";
4704fb6c046SAswath Govindraju	pinctrl-0 = <&main_spi0_pins_default>;
471d3f1b155SAswath Govindraju	ti,pindir-d0-out-d1-in;
4724fb6c046SAswath Govindraju	eeprom@0 {
4734fb6c046SAswath Govindraju		compatible = "microchip,93lc46b";
4744fb6c046SAswath Govindraju		reg = <0>;
4754fb6c046SAswath Govindraju		spi-max-frequency = <1000000>;
4764fb6c046SAswath Govindraju		spi-cs-high;
4774fb6c046SAswath Govindraju		data-size = <16>;
4784fb6c046SAswath Govindraju	};
4794fb6c046SAswath Govindraju};
4804fb6c046SAswath Govindraju
481*b0e4672fSAndrew Davis/* eMMC */
4821e6550d3SDave Gerlach&sdhci0 {
483*b0e4672fSAndrew Davis	status = "okay";
4841e6550d3SDave Gerlach	bus-width = <8>;
4851e6550d3SDave Gerlach	non-removable;
4861e6550d3SDave Gerlach	ti,driver-strength-ohm = <50>;
4871e6550d3SDave Gerlach	disable-wp;
4881e6550d3SDave Gerlach};
4891e6550d3SDave Gerlach
4901e6550d3SDave Gerlach/* SD/MMC */
491*b0e4672fSAndrew Davis&sdhci1 {
49291e057f6SNishanth Menon	bootph-all;
493*b0e4672fSAndrew Davis	status = "okay";
4941e6550d3SDave Gerlach	vmmc-supply = <&vdd_mmc1>;
4951e6550d3SDave Gerlach	pinctrl-names = "default";
4961e6550d3SDave Gerlach	bus-width = <4>;
4971e6550d3SDave Gerlach	pinctrl-0 = <&main_mmc1_pins_default>;
4981e6550d3SDave Gerlach	ti,driver-strength-ohm = <50>;
4991e6550d3SDave Gerlach	disable-wp;
5001e6550d3SDave Gerlach};
501985204ecSVignesh Raghavendra
50204a80a75SAswath Govindraju&usbss0 {
50391e057f6SNishanth Menon	bootph-all;
50404a80a75SAswath Govindraju	ti,vbus-divider;
50504a80a75SAswath Govindraju	ti,usb2-only;
50604a80a75SAswath Govindraju};
50704a80a75SAswath Govindraju
50804a80a75SAswath Govindraju&usb0 {
50991e057f6SNishanth Menon	bootph-all;
51004a80a75SAswath Govindraju	dr_mode = "otg";
51104a80a75SAswath Govindraju	maximum-speed = "high-speed";
51204a80a75SAswath Govindraju	pinctrl-names = "default";
51304a80a75SAswath Govindraju	pinctrl-0 = <&main_usb0_pins_default>;
51404a80a75SAswath Govindraju};
51504a80a75SAswath Govindraju
516985204ecSVignesh Raghavendra&cpsw3g {
51791e057f6SNishanth Menon	bootph-all;
518985204ecSVignesh Raghavendra	pinctrl-names = "default";
519bb867df5SNishanth Menon	pinctrl-0 = <&rgmii1_pins_default>, <&rgmii2_pins_default>;
520985204ecSVignesh Raghavendra};
521985204ecSVignesh Raghavendra
522985204ecSVignesh Raghavendra&cpsw_port1 {
52391e057f6SNishanth Menon	bootph-all;
524985204ecSVignesh Raghavendra	phy-mode = "rgmii-rxid";
525985204ecSVignesh Raghavendra	phy-handle = <&cpsw3g_phy0>;
526985204ecSVignesh Raghavendra};
527985204ecSVignesh Raghavendra
528985204ecSVignesh Raghavendra&cpsw_port2 {
529985204ecSVignesh Raghavendra	phy-mode = "rgmii-rxid";
530985204ecSVignesh Raghavendra	phy-handle = <&cpsw3g_phy3>;
531985204ecSVignesh Raghavendra};
532985204ecSVignesh Raghavendra
533985204ecSVignesh Raghavendra&cpsw3g_mdio {
53491e057f6SNishanth Menon	bootph-all;
535f572888bSAndrew Davis	status = "okay";
536aa62d661SAndrew Davis	pinctrl-names = "default";
537aa62d661SAndrew Davis	pinctrl-0 = <&mdio1_pins_default>;
538aa62d661SAndrew Davis
539985204ecSVignesh Raghavendra	cpsw3g_phy0: ethernet-phy@0 {
54091e057f6SNishanth Menon		bootph-all;
541985204ecSVignesh Raghavendra		reg = <0>;
542985204ecSVignesh Raghavendra		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
543985204ecSVignesh Raghavendra		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
544985204ecSVignesh Raghavendra	};
545985204ecSVignesh Raghavendra};
546fad4e18fSVignesh Raghavendra
547fad4e18fSVignesh Raghavendra&tscadc0 {
548fad4e18fSVignesh Raghavendra	/* ADC is reserved for R5 usage */
549fad4e18fSVignesh Raghavendra	status = "reserved";
550fad4e18fSVignesh Raghavendra};
551e4e4e894SVignesh Raghavendra
552e4e4e894SVignesh Raghavendra&ospi0 {
553cd9f6b32SAndrew Davis	status = "okay";
554e4e4e894SVignesh Raghavendra	pinctrl-names = "default";
555e4e4e894SVignesh Raghavendra	pinctrl-0 = <&ospi0_pins_default>;
556e4e4e894SVignesh Raghavendra
557e4e4e894SVignesh Raghavendra	flash@0 {
558e4e4e894SVignesh Raghavendra		compatible = "jedec,spi-nor";
559e4e4e894SVignesh Raghavendra		reg = <0x0>;
560e4e4e894SVignesh Raghavendra		spi-tx-bus-width = <8>;
561e4e4e894SVignesh Raghavendra		spi-rx-bus-width = <8>;
562e4e4e894SVignesh Raghavendra		spi-max-frequency = <25000000>;
563e4e4e894SVignesh Raghavendra		cdns,tshsl-ns = <60>;
564e4e4e894SVignesh Raghavendra		cdns,tsd2d-ns = <60>;
565e4e4e894SVignesh Raghavendra		cdns,tchsh-ns = <60>;
566e4e4e894SVignesh Raghavendra		cdns,tslch-ns = <60>;
567e4e4e894SVignesh Raghavendra		cdns,read-delay = <4>;
5689227c49aSVaishnav Achath
5699227c49aSVaishnav Achath		partitions {
5709227c49aSVaishnav Achath			compatible = "fixed-partitions";
5719227c49aSVaishnav Achath			#address-cells = <1>;
5729227c49aSVaishnav Achath			#size-cells = <1>;
5739227c49aSVaishnav Achath
5749227c49aSVaishnav Achath			partition@0 {
5759227c49aSVaishnav Achath				label = "ospi.tiboot3";
5769227c49aSVaishnav Achath				reg = <0x0 0x100000>;
5779227c49aSVaishnav Achath			};
5789227c49aSVaishnav Achath
5799227c49aSVaishnav Achath			partition@100000 {
5809227c49aSVaishnav Achath				label = "ospi.tispl";
5819227c49aSVaishnav Achath				reg = <0x100000 0x200000>;
5829227c49aSVaishnav Achath			};
5839227c49aSVaishnav Achath
5849227c49aSVaishnav Achath			partition@300000 {
5859227c49aSVaishnav Achath				label = "ospi.u-boot";
5869227c49aSVaishnav Achath				reg = <0x300000 0x400000>;
5879227c49aSVaishnav Achath			};
5889227c49aSVaishnav Achath
5899227c49aSVaishnav Achath			partition@700000 {
5909227c49aSVaishnav Achath				label = "ospi.env";
5919227c49aSVaishnav Achath				reg = <0x700000 0x40000>;
5929227c49aSVaishnav Achath			};
5939227c49aSVaishnav Achath
5949227c49aSVaishnav Achath			partition@740000 {
5959227c49aSVaishnav Achath				label = "ospi.env.backup";
5969227c49aSVaishnav Achath				reg = <0x740000 0x40000>;
5979227c49aSVaishnav Achath			};
5989227c49aSVaishnav Achath
5999227c49aSVaishnav Achath			partition@800000 {
6009227c49aSVaishnav Achath				label = "ospi.rootfs";
6019227c49aSVaishnav Achath				reg = <0x800000 0x37c0000>;
6029227c49aSVaishnav Achath			};
6039227c49aSVaishnav Achath
6049227c49aSVaishnav Achath			partition@3fc0000 {
6059227c49aSVaishnav Achath				label = "ospi.phypattern";
6069227c49aSVaishnav Achath				reg = <0x3fc0000 0x40000>;
6079227c49aSVaishnav Achath			};
6089227c49aSVaishnav Achath		};
609e4e4e894SVignesh Raghavendra	};
610e4e4e894SVignesh Raghavendra};
6117dd84752SSuman Anna
6127dd84752SSuman Anna&mailbox0_cluster2 {
61391f983ffSAndrew Davis	status = "okay";
61491f983ffSAndrew Davis
6157dd84752SSuman Anna	mbox_main_r5fss0_core0: mbox-main-r5fss0-core0 {
6167dd84752SSuman Anna		ti,mbox-rx = <0 0 2>;
6177dd84752SSuman Anna		ti,mbox-tx = <1 0 2>;
6187dd84752SSuman Anna	};
6197dd84752SSuman Anna
6207dd84752SSuman Anna	mbox_main_r5fss0_core1: mbox-main-r5fss0-core1 {
6217dd84752SSuman Anna		ti,mbox-rx = <2 0 2>;
6227dd84752SSuman Anna		ti,mbox-tx = <3 0 2>;
6237dd84752SSuman Anna	};
6247dd84752SSuman Anna};
6257dd84752SSuman Anna
6267dd84752SSuman Anna&mailbox0_cluster4 {
62791f983ffSAndrew Davis	status = "okay";
62891f983ffSAndrew Davis
6297dd84752SSuman Anna	mbox_main_r5fss1_core0: mbox-main-r5fss1-core0 {
6307dd84752SSuman Anna		ti,mbox-rx = <0 0 2>;
6317dd84752SSuman Anna		ti,mbox-tx = <1 0 2>;
6327dd84752SSuman Anna	};
6337dd84752SSuman Anna
6347dd84752SSuman Anna	mbox_main_r5fss1_core1: mbox-main-r5fss1-core1 {
6357dd84752SSuman Anna		ti,mbox-rx = <2 0 2>;
6367dd84752SSuman Anna		ti,mbox-tx = <3 0 2>;
6377dd84752SSuman Anna	};
6387dd84752SSuman Anna};
6397dd84752SSuman Anna
6407dd84752SSuman Anna&mailbox0_cluster6 {
64191f983ffSAndrew Davis	status = "okay";
64291f983ffSAndrew Davis
6437dd84752SSuman Anna	mbox_m4_0: mbox-m4-0 {
6447dd84752SSuman Anna		ti,mbox-rx = <0 0 2>;
6457dd84752SSuman Anna		ti,mbox-tx = <1 0 2>;
6467dd84752SSuman Anna	};
6477dd84752SSuman Anna};
6487dd84752SSuman Anna
6490afadba4SSuman Anna&main_r5fss0_core0 {
650bb867df5SNishanth Menon	mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss0_core0>;
651d71abfccSSuman Anna	memory-region = <&main_r5fss0_core0_dma_memory_region>,
652d71abfccSSuman Anna			<&main_r5fss0_core0_memory_region>;
6530afadba4SSuman Anna};
6540afadba4SSuman Anna
6550afadba4SSuman Anna&main_r5fss0_core1 {
656bb867df5SNishanth Menon	mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss0_core1>;
657d71abfccSSuman Anna	memory-region = <&main_r5fss0_core1_dma_memory_region>,
658d71abfccSSuman Anna			<&main_r5fss0_core1_memory_region>;
6590afadba4SSuman Anna};
6600afadba4SSuman Anna
6610afadba4SSuman Anna&main_r5fss1_core0 {
662bb867df5SNishanth Menon	mboxes = <&mailbox0_cluster4>, <&mbox_main_r5fss1_core0>;
663d71abfccSSuman Anna	memory-region = <&main_r5fss1_core0_dma_memory_region>,
664d71abfccSSuman Anna			<&main_r5fss1_core0_memory_region>;
6650afadba4SSuman Anna};
6660afadba4SSuman Anna
6670afadba4SSuman Anna&main_r5fss1_core1 {
668bb867df5SNishanth Menon	mboxes = <&mailbox0_cluster4>, <&mbox_main_r5fss1_core1>;
669d71abfccSSuman Anna	memory-region = <&main_r5fss1_core1_dma_memory_region>,
670d71abfccSSuman Anna			<&main_r5fss1_core1_memory_region>;
6710afadba4SSuman Anna};
6720afadba4SSuman Anna
673354065beSKishon Vijay Abraham I&serdes_ln_ctrl {
674354065beSKishon Vijay Abraham I	idle-states = <AM64_SERDES0_LANE0_PCIE0>;
675354065beSKishon Vijay Abraham I};
676354065beSKishon Vijay Abraham I
677354065beSKishon Vijay Abraham I&serdes0 {
678354065beSKishon Vijay Abraham I	serdes0_pcie_link: phy@0 {
679354065beSKishon Vijay Abraham I		reg = <0>;
680354065beSKishon Vijay Abraham I		cdns,num-lanes = <1>;
681354065beSKishon Vijay Abraham I		#phy-cells = <0>;
682354065beSKishon Vijay Abraham I		cdns,phy-type = <PHY_TYPE_PCIE>;
683354065beSKishon Vijay Abraham I		resets = <&serdes_wiz0 1>;
684354065beSKishon Vijay Abraham I	};
685354065beSKishon Vijay Abraham I};
686354065beSKishon Vijay Abraham I
687354065beSKishon Vijay Abraham I&pcie0_rc {
6883e21ec28SAndrew Davis	status = "okay";
689354065beSKishon Vijay Abraham I	reset-gpios = <&exp1 5 GPIO_ACTIVE_HIGH>;
690354065beSKishon Vijay Abraham I	phys = <&serdes0_pcie_link>;
691354065beSKishon Vijay Abraham I	phy-names = "pcie-phy";
692354065beSKishon Vijay Abraham I	num-lanes = <1>;
693354065beSKishon Vijay Abraham I};
694354065beSKishon Vijay Abraham I
695354065beSKishon Vijay Abraham I&pcie0_ep {
696354065beSKishon Vijay Abraham I	phys = <&serdes0_pcie_link>;
697354065beSKishon Vijay Abraham I	phy-names = "pcie-phy";
698354065beSKishon Vijay Abraham I	num-lanes = <1>;
699354065beSKishon Vijay Abraham I};
7008032affdSLokesh Vutla
7018032affdSLokesh Vutla&ecap0 {
702dcac8eaaSAndrew Davis	status = "okay";
7038032affdSLokesh Vutla	/* PWM is available on Pin 1 of header J12 */
7048032affdSLokesh Vutla	pinctrl-names = "default";
7058032affdSLokesh Vutla	pinctrl-0 = <&main_ecap0_pins_default>;
7068032affdSLokesh Vutla};
7078032affdSLokesh Vutla
7082f474da9SAswath Govindraju&main_mcan0 {
7094a579887SAndrew Davis	status = "okay";
7102f474da9SAswath Govindraju	pinctrl-names = "default";
7112f474da9SAswath Govindraju	pinctrl-0 = <&main_mcan0_pins_default>;
7122f474da9SAswath Govindraju	phys = <&transceiver1>;
7132f474da9SAswath Govindraju};
7142f474da9SAswath Govindraju
7152f474da9SAswath Govindraju&main_mcan1 {
7164a579887SAndrew Davis	status = "okay";
7172f474da9SAswath Govindraju	pinctrl-names = "default";
7182f474da9SAswath Govindraju	pinctrl-0 = <&main_mcan1_pins_default>;
7192f474da9SAswath Govindraju	phys = <&transceiver2>;
7202f474da9SAswath Govindraju};
721