0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003 * Copyright (c) Siemens AG, 2018-2021
0004 *
0005 * Authors:
0006 * Le Jin <le.jin@siemens.com>
0007 * Jan Kiszka <jan.kiszka@siemens.com>
0008 *
0009 * Common bits of the IOT2050 Basic and Advanced variants, PG1 and PG2
0010 */
0011
0012 #include "k3-am654.dtsi"
0013 #include <dt-bindings/phy/phy.h>
0014
0015 / {
0016 aliases {
0017 spi0 = &mcu_spi0;
0018 mmc0 = &sdhci1;
0019 mmc1 = &sdhci0;
0020 };
0021
0022 chosen {
0023 stdout-path = "serial3:115200n8";
0024 bootargs = "earlycon=ns16550a,mmio32,0x02810000";
0025 };
0026
0027 reserved-memory {
0028 #address-cells = <2>;
0029 #size-cells = <2>;
0030 ranges;
0031
0032 secure_ddr: secure-ddr@9e800000 {
0033 reg = <0 0x9e800000 0 0x01800000>; /* for OP-TEE */
0034 alignment = <0x1000>;
0035 no-map;
0036 };
0037
0038 mcu_r5fss0_core0_dma_memory_region: r5f-dma-memory@a0000000 {
0039 compatible = "shared-dma-pool";
0040 reg = <0 0xa0000000 0 0x100000>;
0041 no-map;
0042 };
0043
0044 mcu_r5fss0_core0_memory_region: r5f-memory@a0100000 {
0045 compatible = "shared-dma-pool";
0046 reg = <0 0xa0100000 0 0xf00000>;
0047 no-map;
0048 };
0049
0050 mcu_r5fss0_core1_dma_memory_region: r5f-dma-memory@a1000000 {
0051 compatible = "shared-dma-pool";
0052 reg = <0 0xa1000000 0 0x100000>;
0053 no-map;
0054 };
0055
0056 mcu_r5fss0_core1_memory_region: r5f-memory@a1100000 {
0057 compatible = "shared-dma-pool";
0058 reg = <0 0xa1100000 0 0xf00000>;
0059 no-map;
0060 };
0061
0062 rtos_ipc_memory_region: ipc-memories@a2000000 {
0063 reg = <0x00 0xa2000000 0x00 0x00200000>;
0064 alignment = <0x1000>;
0065 no-map;
0066 };
0067 };
0068
0069 leds {
0070 compatible = "gpio-leds";
0071 pinctrl-names = "default";
0072 pinctrl-0 = <&leds_pins_default>;
0073
0074 status-led-red {
0075 gpios = <&wkup_gpio0 32 GPIO_ACTIVE_HIGH>;
0076 panic-indicator;
0077 };
0078
0079 status-led-green {
0080 gpios = <&wkup_gpio0 24 GPIO_ACTIVE_HIGH>;
0081 };
0082
0083 user-led1-red {
0084 gpios = <&pcal9535_3 14 GPIO_ACTIVE_HIGH>;
0085 };
0086
0087 user-led1-green {
0088 gpios = <&pcal9535_2 15 GPIO_ACTIVE_HIGH>;
0089 };
0090
0091 user-led2-red {
0092 gpios = <&wkup_gpio0 17 GPIO_ACTIVE_HIGH>;
0093 };
0094
0095 user-led2-green {
0096 gpios = <&wkup_gpio0 22 GPIO_ACTIVE_HIGH>;
0097 };
0098 };
0099
0100 dp_refclk: clock {
0101 compatible = "fixed-clock";
0102 #clock-cells = <0>;
0103 clock-frequency = <19200000>;
0104 };
0105 };
0106
0107 &wkup_pmx0 {
0108 wkup_i2c0_pins_default: wkup-i2c0-pins-default {
0109 pinctrl-single,pins = <
0110 /* (AC7) WKUP_I2C0_SCL */
0111 AM65X_WKUP_IOPAD(0x00e0, PIN_INPUT, 0)
0112 /* (AD6) WKUP_I2C0_SDA */
0113 AM65X_WKUP_IOPAD(0x00e4, PIN_INPUT, 0)
0114 >;
0115 };
0116
0117 mcu_i2c0_pins_default: mcu-i2c0-pins-default {
0118 pinctrl-single,pins = <
0119 /* (AD8) MCU_I2C0_SCL */
0120 AM65X_WKUP_IOPAD(0x00e8, PIN_INPUT, 0)
0121 /* (AD7) MCU_I2C0_SDA */
0122 AM65X_WKUP_IOPAD(0x00ec, PIN_INPUT, 0)
0123 >;
0124 };
0125
0126 arduino_i2c_aio_switch_pins_default: arduino-i2c-aio-switch-pins-default {
0127 pinctrl-single,pins = <
0128 /* (R2) WKUP_GPIO0_21 */
0129 AM65X_WKUP_IOPAD(0x0024, PIN_OUTPUT, 7)
0130 >;
0131 };
0132
0133 push_button_pins_default: push-button-pins-default {
0134 pinctrl-single,pins = <
0135 /* (T1) MCU_OSPI1_CLK.WKUP_GPIO0_25 */
0136 AM65X_WKUP_IOPAD(0x0034, PIN_INPUT, 7)
0137 >;
0138 };
0139
0140 arduino_uart_pins_default: arduino-uart-pins-default {
0141 pinctrl-single,pins = <
0142 /* (P4) MCU_UART0_RXD */
0143 AM65X_WKUP_IOPAD(0x0044, PIN_INPUT, 4)
0144 /* (P5) MCU_UART0_TXD */
0145 AM65X_WKUP_IOPAD(0x0048, PIN_OUTPUT, 4)
0146 >;
0147 };
0148
0149 arduino_io_d2_to_d3_pins_default: arduino-io-d2-to-d3-pins-default {
0150 pinctrl-single,pins = <
0151 /* (P1) WKUP_GPIO0_31 */
0152 AM65X_WKUP_IOPAD(0x004C, PIN_OUTPUT, 7)
0153 /* (N3) WKUP_GPIO0_33 */
0154 AM65X_WKUP_IOPAD(0x0054, PIN_OUTPUT, 7)
0155 >;
0156 };
0157
0158 arduino_io_oe_pins_default: arduino-io-oe-pins-default {
0159 pinctrl-single,pins = <
0160 /* (N4) WKUP_GPIO0_34 */
0161 AM65X_WKUP_IOPAD(0x0058, PIN_OUTPUT, 7)
0162 /* (M2) WKUP_GPIO0_36 */
0163 AM65X_WKUP_IOPAD(0x0060, PIN_OUTPUT, 7)
0164 /* (M3) WKUP_GPIO0_37 */
0165 AM65X_WKUP_IOPAD(0x0064, PIN_OUTPUT, 7)
0166 /* (M4) WKUP_GPIO0_38 */
0167 AM65X_WKUP_IOPAD(0x0068, PIN_OUTPUT, 7)
0168 /* (M1) WKUP_GPIO0_41 */
0169 AM65X_WKUP_IOPAD(0x0074, PIN_OUTPUT, 7)
0170 >;
0171 };
0172
0173 mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-pins-default {
0174 pinctrl-single,pins = <
0175 /* (V1) MCU_OSPI0_CLK */
0176 AM65X_WKUP_IOPAD(0x0000, PIN_OUTPUT, 0)
0177 /* (U2) MCU_OSPI0_DQS */
0178 AM65X_WKUP_IOPAD(0x0008, PIN_INPUT, 0)
0179 /* (U4) MCU_OSPI0_D0 */
0180 AM65X_WKUP_IOPAD(0x000c, PIN_INPUT, 0)
0181 /* (U5) MCU_OSPI0_D1 */
0182 AM65X_WKUP_IOPAD(0x0010, PIN_INPUT, 0)
0183 /* (R4) MCU_OSPI0_CSn0 */
0184 AM65X_WKUP_IOPAD(0x002c, PIN_OUTPUT, 0)
0185 >;
0186 };
0187
0188 db9_com_mode_pins_default: db9-com-mode-pins-default {
0189 pinctrl-single,pins = <
0190 /* (AD3) WKUP_GPIO0_5, used as uart0 mode 0 */
0191 AM65X_WKUP_IOPAD(0x00c4, PIN_OUTPUT, 7)
0192 /* (AC3) WKUP_GPIO0_4, used as uart0 mode 1 */
0193 AM65X_WKUP_IOPAD(0x00c0, PIN_OUTPUT, 7)
0194 /* (AC1) WKUP_GPIO0_7, used as uart0 term */
0195 AM65X_WKUP_IOPAD(0x00cc, PIN_OUTPUT, 7)
0196 /* (AC2) WKUP_GPIO0_6, used as uart0 en */
0197 AM65X_WKUP_IOPAD(0x00c8, PIN_OUTPUT, 7)
0198 >;
0199 };
0200
0201 leds_pins_default: leds-pins-default {
0202 pinctrl-single,pins = <
0203 /* (T2) WKUP_GPIO0_17, used as user led1 red */
0204 AM65X_WKUP_IOPAD(0x0014, PIN_OUTPUT, 7)
0205 /* (R3) WKUP_GPIO0_22, used as user led1 green */
0206 AM65X_WKUP_IOPAD(0x0028, PIN_OUTPUT, 7)
0207 /* (R5) WKUP_GPIO0_24, used as status led red */
0208 AM65X_WKUP_IOPAD(0x0030, PIN_OUTPUT, 7)
0209 /* (N2) WKUP_GPIO0_32, used as status led green */
0210 AM65X_WKUP_IOPAD(0x0050, PIN_OUTPUT, 7)
0211 >;
0212 };
0213
0214 mcu_spi0_pins_default: mcu-spi0-pins-default {
0215 pinctrl-single,pins = <
0216 /* (Y1) MCU_SPI0_CLK */
0217 AM65X_WKUP_IOPAD(0x0090, PIN_INPUT, 0)
0218 /* (Y3) MCU_SPI0_D0 */
0219 AM65X_WKUP_IOPAD(0x0094, PIN_INPUT, 0)
0220 /* (Y2) MCU_SPI0_D1 */
0221 AM65X_WKUP_IOPAD(0x0098, PIN_INPUT, 0)
0222 /* (Y4) MCU_SPI0_CS0 */
0223 AM65X_WKUP_IOPAD(0x009c, PIN_OUTPUT, 0)
0224 >;
0225 };
0226
0227 minipcie_pins_default: minipcie-pins-default {
0228 pinctrl-single,pins = <
0229 /* (P2) MCU_OSPI1_DQS.WKUP_GPIO0_27 */
0230 AM65X_WKUP_IOPAD(0x003C, PIN_OUTPUT, 7)
0231 >;
0232 };
0233 };
0234
0235 &main_pmx0 {
0236 main_uart1_pins_default: main-uart1-pins-default {
0237 pinctrl-single,pins = <
0238 AM65X_IOPAD(0x0174, PIN_INPUT, 6) /* (AE23) UART1_RXD */
0239 AM65X_IOPAD(0x014c, PIN_OUTPUT, 6) /* (AD23) UART1_TXD */
0240 AM65X_IOPAD(0x0178, PIN_INPUT, 6) /* (AD22) UART1_CTSn */
0241 AM65X_IOPAD(0x017c, PIN_OUTPUT, 6) /* (AC21) UART1_RTSn */
0242 >;
0243 };
0244
0245 main_i2c3_pins_default: main-i2c3-pins-default {
0246 pinctrl-single,pins = <
0247 AM65X_IOPAD(0x01c0, PIN_INPUT, 2) /* (AF13) I2C3_SCL */
0248 AM65X_IOPAD(0x01d4, PIN_INPUT, 2) /* (AG12) I2C3_SDA */
0249 >;
0250 };
0251
0252 main_mmc1_pins_default: main-mmc1-pins-default {
0253 pinctrl-single,pins = <
0254 AM65X_IOPAD(0x02d4, PIN_INPUT_PULLDOWN, 0) /* (C27) MMC1_CLK */
0255 AM65X_IOPAD(0x02d8, PIN_INPUT_PULLUP, 0) /* (C28) MMC1_CMD */
0256 AM65X_IOPAD(0x02d0, PIN_INPUT_PULLUP, 0) /* (D28) MMC1_DAT0 */
0257 AM65X_IOPAD(0x02cc, PIN_INPUT_PULLUP, 0) /* (E27) MMC1_DAT1 */
0258 AM65X_IOPAD(0x02c8, PIN_INPUT_PULLUP, 0) /* (D26) MMC1_DAT2 */
0259 AM65X_IOPAD(0x02c4, PIN_INPUT_PULLUP, 0) /* (D27) MMC1_DAT3 */
0260 AM65X_IOPAD(0x02dc, PIN_INPUT_PULLUP, 0) /* (B24) MMC1_SDCD */
0261 AM65X_IOPAD(0x02e0, PIN_INPUT_PULLUP, 0) /* (C24) MMC1_SDWP */
0262 >;
0263 };
0264
0265 usb0_pins_default: usb0-pins-default {
0266 pinctrl-single,pins = <
0267 AM65X_IOPAD(0x02bc, PIN_OUTPUT, 0) /* (AD9) USB0_DRVVBUS */
0268 >;
0269 };
0270
0271 usb1_pins_default: usb1-pins-default {
0272 pinctrl-single,pins = <
0273 AM65X_IOPAD(0x02c0, PIN_OUTPUT, 0) /* (AC8) USB1_DRVVBUS */
0274 >;
0275 };
0276
0277 arduino_io_d4_to_d9_pins_default: arduino-io-d4-to-d9-pins-default {
0278 pinctrl-single,pins = <
0279 AM65X_IOPAD(0x0084, PIN_OUTPUT, 7) /* (AG18) GPIO0_33 */
0280 AM65X_IOPAD(0x008C, PIN_OUTPUT, 7) /* (AF17) GPIO0_35 */
0281 AM65X_IOPAD(0x0098, PIN_OUTPUT, 7) /* (AH16) GPIO0_38 */
0282 AM65X_IOPAD(0x00AC, PIN_OUTPUT, 7) /* (AH15) GPIO0_43 */
0283 AM65X_IOPAD(0x00C0, PIN_OUTPUT, 7) /* (AG15) GPIO0_48 */
0284 AM65X_IOPAD(0x00CC, PIN_OUTPUT, 7) /* (AD15) GPIO0_51 */
0285 >;
0286 };
0287
0288 dss_vout1_pins_default: dss-vout1-pins-default {
0289 pinctrl-single,pins = <
0290 AM65X_IOPAD(0x0000, PIN_OUTPUT, 1) /* VOUT1_DATA0 */
0291 AM65X_IOPAD(0x0004, PIN_OUTPUT, 1) /* VOUT1_DATA1 */
0292 AM65X_IOPAD(0x0008, PIN_OUTPUT, 1) /* VOUT1_DATA2 */
0293 AM65X_IOPAD(0x000c, PIN_OUTPUT, 1) /* VOUT1_DATA3 */
0294 AM65X_IOPAD(0x0010, PIN_OUTPUT, 1) /* VOUT1_DATA4 */
0295 AM65X_IOPAD(0x0014, PIN_OUTPUT, 1) /* VOUT1_DATA5 */
0296 AM65X_IOPAD(0x0018, PIN_OUTPUT, 1) /* VOUT1_DATA6 */
0297 AM65X_IOPAD(0x001c, PIN_OUTPUT, 1) /* VOUT1_DATA7 */
0298 AM65X_IOPAD(0x0020, PIN_OUTPUT, 1) /* VOUT1_DATA8 */
0299 AM65X_IOPAD(0x0024, PIN_OUTPUT, 1) /* VOUT1_DATA9 */
0300 AM65X_IOPAD(0x0028, PIN_OUTPUT, 1) /* VOUT1_DATA10 */
0301 AM65X_IOPAD(0x002c, PIN_OUTPUT, 1) /* VOUT1_DATA11 */
0302 AM65X_IOPAD(0x0030, PIN_OUTPUT, 1) /* VOUT1_DATA12 */
0303 AM65X_IOPAD(0x0034, PIN_OUTPUT, 1) /* VOUT1_DATA13 */
0304 AM65X_IOPAD(0x0038, PIN_OUTPUT, 1) /* VOUT1_DATA14 */
0305 AM65X_IOPAD(0x003c, PIN_OUTPUT, 1) /* VOUT1_DATA15 */
0306 AM65X_IOPAD(0x0040, PIN_OUTPUT, 1) /* VOUT1_DATA16 */
0307 AM65X_IOPAD(0x0044, PIN_OUTPUT, 1) /* VOUT1_DATA17 */
0308 AM65X_IOPAD(0x0048, PIN_OUTPUT, 1) /* VOUT1_DATA18 */
0309 AM65X_IOPAD(0x004c, PIN_OUTPUT, 1) /* VOUT1_DATA19 */
0310 AM65X_IOPAD(0x0050, PIN_OUTPUT, 1) /* VOUT1_DATA20 */
0311 AM65X_IOPAD(0x0054, PIN_OUTPUT, 1) /* VOUT1_DATA21 */
0312 AM65X_IOPAD(0x0058, PIN_OUTPUT, 1) /* VOUT1_DATA22 */
0313 AM65X_IOPAD(0x005c, PIN_OUTPUT, 1) /* VOUT1_DATA23 */
0314 AM65X_IOPAD(0x0060, PIN_OUTPUT, 1) /* VOUT1_VSYNC */
0315 AM65X_IOPAD(0x0064, PIN_OUTPUT, 1) /* VOUT1_HSYNC */
0316 AM65X_IOPAD(0x0068, PIN_OUTPUT, 1) /* VOUT1_PCLK */
0317 AM65X_IOPAD(0x006c, PIN_OUTPUT, 1) /* VOUT1_DE */
0318 >;
0319 };
0320
0321 dp_pins_default: dp-pins-default {
0322 pinctrl-single,pins = <
0323 AM65X_IOPAD(0x0078, PIN_OUTPUT, 7) /* (AF18) DP rst_n */
0324 >;
0325 };
0326
0327 main_i2c2_pins_default: main-i2c2-pins-default {
0328 pinctrl-single,pins = <
0329 AM65X_IOPAD(0x0074, PIN_INPUT, 5) /* (T27) I2C2_SCL */
0330 AM65X_IOPAD(0x0070, PIN_INPUT, 5) /* (R25) I2C2_SDA */
0331 >;
0332 };
0333 };
0334
0335 &main_pmx1 {
0336 main_i2c0_pins_default: main-i2c0-pins-default {
0337 pinctrl-single,pins = <
0338 AM65X_IOPAD(0x0000, PIN_INPUT, 0) /* (D20) I2C0_SCL */
0339 AM65X_IOPAD(0x0004, PIN_INPUT, 0) /* (C21) I2C0_SDA */
0340 >;
0341 };
0342
0343 main_i2c1_pins_default: main-i2c1-pins-default {
0344 pinctrl-single,pins = <
0345 AM65X_IOPAD(0x0008, PIN_INPUT, 0) /* (B21) I2C1_SCL */
0346 AM65X_IOPAD(0x000c, PIN_INPUT, 0) /* (E21) I2C1_SDA */
0347 >;
0348 };
0349
0350 ecap0_pins_default: ecap0-pins-default {
0351 pinctrl-single,pins = <
0352 AM65X_IOPAD(0x0010, PIN_INPUT, 0) /* (D21) ECAP0_IN_APWM_OUT */
0353 >;
0354 };
0355 };
0356
0357 &wkup_uart0 {
0358 /* Wakeup UART is used by System firmware */
0359 status = "reserved";
0360 };
0361
0362 &main_uart1 {
0363 pinctrl-names = "default";
0364 pinctrl-0 = <&main_uart1_pins_default>;
0365 };
0366
0367 &main_uart2 {
0368 status = "disabled";
0369 };
0370
0371 &mcu_uart0 {
0372 pinctrl-names = "default";
0373 pinctrl-0 = <&arduino_uart_pins_default>;
0374 };
0375
0376 &main_gpio0 {
0377 pinctrl-names = "default";
0378 pinctrl-0 = <&arduino_io_d4_to_d9_pins_default>;
0379 gpio-line-names =
0380 "main_gpio0-base", "", "", "", "", "", "", "", "", "",
0381 "", "", "", "", "", "", "", "", "", "",
0382 "", "", "", "", "", "", "", "", "", "",
0383 "", "", "", "IO4", "", "IO5", "", "", "IO6", "",
0384 "", "", "", "IO7", "", "", "", "", "IO8", "",
0385 "", "IO9";
0386 };
0387
0388 &wkup_gpio0 {
0389 pinctrl-names = "default";
0390 pinctrl-0 = <
0391 &arduino_io_d2_to_d3_pins_default
0392 &arduino_i2c_aio_switch_pins_default
0393 &arduino_io_oe_pins_default
0394 &push_button_pins_default
0395 &db9_com_mode_pins_default
0396 >;
0397 gpio-line-names =
0398 /* 0..9 */
0399 "wkup_gpio0-base", "", "", "", "UART0-mode1", "UART0-mode0",
0400 "UART0-enable", "UART0-terminate", "", "WIFI-disable",
0401 /* 10..19 */
0402 "", "", "", "", "", "", "", "", "", "",
0403 /* 20..29 */
0404 "", "A4A5-I2C-mux", "", "", "", "USER-button", "", "", "","IO0",
0405 /* 30..39 */
0406 "IO1", "IO2", "", "IO3", "IO17-direction", "A5",
0407 "IO16-direction", "IO15-direction", "IO14-direction", "A3",
0408 /* 40..49 */
0409 "", "IO18-direction", "A4", "A2", "A1", "A0", "", "", "IO13",
0410 "IO11",
0411 /* 50..51 */
0412 "IO12", "IO10";
0413 };
0414
0415 &wkup_i2c0 {
0416 pinctrl-names = "default";
0417 pinctrl-0 = <&wkup_i2c0_pins_default>;
0418 clock-frequency = <400000>;
0419 };
0420
0421 &mcu_i2c0 {
0422 pinctrl-names = "default";
0423 pinctrl-0 = <&mcu_i2c0_pins_default>;
0424 clock-frequency = <400000>;
0425
0426 psu: regulator@60 {
0427 compatible = "ti,tps62363";
0428 reg = <0x60>;
0429 regulator-name = "tps62363-vout";
0430 regulator-min-microvolt = <500000>;
0431 regulator-max-microvolt = <1500000>;
0432 regulator-boot-on;
0433 ti,vsel0-state-high;
0434 ti,vsel1-state-high;
0435 ti,enable-vout-discharge;
0436 };
0437
0438 /* D4200 */
0439 pcal9535_1: gpio@20 {
0440 compatible = "nxp,pcal9535";
0441 reg = <0x20>;
0442 #gpio-cells = <2>;
0443 gpio-controller;
0444 gpio-line-names =
0445 "A0-pull", "A1-pull", "A2-pull", "A3-pull", "A4-pull",
0446 "A5-pull", "", "",
0447 "IO14-enable", "IO15-enable", "IO16-enable",
0448 "IO17-enable", "IO18-enable", "IO19-enable";
0449 };
0450
0451 /* D4201 */
0452 pcal9535_2: gpio@21 {
0453 compatible = "nxp,pcal9535";
0454 reg = <0x21>;
0455 #gpio-cells = <2>;
0456 gpio-controller;
0457 gpio-line-names =
0458 "IO0-direction", "IO1-direction", "IO2-direction",
0459 "IO3-direction", "IO4-direction", "IO5-direction",
0460 "IO6-direction", "IO7-direction",
0461 "IO8-direction", "IO9-direction", "IO10-direction",
0462 "IO11-direction", "IO12-direction", "IO13-direction",
0463 "IO19-direction";
0464 };
0465
0466 /* D4202 */
0467 pcal9535_3: gpio@25 {
0468 compatible = "nxp,pcal9535";
0469 reg = <0x25>;
0470 #gpio-cells = <2>;
0471 gpio-controller;
0472 gpio-line-names =
0473 "IO0-pull", "IO1-pull", "IO2-pull", "IO3-pull",
0474 "IO4-pull", "IO5-pull", "IO6-pull", "IO7-pull",
0475 "IO8-pull", "IO9-pull", "IO10-pull", "IO11-pull",
0476 "IO12-pull", "IO13-pull";
0477 };
0478 };
0479
0480 &main_i2c0 {
0481 pinctrl-names = "default";
0482 pinctrl-0 = <&main_i2c0_pins_default>;
0483 clock-frequency = <400000>;
0484
0485 rtc: rtc8564@51 {
0486 compatible = "nxp,pcf8563";
0487 reg = <0x51>;
0488 };
0489
0490 eeprom: eeprom@54 {
0491 compatible = "atmel,24c08";
0492 reg = <0x54>;
0493 pagesize = <16>;
0494 };
0495 };
0496
0497 &main_i2c1 {
0498 pinctrl-names = "default";
0499 pinctrl-0 = <&main_i2c1_pins_default>;
0500 clock-frequency = <400000>;
0501 };
0502
0503 &main_i2c2 {
0504 pinctrl-names = "default";
0505 pinctrl-0 = <&main_i2c2_pins_default>;
0506 clock-frequency = <400000>;
0507 };
0508
0509 &main_i2c3 {
0510 pinctrl-names = "default";
0511 pinctrl-0 = <&main_i2c3_pins_default>;
0512 clock-frequency = <400000>;
0513
0514 #address-cells = <1>;
0515 #size-cells = <0>;
0516
0517 edp-bridge@f {
0518 compatible = "toshiba,tc358767";
0519 reg = <0x0f>;
0520 pinctrl-names = "default";
0521 pinctrl-0 = <&dp_pins_default>;
0522 reset-gpios = <&main_gpio0 30 GPIO_ACTIVE_HIGH>;
0523
0524 clock-names = "ref";
0525 clocks = <&dp_refclk>;
0526
0527 toshiba,hpd-pin = <0>;
0528
0529 ports {
0530 #address-cells = <1>;
0531 #size-cells = <0>;
0532
0533 port@1 {
0534 reg = <1>;
0535
0536 bridge_in: endpoint {
0537 remote-endpoint = <&dpi_out>;
0538 };
0539 };
0540 };
0541 };
0542 };
0543
0544 &mcu_cpsw {
0545 status = "disabled";
0546 };
0547
0548 &ecap0 {
0549 pinctrl-names = "default";
0550 pinctrl-0 = <&ecap0_pins_default>;
0551 };
0552
0553 &sdhci1 {
0554 pinctrl-names = "default";
0555 pinctrl-0 = <&main_mmc1_pins_default>;
0556 ti,driver-strength-ohm = <50>;
0557 disable-wp;
0558 };
0559
0560 &usb0 {
0561 pinctrl-names = "default";
0562 pinctrl-0 = <&usb0_pins_default>;
0563 dr_mode = "host";
0564 };
0565
0566 &usb1 {
0567 pinctrl-names = "default";
0568 pinctrl-0 = <&usb1_pins_default>;
0569 dr_mode = "host";
0570 };
0571
0572 &mcu_spi0 {
0573 pinctrl-names = "default";
0574 pinctrl-0 = <&mcu_spi0_pins_default>;
0575
0576 #address-cells = <1>;
0577 #size-cells = <0>;
0578 ti,pindir-d0-out-d1-in;
0579 };
0580
0581 &tscadc0 {
0582 status = "disabled";
0583 };
0584
0585 &tscadc1 {
0586 adc {
0587 ti,adc-channels = <0 1 2 3 4 5>;
0588 };
0589 };
0590
0591 &ospi0 {
0592 pinctrl-names = "default";
0593 pinctrl-0 = <&mcu_fss0_ospi0_pins_default>;
0594
0595 flash@0 {
0596 compatible = "jedec,spi-nor";
0597 reg = <0x0>;
0598 spi-tx-bus-width = <1>;
0599 spi-rx-bus-width = <1>;
0600 spi-max-frequency = <50000000>;
0601 cdns,tshsl-ns = <60>;
0602 cdns,tsd2d-ns = <60>;
0603 cdns,tchsh-ns = <60>;
0604 cdns,tslch-ns = <60>;
0605 cdns,read-delay = <2>;
0606 };
0607 };
0608
0609 &dss {
0610 pinctrl-names = "default";
0611 pinctrl-0 = <&dss_vout1_pins_default>;
0612
0613 assigned-clocks = <&k3_clks 67 2>;
0614 assigned-clock-parents = <&k3_clks 67 5>;
0615 };
0616
0617 &dss_ports {
0618 #address-cells = <1>;
0619 #size-cells = <0>;
0620 port@1 {
0621 reg = <1>;
0622
0623 dpi_out: endpoint {
0624 remote-endpoint = <&bridge_in>;
0625 };
0626 };
0627 };
0628
0629 &pcie0_rc {
0630 status = "disabled";
0631 };
0632
0633 &pcie0_ep {
0634 status = "disabled";
0635 };
0636
0637 &pcie1_rc {
0638 pinctrl-names = "default";
0639 pinctrl-0 = <&minipcie_pins_default>;
0640
0641 num-lanes = <1>;
0642 phys = <&serdes1 PHY_TYPE_PCIE 0>;
0643 phy-names = "pcie-phy0";
0644 reset-gpios = <&wkup_gpio0 27 GPIO_ACTIVE_HIGH>;
0645 };
0646
0647 &m_can0 {
0648 status = "disabled";
0649 };
0650
0651 &m_can1 {
0652 status = "disabled";
0653 };
0654
0655 &pcie1_ep {
0656 status = "disabled";
0657 };
0658
0659 &mailbox0_cluster0 {
0660 interrupts = <436>;
0661
0662 mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 {
0663 ti,mbox-tx = <1 0 0>;
0664 ti,mbox-rx = <0 0 0>;
0665 };
0666 };
0667
0668 &mailbox0_cluster1 {
0669 interrupts = <432>;
0670
0671 mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 {
0672 ti,mbox-tx = <1 0 0>;
0673 ti,mbox-rx = <0 0 0>;
0674 };
0675 };
0676
0677 &mailbox0_cluster2 {
0678 status = "disabled";
0679 };
0680
0681 &mailbox0_cluster3 {
0682 status = "disabled";
0683 };
0684
0685 &mailbox0_cluster4 {
0686 status = "disabled";
0687 };
0688
0689 &mailbox0_cluster5 {
0690 status = "disabled";
0691 };
0692
0693 &mailbox0_cluster6 {
0694 status = "disabled";
0695 };
0696
0697 &mailbox0_cluster7 {
0698 status = "disabled";
0699 };
0700
0701 &mailbox0_cluster8 {
0702 status = "disabled";
0703 };
0704
0705 &mailbox0_cluster9 {
0706 status = "disabled";
0707 };
0708
0709 &mailbox0_cluster10 {
0710 status = "disabled";
0711 };
0712
0713 &mailbox0_cluster11 {
0714 status = "disabled";
0715 };
0716
0717 &mcu_r5fss0_core0 {
0718 memory-region = <&mcu_r5fss0_core0_dma_memory_region>,
0719 <&mcu_r5fss0_core0_memory_region>;
0720 mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>;
0721 };
0722
0723 &mcu_r5fss0_core1 {
0724 memory-region = <&mcu_r5fss0_core1_dma_memory_region>,
0725 <&mcu_r5fss0_core1_memory_region>;
0726 mboxes = <&mailbox0_cluster1 &mbox_mcu_r5fss0_core1>;
0727 };
0728
0729 &icssg0_mdio {
0730 status = "disabled";
0731 };
0732
0733 &icssg1_mdio {
0734 status = "disabled";
0735 };
0736
0737 &icssg2_mdio {
0738 status = "disabled";
0739 };
0740
0741 &mcasp0 {
0742 status = "disabled";
0743 };
0744
0745 &mcasp1 {
0746 status = "disabled";
0747 };
0748
0749 &mcasp2 {
0750 status = "disabled";
0751 };