1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (c) Siemens AG, 2018-2021
4 *
5 * Authors:
6 *   Le Jin <le.jin@siemens.com>
7 *   Jan Kiszka <jan.kiszk@siemens.com>
8 *
9 * Common bits of the IOT2050 Basic and Advanced variants
10 */
11
12/dts-v1/;
13
14#include "k3-am654.dtsi"
15#include <dt-bindings/phy/phy.h>
16
17/ {
18	aliases {
19		spi0 = &mcu_spi0;
20		mmc0 = &sdhci1;
21		mmc1 = &sdhci0;
22	};
23
24	chosen {
25		stdout-path = "serial3:115200n8";
26		bootargs = "earlycon=ns16550a,mmio32,0x02810000";
27	};
28
29	reserved-memory {
30		#address-cells = <2>;
31		#size-cells = <2>;
32		ranges;
33
34		secure_ddr: secure-ddr@9e800000 {
35			reg = <0 0x9e800000 0 0x01800000>; /* for OP-TEE */
36			alignment = <0x1000>;
37			no-map;
38		};
39
40		mcu_r5fss0_core0_dma_memory_region: r5f-dma-memory@a0000000 {
41			compatible = "shared-dma-pool";
42			reg = <0 0xa0000000 0 0x100000>;
43			no-map;
44		};
45
46		mcu_r5fss0_core0_memory_region: r5f-memory@a0100000 {
47			compatible = "shared-dma-pool";
48			reg = <0 0xa0100000 0 0xf00000>;
49			no-map;
50		};
51
52		mcu_r5fss0_core1_dma_memory_region: r5f-dma-memory@a1000000 {
53			compatible = "shared-dma-pool";
54			reg = <0 0xa1000000 0 0x100000>;
55			no-map;
56		};
57
58		mcu_r5fss0_core1_memory_region: r5f-memory@a1100000 {
59			compatible = "shared-dma-pool";
60			reg = <0 0xa1100000 0 0xf00000>;
61			no-map;
62		};
63
64		rtos_ipc_memory_region: ipc-memories@a2000000 {
65			reg = <0x00 0xa2000000 0x00 0x00200000>;
66			alignment = <0x1000>;
67			no-map;
68		};
69	};
70
71	leds {
72		compatible = "gpio-leds";
73		pinctrl-names = "default";
74		pinctrl-0 = <&leds_pins_default>;
75
76		status-led-red {
77			gpios = <&wkup_gpio0 32 GPIO_ACTIVE_HIGH>;
78			panic-indicator;
79		};
80
81		status-led-green {
82			gpios = <&wkup_gpio0 24 GPIO_ACTIVE_HIGH>;
83		};
84
85		user-led1-red {
86			gpios = <&pcal9535_3 14 GPIO_ACTIVE_HIGH>;
87		};
88
89		user-led1-green {
90			gpios = <&pcal9535_2 15 GPIO_ACTIVE_HIGH>;
91		};
92
93		user-led2-red {
94			gpios = <&wkup_gpio0 17 GPIO_ACTIVE_HIGH>;
95		};
96
97		user-led2-green {
98			gpios = <&wkup_gpio0 22 GPIO_ACTIVE_HIGH>;
99		};
100	};
101
102	dp_refclk: clock {
103		compatible = "fixed-clock";
104		#clock-cells = <0>;
105		clock-frequency = <19200000>;
106	};
107};
108
109&wkup_pmx0 {
110	wkup_i2c0_pins_default: wkup-i2c0-pins-default {
111		pinctrl-single,pins = <
112			/* (AC7) WKUP_I2C0_SCL */
113			AM65X_WKUP_IOPAD(0x00e0, PIN_INPUT,  0)
114			/* (AD6) WKUP_I2C0_SDA */
115			AM65X_WKUP_IOPAD(0x00e4, PIN_INPUT,  0)
116		>;
117	};
118
119	mcu_i2c0_pins_default: mcu-i2c0-pins-default {
120		pinctrl-single,pins = <
121			/* (AD8) MCU_I2C0_SCL */
122			AM65X_WKUP_IOPAD(0x00e8, PIN_INPUT,  0)
123			/* (AD7) MCU_I2C0_SDA */
124			AM65X_WKUP_IOPAD(0x00ec, PIN_INPUT,  0)
125		>;
126	};
127
128	arduino_i2c_aio_switch_pins_default: arduino-i2c-aio-switch-pins-default {
129		pinctrl-single,pins = <
130			/* (R2) WKUP_GPIO0_21 */
131			AM65X_WKUP_IOPAD(0x0024, PIN_OUTPUT, 7)
132		>;
133	};
134
135	push_button_pins_default: push-button-pins-default {
136		pinctrl-single,pins = <
137			/* (T1) MCU_OSPI1_CLK.WKUP_GPIO0_25 */
138			AM65X_WKUP_IOPAD(0x0034, PIN_INPUT,  7)
139		>;
140	};
141
142	arduino_uart_pins_default: arduino-uart-pins-default {
143		pinctrl-single,pins = <
144			/* (P4) MCU_UART0_RXD */
145			AM65X_WKUP_IOPAD(0x0044, PIN_INPUT,  4)
146			/* (P5) MCU_UART0_TXD */
147			AM65X_WKUP_IOPAD(0x0048, PIN_OUTPUT, 4)
148		>;
149	};
150
151	arduino_io_d2_to_d3_pins_default: arduino-io-d2-to-d3-pins-default {
152		pinctrl-single,pins = <
153			/* (P1) WKUP_GPIO0_31 */
154			AM65X_WKUP_IOPAD(0x004C, PIN_OUTPUT, 7)
155			/* (N3) WKUP_GPIO0_33 */
156			AM65X_WKUP_IOPAD(0x0054, PIN_OUTPUT, 7)
157		>;
158	};
159
160	arduino_io_oe_pins_default: arduino-io-oe-pins-default {
161		pinctrl-single,pins = <
162			/* (N4) WKUP_GPIO0_34 */
163			AM65X_WKUP_IOPAD(0x0058, PIN_OUTPUT, 7)
164			/* (M2) WKUP_GPIO0_36 */
165			AM65X_WKUP_IOPAD(0x0060, PIN_OUTPUT, 7)
166			/* (M3) WKUP_GPIO0_37 */
167			AM65X_WKUP_IOPAD(0x0064, PIN_OUTPUT, 7)
168			/* (M4) WKUP_GPIO0_38 */
169			AM65X_WKUP_IOPAD(0x0068, PIN_OUTPUT, 7)
170			/* (M1) WKUP_GPIO0_41 */
171			AM65X_WKUP_IOPAD(0x0074, PIN_OUTPUT, 7)
172		>;
173	};
174
175	mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-pins-default {
176		pinctrl-single,pins = <
177			/* (V1) MCU_OSPI0_CLK */
178			AM65X_WKUP_IOPAD(0x0000, PIN_OUTPUT, 0)
179			/* (U2) MCU_OSPI0_DQS */
180			AM65X_WKUP_IOPAD(0x0008, PIN_INPUT,  0)
181			/* (U4) MCU_OSPI0_D0 */
182			AM65X_WKUP_IOPAD(0x000c, PIN_INPUT,  0)
183			/* (U5) MCU_OSPI0_D1 */
184			AM65X_WKUP_IOPAD(0x0010, PIN_INPUT,  0)
185			/* (R4) MCU_OSPI0_CSn0 */
186			AM65X_WKUP_IOPAD(0x002c, PIN_OUTPUT, 0)
187		>;
188	};
189
190	db9_com_mode_pins_default: db9-com-mode-pins-default {
191		pinctrl-single,pins = <
192			/* (AD3) WKUP_GPIO0_5, used as uart0 mode 0 */
193			AM65X_WKUP_IOPAD(0x00c4, PIN_OUTPUT, 7)
194			/* (AC3) WKUP_GPIO0_4, used as uart0 mode 1 */
195			AM65X_WKUP_IOPAD(0x00c0, PIN_OUTPUT, 7)
196			/* (AC1) WKUP_GPIO0_7, used as uart0 term */
197			AM65X_WKUP_IOPAD(0x00cc, PIN_OUTPUT, 7)
198			/* (AC2) WKUP_GPIO0_6, used as uart0 en */
199			AM65X_WKUP_IOPAD(0x00c8, PIN_OUTPUT, 7)
200		>;
201	};
202
203	leds_pins_default: leds-pins-default {
204		pinctrl-single,pins = <
205			/* (T2) WKUP_GPIO0_17, used as user led1 red */
206			AM65X_WKUP_IOPAD(0x0014, PIN_OUTPUT, 7)
207			/* (R3) WKUP_GPIO0_22, used as user led1 green */
208			AM65X_WKUP_IOPAD(0x0028, PIN_OUTPUT, 7)
209			/* (R5) WKUP_GPIO0_24, used as status led red */
210			AM65X_WKUP_IOPAD(0x0030, PIN_OUTPUT, 7)
211			/* (N2) WKUP_GPIO0_32, used as status led green */
212			AM65X_WKUP_IOPAD(0x0050, PIN_OUTPUT, 7)
213		>;
214	};
215
216	mcu_spi0_pins_default: mcu-spi0-pins-default {
217		pinctrl-single,pins = <
218			/* (Y1) MCU_SPI0_CLK */
219			AM65X_WKUP_IOPAD(0x0090, PIN_INPUT,  0)
220			/* (Y3) MCU_SPI0_D0 */
221			AM65X_WKUP_IOPAD(0x0094, PIN_INPUT,  0)
222			/* (Y2) MCU_SPI0_D1 */
223			AM65X_WKUP_IOPAD(0x0098, PIN_INPUT,  0)
224			/* (Y4) MCU_SPI0_CS0 */
225			AM65X_WKUP_IOPAD(0x009c, PIN_OUTPUT, 0)
226		>;
227	};
228
229	minipcie_pins_default: minipcie-pins-default {
230		pinctrl-single,pins = <
231			/* (P2) MCU_OSPI1_DQS.WKUP_GPIO0_27 */
232			AM65X_WKUP_IOPAD(0x003C, PIN_OUTPUT, 7)
233		>;
234	};
235};
236
237&main_pmx0 {
238	main_uart1_pins_default: main-uart1-pins-default {
239		pinctrl-single,pins = <
240			AM65X_IOPAD(0x0174, PIN_INPUT,  6)  /* (AE23) UART1_RXD */
241			AM65X_IOPAD(0x014c, PIN_OUTPUT, 6)  /* (AD23) UART1_TXD */
242			AM65X_IOPAD(0x0178, PIN_INPUT,  6)  /* (AD22) UART1_CTSn */
243			AM65X_IOPAD(0x017c, PIN_OUTPUT, 6)  /* (AC21) UART1_RTSn */
244		>;
245	};
246
247	main_i2c3_pins_default: main-i2c3-pins-default {
248		pinctrl-single,pins = <
249			AM65X_IOPAD(0x01c0, PIN_INPUT,  2)  /* (AF13) I2C3_SCL */
250			AM65X_IOPAD(0x01d4, PIN_INPUT,  2)  /* (AG12) I2C3_SDA */
251		>;
252	};
253
254	main_mmc1_pins_default: main-mmc1-pins-default {
255		pinctrl-single,pins = <
256			AM65X_IOPAD(0x02d4, PIN_INPUT_PULLDOWN, 0)  /* (C27) MMC1_CLK */
257			AM65X_IOPAD(0x02d8, PIN_INPUT_PULLUP,   0)  /* (C28) MMC1_CMD */
258			AM65X_IOPAD(0x02d0, PIN_INPUT_PULLUP,   0)  /* (D28) MMC1_DAT0 */
259			AM65X_IOPAD(0x02cc, PIN_INPUT_PULLUP,   0)  /* (E27) MMC1_DAT1 */
260			AM65X_IOPAD(0x02c8, PIN_INPUT_PULLUP,   0)  /* (D26) MMC1_DAT2 */
261			AM65X_IOPAD(0x02c4, PIN_INPUT_PULLUP,   0)  /* (D27) MMC1_DAT3 */
262			AM65X_IOPAD(0x02dc, PIN_INPUT_PULLUP,   0)  /* (B24) MMC1_SDCD */
263			AM65X_IOPAD(0x02e0, PIN_INPUT_PULLUP,   0)  /* (C24) MMC1_SDWP */
264		>;
265	};
266
267	usb0_pins_default: usb0-pins-default {
268		pinctrl-single,pins = <
269			AM65X_IOPAD(0x02bc, PIN_OUTPUT, 0)  /* (AD9) USB0_DRVVBUS */
270		>;
271	};
272
273	usb1_pins_default: usb1-pins-default {
274		pinctrl-single,pins = <
275			AM65X_IOPAD(0x02c0, PIN_OUTPUT, 0)  /* (AC8) USB1_DRVVBUS */
276		>;
277	};
278
279	arduino_io_d4_to_d9_pins_default: arduino-io-d4-to-d9-pins-default {
280		pinctrl-single,pins = <
281			AM65X_IOPAD(0x0084, PIN_OUTPUT, 7)  /* (AG18) GPIO0_33 */
282			AM65X_IOPAD(0x008C, PIN_OUTPUT, 7)  /* (AF17) GPIO0_35 */
283			AM65X_IOPAD(0x0098, PIN_OUTPUT, 7)  /* (AH16) GPIO0_38 */
284			AM65X_IOPAD(0x00AC, PIN_OUTPUT, 7)  /* (AH15) GPIO0_43 */
285			AM65X_IOPAD(0x00C0, PIN_OUTPUT, 7)  /* (AG15) GPIO0_48 */
286			AM65X_IOPAD(0x00CC, PIN_OUTPUT, 7)  /* (AD15) GPIO0_51 */
287		>;
288	};
289
290	dss_vout1_pins_default: dss-vout1-pins-default {
291		pinctrl-single,pins = <
292			AM65X_IOPAD(0x0000, PIN_OUTPUT, 1)  /* VOUT1_DATA0 */
293			AM65X_IOPAD(0x0004, PIN_OUTPUT, 1)  /* VOUT1_DATA1 */
294			AM65X_IOPAD(0x0008, PIN_OUTPUT, 1)  /* VOUT1_DATA2 */
295			AM65X_IOPAD(0x000c, PIN_OUTPUT, 1)  /* VOUT1_DATA3 */
296			AM65X_IOPAD(0x0010, PIN_OUTPUT, 1)  /* VOUT1_DATA4 */
297			AM65X_IOPAD(0x0014, PIN_OUTPUT, 1)  /* VOUT1_DATA5 */
298			AM65X_IOPAD(0x0018, PIN_OUTPUT, 1)  /* VOUT1_DATA6 */
299			AM65X_IOPAD(0x001c, PIN_OUTPUT, 1)  /* VOUT1_DATA7 */
300			AM65X_IOPAD(0x0020, PIN_OUTPUT, 1)  /* VOUT1_DATA8 */
301			AM65X_IOPAD(0x0024, PIN_OUTPUT, 1)  /* VOUT1_DATA9 */
302			AM65X_IOPAD(0x0028, PIN_OUTPUT, 1)  /* VOUT1_DATA10 */
303			AM65X_IOPAD(0x002c, PIN_OUTPUT, 1)  /* VOUT1_DATA11 */
304			AM65X_IOPAD(0x0030, PIN_OUTPUT, 1)  /* VOUT1_DATA12 */
305			AM65X_IOPAD(0x0034, PIN_OUTPUT, 1)  /* VOUT1_DATA13 */
306			AM65X_IOPAD(0x0038, PIN_OUTPUT, 1)  /* VOUT1_DATA14 */
307			AM65X_IOPAD(0x003c, PIN_OUTPUT, 1)  /* VOUT1_DATA15 */
308			AM65X_IOPAD(0x0040, PIN_OUTPUT, 1)  /* VOUT1_DATA16 */
309			AM65X_IOPAD(0x0044, PIN_OUTPUT, 1)  /* VOUT1_DATA17 */
310			AM65X_IOPAD(0x0048, PIN_OUTPUT, 1)  /* VOUT1_DATA18 */
311			AM65X_IOPAD(0x004c, PIN_OUTPUT, 1)  /* VOUT1_DATA19 */
312			AM65X_IOPAD(0x0050, PIN_OUTPUT, 1)  /* VOUT1_DATA20 */
313			AM65X_IOPAD(0x0054, PIN_OUTPUT, 1)  /* VOUT1_DATA21 */
314			AM65X_IOPAD(0x0058, PIN_OUTPUT, 1)  /* VOUT1_DATA22 */
315			AM65X_IOPAD(0x005c, PIN_OUTPUT, 1)  /* VOUT1_DATA23 */
316			AM65X_IOPAD(0x0060, PIN_OUTPUT, 1)  /* VOUT1_VSYNC */
317			AM65X_IOPAD(0x0064, PIN_OUTPUT, 1)  /* VOUT1_HSYNC */
318			AM65X_IOPAD(0x0068, PIN_OUTPUT, 1)  /* VOUT1_PCLK */
319			AM65X_IOPAD(0x006c, PIN_OUTPUT, 1)  /* VOUT1_DE */
320		>;
321	};
322
323	dp_pins_default: dp-pins-default {
324		pinctrl-single,pins = <
325			AM65X_IOPAD(0x0078, PIN_OUTPUT, 7)  /* (AF18) DP rst_n */
326		>;
327	};
328
329	main_i2c2_pins_default: main-i2c2-pins-default {
330		pinctrl-single,pins = <
331			AM65X_IOPAD(0x0074, PIN_INPUT,  5)  /* (T27) I2C2_SCL */
332			AM65X_IOPAD(0x0070, PIN_INPUT,  5)  /* (R25) I2C2_SDA */
333		>;
334	};
335};
336
337&main_pmx1 {
338	main_i2c0_pins_default: main-i2c0-pins-default {
339		pinctrl-single,pins = <
340			AM65X_IOPAD(0x0000, PIN_INPUT,  0)  /* (D20) I2C0_SCL */
341			AM65X_IOPAD(0x0004, PIN_INPUT,  0)  /* (C21) I2C0_SDA */
342		>;
343	};
344
345	main_i2c1_pins_default: main-i2c1-pins-default {
346		pinctrl-single,pins = <
347			AM65X_IOPAD(0x0008, PIN_INPUT,  0)  /* (B21) I2C1_SCL */
348			AM65X_IOPAD(0x000c, PIN_INPUT,  0)  /* (E21) I2C1_SDA */
349		>;
350	};
351
352	ecap0_pins_default: ecap0-pins-default {
353		pinctrl-single,pins = <
354			AM65X_IOPAD(0x0010, PIN_INPUT,  0)  /* (D21) ECAP0_IN_APWM_OUT */
355		>;
356	};
357};
358
359&wkup_uart0 {
360	/* Wakeup UART is used by System firmware */
361	status = "reserved";
362};
363
364&main_uart1 {
365	pinctrl-names = "default";
366	pinctrl-0 = <&main_uart1_pins_default>;
367};
368
369&main_uart2 {
370	status = "disabled";
371};
372
373&mcu_uart0 {
374	pinctrl-names = "default";
375	pinctrl-0 = <&arduino_uart_pins_default>;
376};
377
378&main_gpio0 {
379	pinctrl-names = "default";
380	pinctrl-0 = <&arduino_io_d4_to_d9_pins_default>;
381	gpio-line-names =
382		"main_gpio0-base", "", "", "", "", "", "", "", "", "",
383		"", "", "", "", "", "", "", "", "", "",
384		"", "", "", "", "", "", "", "", "", "",
385		"", "", "", "IO4", "", "IO5", "", "", "IO6", "",
386		"", "", "", "IO7", "", "", "", "", "IO8", "",
387		"", "IO9";
388};
389
390&wkup_gpio0 {
391	pinctrl-names = "default";
392	pinctrl-0 = <
393		&arduino_io_d2_to_d3_pins_default
394		&arduino_i2c_aio_switch_pins_default
395		&arduino_io_oe_pins_default
396		&push_button_pins_default
397		&db9_com_mode_pins_default
398	>;
399	gpio-line-names =
400		/* 0..9 */
401		"wkup_gpio0-base", "", "", "", "UART0-mode1", "UART0-mode0",
402		"UART0-enable", "UART0-terminate", "", "WIFI-disable",
403		/* 10..19 */
404		"", "", "", "", "", "", "", "", "", "",
405		/* 20..29 */
406		"", "A4A5-I2C-mux", "", "", "", "USER-button", "", "", "","IO0",
407		/* 30..39 */
408		"IO1", "IO2", "", "IO3", "IO17-direction", "A5",
409		"IO16-direction", "IO15-direction", "IO14-direction", "A3",
410		/* 40..49 */
411		"", "IO18-direction", "A4", "A2", "A1", "A0", "", "", "IO13",
412		"IO11",
413		/* 50..51 */
414		"IO12", "IO10";
415};
416
417&wkup_i2c0 {
418	pinctrl-names = "default";
419	pinctrl-0 = <&wkup_i2c0_pins_default>;
420	clock-frequency = <400000>;
421};
422
423&mcu_i2c0 {
424	pinctrl-names = "default";
425	pinctrl-0 = <&mcu_i2c0_pins_default>;
426	clock-frequency = <400000>;
427
428	psu: regulator@60 {
429		compatible = "ti,tps62363";
430		reg =  <0x60>;
431		regulator-name = "tps62363-vout";
432		regulator-min-microvolt = <500000>;
433		regulator-max-microvolt = <1500000>;
434		regulator-boot-on;
435		ti,vsel0-state-high;
436		ti,vsel1-state-high;
437		ti,enable-vout-discharge;
438	};
439
440	/* D4200 */
441	pcal9535_1: gpio@20 {
442		compatible = "nxp,pcal9535";
443		reg = <0x20>;
444		#gpio-cells = <2>;
445		gpio-controller;
446		gpio-line-names =
447			"A0-pull", "A1-pull", "A2-pull", "A3-pull", "A4-pull",
448			"A5-pull", "", "",
449			"IO14-enable", "IO15-enable", "IO16-enable",
450			"IO17-enable", "IO18-enable", "IO19-enable";
451	};
452
453	/* D4201 */
454	pcal9535_2: gpio@21 {
455		compatible = "nxp,pcal9535";
456		reg = <0x21>;
457		#gpio-cells = <2>;
458		gpio-controller;
459		gpio-line-names =
460			"IO0-direction", "IO1-direction", "IO2-direction",
461			"IO3-direction", "IO4-direction", "IO5-direction",
462			"IO6-direction", "IO7-direction",
463			"IO8-direction", "IO9-direction", "IO10-direction",
464			"IO11-direction", "IO12-direction", "IO13-direction",
465			"IO19-direction";
466	};
467
468	/* D4202 */
469	pcal9535_3: gpio@25 {
470		compatible = "nxp,pcal9535";
471		reg = <0x25>;
472		#gpio-cells = <2>;
473		gpio-controller;
474		gpio-line-names =
475			"IO0-pull", "IO1-pull", "IO2-pull", "IO3-pull",
476			"IO4-pull", "IO5-pull", "IO6-pull", "IO7-pull",
477			"IO8-pull", "IO9-pull", "IO10-pull", "IO11-pull",
478			"IO12-pull", "IO13-pull";
479	};
480};
481
482&main_i2c0 {
483	pinctrl-names = "default";
484	pinctrl-0 = <&main_i2c0_pins_default>;
485	clock-frequency = <400000>;
486
487	rtc: rtc8564@51 {
488		compatible = "nxp,pcf8563";
489		reg = <0x51>;
490	};
491
492	eeprom: eeprom@54 {
493		compatible = "atmel,24c08";
494		reg = <0x54>;
495		pagesize = <16>;
496	};
497};
498
499&main_i2c1 {
500	pinctrl-names = "default";
501	pinctrl-0 = <&main_i2c1_pins_default>;
502	clock-frequency = <400000>;
503};
504
505&main_i2c2 {
506	pinctrl-names = "default";
507	pinctrl-0 = <&main_i2c2_pins_default>;
508	clock-frequency = <400000>;
509};
510
511&main_i2c3 {
512	pinctrl-names = "default";
513	pinctrl-0 = <&main_i2c3_pins_default>;
514	clock-frequency = <400000>;
515
516	#address-cells = <1>;
517	#size-cells = <0>;
518
519	edp-bridge@f {
520		compatible = "toshiba,tc358767";
521		reg = <0x0f>;
522		pinctrl-names = "default";
523		pinctrl-0 = <&dp_pins_default>;
524		reset-gpios = <&main_gpio0 30 GPIO_ACTIVE_HIGH>;
525
526		clock-names = "ref";
527		clocks = <&dp_refclk>;
528
529		toshiba,hpd-pin = <0>;
530
531		ports {
532			#address-cells = <1>;
533			#size-cells = <0>;
534
535			port@1 {
536				reg = <1>;
537
538				bridge_in: endpoint {
539					remote-endpoint = <&dpi_out>;
540				};
541			};
542		};
543	};
544};
545
546&mcu_cpsw {
547	status = "disabled";
548};
549
550&ecap0 {
551	pinctrl-names = "default";
552	pinctrl-0 = <&ecap0_pins_default>;
553};
554
555&sdhci1 {
556	pinctrl-names = "default";
557	pinctrl-0 = <&main_mmc1_pins_default>;
558	ti,driver-strength-ohm = <50>;
559	disable-wp;
560	no-1-8-v;
561};
562
563&usb0 {
564	pinctrl-names = "default";
565	pinctrl-0 = <&usb0_pins_default>;
566	dr_mode = "host";
567};
568
569&usb1 {
570	pinctrl-names = "default";
571	pinctrl-0 = <&usb1_pins_default>;
572	dr_mode = "host";
573};
574
575&mcu_spi0 {
576	pinctrl-names = "default";
577	pinctrl-0 = <&mcu_spi0_pins_default>;
578
579	#address-cells = <1>;
580	#size-cells= <0>;
581	ti,pindir-d0-out-d1-in;
582};
583
584&tscadc0 {
585	status = "disabled";
586};
587
588&tscadc1 {
589	adc {
590		ti,adc-channels = <0 1 2 3 4 5>;
591	};
592};
593
594&ospi0 {
595	pinctrl-names = "default";
596	pinctrl-0 = <&mcu_fss0_ospi0_pins_default>;
597
598	flash@0 {
599		compatible = "jedec,spi-nor";
600		reg = <0x0>;
601		spi-tx-bus-width = <1>;
602		spi-rx-bus-width = <1>;
603		spi-max-frequency = <50000000>;
604		cdns,tshsl-ns = <60>;
605		cdns,tsd2d-ns = <60>;
606		cdns,tchsh-ns = <60>;
607		cdns,tslch-ns = <60>;
608		cdns,read-delay = <2>;
609		#address-cells = <1>;
610		#size-cells = <1>;
611	};
612};
613
614&dss {
615	pinctrl-names = "default";
616	pinctrl-0 = <&dss_vout1_pins_default>;
617
618	assigned-clocks = <&k3_clks 67 2>;
619	assigned-clock-parents = <&k3_clks 67 5>;
620};
621
622&dss_ports {
623	#address-cells = <1>;
624	#size-cells = <0>;
625	port@1 {
626		reg = <1>;
627
628		dpi_out: endpoint {
629			remote-endpoint = <&bridge_in>;
630		};
631	};
632};
633
634&serdes0 {
635	status = "disabled";
636};
637
638&pcie0_rc {
639	status = "disabled";
640};
641
642&pcie0_ep {
643	status = "disabled";
644};
645
646&pcie1_rc {
647	pinctrl-names = "default";
648	pinctrl-0 = <&minipcie_pins_default>;
649
650	num-lanes = <1>;
651	phys = <&serdes1 PHY_TYPE_PCIE 0>;
652	phy-names = "pcie-phy0";
653	reset-gpios = <&wkup_gpio0 27 GPIO_ACTIVE_HIGH>;
654};
655
656&pcie1_ep {
657	status = "disabled";
658};
659
660&mailbox0_cluster0 {
661	status = "disabled";
662};
663
664&mailbox0_cluster1 {
665	status = "disabled";
666};
667
668&mailbox0_cluster2 {
669	status = "disabled";
670};
671
672&mailbox0_cluster3 {
673	status = "disabled";
674};
675
676&mailbox0_cluster4 {
677	status = "disabled";
678};
679
680&mailbox0_cluster5 {
681	status = "disabled";
682};
683
684&mailbox0_cluster6 {
685	status = "disabled";
686};
687
688&mailbox0_cluster7 {
689	status = "disabled";
690};
691
692&mailbox0_cluster8 {
693	status = "disabled";
694};
695
696&mailbox0_cluster9 {
697	status = "disabled";
698};
699
700&mailbox0_cluster10 {
701	status = "disabled";
702};
703
704&mailbox0_cluster11 {
705	status = "disabled";
706};
707
708&icssg0_mdio {
709	status = "disabled";
710};
711
712&icssg1_mdio {
713	status = "disabled";
714};
715
716&icssg2_mdio {
717	status = "disabled";
718};
719