xref: /openbmc/linux/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi (revision 76194aba0c30b1ee25067b34235141443bd078fb)
1a8415814SAnand Gadiyar// SPDX-License-Identifier: GPL-2.0
2a8415814SAnand Gadiyar/*
3a8415814SAnand Gadiyar * Common dtsi for AM62x SK and derivatives
4a8415814SAnand Gadiyar *
5a8415814SAnand Gadiyar * Copyright (C) 2021-2023 Texas Instruments Incorporated - https://www.ti.com/
6a8415814SAnand Gadiyar */
7a8415814SAnand Gadiyar
8a8415814SAnand Gadiyar#include <dt-bindings/leds/common.h>
9a8415814SAnand Gadiyar#include <dt-bindings/gpio/gpio.h>
10a8415814SAnand Gadiyar#include <dt-bindings/net/ti-dp83867.h>
11a8415814SAnand Gadiyar#include "k3-am625.dtsi"
12a8415814SAnand Gadiyar
13a8415814SAnand Gadiyar/ {
14a8415814SAnand Gadiyar	aliases {
15a8415814SAnand Gadiyar		serial2 = &main_uart0;
16a8415814SAnand Gadiyar		mmc0 = &sdhci0;
17a8415814SAnand Gadiyar		mmc1 = &sdhci1;
18a8415814SAnand Gadiyar		mmc2 = &sdhci2;
19a8415814SAnand Gadiyar		spi0 = &ospi0;
20a8415814SAnand Gadiyar		ethernet0 = &cpsw_port1;
21a8415814SAnand Gadiyar		ethernet1 = &cpsw_port2;
22a8415814SAnand Gadiyar		usb0 = &usb0;
23a8415814SAnand Gadiyar		usb1 = &usb1;
24a8415814SAnand Gadiyar	};
25a8415814SAnand Gadiyar
26a8415814SAnand Gadiyar	chosen {
27a8415814SAnand Gadiyar		stdout-path = "serial2:115200n8";
28a8415814SAnand Gadiyar	};
29a8415814SAnand Gadiyar
30a8415814SAnand Gadiyar	memory@80000000 {
31a8415814SAnand Gadiyar		device_type = "memory";
32a8415814SAnand Gadiyar		/* 2G RAM */
33a8415814SAnand Gadiyar		reg = <0x00000000 0x80000000 0x00000000 0x80000000>;
34a8415814SAnand Gadiyar	};
35a8415814SAnand Gadiyar
36a8415814SAnand Gadiyar	reserved-memory {
37a8415814SAnand Gadiyar		#address-cells = <2>;
38a8415814SAnand Gadiyar		#size-cells = <2>;
39a8415814SAnand Gadiyar		ranges;
40a8415814SAnand Gadiyar
41a8415814SAnand Gadiyar		ramoops@9ca00000 {
42a8415814SAnand Gadiyar			compatible = "ramoops";
43a8415814SAnand Gadiyar			reg = <0x00 0x9ca00000 0x00 0x00100000>;
44a8415814SAnand Gadiyar			record-size = <0x8000>;
45a8415814SAnand Gadiyar			console-size = <0x8000>;
46a8415814SAnand Gadiyar			ftrace-size = <0x00>;
47a8415814SAnand Gadiyar			pmsg-size = <0x8000>;
48a8415814SAnand Gadiyar		};
49a8415814SAnand Gadiyar
50a8415814SAnand Gadiyar		secure_tfa_ddr: tfa@9e780000 {
51a8415814SAnand Gadiyar			reg = <0x00 0x9e780000 0x00 0x80000>;
52a8415814SAnand Gadiyar			alignment = <0x1000>;
53a8415814SAnand Gadiyar			no-map;
54a8415814SAnand Gadiyar		};
55a8415814SAnand Gadiyar
56a8415814SAnand Gadiyar		secure_ddr: optee@9e800000 {
57a8415814SAnand Gadiyar			reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */
58a8415814SAnand Gadiyar			alignment = <0x1000>;
59a8415814SAnand Gadiyar			no-map;
60a8415814SAnand Gadiyar		};
61a8415814SAnand Gadiyar
62a8415814SAnand Gadiyar		wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9db00000 {
63a8415814SAnand Gadiyar			compatible = "shared-dma-pool";
64a8415814SAnand Gadiyar			reg = <0x00 0x9db00000 0x00 0xc00000>;
65a8415814SAnand Gadiyar			no-map;
66a8415814SAnand Gadiyar		};
67a8415814SAnand Gadiyar	};
68a8415814SAnand Gadiyar
69a8415814SAnand Gadiyar	leds {
70a8415814SAnand Gadiyar		compatible = "gpio-leds";
71a8415814SAnand Gadiyar		pinctrl-names = "default";
72a8415814SAnand Gadiyar		pinctrl-0 = <&usr_led_pins_default>;
73a8415814SAnand Gadiyar
74a8415814SAnand Gadiyar		led-0 {
75a8415814SAnand Gadiyar			label = "am62-sk:green:heartbeat";
76a8415814SAnand Gadiyar			gpios = <&main_gpio1 49 GPIO_ACTIVE_HIGH>;
77a8415814SAnand Gadiyar			linux,default-trigger = "heartbeat";
78a8415814SAnand Gadiyar			function = LED_FUNCTION_HEARTBEAT;
79a8415814SAnand Gadiyar			default-state = "off";
80a8415814SAnand Gadiyar		};
81a8415814SAnand Gadiyar	};
82b94b4371SJai Luthra
83b94b4371SJai Luthra	tlv320_mclk: clk-0 {
84b94b4371SJai Luthra		#clock-cells = <0>;
85b94b4371SJai Luthra		compatible = "fixed-clock";
86b94b4371SJai Luthra		clock-frequency = <12288000>;
87b94b4371SJai Luthra	};
88b94b4371SJai Luthra
89b94b4371SJai Luthra	codec_audio: sound {
90b94b4371SJai Luthra		compatible = "simple-audio-card";
91b94b4371SJai Luthra		simple-audio-card,name = "AM62x-SKEVM";
92b94b4371SJai Luthra		simple-audio-card,widgets =
93b94b4371SJai Luthra			"Headphone",	"Headphone Jack",
94b94b4371SJai Luthra			"Line",		"Line In",
95b94b4371SJai Luthra			"Microphone",	"Microphone Jack";
96b94b4371SJai Luthra		simple-audio-card,routing =
97b94b4371SJai Luthra			"Headphone Jack",	"HPLOUT",
98b94b4371SJai Luthra			"Headphone Jack",	"HPROUT",
99b94b4371SJai Luthra			"LINE1L",		"Line In",
100b94b4371SJai Luthra			"LINE1R",		"Line In",
101b94b4371SJai Luthra			"MIC3R",		"Microphone Jack",
102b94b4371SJai Luthra			"Microphone Jack",	"Mic Bias";
103b94b4371SJai Luthra		simple-audio-card,format = "dsp_b";
104b94b4371SJai Luthra		simple-audio-card,bitclock-master = <&sound_master>;
105b94b4371SJai Luthra		simple-audio-card,frame-master = <&sound_master>;
106b94b4371SJai Luthra		simple-audio-card,bitclock-inversion;
107b94b4371SJai Luthra
108b94b4371SJai Luthra		simple-audio-card,cpu {
109b94b4371SJai Luthra			sound-dai = <&mcasp1>;
110b94b4371SJai Luthra		};
111b94b4371SJai Luthra
112b94b4371SJai Luthra		sound_master: simple-audio-card,codec {
113b94b4371SJai Luthra			sound-dai = <&tlv320aic3106>;
114b94b4371SJai Luthra			clocks = <&tlv320_mclk>;
115b94b4371SJai Luthra		};
116b94b4371SJai Luthra	};
117a8415814SAnand Gadiyar};
118a8415814SAnand Gadiyar
119a8415814SAnand Gadiyar&main_pmx0 {
120a8415814SAnand Gadiyar	/* First pad number is ALW package and second is AMC package */
121a8415814SAnand Gadiyar	main_uart0_pins_default: main-uart0-pins-default {
122a8415814SAnand Gadiyar		pinctrl-single,pins = <
123a8415814SAnand Gadiyar			AM62X_IOPAD(0x1c8, PIN_INPUT, 0) /* (D14/A13) UART0_RXD */
124a8415814SAnand Gadiyar			AM62X_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (E14/E11) UART0_TXD */
125a8415814SAnand Gadiyar		>;
126a8415814SAnand Gadiyar	};
127a8415814SAnand Gadiyar
128*76194abaSNishanth Menon	main_uart1_pins_default: main-uart1-pins-default {
129*76194abaSNishanth Menon		pinctrl-single,pins = <
130*76194abaSNishanth Menon			AM62X_IOPAD(0x194, PIN_INPUT, 2) /* (B19/B18) MCASP0_AXR3.UART1_CTSn */
131*76194abaSNishanth Menon			AM62X_IOPAD(0x198, PIN_OUTPUT, 2) /* (A19/B17) MCASP0_AXR2.UART1_RTSn */
132*76194abaSNishanth Menon			AM62X_IOPAD(0x1ac, PIN_INPUT, 2) /* (E19/D15) MCASP0_AFSR.UART1_RXD */
133*76194abaSNishanth Menon			AM62X_IOPAD(0x1b0, PIN_OUTPUT, 2) /* (A20/D16) MCASP0_ACLKR.UART1_TXD */
134*76194abaSNishanth Menon		>;
135*76194abaSNishanth Menon	};
136*76194abaSNishanth Menon
137a8415814SAnand Gadiyar	main_i2c0_pins_default: main-i2c0-pins-default {
138a8415814SAnand Gadiyar		pinctrl-single,pins = <
139a8415814SAnand Gadiyar			AM62X_IOPAD(0x1e0, PIN_INPUT_PULLUP, 0) /* (B16/E12) I2C0_SCL */
140a8415814SAnand Gadiyar			AM62X_IOPAD(0x1e4, PIN_INPUT_PULLUP, 0) /* (A16/D14) I2C0_SDA */
141a8415814SAnand Gadiyar		>;
142a8415814SAnand Gadiyar	};
143a8415814SAnand Gadiyar
144a8415814SAnand Gadiyar	main_i2c1_pins_default: main-i2c1-pins-default {
145a8415814SAnand Gadiyar		pinctrl-single,pins = <
146a8415814SAnand Gadiyar			AM62X_IOPAD(0x1e8, PIN_INPUT_PULLUP, 0) /* (B17/A17) I2C1_SCL */
147a8415814SAnand Gadiyar			AM62X_IOPAD(0x1ec, PIN_INPUT_PULLUP, 0) /* (A17/A16) I2C1_SDA */
148a8415814SAnand Gadiyar		>;
149a8415814SAnand Gadiyar	};
150a8415814SAnand Gadiyar
151a8415814SAnand Gadiyar	main_i2c2_pins_default: main-i2c2-pins-default {
152a8415814SAnand Gadiyar		pinctrl-single,pins = <
153a8415814SAnand Gadiyar			AM62X_IOPAD(0x0b0, PIN_INPUT_PULLUP, 1) /* (K22/H18) GPMC0_CSn2.I2C2_SCL */
154a8415814SAnand Gadiyar			AM62X_IOPAD(0x0b4, PIN_INPUT_PULLUP, 1) /* (K24/H19) GPMC0_CSn3.I2C2_SDA */
155a8415814SAnand Gadiyar		>;
156a8415814SAnand Gadiyar	};
157a8415814SAnand Gadiyar
158a8415814SAnand Gadiyar	main_mmc0_pins_default: main-mmc0-pins-default {
159a8415814SAnand Gadiyar		pinctrl-single,pins = <
160a8415814SAnand Gadiyar			AM62X_IOPAD(0x220, PIN_INPUT, 0) /* (Y3/V3) MMC0_CMD */
161a8415814SAnand Gadiyar			AM62X_IOPAD(0x218, PIN_INPUT, 0) /* (AB1/Y1) MMC0_CLK */
162a8415814SAnand Gadiyar			AM62X_IOPAD(0x214, PIN_INPUT, 0) /* (AA2/V2) MMC0_DAT0 */
163a8415814SAnand Gadiyar			AM62X_IOPAD(0x210, PIN_INPUT, 0) /* (AA1/V1) MMC0_DAT1 */
164a8415814SAnand Gadiyar			AM62X_IOPAD(0x20c, PIN_INPUT, 0) /* (AA3/W2) MMC0_DAT2 */
165a8415814SAnand Gadiyar			AM62X_IOPAD(0x208, PIN_INPUT, 0) /* (Y4/W1) MMC0_DAT3 */
166a8415814SAnand Gadiyar			AM62X_IOPAD(0x204, PIN_INPUT, 0) /* (AB2/Y2) MMC0_DAT4 */
167a8415814SAnand Gadiyar			AM62X_IOPAD(0x200, PIN_INPUT, 0) /* (AC1/W3) MMC0_DAT5 */
168a8415814SAnand Gadiyar			AM62X_IOPAD(0x1fc, PIN_INPUT, 0) /* (AD2/W4) MMC0_DAT6 */
169a8415814SAnand Gadiyar			AM62X_IOPAD(0x1f8, PIN_INPUT, 0) /* (AC2/V4) MMC0_DAT7 */
170a8415814SAnand Gadiyar		>;
171a8415814SAnand Gadiyar	};
172a8415814SAnand Gadiyar
173a8415814SAnand Gadiyar	main_mmc1_pins_default: main-mmc1-pins-default {
174a8415814SAnand Gadiyar		pinctrl-single,pins = <
175a8415814SAnand Gadiyar			AM62X_IOPAD(0x23c, PIN_INPUT, 0) /* (A21/C18) MMC1_CMD */
176a8415814SAnand Gadiyar			AM62X_IOPAD(0x234, PIN_INPUT, 0) /* (B22/A20) MMC1_CLK */
177a8415814SAnand Gadiyar			AM62X_IOPAD(0x230, PIN_INPUT, 0) /* (A22/A19) MMC1_DAT0 */
178a8415814SAnand Gadiyar			AM62X_IOPAD(0x22c, PIN_INPUT, 0) /* (B21/B19) MMC1_DAT1 */
179a8415814SAnand Gadiyar			AM62X_IOPAD(0x228, PIN_INPUT, 0) /* (C21/B20) MMC1_DAT2 */
180a8415814SAnand Gadiyar			AM62X_IOPAD(0x224, PIN_INPUT, 0) /* (D22/C19) MMC1_DAT3 */
181a8415814SAnand Gadiyar			AM62X_IOPAD(0x240, PIN_INPUT, 0) /* (D17/C15) MMC1_SDCD */
182a8415814SAnand Gadiyar		>;
183a8415814SAnand Gadiyar	};
184a8415814SAnand Gadiyar
185a8415814SAnand Gadiyar	usr_led_pins_default: usr-led-pins-default {
186a8415814SAnand Gadiyar		pinctrl-single,pins = <
187a8415814SAnand Gadiyar			AM62X_IOPAD(0x244, PIN_OUTPUT, 7) /* (C17/B15) MMC1_SDWP.GPIO1_49 */
188a8415814SAnand Gadiyar		>;
189a8415814SAnand Gadiyar	};
190a8415814SAnand Gadiyar
191a8415814SAnand Gadiyar	main_mdio1_pins_default: main-mdio1-pins-default {
192a8415814SAnand Gadiyar		pinctrl-single,pins = <
193a8415814SAnand Gadiyar			AM62X_IOPAD(0x160, PIN_OUTPUT, 0) /* (AD24/V17) MDIO0_MDC */
194a8415814SAnand Gadiyar			AM62X_IOPAD(0x15c, PIN_INPUT, 0) /* (AB22/U16) MDIO0_MDIO */
195a8415814SAnand Gadiyar		>;
196a8415814SAnand Gadiyar	};
197a8415814SAnand Gadiyar
198a8415814SAnand Gadiyar	main_rgmii1_pins_default: main-rgmii1-pins-default {
199a8415814SAnand Gadiyar		pinctrl-single,pins = <
200a8415814SAnand Gadiyar			AM62X_IOPAD(0x14c, PIN_INPUT, 0) /* (AB17/W15) RGMII1_RD0 */
201a8415814SAnand Gadiyar			AM62X_IOPAD(0x150, PIN_INPUT, 0) /* (AC17/Y16) RGMII1_RD1 */
202a8415814SAnand Gadiyar			AM62X_IOPAD(0x154, PIN_INPUT, 0) /* (AB16/AA17) RGMII1_RD2 */
203a8415814SAnand Gadiyar			AM62X_IOPAD(0x158, PIN_INPUT, 0) /* (AA15/Y15) RGMII1_RD3 */
204a8415814SAnand Gadiyar			AM62X_IOPAD(0x148, PIN_INPUT, 0) /* (AD17/AA16) RGMII1_RXC */
205a8415814SAnand Gadiyar			AM62X_IOPAD(0x144, PIN_INPUT, 0) /* (AE17/W14) RGMII1_RX_CTL */
206a8415814SAnand Gadiyar			AM62X_IOPAD(0x134, PIN_OUTPUT, 0) /* (AE20/U14) RGMII1_TD0 */
207a8415814SAnand Gadiyar			AM62X_IOPAD(0x138, PIN_OUTPUT, 0) /* (AD20/AA19) RGMII1_TD1 */
208a8415814SAnand Gadiyar			AM62X_IOPAD(0x13c, PIN_OUTPUT, 0) /* (AE18/Y17) RGMII1_TD2 */
209a8415814SAnand Gadiyar			AM62X_IOPAD(0x140, PIN_OUTPUT, 0) /* (AD18/AA18) RGMII1_TD3 */
210a8415814SAnand Gadiyar			AM62X_IOPAD(0x130, PIN_OUTPUT, 0) /* (AE19/W16) RGMII1_TXC */
211a8415814SAnand Gadiyar			AM62X_IOPAD(0x12c, PIN_OUTPUT, 0) /* (AD19/V15) RGMII1_TX_CTL */
212a8415814SAnand Gadiyar		>;
213a8415814SAnand Gadiyar	};
214a8415814SAnand Gadiyar
215a8415814SAnand Gadiyar	main_usb1_pins_default: main-usb1-pins-default {
216a8415814SAnand Gadiyar		pinctrl-single,pins = <
217a8415814SAnand Gadiyar			AM62X_IOPAD(0x0258, PIN_OUTPUT, 0) /* (F18/E16) USB1_DRVVBUS */
218a8415814SAnand Gadiyar		>;
219a8415814SAnand Gadiyar	};
220b94b4371SJai Luthra
221b94b4371SJai Luthra	main_mcasp1_pins_default: main-mcasp1-pins-default {
222b94b4371SJai Luthra		pinctrl-single,pins = <
223b94b4371SJai Luthra			AM62X_IOPAD(0x090, PIN_INPUT, 2) /* (M24) GPMC0_BE0N_CLE.MCASP1_ACLKX */
224b94b4371SJai Luthra			AM62X_IOPAD(0x098, PIN_INPUT, 2) /* (U23) GPMC0_WAIT0.MCASP1_AFSX */
225b94b4371SJai Luthra			AM62X_IOPAD(0x08c, PIN_OUTPUT, 2) /* (L25) GPMC0_WEN.MCASP1_AXR0 */
226b94b4371SJai Luthra			AM62X_IOPAD(0x084, PIN_INPUT, 2) /* (L23) GPMC0_ADVN_ALE.MCASP1_AXR2 */
227b94b4371SJai Luthra		>;
228b94b4371SJai Luthra	};
229a8415814SAnand Gadiyar};
230a8415814SAnand Gadiyar
231*76194abaSNishanth Menon&mcu_pmx0 {
232*76194abaSNishanth Menon	wkup_uart0_pins_default: wkup-uart0-pins-default {
233*76194abaSNishanth Menon		pinctrl-single,pins = <
234*76194abaSNishanth Menon			AM62X_MCU_IOPAD(0x02c, PIN_INPUT, 0) /* (C6/A7) WKUP_UART0_CTSn */
235*76194abaSNishanth Menon			AM62X_MCU_IOPAD(0x030, PIN_OUTPUT, 0) /* (A4/B4) WKUP_UART0_RTSn */
236*76194abaSNishanth Menon			AM62X_MCU_IOPAD(0x024, PIN_INPUT, 0) /* (B4/B5) WKUP_UART0_RXD */
237*76194abaSNishanth Menon			AM62X_MCU_IOPAD(0x028, PIN_OUTPUT, 0) /* (C5/C6) WKUP_UART0_TXD */
238*76194abaSNishanth Menon		>;
239*76194abaSNishanth Menon	};
240*76194abaSNishanth Menon};
241*76194abaSNishanth Menon
242a8415814SAnand Gadiyar&wkup_uart0 {
243a8415814SAnand Gadiyar	/* WKUP UART0 is used by DM firmware */
244a8415814SAnand Gadiyar	status = "reserved";
245*76194abaSNishanth Menon	pinctrl-names = "default";
246*76194abaSNishanth Menon	pinctrl-0 = <&wkup_uart0_pins_default>;
247a8415814SAnand Gadiyar};
248a8415814SAnand Gadiyar
249a8415814SAnand Gadiyar&main_uart0 {
250a8415814SAnand Gadiyar	status = "okay";
251a8415814SAnand Gadiyar	pinctrl-names = "default";
252a8415814SAnand Gadiyar	pinctrl-0 = <&main_uart0_pins_default>;
253a8415814SAnand Gadiyar};
254a8415814SAnand Gadiyar
255a8415814SAnand Gadiyar&main_uart1 {
256a8415814SAnand Gadiyar	/* Main UART1 is used by TIFS firmware */
257a8415814SAnand Gadiyar	status = "reserved";
258*76194abaSNishanth Menon	pinctrl-names = "default";
259*76194abaSNishanth Menon	pinctrl-0 = <&main_uart1_pins_default>;
260a8415814SAnand Gadiyar};
261a8415814SAnand Gadiyar
262a8415814SAnand Gadiyar&main_i2c0 {
263a8415814SAnand Gadiyar	status = "okay";
264a8415814SAnand Gadiyar	pinctrl-names = "default";
265a8415814SAnand Gadiyar	pinctrl-0 = <&main_i2c0_pins_default>;
266a8415814SAnand Gadiyar	clock-frequency = <400000>;
2672c213d19SRoger Quadros
2682c213d19SRoger Quadros	typec_pd0: tps6598x@3f {
2692c213d19SRoger Quadros		compatible = "ti,tps6598x";
2702c213d19SRoger Quadros		reg = <0x3f>;
2712c213d19SRoger Quadros
2722c213d19SRoger Quadros		connector {
2732c213d19SRoger Quadros			compatible = "usb-c-connector";
2742c213d19SRoger Quadros			label = "USB-C";
2752c213d19SRoger Quadros			self-powered;
2762c213d19SRoger Quadros			data-role = "dual";
2772c213d19SRoger Quadros			power-role = "sink";
2782c213d19SRoger Quadros			ports {
2792c213d19SRoger Quadros				#address-cells = <1>;
2802c213d19SRoger Quadros				#size-cells = <0>;
2812c213d19SRoger Quadros
2822c213d19SRoger Quadros				port@0 {
2832c213d19SRoger Quadros					reg = <0>;
2842c213d19SRoger Quadros					usb_con_hs: endpoint {
2852c213d19SRoger Quadros						remote-endpoint = <&usb0_hs_ep>;
2862c213d19SRoger Quadros					};
2872c213d19SRoger Quadros				};
2882c213d19SRoger Quadros			};
2892c213d19SRoger Quadros		};
2902c213d19SRoger Quadros	};
291a8415814SAnand Gadiyar};
292a8415814SAnand Gadiyar
293a8415814SAnand Gadiyar&main_i2c1 {
294a8415814SAnand Gadiyar	status = "okay";
295a8415814SAnand Gadiyar	pinctrl-names = "default";
296a8415814SAnand Gadiyar	pinctrl-0 = <&main_i2c1_pins_default>;
297a8415814SAnand Gadiyar	clock-frequency = <400000>;
298b94b4371SJai Luthra
299b94b4371SJai Luthra	tlv320aic3106: audio-codec@1b {
300b94b4371SJai Luthra		#sound-dai-cells = <0>;
301b94b4371SJai Luthra		compatible = "ti,tlv320aic3106";
302b94b4371SJai Luthra		reg = <0x1b>;
303b94b4371SJai Luthra		ai3x-micbias-vg = <1>;	/* 2.0V */
304b94b4371SJai Luthra
305b94b4371SJai Luthra		/* Regulators */
306b94b4371SJai Luthra		AVDD-supply = <&vcc_3v3_sys>;
307b94b4371SJai Luthra		IOVDD-supply = <&vcc_3v3_sys>;
308b94b4371SJai Luthra		DRVDD-supply = <&vcc_3v3_sys>;
309b94b4371SJai Luthra	};
310a8415814SAnand Gadiyar};
311a8415814SAnand Gadiyar
312a8415814SAnand Gadiyar&sdhci0 {
313a8415814SAnand Gadiyar	status = "okay";
314a8415814SAnand Gadiyar	pinctrl-names = "default";
315a8415814SAnand Gadiyar	pinctrl-0 = <&main_mmc0_pins_default>;
316a8415814SAnand Gadiyar	ti,driver-strength-ohm = <50>;
317a8415814SAnand Gadiyar	disable-wp;
318a8415814SAnand Gadiyar};
319a8415814SAnand Gadiyar
320a8415814SAnand Gadiyar&sdhci1 {
321a8415814SAnand Gadiyar	/* SD/MMC */
322a8415814SAnand Gadiyar	status = "okay";
323a8415814SAnand Gadiyar	pinctrl-names = "default";
324a8415814SAnand Gadiyar	pinctrl-0 = <&main_mmc1_pins_default>;
325a8415814SAnand Gadiyar	ti,driver-strength-ohm = <50>;
326a8415814SAnand Gadiyar	disable-wp;
327a8415814SAnand Gadiyar};
328a8415814SAnand Gadiyar
329a8415814SAnand Gadiyar&cpsw3g {
330a8415814SAnand Gadiyar	pinctrl-names = "default";
331a8415814SAnand Gadiyar	pinctrl-0 = <&main_rgmii1_pins_default>;
332a8415814SAnand Gadiyar};
333a8415814SAnand Gadiyar
334a8415814SAnand Gadiyar&cpsw_port1 {
335a8415814SAnand Gadiyar	phy-mode = "rgmii-rxid";
336a8415814SAnand Gadiyar	phy-handle = <&cpsw3g_phy0>;
337a8415814SAnand Gadiyar};
338a8415814SAnand Gadiyar
339a8415814SAnand Gadiyar&cpsw3g_mdio {
340a8415814SAnand Gadiyar	status = "okay";
341a8415814SAnand Gadiyar	pinctrl-names = "default";
342a8415814SAnand Gadiyar	pinctrl-0 = <&main_mdio1_pins_default>;
343a8415814SAnand Gadiyar
344a8415814SAnand Gadiyar	cpsw3g_phy0: ethernet-phy@0 {
345a8415814SAnand Gadiyar		reg = <0>;
346a8415814SAnand Gadiyar		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
347a8415814SAnand Gadiyar		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
348a8415814SAnand Gadiyar		ti,min-output-impedance;
349a8415814SAnand Gadiyar	};
350a8415814SAnand Gadiyar};
351a8415814SAnand Gadiyar
352a8415814SAnand Gadiyar&mailbox0_cluster0 {
353a8415814SAnand Gadiyar	mbox_m4_0: mbox-m4-0 {
354a8415814SAnand Gadiyar		ti,mbox-rx = <0 0 0>;
355a8415814SAnand Gadiyar		ti,mbox-tx = <1 0 0>;
356a8415814SAnand Gadiyar	};
357a8415814SAnand Gadiyar};
358a8415814SAnand Gadiyar
359a8415814SAnand Gadiyar&usbss0 {
360a8415814SAnand Gadiyar	status = "okay";
361a8415814SAnand Gadiyar	ti,vbus-divider;
362a8415814SAnand Gadiyar};
363a8415814SAnand Gadiyar
364a8415814SAnand Gadiyar&usbss1 {
365a8415814SAnand Gadiyar	status = "okay";
366a8415814SAnand Gadiyar	ti,vbus-divider;
367a8415814SAnand Gadiyar};
368a8415814SAnand Gadiyar
369a8415814SAnand Gadiyar&usb0 {
3702c213d19SRoger Quadros	#address-cells = <1>;
3712c213d19SRoger Quadros	#size-cells = <0>;
3722c213d19SRoger Quadros	usb-role-switch;
3732c213d19SRoger Quadros
3742c213d19SRoger Quadros	port@0 {
3752c213d19SRoger Quadros		reg = <0>;
3762c213d19SRoger Quadros		usb0_hs_ep: endpoint {
3772c213d19SRoger Quadros		    remote-endpoint = <&usb_con_hs>;
3782c213d19SRoger Quadros	       };
3792c213d19SRoger Quadros	};
380a8415814SAnand Gadiyar};
381a8415814SAnand Gadiyar
382a8415814SAnand Gadiyar&usb1 {
383a8415814SAnand Gadiyar	dr_mode = "host";
384a8415814SAnand Gadiyar	pinctrl-names = "default";
385a8415814SAnand Gadiyar	pinctrl-0 = <&main_usb1_pins_default>;
386a8415814SAnand Gadiyar};
387b94b4371SJai Luthra
388b94b4371SJai Luthra&mcasp1 {
389b94b4371SJai Luthra	status = "okay";
390b94b4371SJai Luthra	#sound-dai-cells = <0>;
391b94b4371SJai Luthra
392b94b4371SJai Luthra	pinctrl-names = "default";
393b94b4371SJai Luthra	pinctrl-0 = <&main_mcasp1_pins_default>;
394b94b4371SJai Luthra
395b94b4371SJai Luthra	op-mode = <0>;          /* MCASP_IIS_MODE */
396b94b4371SJai Luthra	tdm-slots = <2>;
397b94b4371SJai Luthra
398b94b4371SJai Luthra	serial-dir = <  /* 0: INACTIVE, 1: TX, 2: RX */
399b94b4371SJai Luthra	       1 0 2 0
400b94b4371SJai Luthra	       0 0 0 0
401b94b4371SJai Luthra	       0 0 0 0
402b94b4371SJai Luthra	       0 0 0 0
403b94b4371SJai Luthra	>;
404b94b4371SJai Luthra	tx-num-evt = <32>;
405b94b4371SJai Luthra	rx-num-evt = <32>;
406b94b4371SJai Luthra};
407