1// SPDX-License-Identifier: GPL-2.0-only OR MIT 2/* 3 * Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/ 4 */ 5 6/dts-v1/; 7 8#include <dt-bindings/phy/phy.h> 9#include <dt-bindings/gpio/gpio.h> 10#include <dt-bindings/net/ti-dp83867.h> 11#include <dt-bindings/leds/common.h> 12#include "k3-am642.dtsi" 13 14#include "k3-serdes.h" 15 16/ { 17 compatible = "ti,am642-sk", "ti,am642"; 18 model = "Texas Instruments AM642 SK"; 19 20 chosen { 21 stdout-path = &main_uart0; 22 }; 23 24 aliases { 25 serial0 = &mcu_uart0; 26 serial1 = &main_uart1; 27 serial2 = &main_uart0; 28 i2c0 = &main_i2c0; 29 i2c1 = &main_i2c1; 30 mmc0 = &sdhci0; 31 mmc1 = &sdhci1; 32 ethernet0 = &cpsw_port1; 33 ethernet1 = &cpsw_port2; 34 }; 35 36 memory@80000000 { 37 bootph-pre-ram; 38 device_type = "memory"; 39 /* 2G RAM */ 40 reg = <0x00000000 0x80000000 0x00000000 0x80000000>; 41 }; 42 43 reserved-memory { 44 #address-cells = <2>; 45 #size-cells = <2>; 46 ranges; 47 48 secure_ddr: optee@9e800000 { 49 reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */ 50 alignment = <0x1000>; 51 no-map; 52 }; 53 54 main_r5fss0_core0_dma_memory_region: r5f-dma-memory@a0000000 { 55 compatible = "shared-dma-pool"; 56 reg = <0x00 0xa0000000 0x00 0x100000>; 57 no-map; 58 }; 59 60 main_r5fss0_core0_memory_region: r5f-memory@a0100000 { 61 compatible = "shared-dma-pool"; 62 reg = <0x00 0xa0100000 0x00 0xf00000>; 63 no-map; 64 }; 65 66 main_r5fss0_core1_dma_memory_region: r5f-dma-memory@a1000000 { 67 compatible = "shared-dma-pool"; 68 reg = <0x00 0xa1000000 0x00 0x100000>; 69 no-map; 70 }; 71 72 main_r5fss0_core1_memory_region: r5f-memory@a1100000 { 73 compatible = "shared-dma-pool"; 74 reg = <0x00 0xa1100000 0x00 0xf00000>; 75 no-map; 76 }; 77 78 main_r5fss1_core0_dma_memory_region: r5f-dma-memory@a2000000 { 79 compatible = "shared-dma-pool"; 80 reg = <0x00 0xa2000000 0x00 0x100000>; 81 no-map; 82 }; 83 84 main_r5fss1_core0_memory_region: r5f-memory@a2100000 { 85 compatible = "shared-dma-pool"; 86 reg = <0x00 0xa2100000 0x00 0xf00000>; 87 no-map; 88 }; 89 90 main_r5fss1_core1_dma_memory_region: r5f-dma-memory@a3000000 { 91 compatible = "shared-dma-pool"; 92 reg = <0x00 0xa3000000 0x00 0x100000>; 93 no-map; 94 }; 95 96 main_r5fss1_core1_memory_region: r5f-memory@a3100000 { 97 compatible = "shared-dma-pool"; 98 reg = <0x00 0xa3100000 0x00 0xf00000>; 99 no-map; 100 }; 101 102 rtos_ipc_memory_region: ipc-memories@a5000000 { 103 reg = <0x00 0xa5000000 0x00 0x00800000>; 104 alignment = <0x1000>; 105 no-map; 106 }; 107 }; 108 109 vusb_main: regulator-0 { 110 /* USB MAIN INPUT 5V DC */ 111 bootph-all; 112 compatible = "regulator-fixed"; 113 regulator-name = "vusb_main5v0"; 114 regulator-min-microvolt = <5000000>; 115 regulator-max-microvolt = <5000000>; 116 regulator-always-on; 117 regulator-boot-on; 118 }; 119 120 vcc_3v3_sys: regulator-1 { 121 /* output of LP8733xx */ 122 bootph-all; 123 compatible = "regulator-fixed"; 124 regulator-name = "vcc_3v3_sys"; 125 regulator-min-microvolt = <3300000>; 126 regulator-max-microvolt = <3300000>; 127 vin-supply = <&vusb_main>; 128 regulator-always-on; 129 regulator-boot-on; 130 }; 131 132 vdd_mmc1: regulator-2 { 133 /* TPS2051BD */ 134 bootph-all; 135 compatible = "regulator-fixed"; 136 regulator-name = "vdd_mmc1"; 137 regulator-min-microvolt = <3300000>; 138 regulator-max-microvolt = <3300000>; 139 regulator-boot-on; 140 enable-active-high; 141 vin-supply = <&vcc_3v3_sys>; 142 gpio = <&exp1 3 GPIO_ACTIVE_HIGH>; 143 }; 144 145 com8_ls_en: regulator-3 { 146 compatible = "regulator-fixed"; 147 regulator-name = "com8_ls_en"; 148 regulator-min-microvolt = <3300000>; 149 regulator-max-microvolt = <3300000>; 150 regulator-always-on; 151 regulator-boot-on; 152 pinctrl-0 = <&main_com8_ls_en_pins_default>; 153 pinctrl-names = "default"; 154 gpio = <&main_gpio0 62 GPIO_ACTIVE_LOW>; 155 }; 156 157 wlan_en: regulator-4 { 158 /* output of SN74AVC4T245RSVR */ 159 compatible = "regulator-fixed"; 160 regulator-name = "wlan_en"; 161 regulator-min-microvolt = <1800000>; 162 regulator-max-microvolt = <1800000>; 163 enable-active-high; 164 pinctrl-0 = <&main_wlan_en_pins_default>; 165 pinctrl-names = "default"; 166 vin-supply = <&com8_ls_en>; 167 gpio = <&main_gpio0 48 GPIO_ACTIVE_HIGH>; 168 }; 169 170 led-controller { 171 compatible = "gpio-leds"; 172 173 led-0 { 174 color = <LED_COLOR_ID_GREEN>; 175 function = LED_FUNCTION_INDICATOR; 176 function-enumerator = <1>; 177 gpios = <&exp2 0 GPIO_ACTIVE_HIGH>; 178 default-state = "off"; 179 }; 180 181 led-1 { 182 color = <LED_COLOR_ID_RED>; 183 function = LED_FUNCTION_INDICATOR; 184 function-enumerator = <2>; 185 gpios = <&exp2 1 GPIO_ACTIVE_HIGH>; 186 default-state = "off"; 187 }; 188 189 led-2 { 190 color = <LED_COLOR_ID_GREEN>; 191 function = LED_FUNCTION_INDICATOR; 192 function-enumerator = <3>; 193 gpios = <&exp2 2 GPIO_ACTIVE_HIGH>; 194 default-state = "off"; 195 }; 196 197 led-3 { 198 color = <LED_COLOR_ID_AMBER>; 199 function = LED_FUNCTION_INDICATOR; 200 function-enumerator = <4>; 201 gpios = <&exp2 3 GPIO_ACTIVE_HIGH>; 202 default-state = "off"; 203 }; 204 205 led-4 { 206 color = <LED_COLOR_ID_GREEN>; 207 function = LED_FUNCTION_INDICATOR; 208 function-enumerator = <5>; 209 gpios = <&exp2 4 GPIO_ACTIVE_HIGH>; 210 default-state = "off"; 211 }; 212 213 led-5 { 214 color = <LED_COLOR_ID_RED>; 215 function = LED_FUNCTION_INDICATOR; 216 function-enumerator = <6>; 217 gpios = <&exp2 5 GPIO_ACTIVE_HIGH>; 218 default-state = "off"; 219 }; 220 221 led-6 { 222 color = <LED_COLOR_ID_GREEN>; 223 function = LED_FUNCTION_INDICATOR; 224 function-enumerator = <7>; 225 gpios = <&exp2 6 GPIO_ACTIVE_HIGH>; 226 default-state = "off"; 227 }; 228 229 led-7 { 230 color = <LED_COLOR_ID_AMBER>; 231 function = LED_FUNCTION_HEARTBEAT; 232 function-enumerator = <8>; 233 linux,default-trigger = "heartbeat"; 234 gpios = <&exp2 7 GPIO_ACTIVE_HIGH>; 235 }; 236 }; 237}; 238 239&main_pmx0 { 240 main_mmc1_pins_default: main-mmc1-default-pins { 241 bootph-all; 242 pinctrl-single,pins = < 243 AM64X_IOPAD(0x029c, PIN_INPUT_PULLUP, 0) /* (C20) MMC1_SDWP */ 244 AM64X_IOPAD(0x0298, PIN_INPUT_PULLUP, 0) /* (D19) MMC1_SDCD */ 245 AM64X_IOPAD(0x0294, PIN_INPUT_PULLUP, 0) /* (J19) MMC1_CMD */ 246 AM64X_IOPAD(0x0290, PIN_INPUT, 0) /* (#N/A) MMC1_CLKLB */ 247 AM64X_IOPAD(0x028c, PIN_INPUT_PULLDOWN, 0) /* (L20) MMC1_CLK */ 248 AM64X_IOPAD(0x0288, PIN_INPUT_PULLUP, 0) /* (K21) MMC1_DAT0 */ 249 AM64X_IOPAD(0x0284, PIN_INPUT_PULLUP, 0) /* (L21) MMC1_DAT1 */ 250 AM64X_IOPAD(0x0280, PIN_INPUT_PULLUP, 0) /* (K19) MMC1_DAT2 */ 251 AM64X_IOPAD(0x027c, PIN_INPUT_PULLUP, 0) /* (K18) MMC1_DAT3 */ 252 >; 253 }; 254 255 main_uart0_pins_default: main-uart0-default-pins { 256 bootph-all; 257 pinctrl-single,pins = < 258 AM64X_IOPAD(0x0238, PIN_INPUT, 0) /* (B16) UART0_CTSn */ 259 AM64X_IOPAD(0x023c, PIN_OUTPUT, 0) /* (A16) UART0_RTSn */ 260 AM64X_IOPAD(0x0230, PIN_INPUT, 0) /* (D15) UART0_RXD */ 261 AM64X_IOPAD(0x0234, PIN_OUTPUT, 0) /* (C16) UART0_TXD */ 262 >; 263 }; 264 265 main_uart1_pins_default: main-uart1-default-pins { 266 bootph-pre-ram; 267 pinctrl-single,pins = < 268 AM64X_IOPAD(0x0248, PIN_INPUT, 0) /* (D16) UART1_CTSn */ 269 AM64X_IOPAD(0x024c, PIN_OUTPUT, 0) /* (E16) UART1_RTSn */ 270 AM64X_IOPAD(0x0240, PIN_INPUT, 0) /* (E15) UART1_RXD */ 271 AM64X_IOPAD(0x0244, PIN_OUTPUT, 0) /* (E14) UART1_TXD */ 272 >; 273 }; 274 275 main_usb0_pins_default: main-usb0-default-pins { 276 bootph-all; 277 pinctrl-single,pins = < 278 AM64X_IOPAD(0x02a8, PIN_OUTPUT, 0) /* (E19) USB0_DRVVBUS */ 279 >; 280 }; 281 282 main_i2c0_pins_default: main-i2c0-default-pins { 283 bootph-all; 284 pinctrl-single,pins = < 285 AM64X_IOPAD(0x0260, PIN_INPUT_PULLUP, 0) /* (A18) I2C0_SCL */ 286 AM64X_IOPAD(0x0264, PIN_INPUT_PULLUP, 0) /* (B18) I2C0_SDA */ 287 >; 288 }; 289 290 main_i2c1_pins_default: main-i2c1-default-pins { 291 bootph-all; 292 pinctrl-single,pins = < 293 AM64X_IOPAD(0x0268, PIN_INPUT_PULLUP, 0) /* (C18) I2C1_SCL */ 294 AM64X_IOPAD(0x026c, PIN_INPUT_PULLUP, 0) /* (B19) I2C1_SDA */ 295 >; 296 }; 297 298 mdio1_pins_default: mdio1-default-pins { 299 pinctrl-single,pins = < 300 AM64X_IOPAD(0x01fc, PIN_OUTPUT, 4) /* (R2) PRG0_PRU1_GPO19.MDIO0_MDC */ 301 AM64X_IOPAD(0x01f8, PIN_INPUT, 4) /* (P5) PRG0_PRU1_GPO18.MDIO0_MDIO */ 302 >; 303 }; 304 305 rgmii1_pins_default: rgmii1-default-pins { 306 pinctrl-single,pins = < 307 AM64X_IOPAD(0x011c, PIN_INPUT, 4) /* (AA13) PRG1_PRU1_GPO5.RGMII1_RD0 */ 308 AM64X_IOPAD(0x0128, PIN_INPUT, 4) /* (U12) PRG1_PRU1_GPO8.RGMII1_RD1 */ 309 AM64X_IOPAD(0x0150, PIN_INPUT, 4) /* (Y13) PRG1_PRU1_GPO18.RGMII1_RD2 */ 310 AM64X_IOPAD(0x0154, PIN_INPUT, 4) /* (V12) PRG1_PRU1_GPO19.RGMII1_RD3 */ 311 AM64X_IOPAD(0x00d8, PIN_INPUT, 4) /* (W13) PRG1_PRU0_GPO8.RGMII1_RXC */ 312 AM64X_IOPAD(0x00cc, PIN_INPUT, 4) /* (V13) PRG1_PRU0_GPO5.RGMII1_RX_CTL */ 313 AM64X_IOPAD(0x0124, PIN_OUTPUT, 4) /* (V15) PRG1_PRU1_GPO7.RGMII1_TD0 */ 314 AM64X_IOPAD(0x012c, PIN_OUTPUT, 4) /* (V14) PRG1_PRU1_GPO9.RGMII1_TD1 */ 315 AM64X_IOPAD(0x0130, PIN_OUTPUT, 4) /* (W14) PRG1_PRU1_GPO10.RGMII1_TD2 */ 316 AM64X_IOPAD(0x014c, PIN_OUTPUT, 4) /* (AA14) PRG1_PRU1_GPO17.RGMII1_TD3 */ 317 AM64X_IOPAD(0x00e0, PIN_OUTPUT, 4) /* (U14) PRG1_PRU0_GPO10.RGMII1_TXC */ 318 AM64X_IOPAD(0x00dc, PIN_OUTPUT, 4) /* (U15) PRG1_PRU0_GPO9.RGMII1_TX_CTL */ 319 >; 320 }; 321 322 rgmii2_pins_default: rgmii2-default-pins { 323 pinctrl-single,pins = < 324 AM64X_IOPAD(0x0108, PIN_INPUT, 4) /* (W11) PRG1_PRU1_GPO0.RGMII2_RD0 */ 325 AM64X_IOPAD(0x010c, PIN_INPUT, 4) /* (V11) PRG1_PRU1_GPO1.RGMII2_RD1 */ 326 AM64X_IOPAD(0x0110, PIN_INPUT, 4) /* (AA12) PRG1_PRU1_GPO2.RGMII2_RD2 */ 327 AM64X_IOPAD(0x0114, PIN_INPUT, 4) /* (Y12) PRG1_PRU1_GPO3.RGMII2_RD3 */ 328 AM64X_IOPAD(0x0120, PIN_INPUT, 4) /* (U11) PRG1_PRU1_GPO6.RGMII2_RXC */ 329 AM64X_IOPAD(0x0118, PIN_INPUT, 4) /* (W12) PRG1_PRU1_GPO4.RGMII2_RX_CTL */ 330 AM64X_IOPAD(0x0134, PIN_OUTPUT, 4) /* (AA10) PRG1_PRU1_GPO11.RGMII2_TD0 */ 331 AM64X_IOPAD(0x0138, PIN_OUTPUT, 4) /* (V10) PRG1_PRU1_GPO12.RGMII2_TD1 */ 332 AM64X_IOPAD(0x013c, PIN_OUTPUT, 4) /* (U10) PRG1_PRU1_GPO13.RGMII2_TD2 */ 333 AM64X_IOPAD(0x0140, PIN_OUTPUT, 4) /* (AA11) PRG1_PRU1_GPO14.RGMII2_TD3 */ 334 AM64X_IOPAD(0x0148, PIN_OUTPUT, 4) /* (Y10) PRG1_PRU1_GPO16.RGMII2_TXC */ 335 AM64X_IOPAD(0x0144, PIN_OUTPUT, 4) /* (Y11) PRG1_PRU1_GPO15.RGMII2_TX_CTL */ 336 >; 337 }; 338 339 ospi0_pins_default: ospi0-default-pins { 340 pinctrl-single,pins = < 341 AM64X_IOPAD(0x0000, PIN_OUTPUT, 0) /* (N20) OSPI0_CLK */ 342 AM64X_IOPAD(0x002c, PIN_OUTPUT, 0) /* (L19) OSPI0_CSn0 */ 343 AM64X_IOPAD(0x000c, PIN_INPUT, 0) /* (M19) OSPI0_D0 */ 344 AM64X_IOPAD(0x0010, PIN_INPUT, 0) /* (M18) OSPI0_D1 */ 345 AM64X_IOPAD(0x0014, PIN_INPUT, 0) /* (M20) OSPI0_D2 */ 346 AM64X_IOPAD(0x0018, PIN_INPUT, 0) /* (M21) OSPI0_D3 */ 347 AM64X_IOPAD(0x001c, PIN_INPUT, 0) /* (P21) OSPI0_D4 */ 348 AM64X_IOPAD(0x0020, PIN_INPUT, 0) /* (P20) OSPI0_D5 */ 349 AM64X_IOPAD(0x0024, PIN_INPUT, 0) /* (N18) OSPI0_D6 */ 350 AM64X_IOPAD(0x0028, PIN_INPUT, 0) /* (M17) OSPI0_D7 */ 351 AM64X_IOPAD(0x0008, PIN_INPUT, 0) /* (N19) OSPI0_DQS */ 352 >; 353 }; 354 355 main_ecap0_pins_default: main-ecap0-default-pins { 356 pinctrl-single,pins = < 357 AM64X_IOPAD(0x0270, PIN_INPUT, 0) /* (D18) ECAP0_IN_APWM_OUT */ 358 >; 359 }; 360 main_wlan_en_pins_default: main-wlan-en-default-pins { 361 pinctrl-single,pins = < 362 AM64X_IOPAD(0x00c4, PIN_OUTPUT_PULLUP, 7) /* (V8) GPIO0_48 */ 363 >; 364 }; 365 366 main_com8_ls_en_pins_default: main-com8-ls-en-default-pins { 367 pinctrl-single,pins = < 368 AM64X_IOPAD(0x00fc, PIN_OUTPUT, 7) /* (U7) PRG1_PRU0_GPO17.GPIO0_62 */ 369 >; 370 }; 371 372 main_wlan_pins_default: main-wlan-default-pins { 373 pinctrl-single,pins = < 374 AM64X_IOPAD(0x00bc, PIN_INPUT, 7) /* (U8) GPIO0_46 */ 375 >; 376 }; 377}; 378 379&main_uart0 { 380 bootph-all; 381 status = "okay"; 382 pinctrl-names = "default"; 383 pinctrl-0 = <&main_uart0_pins_default>; 384}; 385 386&main_uart1 { 387 /* main_uart1 is reserved for firmware usage */ 388 bootph-pre-ram; 389 status = "reserved"; 390 pinctrl-names = "default"; 391 pinctrl-0 = <&main_uart1_pins_default>; 392}; 393 394&main_i2c0 { 395 bootph-all; 396 status = "okay"; 397 pinctrl-names = "default"; 398 pinctrl-0 = <&main_i2c0_pins_default>; 399 clock-frequency = <400000>; 400 401 eeprom@51 { 402 compatible = "atmel,24c512"; 403 reg = <0x51>; 404 }; 405}; 406 407&main_i2c1 { 408 bootph-all; 409 status = "okay"; 410 pinctrl-names = "default"; 411 pinctrl-0 = <&main_i2c1_pins_default>; 412 clock-frequency = <400000>; 413 414 exp1: gpio@70 { 415 bootph-all; 416 compatible = "nxp,pca9538"; 417 reg = <0x70>; 418 gpio-controller; 419 #gpio-cells = <2>; 420 gpio-line-names = "GPIO_CPSW2_RST", "GPIO_CPSW1_RST", 421 "PRU_DETECT", "MMC1_SD_EN", 422 "VPP_LDO_EN", "RPI_PS_3V3_En", 423 "RPI_PS_5V0_En", "RPI_HAT_DETECT"; 424 }; 425 426 exp2: gpio@60 { 427 compatible = "ti,tpic2810"; 428 reg = <0x60>; 429 gpio-controller; 430 #gpio-cells = <2>; 431 gpio-line-names = "LED1","LED2","LED3","LED4","LED5","LED6","LED7","LED8"; 432 }; 433}; 434 435/* mcu_gpio0 and mcu_gpio_intr are reserved for mcu firmware usage */ 436&mcu_gpio0 { 437 status = "reserved"; 438}; 439 440&mcu_gpio_intr { 441 status = "reserved"; 442}; 443 444&sdhci0 { 445 status = "okay"; 446 vmmc-supply = <&wlan_en>; 447 bus-width = <4>; 448 non-removable; 449 cap-power-off-card; 450 keep-power-in-suspend; 451 ti,driver-strength-ohm = <50>; 452 453 #address-cells = <1>; 454 #size-cells = <0>; 455 wlcore: wlcore@2 { 456 compatible = "ti,wl1837"; 457 reg = <2>; 458 pinctrl-0 = <&main_wlan_pins_default>; 459 pinctrl-names = "default"; 460 interrupt-parent = <&main_gpio0>; 461 interrupts = <46 IRQ_TYPE_EDGE_FALLING>; 462 }; 463}; 464 465/* SD/MMC */ 466&sdhci1 { 467 bootph-all; 468 status = "okay"; 469 vmmc-supply = <&vdd_mmc1>; 470 pinctrl-names = "default"; 471 pinctrl-0 = <&main_mmc1_pins_default>; 472 disable-wp; 473}; 474 475&serdes_ln_ctrl { 476 bootph-all; 477 idle-states = <AM64_SERDES0_LANE0_USB>; 478}; 479 480&serdes_refclk { 481 bootph-all; 482}; 483 484&serdes_wiz0 { 485 bootph-all; 486}; 487 488&serdes0 { 489 bootph-all; 490 serdes0_usb_link: phy@0 { 491 bootph-all; 492 reg = <0>; 493 cdns,num-lanes = <1>; 494 #phy-cells = <0>; 495 cdns,phy-type = <PHY_TYPE_USB3>; 496 resets = <&serdes_wiz0 1>; 497 }; 498}; 499 500&usbss0 { 501 bootph-all; 502 ti,vbus-divider; 503}; 504 505&usb0 { 506 bootph-all; 507 dr_mode = "host"; 508 maximum-speed = "super-speed"; 509 pinctrl-names = "default"; 510 pinctrl-0 = <&main_usb0_pins_default>; 511 phys = <&serdes0_usb_link>; 512 phy-names = "cdns3,usb3-phy"; 513}; 514 515&cpsw3g { 516 pinctrl-names = "default"; 517 pinctrl-0 = <&rgmii1_pins_default>, <&rgmii2_pins_default>; 518}; 519 520&cpsw_port1 { 521 phy-mode = "rgmii-rxid"; 522 phy-handle = <&cpsw3g_phy0>; 523}; 524 525&cpsw_port2 { 526 phy-mode = "rgmii-rxid"; 527 phy-handle = <&cpsw3g_phy1>; 528}; 529 530&cpsw3g_mdio { 531 status = "okay"; 532 pinctrl-names = "default"; 533 pinctrl-0 = <&mdio1_pins_default>; 534 535 cpsw3g_phy0: ethernet-phy@0 { 536 reg = <0>; 537 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; 538 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 539 }; 540 541 cpsw3g_phy1: ethernet-phy@1 { 542 reg = <1>; 543 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; 544 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 545 }; 546}; 547 548&ospi0 { 549 status = "okay"; 550 pinctrl-names = "default"; 551 pinctrl-0 = <&ospi0_pins_default>; 552 553 flash@0 { 554 compatible = "jedec,spi-nor"; 555 reg = <0x0>; 556 spi-tx-bus-width = <8>; 557 spi-rx-bus-width = <8>; 558 spi-max-frequency = <25000000>; 559 cdns,tshsl-ns = <60>; 560 cdns,tsd2d-ns = <60>; 561 cdns,tchsh-ns = <60>; 562 cdns,tslch-ns = <60>; 563 cdns,read-delay = <4>; 564 565 partitions { 566 compatible = "fixed-partitions"; 567 #address-cells = <1>; 568 #size-cells = <1>; 569 570 partition@0 { 571 label = "ospi.tiboot3"; 572 reg = <0x0 0x100000>; 573 }; 574 575 partition@100000 { 576 label = "ospi.tispl"; 577 reg = <0x100000 0x200000>; 578 }; 579 580 partition@300000 { 581 label = "ospi.u-boot"; 582 reg = <0x300000 0x400000>; 583 }; 584 585 partition@700000 { 586 label = "ospi.env"; 587 reg = <0x700000 0x40000>; 588 }; 589 590 partition@740000 { 591 label = "ospi.env.backup"; 592 reg = <0x740000 0x40000>; 593 }; 594 595 partition@800000 { 596 label = "ospi.rootfs"; 597 reg = <0x800000 0x37c0000>; 598 }; 599 600 partition@3fc0000 { 601 label = "ospi.phypattern"; 602 reg = <0x3fc0000 0x40000>; 603 }; 604 }; 605 }; 606}; 607 608&mailbox0_cluster2 { 609 status = "okay"; 610 611 mbox_main_r5fss0_core0: mbox-main-r5fss0-core0 { 612 ti,mbox-rx = <0 0 2>; 613 ti,mbox-tx = <1 0 2>; 614 }; 615 616 mbox_main_r5fss0_core1: mbox-main-r5fss0-core1 { 617 ti,mbox-rx = <2 0 2>; 618 ti,mbox-tx = <3 0 2>; 619 }; 620}; 621 622&mailbox0_cluster4 { 623 status = "okay"; 624 625 mbox_main_r5fss1_core0: mbox-main-r5fss1-core0 { 626 ti,mbox-rx = <0 0 2>; 627 ti,mbox-tx = <1 0 2>; 628 }; 629 630 mbox_main_r5fss1_core1: mbox-main-r5fss1-core1 { 631 ti,mbox-rx = <2 0 2>; 632 ti,mbox-tx = <3 0 2>; 633 }; 634}; 635 636&mailbox0_cluster6 { 637 status = "okay"; 638 639 mbox_m4_0: mbox-m4-0 { 640 ti,mbox-rx = <0 0 2>; 641 ti,mbox-tx = <1 0 2>; 642 }; 643}; 644 645&main_r5fss0_core0 { 646 mboxes = <&mailbox0_cluster2 &mbox_main_r5fss0_core0>; 647 memory-region = <&main_r5fss0_core0_dma_memory_region>, 648 <&main_r5fss0_core0_memory_region>; 649}; 650 651&main_r5fss0_core1 { 652 mboxes = <&mailbox0_cluster2 &mbox_main_r5fss0_core1>; 653 memory-region = <&main_r5fss0_core1_dma_memory_region>, 654 <&main_r5fss0_core1_memory_region>; 655}; 656 657&main_r5fss1_core0 { 658 mboxes = <&mailbox0_cluster4 &mbox_main_r5fss1_core0>; 659 memory-region = <&main_r5fss1_core0_dma_memory_region>, 660 <&main_r5fss1_core0_memory_region>; 661}; 662 663&main_r5fss1_core1 { 664 mboxes = <&mailbox0_cluster4 &mbox_main_r5fss1_core1>; 665 memory-region = <&main_r5fss1_core1_dma_memory_region>, 666 <&main_r5fss1_core1_memory_region>; 667}; 668 669&ecap0 { 670 status = "okay"; 671 /* PWM is available on Pin 1 of header J3 */ 672 pinctrl-names = "default"; 673 pinctrl-0 = <&main_ecap0_pins_default>; 674}; 675