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