xref: /linux/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
120f8173aSNishanth Menon// SPDX-License-Identifier: GPL-2.0-only OR MIT
2935c4047SBryan Brattlof/*
3935c4047SBryan Brattlof * Device Tree file for the AM62P5-SK
420f8173aSNishanth Menon * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/
5935c4047SBryan Brattlof *
6935c4047SBryan Brattlof * Schematics: https://www.ti.com/lit/zip/sprr487
7935c4047SBryan Brattlof */
8935c4047SBryan Brattlof
9935c4047SBryan Brattlof/dts-v1/;
10935c4047SBryan Brattlof
11c00504eaSVignesh Raghavendra#include <dt-bindings/leds/common.h>
12c00504eaSVignesh Raghavendra#include <dt-bindings/gpio/gpio.h>
13c00504eaSVignesh Raghavendra#include <dt-bindings/net/ti-dp83867.h>
14935c4047SBryan Brattlof#include "k3-am62p5.dtsi"
15935c4047SBryan Brattlof
16935c4047SBryan Brattlof/ {
17935c4047SBryan Brattlof	compatible = "ti,am62p5-sk", "ti,am62p5";
18935c4047SBryan Brattlof	model = "Texas Instruments AM62P5 SK";
19935c4047SBryan Brattlof
20935c4047SBryan Brattlof	aliases {
21935c4047SBryan Brattlof		serial0 = &wkup_uart0;
22935c4047SBryan Brattlof		serial2 = &main_uart0;
23935c4047SBryan Brattlof		serial3 = &main_uart1;
24c00504eaSVignesh Raghavendra		mmc0 = &sdhci0;
25c00504eaSVignesh Raghavendra		mmc1 = &sdhci1;
26c00504eaSVignesh Raghavendra		mmc2 = &sdhci2;
27c00504eaSVignesh Raghavendra		spi0 = &ospi0;
28c00504eaSVignesh Raghavendra		ethernet0 = &cpsw_port1;
29c00504eaSVignesh Raghavendra		ethernet1 = &cpsw_port2;
30c1453d3cSRoger Quadros		usb0 = &usb0;
31c1453d3cSRoger Quadros		usb1 = &usb1;
32935c4047SBryan Brattlof	};
33935c4047SBryan Brattlof
34935c4047SBryan Brattlof	chosen {
35935c4047SBryan Brattlof		stdout-path = &main_uart0;
36935c4047SBryan Brattlof	};
37935c4047SBryan Brattlof
38935c4047SBryan Brattlof	memory@80000000 {
39935c4047SBryan Brattlof		/* 8G RAM */
40935c4047SBryan Brattlof		reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
41935c4047SBryan Brattlof		      <0x00000008 0x80000000 0x00000001 0x80000000>;
42935c4047SBryan Brattlof		device_type = "memory";
43c00504eaSVignesh Raghavendra		bootph-pre-ram;
44935c4047SBryan Brattlof	};
45935c4047SBryan Brattlof
46935c4047SBryan Brattlof	reserved-memory {
47935c4047SBryan Brattlof		#address-cells = <2>;
48935c4047SBryan Brattlof		#size-cells = <2>;
49935c4047SBryan Brattlof		ranges;
50935c4047SBryan Brattlof
51935c4047SBryan Brattlof		secure_tfa_ddr: tfa@9e780000 {
52935c4047SBryan Brattlof			reg = <0x00 0x9e780000 0x00 0x80000>;
53935c4047SBryan Brattlof			no-map;
54935c4047SBryan Brattlof		};
55935c4047SBryan Brattlof
56935c4047SBryan Brattlof		secure_ddr: optee@9e800000 {
57935c4047SBryan Brattlof			reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */
58935c4047SBryan Brattlof			no-map;
59935c4047SBryan Brattlof		};
60935c4047SBryan Brattlof
61935c4047SBryan Brattlof		wkup_r5fss0_core0_memory_region: r5f-dma-memory@9c900000 {
62935c4047SBryan Brattlof			compatible = "shared-dma-pool";
63935c4047SBryan Brattlof			reg = <0x00 0x9c900000 0x00 0x01e00000>;
64935c4047SBryan Brattlof			no-map;
65935c4047SBryan Brattlof		};
66935c4047SBryan Brattlof	};
67c00504eaSVignesh Raghavendra
68c00504eaSVignesh Raghavendra	vmain_pd: regulator-0 {
69c00504eaSVignesh Raghavendra		/* TPS65988 PD CONTROLLER OUTPUT */
70c00504eaSVignesh Raghavendra		compatible = "regulator-fixed";
71c00504eaSVignesh Raghavendra		regulator-name = "vmain_pd";
72c00504eaSVignesh Raghavendra		regulator-min-microvolt = <5000000>;
73c00504eaSVignesh Raghavendra		regulator-max-microvolt = <5000000>;
74c00504eaSVignesh Raghavendra		regulator-always-on;
75c00504eaSVignesh Raghavendra		regulator-boot-on;
76c00504eaSVignesh Raghavendra		bootph-all;
77c00504eaSVignesh Raghavendra	};
78c00504eaSVignesh Raghavendra
79c00504eaSVignesh Raghavendra	vcc_5v0: regulator-1 {
80c00504eaSVignesh Raghavendra		/* Output of TPS630702RNMR */
81c00504eaSVignesh Raghavendra		compatible = "regulator-fixed";
82c00504eaSVignesh Raghavendra		regulator-name = "vcc_5v0";
83c00504eaSVignesh Raghavendra		regulator-min-microvolt = <5000000>;
84c00504eaSVignesh Raghavendra		regulator-max-microvolt = <5000000>;
85c00504eaSVignesh Raghavendra		vin-supply = <&vmain_pd>;
86c00504eaSVignesh Raghavendra		regulator-always-on;
87c00504eaSVignesh Raghavendra		regulator-boot-on;
88c00504eaSVignesh Raghavendra		bootph-all;
89c00504eaSVignesh Raghavendra	};
90c00504eaSVignesh Raghavendra
91c00504eaSVignesh Raghavendra	vdd_mmc1: regulator-2 {
92c00504eaSVignesh Raghavendra		/* TPS22918DBVR */
93c00504eaSVignesh Raghavendra		compatible = "regulator-fixed";
94c00504eaSVignesh Raghavendra		regulator-name = "vdd_mmc1";
95c00504eaSVignesh Raghavendra		regulator-min-microvolt = <3300000>;
96c00504eaSVignesh Raghavendra		regulator-max-microvolt = <3300000>;
97c00504eaSVignesh Raghavendra		regulator-boot-on;
98c00504eaSVignesh Raghavendra		enable-active-high;
99c00504eaSVignesh Raghavendra		gpio = <&exp1 3 GPIO_ACTIVE_HIGH>;
100c00504eaSVignesh Raghavendra		bootph-all;
101c00504eaSVignesh Raghavendra	};
102c00504eaSVignesh Raghavendra
103c00504eaSVignesh Raghavendra	vddshv_sdio: regulator-3 {
104c00504eaSVignesh Raghavendra		compatible = "regulator-gpio";
105c00504eaSVignesh Raghavendra		regulator-name = "vddshv_sdio";
106c00504eaSVignesh Raghavendra		pinctrl-names = "default";
107c00504eaSVignesh Raghavendra		pinctrl-0 = <&vddshv_sdio_pins_default>;
108c00504eaSVignesh Raghavendra		regulator-min-microvolt = <1800000>;
109c00504eaSVignesh Raghavendra		regulator-max-microvolt = <3300000>;
110c00504eaSVignesh Raghavendra		regulator-boot-on;
111c00504eaSVignesh Raghavendra		gpios = <&main_gpio0 31 GPIO_ACTIVE_HIGH>;
112c00504eaSVignesh Raghavendra		states = <1800000 0x0>,
113c00504eaSVignesh Raghavendra			 <3300000 0x1>;
114c00504eaSVignesh Raghavendra		bootph-all;
115c00504eaSVignesh Raghavendra	};
116c00504eaSVignesh Raghavendra
117c00504eaSVignesh Raghavendra	leds {
118c00504eaSVignesh Raghavendra		compatible = "gpio-leds";
119c00504eaSVignesh Raghavendra		pinctrl-names = "default";
120c00504eaSVignesh Raghavendra		pinctrl-0 = <&usr_led_pins_default>;
121c00504eaSVignesh Raghavendra
122c00504eaSVignesh Raghavendra		led-0 {
123c00504eaSVignesh Raghavendra			label = "am62-sk:green:heartbeat";
124c00504eaSVignesh Raghavendra			gpios = <&main_gpio1 49 GPIO_ACTIVE_HIGH>;
125c00504eaSVignesh Raghavendra			linux,default-trigger = "heartbeat";
126c00504eaSVignesh Raghavendra			function = LED_FUNCTION_HEARTBEAT;
127c00504eaSVignesh Raghavendra			default-state = "off";
128c00504eaSVignesh Raghavendra		};
129c00504eaSVignesh Raghavendra	};
130c00504eaSVignesh Raghavendra
131c00504eaSVignesh Raghavendra	tlv320_mclk: clk-0 {
132c00504eaSVignesh Raghavendra		#clock-cells = <0>;
133c00504eaSVignesh Raghavendra		compatible = "fixed-clock";
134c00504eaSVignesh Raghavendra		clock-frequency = <12288000>;
135c00504eaSVignesh Raghavendra	};
136c00504eaSVignesh Raghavendra
137c00504eaSVignesh Raghavendra	codec_audio: sound {
138c00504eaSVignesh Raghavendra		compatible = "simple-audio-card";
139c00504eaSVignesh Raghavendra		simple-audio-card,name = "AM62x-SKEVM";
140c00504eaSVignesh Raghavendra		simple-audio-card,widgets =
141c00504eaSVignesh Raghavendra			"Headphone",	"Headphone Jack",
142c00504eaSVignesh Raghavendra			"Line",		"Line In",
143c00504eaSVignesh Raghavendra			"Microphone",	"Microphone Jack";
144c00504eaSVignesh Raghavendra		simple-audio-card,routing =
145c00504eaSVignesh Raghavendra			"Headphone Jack",	"HPLOUT",
146c00504eaSVignesh Raghavendra			"Headphone Jack",	"HPROUT",
147c00504eaSVignesh Raghavendra			"LINE1L",		"Line In",
148c00504eaSVignesh Raghavendra			"LINE1R",		"Line In",
149c00504eaSVignesh Raghavendra			"MIC3R",		"Microphone Jack",
150c00504eaSVignesh Raghavendra			"Microphone Jack",	"Mic Bias";
151c00504eaSVignesh Raghavendra		simple-audio-card,format = "dsp_b";
152c00504eaSVignesh Raghavendra		simple-audio-card,bitclock-master = <&sound_master>;
153c00504eaSVignesh Raghavendra		simple-audio-card,frame-master = <&sound_master>;
154c00504eaSVignesh Raghavendra		simple-audio-card,bitclock-inversion;
155c00504eaSVignesh Raghavendra
156c00504eaSVignesh Raghavendra		simple-audio-card,cpu {
157c00504eaSVignesh Raghavendra			sound-dai = <&mcasp1>;
158c00504eaSVignesh Raghavendra		};
159c00504eaSVignesh Raghavendra
160c00504eaSVignesh Raghavendra		sound_master: simple-audio-card,codec {
161c00504eaSVignesh Raghavendra			sound-dai = <&tlv320aic3106>;
162c00504eaSVignesh Raghavendra			clocks = <&tlv320_mclk>;
163c00504eaSVignesh Raghavendra		};
164c00504eaSVignesh Raghavendra	};
165c00504eaSVignesh Raghavendra};
166c00504eaSVignesh Raghavendra
167c00504eaSVignesh Raghavendra&main_gpio0 {
168c00504eaSVignesh Raghavendra	bootph-all;
169c00504eaSVignesh Raghavendra};
170c00504eaSVignesh Raghavendra
171c00504eaSVignesh Raghavendra&main_gpio1 {
172c00504eaSVignesh Raghavendra	bootph-all;
173935c4047SBryan Brattlof};
174935c4047SBryan Brattlof
175935c4047SBryan Brattlof&main_pmx0 {
176935c4047SBryan Brattlof	bootph-all;
177c00504eaSVignesh Raghavendra
178c00504eaSVignesh Raghavendra	main_i2c0_pins_default: main-i2c0-default-pins {
179935c4047SBryan Brattlof		pinctrl-single,pins = <
180c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x01e0, PIN_INPUT_PULLUP, 0) /* (B25) I2C0_SCL */
181c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x01e4, PIN_INPUT_PULLUP, 0) /* (A24) I2C0_SDA */
182935c4047SBryan Brattlof		>;
183935c4047SBryan Brattlof	};
184935c4047SBryan Brattlof
185c00504eaSVignesh Raghavendra	main_i2c1_pins_default: main-i2c1-default-pins {
186935c4047SBryan Brattlof		pinctrl-single,pins = <
187c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x01e8, PIN_INPUT_PULLUP, 0) /* (C24) I2C1_SCL */
188c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x01ec, PIN_INPUT_PULLUP, 0) /* (B24) I2C1_SDA */
189935c4047SBryan Brattlof		>;
190c00504eaSVignesh Raghavendra		bootph-all;
191c00504eaSVignesh Raghavendra	};
192c00504eaSVignesh Raghavendra
193c00504eaSVignesh Raghavendra	main_i2c2_pins_default: main-i2c2-default-pins {
194c00504eaSVignesh Raghavendra		pinctrl-single,pins = <
195c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x00b0, PIN_INPUT_PULLUP, 1) /* (T22) GPMC0_CSn2.I2C2_SCL */
196c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x00b4, PIN_INPUT_PULLUP, 1) /* (U25) GPMC0_CSn3.I2C2_SDA */
197c00504eaSVignesh Raghavendra		>;
198c00504eaSVignesh Raghavendra	};
199c00504eaSVignesh Raghavendra
200c00504eaSVignesh Raghavendra	main_gpio1_ioexp_intr_pins_default: main-gpio1-ioexp-intr-default-pins {
201c00504eaSVignesh Raghavendra		pinctrl-single,pins = <
202c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x01d4, PIN_INPUT, 7) /* (C22) UART0_RTSn.GPIO1_23 */
203c00504eaSVignesh Raghavendra		>;
204c00504eaSVignesh Raghavendra	};
205c00504eaSVignesh Raghavendra
206c00504eaSVignesh Raghavendra	main_mcasp1_pins_default: main-mcasp1-default-pins {
207c00504eaSVignesh Raghavendra		pinctrl-single,pins = <
208c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0090, PIN_INPUT, 2) /* (U24) GPMC0_BE0n_CLE.MCASP1_ACLKX */
209c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0098, PIN_INPUT, 2) /* (AA24) GPMC0_WAIT0.MCASP1_AFSX */
210e96e36ceSJai Luthra			AM62PX_IOPAD(0x008c, PIN_OUTPUT, 2) /* (T25) GPMC0_WEn.MCASP1_AXR0 */
211c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0084, PIN_INPUT, 2) /* (R25) GPMC0_ADVn_ALE.MCASP1_AXR2 */
212c00504eaSVignesh Raghavendra		>;
213c00504eaSVignesh Raghavendra	};
214c00504eaSVignesh Raghavendra
215c00504eaSVignesh Raghavendra	main_mdio1_pins_default: main-mdio1-default-pins {
216c00504eaSVignesh Raghavendra		pinctrl-single,pins = <
217c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0160, PIN_OUTPUT, 0) /* (F17) MDIO0_MDC */
218c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x015c, PIN_INPUT, 0) /* (F16) MDIO0_MDIO */
219c00504eaSVignesh Raghavendra		>;
220c00504eaSVignesh Raghavendra	};
221c00504eaSVignesh Raghavendra
222c00504eaSVignesh Raghavendra	main_mmc1_pins_default: main-mmc1-default-pins {
223c00504eaSVignesh Raghavendra		pinctrl-single,pins = <
224c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x023c, PIN_INPUT, 0) /* (H20) MMC1_CMD */
225c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0234, PIN_OUTPUT, 0) /* (J24) MMC1_CLK */
226c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0230, PIN_INPUT, 0) /* (H21) MMC1_DAT0 */
227c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x022c, PIN_INPUT_PULLUP, 0) /* (H23) MMC1_DAT1 */
228c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0228, PIN_INPUT_PULLUP, 0) /* (H22) MMC1_DAT2 */
229c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0224, PIN_INPUT_PULLUP, 0) /* (H25) MMC1_DAT3 */
230c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0240, PIN_INPUT, 0) /* (D23) MMC1_SDCD */
231c00504eaSVignesh Raghavendra		>;
232c00504eaSVignesh Raghavendra		bootph-all;
233c00504eaSVignesh Raghavendra	};
234c00504eaSVignesh Raghavendra
235c00504eaSVignesh Raghavendra	main_mmc2_pins_default: main-mmc2-default-pins {
236c00504eaSVignesh Raghavendra		pinctrl-single,pins = <
237c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0120, PIN_INPUT, 0) /* (K24) MMC2_CMD */
238c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0118, PIN_OUTPUT, 0) /* (K21) MMC2_CLK */
239c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x011C, PIN_INPUT, 0) /* () MMC2_CLKLB */
240c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0114, PIN_INPUT, 0) /* (K23) MMC2_DAT0 */
241c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0110, PIN_INPUT_PULLUP, 0) /* (K22) MMC2_DAT1 */
242c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x010c, PIN_INPUT_PULLUP, 0) /* (L20) MMC2_DAT2 */
243c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0108, PIN_INPUT_PULLUP, 0) /* (L21) MMC2_DAT3 */
244c00504eaSVignesh Raghavendra		>;
245c00504eaSVignesh Raghavendra		bootph-all;
246c00504eaSVignesh Raghavendra	};
247c00504eaSVignesh Raghavendra
248c00504eaSVignesh Raghavendra	main_rgmii1_pins_default: main-rgmii1-default-pins {
249c00504eaSVignesh Raghavendra		pinctrl-single,pins = <
250c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x014c, PIN_INPUT, 0) /* (B15) RGMII1_RD0 */
251c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0150, PIN_INPUT, 0) /* (B16) RGMII1_RD1 */
252c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0154, PIN_INPUT, 0) /* (A14) RGMII1_RD2 */
253c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0158, PIN_INPUT, 0) /* (B14) RGMII1_RD3 */
254c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0148, PIN_INPUT, 0) /* (A16) RGMII1_RXC */
255c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0144, PIN_INPUT, 0) /* (A15) RGMII1_RX_CTL */
256c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0134, PIN_INPUT, 0) /* (A18) RGMII1_TD0 */
257c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0138, PIN_INPUT, 0) /* (C17) RGMII1_TD1 */
258c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x013c, PIN_INPUT, 0) /* (A17) RGMII1_TD2 */
259c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0140, PIN_INPUT, 0) /* (C16) RGMII1_TD3 */
260c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0130, PIN_INPUT, 0) /* (B17) RGMII1_TXC */
261c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x012c, PIN_INPUT, 0) /* (B18) RGMII1_TX_CTL */
262c00504eaSVignesh Raghavendra		>;
263c00504eaSVignesh Raghavendra		bootph-all;
264c00504eaSVignesh Raghavendra	};
265c00504eaSVignesh Raghavendra
266c00504eaSVignesh Raghavendra	main_rgmii2_pins_default: main-rgmii2-default-pins {
267c00504eaSVignesh Raghavendra		pinctrl-single,pins = <
268c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0184, PIN_INPUT, 0) /* (E19) RGMII2_RD0 */
269c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0188, PIN_INPUT, 0) /* (E16) RGMII2_RD1 */
270c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x018c, PIN_INPUT, 0) /* (E17) RGMII2_RD2 */
271c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0190, PIN_INPUT, 0) /* (C19) RGMII2_RD3 */
272c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0180, PIN_INPUT, 0) /* (D19) RGMII2_RXC */
273c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x017c, PIN_INPUT, 0) /* (F19) RGMII2_RX_CTL */
274c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x016c, PIN_INPUT, 0) /* (B19) RGMII2_TD0 */
275c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0170, PIN_INPUT, 0) /* (A21) RGMII2_TD1 */
276c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0174, PIN_INPUT, 0) /* (D17) RGMII2_TD2 */
277c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0178, PIN_INPUT, 0) /* (A19) RGMII2_TD3 */
278c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0168, PIN_INPUT, 0) /* (D16) RGMII2_TXC */
279c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0164, PIN_INPUT, 0) /* (A20) RGMII2_TX_CTL */
280c00504eaSVignesh Raghavendra		>;
281c00504eaSVignesh Raghavendra		bootph-all;
282c00504eaSVignesh Raghavendra	};
283c00504eaSVignesh Raghavendra
284c00504eaSVignesh Raghavendra	main_uart0_pins_default: main-uart0-default-pins {
285c00504eaSVignesh Raghavendra		pinctrl-single,pins = <
286c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x1c8, PIN_INPUT, 0)	/* (A22) UART0_RXD */
287c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x1cc, PIN_OUTPUT, 0)	/* (B22) UART0_TXD */
288c00504eaSVignesh Raghavendra		>;
289c00504eaSVignesh Raghavendra		bootph-all;
290c00504eaSVignesh Raghavendra	};
291c00504eaSVignesh Raghavendra
292c00504eaSVignesh Raghavendra	main_uart1_pins_default: main-uart1-default-pins {
293c00504eaSVignesh Raghavendra		pinctrl-single,pins = <
294c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0194, PIN_INPUT, 2) /* (D25) MCASP0_AXR3.UART1_CTSn */
295c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0198, PIN_OUTPUT, 2) /* (E25) MCASP0_AXR2.UART1_RTSn */
296c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x01ac, PIN_INPUT, 2) /* (G23) MCASP0_AFSR.UART1_RXD */
297c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x01b0, PIN_OUTPUT, 2) /* (G20) MCASP0_ACLKR.UART1_TXD */
298c00504eaSVignesh Raghavendra		>;
299c00504eaSVignesh Raghavendra		bootph-all;
300c00504eaSVignesh Raghavendra	};
301c00504eaSVignesh Raghavendra
302c1453d3cSRoger Quadros	main_usb1_pins_default: main-usb1-default-pins {
303c1453d3cSRoger Quadros		pinctrl-single,pins = <
304c1453d3cSRoger Quadros			AM62PX_IOPAD(0x0258, PIN_INPUT, 0) /* (G21) USB1_DRVVBUS */
305c1453d3cSRoger Quadros		>;
306c1453d3cSRoger Quadros	};
307c1453d3cSRoger Quadros
308c00504eaSVignesh Raghavendra	main_wlirq_pins_default: main-wlirq-default-pins {
309c00504eaSVignesh Raghavendra		pinctrl-single,pins = <
310c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0128, PIN_INPUT, 7) /* (K25) MMC2_SDWP.GPIO0_72 */
311c00504eaSVignesh Raghavendra		>;
312c00504eaSVignesh Raghavendra	};
313c00504eaSVignesh Raghavendra
314c00504eaSVignesh Raghavendra	ospi0_pins_default: ospi0-default-pins {
315c00504eaSVignesh Raghavendra		pinctrl-single,pins = <
316c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0000, PIN_OUTPUT, 0) /* (P23) OSPI0_CLK */
317c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x002c, PIN_OUTPUT, 0) /* (M25) OSPI0_CSn0 */
318c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x000c, PIN_INPUT, 0) /* (L25) OSPI0_D0 */
319c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0010, PIN_INPUT, 0) /* (N24) OSPI0_D1 */
320c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0014, PIN_INPUT, 0) /* (N25) OSPI0_D2 */
321c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0018, PIN_INPUT, 0) /* (M24) OSPI0_D3 */
322c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x001c, PIN_INPUT, 0) /* (N21) OSPI0_D4 */
323c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0020, PIN_INPUT, 0) /* (N22) OSPI0_D5 */
324c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0024, PIN_INPUT, 0) /* (P21) OSPI0_D6 */
325c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0028, PIN_INPUT, 0) /* (N20) OSPI0_D7 */
326c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0008, PIN_INPUT, 0) /* (P22) OSPI0_DQS */
327c00504eaSVignesh Raghavendra		>;
328c00504eaSVignesh Raghavendra		bootph-all;
329c00504eaSVignesh Raghavendra	};
330c00504eaSVignesh Raghavendra
331c00504eaSVignesh Raghavendra	usr_led_pins_default: usr-led-default-pins {
332c00504eaSVignesh Raghavendra		pinctrl-single,pins = <
333c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0244, PIN_INPUT, 7) /* (D24) MMC1_SDWP.GPIO1_49 */
334c00504eaSVignesh Raghavendra		>;
335c00504eaSVignesh Raghavendra	};
336c00504eaSVignesh Raghavendra
337c00504eaSVignesh Raghavendra	vddshv_sdio_pins_default: vddshvr-sdio-default-pins {
338c00504eaSVignesh Raghavendra		pinctrl-single,pins = <
339c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x007c, PIN_INPUT, 7) /* (Y25) GPMC0_CLK.GPIO0_31 */
340c00504eaSVignesh Raghavendra		>;
341c00504eaSVignesh Raghavendra		bootph-all;
342c00504eaSVignesh Raghavendra	};
343c00504eaSVignesh Raghavendra
344c00504eaSVignesh Raghavendra	wlan_en_pins_default: wlan-en-default-pins {
345c00504eaSVignesh Raghavendra		pinctrl-single,pins = <
346c00504eaSVignesh Raghavendra			AM62PX_IOPAD(0x0124, PIN_INPUT, 7) /* (J25) MMC2_SDCD.GPIO0_71 */
347c00504eaSVignesh Raghavendra		>;
348c00504eaSVignesh Raghavendra	};
349c00504eaSVignesh Raghavendra};
350c00504eaSVignesh Raghavendra
351c1453d3cSRoger Quadros&main_i2c0 {
352c1453d3cSRoger Quadros	status = "okay";
353c1453d3cSRoger Quadros	pinctrl-names = "default";
354c1453d3cSRoger Quadros	pinctrl-0 = <&main_i2c0_pins_default>;
355c1453d3cSRoger Quadros	clock-frequency = <400000>;
356c1453d3cSRoger Quadros
357c1453d3cSRoger Quadros	typec_pd0: usb-power-controller@3f {
358c1453d3cSRoger Quadros		compatible = "ti,tps6598x";
359c1453d3cSRoger Quadros		reg = <0x3f>;
360c1453d3cSRoger Quadros
361c1453d3cSRoger Quadros		connector {
362c1453d3cSRoger Quadros			compatible = "usb-c-connector";
363c1453d3cSRoger Quadros			label = "USB-C";
364c1453d3cSRoger Quadros			self-powered;
365c1453d3cSRoger Quadros			data-role = "dual";
366c1453d3cSRoger Quadros			power-role = "sink";
367*28a950c4SDhruva Gole			port {
368c1453d3cSRoger Quadros				usb_con_hs: endpoint {
369c1453d3cSRoger Quadros				remote-endpoint = <&usb0_hs_ep>;
370c1453d3cSRoger Quadros				};
371c1453d3cSRoger Quadros			};
372c1453d3cSRoger Quadros		};
373c1453d3cSRoger Quadros	};
374c1453d3cSRoger Quadros};
375c1453d3cSRoger Quadros
376c00504eaSVignesh Raghavendra&main_i2c1 {
377c00504eaSVignesh Raghavendra	status = "okay";
378c00504eaSVignesh Raghavendra	pinctrl-names = "default";
379c00504eaSVignesh Raghavendra	pinctrl-0 = <&main_i2c1_pins_default>;
380c00504eaSVignesh Raghavendra	clock-frequency = <100000>;
381c00504eaSVignesh Raghavendra	bootph-all;
382c00504eaSVignesh Raghavendra
383c00504eaSVignesh Raghavendra	tlv320aic3106: audio-codec@1b {
384c00504eaSVignesh Raghavendra		#sound-dai-cells = <0>;
385c00504eaSVignesh Raghavendra		compatible = "ti,tlv320aic3106";
386c00504eaSVignesh Raghavendra		reg = <0x1b>;
387c00504eaSVignesh Raghavendra		ai3x-micbias-vg = <1>;  /* 2.0V */
388c00504eaSVignesh Raghavendra	};
389c00504eaSVignesh Raghavendra
390c00504eaSVignesh Raghavendra	exp1: gpio@22 {
391c00504eaSVignesh Raghavendra		compatible = "ti,tca6424";
392c00504eaSVignesh Raghavendra		reg = <0x22>;
393c00504eaSVignesh Raghavendra		gpio-controller;
394c00504eaSVignesh Raghavendra		#gpio-cells = <2>;
395c00504eaSVignesh Raghavendra		gpio-line-names = "OLDI_INT#", "x8_NAND_DETECT",
396c00504eaSVignesh Raghavendra				   "UART1_FET_SEL", "MMC1_SD_EN",
397c00504eaSVignesh Raghavendra				   "VPP_EN", "EXP_PS_3V3_EN",
398c00504eaSVignesh Raghavendra				   "UART1_FET_BUF_EN", "EXP_HAT_DETECT",
399c00504eaSVignesh Raghavendra				   "DSI_GPIO0", "DSI_GPIO1",
400c00504eaSVignesh Raghavendra				   "OLDI_EDID", "BT_UART_WAKE_SOC_3V3",
401c00504eaSVignesh Raghavendra				   "USB_TYPEA_OC_INDICATION", "CSI_GPIO0",
402c00504eaSVignesh Raghavendra				   "CSI_GPIO1", "WLAN_ALERTn",
403c00504eaSVignesh Raghavendra				   "HDMI_INTn", "TEST_GPIO2",
404c00504eaSVignesh Raghavendra				   "MCASP1_FET_EN", "MCASP1_BUF_BT_EN",
405c00504eaSVignesh Raghavendra				   "MCASP1_FET_SEL", "DSI_EDID",
406c00504eaSVignesh Raghavendra				   "PD_I2C_IRQ", "IO_EXP_TEST_LED";
407c00504eaSVignesh Raghavendra
408c00504eaSVignesh Raghavendra		interrupt-parent = <&main_gpio1>;
409c00504eaSVignesh Raghavendra		interrupts = <23 IRQ_TYPE_EDGE_FALLING>;
410c00504eaSVignesh Raghavendra		interrupt-controller;
411c00504eaSVignesh Raghavendra		#interrupt-cells = <2>;
412c00504eaSVignesh Raghavendra
413c00504eaSVignesh Raghavendra		pinctrl-names = "default";
414c00504eaSVignesh Raghavendra		pinctrl-0 = <&main_gpio1_ioexp_intr_pins_default>;
415c00504eaSVignesh Raghavendra		bootph-all;
416c00504eaSVignesh Raghavendra	};
417c00504eaSVignesh Raghavendra
418c00504eaSVignesh Raghavendra	exp2: gpio@23 {
419c00504eaSVignesh Raghavendra		compatible = "ti,tca6424";
420c00504eaSVignesh Raghavendra		reg = <0x23>;
421c00504eaSVignesh Raghavendra		gpio-controller;
422c00504eaSVignesh Raghavendra		#gpio-cells = <2>;
423c00504eaSVignesh Raghavendra		gpio-line-names = "BT_EN_SOC", "EXP_PS_5V0_EN",
424c00504eaSVignesh Raghavendra				   "", "",
425c00504eaSVignesh Raghavendra				   "", "",
426c00504eaSVignesh Raghavendra				   "", "",
427c00504eaSVignesh Raghavendra				   "WL_LT_EN", "",
428c00504eaSVignesh Raghavendra				   "TP3", "TP6",
429c00504eaSVignesh Raghavendra				   "TP4", "TP7",
430c00504eaSVignesh Raghavendra				   "TP5", "TP8",
431c00504eaSVignesh Raghavendra				   "SoC_I2C2_MCAN_SEL", "GPIO_HDMI_RSTn",
432c00504eaSVignesh Raghavendra				   "GPIO_CPSW2_RST", "GPIO_CPSW1_RST",
433c00504eaSVignesh Raghavendra				   "GPIO_OLDI_RSTn", "GPIO_AUD_RSTn",
434c00504eaSVignesh Raghavendra				   "GPIO_eMMC_RSTn", "SoC_WLAN_SDIO_RST";
435c00504eaSVignesh Raghavendra	};
436c00504eaSVignesh Raghavendra};
437c00504eaSVignesh Raghavendra
438c00504eaSVignesh Raghavendra&main_i2c2 {
439c00504eaSVignesh Raghavendra	status = "okay";
440c00504eaSVignesh Raghavendra	pinctrl-names = "default";
441c00504eaSVignesh Raghavendra	pinctrl-0 = <&main_i2c2_pins_default>;
442c00504eaSVignesh Raghavendra	clock-frequency = <400000>;
443c00504eaSVignesh Raghavendra};
444c00504eaSVignesh Raghavendra
445c00504eaSVignesh Raghavendra&sdhci0 {
446c00504eaSVignesh Raghavendra	status = "okay";
447c00504eaSVignesh Raghavendra	ti,driver-strength-ohm = <50>;
448c00504eaSVignesh Raghavendra	disable-wp;
4495f0e6ce3SJudith Mendez	bootph-all;
450c00504eaSVignesh Raghavendra};
451c00504eaSVignesh Raghavendra
452c00504eaSVignesh Raghavendra&sdhci1 {
453c00504eaSVignesh Raghavendra	/* SD/MMC */
454c00504eaSVignesh Raghavendra	status = "okay";
455c00504eaSVignesh Raghavendra	vmmc-supply = <&vdd_mmc1>;
456c00504eaSVignesh Raghavendra	vqmmc-supply = <&vddshv_sdio>;
457c00504eaSVignesh Raghavendra	pinctrl-names = "default";
458c00504eaSVignesh Raghavendra	pinctrl-0 = <&main_mmc1_pins_default>;
459c00504eaSVignesh Raghavendra	disable-wp;
460c00504eaSVignesh Raghavendra	bootph-all;
461c00504eaSVignesh Raghavendra};
462c00504eaSVignesh Raghavendra
463c00504eaSVignesh Raghavendra&cpsw3g {
464c00504eaSVignesh Raghavendra	pinctrl-names = "default";
465c00504eaSVignesh Raghavendra	pinctrl-0 = <&main_rgmii1_pins_default>,
466c00504eaSVignesh Raghavendra		    <&main_rgmii2_pins_default>;
467ff369c9eSMichael Walle	status = "okay";
468c00504eaSVignesh Raghavendra};
469c00504eaSVignesh Raghavendra
470c00504eaSVignesh Raghavendra&cpsw_port1 {
471c00504eaSVignesh Raghavendra	phy-mode = "rgmii-rxid";
472c00504eaSVignesh Raghavendra	phy-handle = <&cpsw3g_phy0>;
473ff369c9eSMichael Walle	status = "okay";
474c00504eaSVignesh Raghavendra};
475c00504eaSVignesh Raghavendra
476c00504eaSVignesh Raghavendra&cpsw_port2 {
477c00504eaSVignesh Raghavendra	phy-mode = "rgmii-rxid";
478c00504eaSVignesh Raghavendra	phy-handle = <&cpsw3g_phy1>;
479ff369c9eSMichael Walle	status = "okay";
480c00504eaSVignesh Raghavendra};
481c00504eaSVignesh Raghavendra
482c00504eaSVignesh Raghavendra&cpsw3g_mdio {
4838839a9afSRavi Gunasekaran	pinctrl-names = "default";
4848839a9afSRavi Gunasekaran	pinctrl-0 = <&main_mdio1_pins_default>;
4858839a9afSRavi Gunasekaran	status = "okay";
4868839a9afSRavi Gunasekaran
487c00504eaSVignesh Raghavendra	cpsw3g_phy0: ethernet-phy@0 {
488c00504eaSVignesh Raghavendra		reg = <0>;
489c00504eaSVignesh Raghavendra		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
490c00504eaSVignesh Raghavendra		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
491c00504eaSVignesh Raghavendra		ti,min-output-impedance;
492c00504eaSVignesh Raghavendra	};
493c00504eaSVignesh Raghavendra
494c00504eaSVignesh Raghavendra	cpsw3g_phy1: ethernet-phy@1 {
495c00504eaSVignesh Raghavendra		reg = <1>;
496c00504eaSVignesh Raghavendra		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
497c00504eaSVignesh Raghavendra		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
498c00504eaSVignesh Raghavendra		ti,min-output-impedance;
499c00504eaSVignesh Raghavendra	};
500c00504eaSVignesh Raghavendra};
501c00504eaSVignesh Raghavendra
502c1453d3cSRoger Quadros&usbss0 {
503c1453d3cSRoger Quadros	status = "okay";
504c1453d3cSRoger Quadros	ti,vbus-divider;
505c1453d3cSRoger Quadros};
506c1453d3cSRoger Quadros
507c1453d3cSRoger Quadros&usbss1 {
508c1453d3cSRoger Quadros	status = "okay";
509c1453d3cSRoger Quadros	ti,vbus-divider;
510c1453d3cSRoger Quadros};
511c1453d3cSRoger Quadros
512c1453d3cSRoger Quadros&usb0 {
513c1453d3cSRoger Quadros	usb-role-switch;
514c1453d3cSRoger Quadros
515*28a950c4SDhruva Gole	port {
516c1453d3cSRoger Quadros		usb0_hs_ep: endpoint {
517c1453d3cSRoger Quadros			remote-endpoint = <&usb_con_hs>;
518c1453d3cSRoger Quadros		};
519c1453d3cSRoger Quadros	};
520c1453d3cSRoger Quadros};
521c1453d3cSRoger Quadros
522c1453d3cSRoger Quadros&usb1 {
523c1453d3cSRoger Quadros	dr_mode = "host";
524c1453d3cSRoger Quadros	pinctrl-names = "default";
525c1453d3cSRoger Quadros	pinctrl-0 = <&main_usb1_pins_default>;
526c1453d3cSRoger Quadros};
527c1453d3cSRoger Quadros
528c00504eaSVignesh Raghavendra&mcasp1 {
529c00504eaSVignesh Raghavendra	status = "okay";
530c00504eaSVignesh Raghavendra	#sound-dai-cells = <0>;
531c00504eaSVignesh Raghavendra
532c00504eaSVignesh Raghavendra	pinctrl-names = "default";
533c00504eaSVignesh Raghavendra	pinctrl-0 = <&main_mcasp1_pins_default>;
534c00504eaSVignesh Raghavendra
535c00504eaSVignesh Raghavendra	op-mode = <0>;          /* MCASP_IIS_MODE */
536c00504eaSVignesh Raghavendra	tdm-slots = <2>;
537c00504eaSVignesh Raghavendra
538c00504eaSVignesh Raghavendra	serial-dir = <  /* 0: INACTIVE, 1: TX, 2: RX */
539c00504eaSVignesh Raghavendra	       1 0 2 0
540c00504eaSVignesh Raghavendra	       0 0 0 0
541c00504eaSVignesh Raghavendra	       0 0 0 0
542c00504eaSVignesh Raghavendra	       0 0 0 0
543c00504eaSVignesh Raghavendra	>;
544c00504eaSVignesh Raghavendra};
545c00504eaSVignesh Raghavendra
546c00504eaSVignesh Raghavendra&fss {
547c00504eaSVignesh Raghavendra	bootph-all;
548c00504eaSVignesh Raghavendra};
549c00504eaSVignesh Raghavendra
550c00504eaSVignesh Raghavendra&ospi0 {
551c00504eaSVignesh Raghavendra	status = "okay";
552c00504eaSVignesh Raghavendra	pinctrl-names = "default";
553c00504eaSVignesh Raghavendra	pinctrl-0 = <&ospi0_pins_default>;
554c00504eaSVignesh Raghavendra	bootph-all;
555c00504eaSVignesh Raghavendra
556c00504eaSVignesh Raghavendra	flash@0 {
557c00504eaSVignesh Raghavendra		compatible = "jedec,spi-nor";
558c00504eaSVignesh Raghavendra		reg = <0x0>;
559c00504eaSVignesh Raghavendra		spi-tx-bus-width = <8>;
560c00504eaSVignesh Raghavendra		spi-rx-bus-width = <8>;
561c00504eaSVignesh Raghavendra		spi-max-frequency = <25000000>;
562c00504eaSVignesh Raghavendra		cdns,tshsl-ns = <60>;
563c00504eaSVignesh Raghavendra		cdns,tsd2d-ns = <60>;
564c00504eaSVignesh Raghavendra		cdns,tchsh-ns = <60>;
565c00504eaSVignesh Raghavendra		cdns,tslch-ns = <60>;
566c00504eaSVignesh Raghavendra		cdns,read-delay = <4>;
567c00504eaSVignesh Raghavendra		bootph-all;
568c00504eaSVignesh Raghavendra
569c00504eaSVignesh Raghavendra		partitions {
570c00504eaSVignesh Raghavendra			compatible = "fixed-partitions";
571c00504eaSVignesh Raghavendra			#address-cells = <1>;
572c00504eaSVignesh Raghavendra			#size-cells = <1>;
573c00504eaSVignesh Raghavendra			bootph-all;
574c00504eaSVignesh Raghavendra
575c00504eaSVignesh Raghavendra			partition@0 {
576c00504eaSVignesh Raghavendra				label = "ospi.tiboot3";
577c00504eaSVignesh Raghavendra				reg = <0x00 0x80000>;
578c00504eaSVignesh Raghavendra			};
579c00504eaSVignesh Raghavendra
580c00504eaSVignesh Raghavendra			partition@80000 {
581c00504eaSVignesh Raghavendra				label = "ospi.tispl";
582c00504eaSVignesh Raghavendra				reg = <0x80000 0x200000>;
583c00504eaSVignesh Raghavendra			};
584c00504eaSVignesh Raghavendra
585c00504eaSVignesh Raghavendra			partition@280000 {
586c00504eaSVignesh Raghavendra				label = "ospi.u-boot";
587c00504eaSVignesh Raghavendra				reg = <0x280000 0x400000>;
588c00504eaSVignesh Raghavendra			};
589c00504eaSVignesh Raghavendra
590c00504eaSVignesh Raghavendra			partition@680000 {
591c00504eaSVignesh Raghavendra				label = "ospi.env";
592c00504eaSVignesh Raghavendra				reg = <0x680000 0x40000>;
593c00504eaSVignesh Raghavendra			};
594c00504eaSVignesh Raghavendra
595c00504eaSVignesh Raghavendra			partition@6c0000 {
596c00504eaSVignesh Raghavendra				label = "ospi.env.backup";
597c00504eaSVignesh Raghavendra				reg = <0x6c0000 0x40000>;
598c00504eaSVignesh Raghavendra			};
599c00504eaSVignesh Raghavendra
600c00504eaSVignesh Raghavendra			partition@800000 {
601c00504eaSVignesh Raghavendra				label = "ospi.rootfs";
602c00504eaSVignesh Raghavendra				reg = <0x800000 0x37c0000>;
603c00504eaSVignesh Raghavendra			};
604c00504eaSVignesh Raghavendra
605c00504eaSVignesh Raghavendra			partition@3fc0000 {
606c00504eaSVignesh Raghavendra				label = "ospi.phypattern";
607c00504eaSVignesh Raghavendra				reg = <0x3fc0000 0x40000>;
608c00504eaSVignesh Raghavendra				bootph-all;
609c00504eaSVignesh Raghavendra			};
610c00504eaSVignesh Raghavendra		};
611c00504eaSVignesh Raghavendra	};
612c00504eaSVignesh Raghavendra};
613c00504eaSVignesh Raghavendra
614c00504eaSVignesh Raghavendra&mailbox0_cluster0 {
615c00504eaSVignesh Raghavendra	mbox_r5_0: mbox-r5-0 {
616c00504eaSVignesh Raghavendra		ti,mbox-rx = <0 0 0>;
617c00504eaSVignesh Raghavendra		ti,mbox-tx = <1 0 0>;
618c00504eaSVignesh Raghavendra	};
619c00504eaSVignesh Raghavendra};
620c00504eaSVignesh Raghavendra
621c00504eaSVignesh Raghavendra&mailbox0_cluster1 {
622c00504eaSVignesh Raghavendra	mbox_mcu_r5_0: mbox-mcu-r5-0 {
623c00504eaSVignesh Raghavendra		ti,mbox-rx = <0 0 0>;
624c00504eaSVignesh Raghavendra		ti,mbox-tx = <1 0 0>;
625935c4047SBryan Brattlof	};
626935c4047SBryan Brattlof};
627935c4047SBryan Brattlof
628935c4047SBryan Brattlof&main_uart0 {
629935c4047SBryan Brattlof	pinctrl-names = "default";
630935c4047SBryan Brattlof	pinctrl-0 = <&main_uart0_pins_default>;
631935c4047SBryan Brattlof	status = "okay";
632c00504eaSVignesh Raghavendra	bootph-all;
633935c4047SBryan Brattlof};
634935c4047SBryan Brattlof
635935c4047SBryan Brattlof&main_uart1 {
636935c4047SBryan Brattlof	pinctrl-names = "default";
637935c4047SBryan Brattlof	pinctrl-0 = <&main_uart1_pins_default>;
638935c4047SBryan Brattlof	/* Main UART1 is used by TIFS firmware */
639935c4047SBryan Brattlof	status = "reserved";
640935c4047SBryan Brattlof	bootph-all;
641935c4047SBryan Brattlof};
642935c4047SBryan Brattlof
643935c4047SBryan Brattlof&mcu_pmx0 {
644935c4047SBryan Brattlof	bootph-all;
645c00504eaSVignesh Raghavendra
646935c4047SBryan Brattlof	wkup_uart0_pins_default: wkup-uart0-default-pins {
647935c4047SBryan Brattlof		pinctrl-single,pins = <
648935c4047SBryan Brattlof			AM62PX_MCU_IOPAD(0x024, PIN_INPUT, 0)	/* (D8) WKUP_UART0_RXD */
649935c4047SBryan Brattlof			AM62PX_MCU_IOPAD(0x028, PIN_OUTPUT, 0)	/* (D7) WKUP_UART0_TXD */
650935c4047SBryan Brattlof		>;
651c00504eaSVignesh Raghavendra		bootph-all;
652935c4047SBryan Brattlof	};
653935c4047SBryan Brattlof};
654935c4047SBryan Brattlof
655935c4047SBryan Brattlof&wkup_uart0 {
656935c4047SBryan Brattlof	/* WKUP UART0 is used by DM firmware */
657935c4047SBryan Brattlof	pinctrl-names = "default";
658935c4047SBryan Brattlof	pinctrl-0 = <&wkup_uart0_pins_default>;
659935c4047SBryan Brattlof	status = "reserved";
660c00504eaSVignesh Raghavendra	bootph-all;
661935c4047SBryan Brattlof};
6621b3014a6SVignesh Raghavendra
6631b3014a6SVignesh Raghavendra/* mcu_gpio0 and mcu_gpio_intr are reserved for mcu firmware usage */
6641b3014a6SVignesh Raghavendra&mcu_gpio0 {
6651b3014a6SVignesh Raghavendra	status = "reserved";
6661b3014a6SVignesh Raghavendra};
6671b3014a6SVignesh Raghavendra
6681b3014a6SVignesh Raghavendra&mcu_gpio_intr {
6691b3014a6SVignesh Raghavendra	status = "reserved";
6701b3014a6SVignesh Raghavendra};
671