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