1 // SPDX-License-Identifier: GPL-2.0-only OR MI 2 /* 3 * Copyright (C) 2022-2024 Texas Instruments I 4 * 5 * Design Files: https://www.ti.com/lit/zip/SP 6 * TRM: https://www.ti.com/lit/zip/spruj52 7 */ 8 9 /dts-v1/; 10 11 #include <dt-bindings/net/ti-dp83867.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include "k3-j784s4.dtsi" 14 15 / { 16 compatible = "ti,am69-sk", "ti,j784s4" 17 model = "Texas Instruments AM69 SK"; 18 19 chosen { 20 stdout-path = "serial2:115200n 21 }; 22 23 aliases { 24 serial0 = &wkup_uart0; 25 serial1 = &mcu_uart0; 26 serial2 = &main_uart8; 27 mmc0 = &main_sdhci0; 28 mmc1 = &main_sdhci1; 29 i2c0 = &wkup_i2c0; 30 i2c3 = &main_i2c0; 31 ethernet0 = &mcu_cpsw_port1; 32 }; 33 34 memory@80000000 { 35 device_type = "memory"; 36 bootph-all; 37 /* 32G RAM */ 38 reg = <0x00000000 0x80000000 0 39 <0x00000008 0x80000000 0 40 }; 41 42 reserved_memory: reserved-memory { 43 #address-cells = <2>; 44 #size-cells = <2>; 45 ranges; 46 47 secure_ddr: optee@9e800000 { 48 reg = <0x00 0x9e800000 49 no-map; 50 }; 51 52 mcu_r5fss0_core0_dma_memory_re 53 compatible = "shared-d 54 reg = <0x00 0xa0000000 55 no-map; 56 }; 57 58 mcu_r5fss0_core0_memory_region 59 compatible = "shared-d 60 reg = <0x00 0xa0100000 61 no-map; 62 }; 63 64 mcu_r5fss0_core1_dma_memory_re 65 compatible = "shared-d 66 reg = <0x00 0xa1000000 67 no-map; 68 }; 69 70 mcu_r5fss0_core1_memory_region 71 compatible = "shared-d 72 reg = <0x00 0xa1100000 73 no-map; 74 }; 75 76 main_r5fss0_core0_dma_memory_r 77 compatible = "shared-d 78 reg = <0x00 0xa2000000 79 no-map; 80 }; 81 82 main_r5fss0_core0_memory_regio 83 compatible = "shared-d 84 reg = <0x00 0xa2100000 85 no-map; 86 }; 87 88 main_r5fss0_core1_dma_memory_r 89 compatible = "shared-d 90 reg = <0x00 0xa3000000 91 no-map; 92 }; 93 94 main_r5fss0_core1_memory_regio 95 compatible = "shared-d 96 reg = <0x00 0xa3100000 97 no-map; 98 }; 99 100 main_r5fss1_core0_dma_memory_r 101 compatible = "shared-d 102 reg = <0x00 0xa4000000 103 no-map; 104 }; 105 106 main_r5fss1_core0_memory_regio 107 compatible = "shared-d 108 reg = <0x00 0xa4100000 109 no-map; 110 }; 111 112 main_r5fss1_core1_dma_memory_r 113 compatible = "shared-d 114 reg = <0x00 0xa5000000 115 no-map; 116 }; 117 118 main_r5fss1_core1_memory_regio 119 compatible = "shared-d 120 reg = <0x00 0xa5100000 121 no-map; 122 }; 123 124 main_r5fss2_core0_dma_memory_r 125 compatible = "shared-d 126 reg = <0x00 0xa6000000 127 no-map; 128 }; 129 130 main_r5fss2_core0_memory_regio 131 compatible = "shared-d 132 reg = <0x00 0xa6100000 133 no-map; 134 }; 135 136 main_r5fss2_core1_dma_memory_r 137 compatible = "shared-d 138 reg = <0x00 0xa7000000 139 no-map; 140 }; 141 142 main_r5fss2_core1_memory_regio 143 compatible = "shared-d 144 reg = <0x00 0xa7100000 145 no-map; 146 }; 147 148 c71_0_dma_memory_region: c71-d 149 compatible = "shared-d 150 reg = <0x00 0xa8000000 151 no-map; 152 }; 153 154 c71_0_memory_region: c71-memor 155 compatible = "shared-d 156 reg = <0x00 0xa8100000 157 no-map; 158 }; 159 160 c71_1_dma_memory_region: c71-d 161 compatible = "shared-d 162 reg = <0x00 0xa9000000 163 no-map; 164 }; 165 166 c71_1_memory_region: c71-memor 167 compatible = "shared-d 168 reg = <0x00 0xa9100000 169 no-map; 170 }; 171 172 c71_2_dma_memory_region: c71-d 173 compatible = "shared-d 174 reg = <0x00 0xaa000000 175 no-map; 176 }; 177 178 c71_2_memory_region: c71-memor 179 compatible = "shared-d 180 reg = <0x00 0xaa100000 181 no-map; 182 }; 183 184 c71_3_dma_memory_region: c71-d 185 compatible = "shared-d 186 reg = <0x00 0xab000000 187 no-map; 188 }; 189 190 c71_3_memory_region: c71-memor 191 compatible = "shared-d 192 reg = <0x00 0xab100000 193 no-map; 194 }; 195 }; 196 197 vusb_main: regulator-vusb-main5v0 { 198 /* USB MAIN INPUT 5V DC */ 199 compatible = "regulator-fixed" 200 regulator-name = "vusb-main5v0 201 regulator-min-microvolt = <500 202 regulator-max-microvolt = <500 203 regulator-always-on; 204 regulator-boot-on; 205 }; 206 207 vsys_5v0: regulator-vsys5v0 { 208 /* Output of LM61460 */ 209 compatible = "regulator-fixed" 210 regulator-name = "vsys_5v0"; 211 regulator-min-microvolt = <500 212 regulator-max-microvolt = <500 213 vin-supply = <&vusb_main>; 214 regulator-always-on; 215 regulator-boot-on; 216 }; 217 218 vsys_3v3: regulator-vsys3v3 { 219 /* Output of LM5143 */ 220 compatible = "regulator-fixed" 221 regulator-name = "vsys_3v3"; 222 regulator-min-microvolt = <330 223 regulator-max-microvolt = <330 224 vin-supply = <&vusb_main>; 225 regulator-always-on; 226 regulator-boot-on; 227 }; 228 229 vdd_mmc1: regulator-sd { 230 /* Output of TPS22918 */ 231 compatible = "regulator-fixed" 232 regulator-name = "vdd_mmc1"; 233 regulator-min-microvolt = <330 234 regulator-max-microvolt = <330 235 regulator-boot-on; 236 enable-active-high; 237 vin-supply = <&vsys_3v3>; 238 gpio = <&exp1 2 GPIO_ACTIVE_HI 239 }; 240 241 vdd_sd_dv: regulator-tlv71033 { 242 /* Output of TLV71033 */ 243 compatible = "regulator-gpio"; 244 regulator-name = "tlv71033"; 245 pinctrl-names = "default"; 246 pinctrl-0 = <&vdd_sd_dv_pins_d 247 regulator-min-microvolt = <180 248 regulator-max-microvolt = <330 249 regulator-boot-on; 250 vin-supply = <&vsys_5v0>; 251 gpios = <&main_gpio0 49 GPIO_A 252 states = <1800000 0x0>, 253 <3300000 0x1>; 254 }; 255 256 dp0_pwr_3v3: regulator-dp0-pwr { 257 compatible = "regulator-fixed" 258 regulator-name = "dp0-pwr"; 259 regulator-min-microvolt = <330 260 regulator-max-microvolt = <330 261 pinctrl-names = "default"; 262 pinctrl-0 = <&dp_pwr_en_pins_d 263 gpio = <&main_gpio0 4 0>; 264 enable-active-high; 265 }; 266 267 dp0: connector-dp0 { 268 compatible = "dp-connector"; 269 label = "DP0"; 270 type = "full-size"; 271 dp-pwr-supply = <&dp0_pwr_3v3> 272 273 port { 274 dp0_connector_in: endp 275 remote-endpoin 276 }; 277 }; 278 }; 279 280 connector-hdmi { 281 compatible = "hdmi-connector"; 282 label = "hdmi"; 283 type = "a"; 284 pinctrl-names = "default"; 285 pinctrl-0 = <&hdmi_hpd_pins_de 286 ddc-i2c-bus = <&mcu_i2c1>; 287 hpd-gpios = <&main_gpio0 0 GPI 288 289 port { 290 hdmi_connector_in: end 291 remote-endpoin 292 }; 293 }; 294 }; 295 296 bridge-dvi { 297 compatible = "ti,tfp410"; 298 pinctrl-names = "default"; 299 pinctrl-0 = <&hdmi_pdn_pins_de 300 powerdown-gpios = <&wkup_gpio0 301 ti,deskew = <0>; 302 303 ports { 304 #address-cells = <1>; 305 #size-cells = <0>; 306 307 port@0 { 308 reg = <0>; 309 310 tfp410_in: end 311 remote 312 pclk-s 313 }; 314 }; 315 316 port@1 { 317 reg = <1>; 318 319 tfp410_out: en 320 remote 321 }; 322 }; 323 }; 324 }; 325 326 csi_mux: mux-controller { 327 compatible = "gpio-mux"; 328 #mux-state-cells = <1>; 329 mux-gpios = <&exp2 1 GPIO_ACTI 330 idle-state = <0>; 331 }; 332 333 transceiver1: can-phy0 { 334 compatible = "ti,tcan1042"; 335 #phy-cells = <0>; 336 max-bitrate = <5000000>; 337 }; 338 339 transceiver2: can-phy1 { 340 compatible = "ti,tcan1042"; 341 #phy-cells = <0>; 342 max-bitrate = <5000000>; 343 }; 344 345 transceiver3: can-phy2 { 346 compatible = "ti,tcan1042"; 347 #phy-cells = <0>; 348 max-bitrate = <5000000>; 349 }; 350 351 transceiver4: can-phy3 { 352 compatible = "ti,tcan1042"; 353 #phy-cells = <0>; 354 max-bitrate = <5000000>; 355 }; 356 357 }; 358 359 &main_pmx0 { 360 bootph-all; 361 main_uart8_pins_default: main-uart8-de 362 bootph-all; 363 pinctrl-single,pins = < 364 J784S4_IOPAD(0x0d0, PI 365 J784S4_IOPAD(0x0d4, PI 366 >; 367 }; 368 369 main_i2c0_pins_default: main-i2c0-defa 370 pinctrl-single,pins = < 371 J784S4_IOPAD(0x0e0, PI 372 J784S4_IOPAD(0x0e4, PI 373 >; 374 }; 375 376 main_i2c1_pins_default: main-i2c1-defa 377 pinctrl-single,pins = < 378 J784S4_IOPAD(0x0ac, PI 379 J784S4_IOPAD(0x0b0, PI 380 >; 381 }; 382 383 main_mmc1_pins_default: main-mmc1-defa 384 bootph-all; 385 pinctrl-single,pins = < 386 J784S4_IOPAD(0x104, PI 387 J784S4_IOPAD(0x108, PI 388 J784S4_IOPAD(0x100, PI 389 J784S4_IOPAD(0x0fc, PI 390 J784S4_IOPAD(0x0f8, PI 391 J784S4_IOPAD(0x0f4, PI 392 J784S4_IOPAD(0x0f0, PI 393 J784S4_IOPAD(0x0e8, PI 394 >; 395 }; 396 397 vdd_sd_dv_pins_default: vdd-sd-dv-defa 398 pinctrl-single,pins = < 399 J784S4_IOPAD(0x0C4, PI 400 >; 401 }; 402 403 rpi_header_gpio0_pins_default: rpi-hea 404 pinctrl-single,pins = < 405 J784S4_IOPAD(0x0BC, PI 406 J784S4_IOPAD(0x06C, PI 407 J784S4_IOPAD(0x0B4, PI 408 J784S4_IOPAD(0x0C0, PI 409 J784S4_IOPAD(0x00C, PI 410 J784S4_IOPAD(0x0B8, PI 411 J784S4_IOPAD(0x090, PI 412 J784S4_IOPAD(0x0A8, PI 413 J784S4_IOPAD(0x0A4, PI 414 J784S4_IOPAD(0x034, PI 415 J784S4_IOPAD(0x0CC, PI 416 J784S4_IOPAD(0x08C, PI 417 J784S4_IOPAD(0x008, PI 418 J784S4_IOPAD(0x004, PI 419 >; 420 }; 421 422 dp0_pins_default: dp0-default-pins { 423 pinctrl-single,pins = < 424 J784S4_IOPAD(0x014, PI 425 >; 426 }; 427 428 dp_pwr_en_pins_default: dp-pwr-en-defa 429 pinctrl-single,pins = < 430 J784S4_IOPAD(0x010, PI 431 >; 432 }; 433 434 dss_vout0_pins_default: dss-vout0-defa 435 pinctrl-single,pins = < 436 J784S4_IOPAD(0x074, PI 437 J784S4_IOPAD(0x070, PI 438 J784S4_IOPAD(0x07c, PI 439 J784S4_IOPAD(0x068, PI 440 J784S4_IOPAD(0x064, PI 441 J784S4_IOPAD(0x060, PI 442 J784S4_IOPAD(0x05c, PI 443 J784S4_IOPAD(0x058, PI 444 J784S4_IOPAD(0x054, PI 445 J784S4_IOPAD(0x050, PI 446 J784S4_IOPAD(0x04c, PI 447 J784S4_IOPAD(0x048, PI 448 J784S4_IOPAD(0x044, PI 449 J784S4_IOPAD(0x040, PI 450 J784S4_IOPAD(0x03c, PI 451 J784S4_IOPAD(0x038, PI 452 J784S4_IOPAD(0x0c8, PI 453 J784S4_IOPAD(0x030, PI 454 J784S4_IOPAD(0x02c, PI 455 J784S4_IOPAD(0x028, PI 456 J784S4_IOPAD(0x024, PI 457 J784S4_IOPAD(0x020, PI 458 J784S4_IOPAD(0x01c, PI 459 J784S4_IOPAD(0x018, PI 460 J784S4_IOPAD(0x084, PI 461 J784S4_IOPAD(0x080, PI 462 J784S4_IOPAD(0x078, PI 463 J784S4_IOPAD(0x088, PI 464 >; 465 }; 466 467 hdmi_hpd_pins_default: hdmi-hpd-defaul 468 pinctrl-single,pins = < 469 J784S4_IOPAD(0x000, PI 470 >; 471 }; 472 473 main_mcan6_pins_default: main-mcan6-de 474 pinctrl-single,pins = < 475 J784S4_IOPAD(0x098, PI 476 J784S4_IOPAD(0x094, PI 477 >; 478 }; 479 480 main_mcan7_pins_default: main-mcan7-de 481 pinctrl-single,pins = < 482 J784S4_IOPAD(0x0A0, PI 483 J784S4_IOPAD(0x09C, PI 484 >; 485 }; 486 487 }; 488 489 &wkup_pmx0 { 490 bootph-all; 491 mcu_fss0_ospi0_pins_default: mcu-fss0- 492 pinctrl-single,pins = < 493 J784S4_WKUP_IOPAD(0x00 494 J784S4_WKUP_IOPAD(0x02 495 J784S4_WKUP_IOPAD(0x00 496 J784S4_WKUP_IOPAD(0x01 497 J784S4_WKUP_IOPAD(0x01 498 J784S4_WKUP_IOPAD(0x01 499 J784S4_WKUP_IOPAD(0x01 500 J784S4_WKUP_IOPAD(0x02 501 J784S4_WKUP_IOPAD(0x02 502 J784S4_WKUP_IOPAD(0x02 503 J784S4_WKUP_IOPAD(0x00 504 >; 505 }; 506 }; 507 508 &wkup_pmx2 { 509 bootph-all; 510 pmic_irq_pins_default: pmic-irq-defaul 511 pinctrl-single,pins = < 512 /* (AA37) MCU_ADC1_AIN 513 J784S4_WKUP_IOPAD(0x0f 514 >; 515 }; 516 517 wkup_uart0_pins_default: wkup-uart0-de 518 bootph-all; 519 pinctrl-single,pins = < 520 J784S4_WKUP_IOPAD(0x07 521 J784S4_WKUP_IOPAD(0x07 522 J784S4_WKUP_IOPAD(0x04 523 J784S4_WKUP_IOPAD(0x04 524 >; 525 }; 526 527 wkup_i2c0_pins_default: wkup-i2c0-defa 528 bootph-all; 529 pinctrl-single,pins = < 530 J784S4_WKUP_IOPAD(0x98 531 J784S4_WKUP_IOPAD(0x9c 532 >; 533 }; 534 535 mcu_uart0_pins_default: mcu-uart0-defa 536 bootph-all; 537 pinctrl-single,pins = < 538 J784S4_WKUP_IOPAD(0x08 539 J784S4_WKUP_IOPAD(0x08 540 >; 541 }; 542 543 mcu_i2c0_pins_default: mcu-i2c0-defaul 544 pinctrl-single,pins = < 545 J784S4_WKUP_IOPAD(0x0a 546 J784S4_WKUP_IOPAD(0x0a 547 >; 548 }; 549 550 mcu_cpsw_pins_default: mcu-cpsw-defaul 551 pinctrl-single,pins = < 552 J784S4_WKUP_IOPAD(0x02 553 J784S4_WKUP_IOPAD(0x02 554 J784S4_WKUP_IOPAD(0x02 555 J784S4_WKUP_IOPAD(0x02 556 J784S4_WKUP_IOPAD(0x01 557 J784S4_WKUP_IOPAD(0x00 558 J784S4_WKUP_IOPAD(0x01 559 J784S4_WKUP_IOPAD(0x01 560 J784S4_WKUP_IOPAD(0x00 561 J784S4_WKUP_IOPAD(0x00 562 J784S4_WKUP_IOPAD(0x01 563 J784S4_WKUP_IOPAD(0x00 564 >; 565 }; 566 567 mcu_mdio_pins_default: mcu-mdio-defaul 568 pinctrl-single,pins = < 569 J784S4_WKUP_IOPAD(0x03 570 J784S4_WKUP_IOPAD(0x03 571 >; 572 }; 573 574 mcu_rpi_hdr1_gpio0_pins_default: mcu-r 575 pinctrl-single,pins = < 576 J784S4_WKUP_IOPAD(0x11 577 J784S4_WKUP_IOPAD(0x05 578 J784S4_WKUP_IOPAD(0x06 579 J784S4_WKUP_IOPAD(0x05 580 J784S4_WKUP_IOPAD(0x0b 581 J784S4_WKUP_IOPAD(0x11 582 J784S4_WKUP_IOPAD(0x09 583 J784S4_WKUP_IOPAD(0x06 584 J784S4_WKUP_IOPAD(0x11 585 >; 586 }; 587 588 mcu_i2c1_pins_default: mcu-i2c1-defaul 589 pinctrl-single,pins = < 590 /* (L35) WKUP_GPIO0_8. 591 J784S4_WKUP_IOPAD(0x07 592 /* (L34) WKUP_GPIO0_9. 593 J784S4_WKUP_IOPAD(0x07 594 >; 595 }; 596 597 hdmi_pdn_pins_default: hdmi-pdn-defaul 598 pinctrl-single,pins = < 599 J784S4_WKUP_IOPAD(0x09 600 >; 601 }; 602 603 mcu_mcan0_pins_default: mcu-mcan0-defa 604 pinctrl-single,pins = < 605 J784S4_WKUP_IOPAD(0x05 606 J784S4_WKUP_IOPAD(0x05 607 >; 608 }; 609 610 mcu_mcan1_pins_default: mcu-mcan1-defa 611 pinctrl-single,pins = < 612 J784S4_WKUP_IOPAD(0x06 613 J784S4_WKUP_IOPAD(0x06 614 >; 615 }; 616 617 }; 618 619 &wkup_pmx3 { 620 mcu_rpi_hdr2_gpio0_pins_default: mcu-r 621 pinctrl-single,pins = < 622 J784S4_WKUP_IOPAD(0x0, 623 >; 624 }; 625 }; 626 627 &mailbox0_cluster0 { 628 status = "okay"; 629 interrupts = <436>; 630 mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0 631 ti,mbox-rx = <0 0 0>; 632 ti,mbox-tx = <1 0 0>; 633 }; 634 635 mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0 636 ti,mbox-rx = <2 0 0>; 637 ti,mbox-tx = <3 0 0>; 638 }; 639 }; 640 641 &mailbox0_cluster1 { 642 status = "okay"; 643 interrupts = <432>; 644 mbox_main_r5fss0_core0: mbox-main-r5fs 645 ti,mbox-rx = <0 0 0>; 646 ti,mbox-tx = <1 0 0>; 647 }; 648 649 mbox_main_r5fss0_core1: mbox-main-r5fs 650 ti,mbox-rx = <2 0 0>; 651 ti,mbox-tx = <3 0 0>; 652 }; 653 }; 654 655 &mailbox0_cluster2 { 656 status = "okay"; 657 interrupts = <428>; 658 mbox_main_r5fss1_core0: mbox-main-r5fs 659 ti,mbox-rx = <0 0 0>; 660 ti,mbox-tx = <1 0 0>; 661 }; 662 663 mbox_main_r5fss1_core1: mbox-main-r5fs 664 ti,mbox-rx = <2 0 0>; 665 ti,mbox-tx = <3 0 0>; 666 }; 667 }; 668 669 &mailbox0_cluster3 { 670 status = "okay"; 671 interrupts = <424>; 672 mbox_main_r5fss2_core0: mbox-main-r5fs 673 ti,mbox-rx = <0 0 0>; 674 ti,mbox-tx = <1 0 0>; 675 }; 676 677 mbox_main_r5fss2_core1: mbox-main-r5fs 678 ti,mbox-rx = <2 0 0>; 679 ti,mbox-tx = <3 0 0>; 680 }; 681 }; 682 683 &mailbox0_cluster4 { 684 status = "okay"; 685 interrupts = <420>; 686 mbox_c71_0: mbox-c71-0 { 687 ti,mbox-rx = <0 0 0>; 688 ti,mbox-tx = <1 0 0>; 689 }; 690 691 mbox_c71_1: mbox-c71-1 { 692 ti,mbox-rx = <2 0 0>; 693 ti,mbox-tx = <3 0 0>; 694 }; 695 }; 696 697 &mailbox0_cluster5 { 698 status = "okay"; 699 interrupts = <416>; 700 mbox_c71_2: mbox-c71-2 { 701 ti,mbox-rx = <0 0 0>; 702 ti,mbox-tx = <1 0 0>; 703 }; 704 705 mbox_c71_3: mbox-c71-3 { 706 ti,mbox-rx = <2 0 0>; 707 ti,mbox-tx = <3 0 0>; 708 }; 709 }; 710 711 &wkup_uart0 { 712 /* Firmware usage */ 713 status = "reserved"; 714 pinctrl-names = "default"; 715 pinctrl-0 = <&wkup_uart0_pins_default> 716 }; 717 718 &wkup_i2c0 { 719 bootph-all; 720 status = "okay"; 721 pinctrl-names = "default"; 722 pinctrl-0 = <&wkup_i2c0_pins_default>; 723 clock-frequency = <400000>; 724 725 eeprom@51 { 726 /* AT24C512C-MAHM-T */ 727 compatible = "atmel,24c512"; 728 reg = <0x51>; 729 }; 730 731 tps659413: pmic@48 { 732 compatible = "ti,tps6594-q1"; 733 reg = <0x48>; 734 system-power-controller; 735 pinctrl-names = "default"; 736 pinctrl-0 = <&pmic_irq_pins_de 737 interrupt-parent = <&wkup_gpio 738 interrupts = <83 IRQ_TYPE_EDGE 739 gpio-controller; 740 #gpio-cells = <2>; 741 ti,primary-pmic; 742 buck12-supply = <&vsys_3v3>; 743 buck3-supply = <&vsys_3v3>; 744 buck4-supply = <&vsys_3v3>; 745 buck5-supply = <&vsys_3v3>; 746 ldo1-supply = <&vsys_3v3>; 747 ldo2-supply = <&vsys_3v3>; 748 ldo3-supply = <&vsys_3v3>; 749 ldo4-supply = <&vsys_3v3>; 750 751 regulators { 752 bucka12: buck12 { 753 regulator-name 754 regulator-min- 755 regulator-max- 756 regulator-boot 757 regulator-alwa 758 }; 759 760 bucka3: buck3 { 761 regulator-name 762 regulator-min- 763 regulator-max- 764 regulator-boot 765 regulator-alwa 766 }; 767 768 bucka4: buck4 { 769 regulator-name 770 regulator-min- 771 regulator-max- 772 regulator-boot 773 regulator-alwa 774 }; 775 776 bucka5: buck5 { 777 regulator-name 778 regulator-min- 779 regulator-max- 780 regulator-boot 781 regulator-alwa 782 }; 783 784 ldoa1: ldo1 { 785 regulator-name 786 regulator-min- 787 regulator-max- 788 regulator-boot 789 regulator-alwa 790 }; 791 792 ldoa2: ldo2 { 793 regulator-name 794 regulator-min- 795 regulator-max- 796 regulator-boot 797 regulator-alwa 798 }; 799 800 ldoa3: ldo3 { 801 regulator-name 802 regulator-min- 803 regulator-max- 804 regulator-boot 805 regulator-alwa 806 }; 807 808 ldoa4: ldo4 { 809 regulator-name 810 regulator-min- 811 regulator-max- 812 regulator-boot 813 regulator-alwa 814 }; 815 }; 816 }; 817 818 tps62873a: regulator@40 { 819 compatible = "ti,tps62873"; 820 reg = <0x40>; 821 bootph-pre-ram; 822 regulator-name = "VDD_CPU_AVS" 823 regulator-min-microvolt = <600 824 regulator-max-microvolt = <900 825 regulator-boot-on; 826 regulator-always-on; 827 }; 828 829 tps62873b: regulator@43 { 830 compatible = "ti,tps62873"; 831 reg = <0x43>; 832 regulator-name = "VDD_CORE_0V8 833 regulator-min-microvolt = <760 834 regulator-max-microvolt = <840 835 regulator-boot-on; 836 regulator-always-on; 837 }; 838 }; 839 840 &wkup_gpio0 { 841 status = "okay"; 842 pinctrl-names = "default"; 843 pinctrl-0 = <&mcu_rpi_hdr1_gpio0_pins_ 844 }; 845 846 &mcu_uart0 { 847 bootph-all; 848 status = "okay"; 849 pinctrl-names = "default"; 850 pinctrl-0 = <&mcu_uart0_pins_default>; 851 }; 852 853 &mcu_i2c0 { 854 status = "okay"; 855 pinctrl-names = "default"; 856 pinctrl-0 = <&mcu_i2c0_pins_default>; 857 clock-frequency = <400000>; 858 }; 859 860 &main_uart8 { 861 bootph-all; 862 status = "okay"; 863 pinctrl-names = "default"; 864 pinctrl-0 = <&main_uart8_pins_default> 865 }; 866 867 &main_i2c0 { 868 status = "okay"; 869 pinctrl-names = "default"; 870 pinctrl-0 = <&main_i2c0_pins_default>; 871 clock-frequency = <400000>; 872 873 exp1: gpio@21 { 874 compatible = "ti,tca6416"; 875 reg = <0x21>; 876 gpio-controller; 877 #gpio-cells = <2>; 878 gpio-line-names = "BOARDID_EEP 879 "IO_EXP_MCU_RG 880 "IO_EXP_PCIe1_ 881 "PM_INA_BUS_EN 882 "ENET1_I2CMUX_ 883 "PCIe3_M2_CLKR 884 }; 885 }; 886 887 &main_i2c1 { 888 pinctrl-names = "default"; 889 pinctrl-0 = <&main_i2c1_pins_default>; 890 clock-frequency = <400000>; 891 status = "okay"; 892 893 exp2: gpio@21 { 894 compatible = "ti,tca6408"; 895 reg = <0x21>; 896 gpio-controller; 897 #gpio-cells = <2>; 898 gpio-line-names = "CSI_VIO_SEL 899 "IO_EXP_CAM0 900 }; 901 902 i2c-mux@70 { 903 compatible = "nxp,pca9543"; 904 #address-cells = <1>; 905 #size-cells = <0>; 906 reg = <0x70>; 907 908 cam0_i2c: i2c@0 { 909 #address-cells = <1>; 910 #size-cells = <0>; 911 reg = <0>; 912 }; 913 914 cam1_i2c: i2c@1 { 915 #address-cells = <1>; 916 #size-cells = <0>; 917 reg = <1>; 918 }; 919 920 }; 921 }; 922 923 &main_sdhci0 { 924 bootph-all; 925 /* eMMC */ 926 status = "okay"; 927 non-removable; 928 ti,driver-strength-ohm = <50>; 929 disable-wp; 930 }; 931 932 &main_sdhci1 { 933 bootph-all; 934 /* SD card */ 935 status = "okay"; 936 pinctrl-0 = <&main_mmc1_pins_default>; 937 pinctrl-names = "default"; 938 disable-wp; 939 vmmc-supply = <&vdd_mmc1>; 940 vqmmc-supply = <&vdd_sd_dv>; 941 }; 942 943 &main_gpio0 { 944 status = "okay"; 945 pinctrl-names = "default"; 946 pinctrl-0 = <&rpi_header_gpio0_pins_de 947 }; 948 949 &mcu_cpsw { 950 status = "okay"; 951 pinctrl-names = "default"; 952 pinctrl-0 = <&mcu_cpsw_pins_default>, 953 }; 954 955 &davinci_mdio { 956 mcu_phy0: ethernet-phy@0 { 957 reg = <0>; 958 ti,rx-internal-delay = <DP8386 959 ti,fifo-depth = <DP83867_PHYCR 960 ti,min-output-impedance; 961 }; 962 }; 963 964 &mcu_cpsw_port1 { 965 status = "okay"; 966 phy-mode = "rgmii-rxid"; 967 phy-handle = <&mcu_phy0>; 968 }; 969 970 &mcu_r5fss0_core0 { 971 mboxes = <&mailbox0_cluster0 &mbox_mcu 972 memory-region = <&mcu_r5fss0_core0_dma 973 <&mcu_r5fss0_core0_mem 974 }; 975 976 &mcu_r5fss0_core1 { 977 mboxes = <&mailbox0_cluster0 &mbox_mcu 978 memory-region = <&mcu_r5fss0_core1_dma 979 <&mcu_r5fss0_core1_mem 980 }; 981 982 &main_r5fss0_core0 { 983 mboxes = <&mailbox0_cluster1 &mbox_mai 984 memory-region = <&main_r5fss0_core0_dm 985 <&main_r5fss0_core0_me 986 }; 987 988 &main_r5fss0_core1 { 989 mboxes = <&mailbox0_cluster1 &mbox_mai 990 memory-region = <&main_r5fss0_core1_dm 991 <&main_r5fss0_core1_me 992 }; 993 994 &main_r5fss1_core0 { 995 mboxes = <&mailbox0_cluster2 &mbox_mai 996 memory-region = <&main_r5fss1_core0_dm 997 <&main_r5fss1_core0_me 998 }; 999 1000 &main_r5fss1_core1 { 1001 mboxes = <&mailbox0_cluster2 &mbox_ma 1002 memory-region = <&main_r5fss1_core1_d 1003 <&main_r5fss1_core1_m 1004 }; 1005 1006 &main_r5fss2_core0 { 1007 mboxes = <&mailbox0_cluster3 &mbox_ma 1008 memory-region = <&main_r5fss2_core0_d 1009 <&main_r5fss2_core0_m 1010 }; 1011 1012 &main_r5fss2_core1 { 1013 mboxes = <&mailbox0_cluster3 &mbox_ma 1014 memory-region = <&main_r5fss2_core1_d 1015 <&main_r5fss2_core1_m 1016 }; 1017 1018 &c71_0 { 1019 status = "okay"; 1020 mboxes = <&mailbox0_cluster4 &mbox_c7 1021 memory-region = <&c71_0_dma_memory_re 1022 <&c71_0_memory_region 1023 }; 1024 1025 &c71_1 { 1026 status = "okay"; 1027 mboxes = <&mailbox0_cluster4 &mbox_c7 1028 memory-region = <&c71_1_dma_memory_re 1029 <&c71_1_memory_region 1030 }; 1031 1032 &c71_2 { 1033 status = "okay"; 1034 mboxes = <&mailbox0_cluster5 &mbox_c7 1035 memory-region = <&c71_2_dma_memory_re 1036 <&c71_2_memory_region 1037 }; 1038 1039 &c71_3 { 1040 status = "okay"; 1041 mboxes = <&mailbox0_cluster5 &mbox_c7 1042 memory-region = <&c71_3_dma_memory_re 1043 <&c71_3_memory_region 1044 }; 1045 1046 &wkup_gpio_intr { 1047 status = "okay"; 1048 }; 1049 1050 &mcu_i2c1 { 1051 status = "okay"; 1052 pinctrl-names = "default"; 1053 pinctrl-0 = <&mcu_i2c1_pins_default>; 1054 clock-frequency = <100000>; 1055 }; 1056 1057 &serdes_refclk { 1058 status = "okay"; 1059 clock-frequency = <100000000>; 1060 }; 1061 1062 &dss { 1063 status = "okay"; 1064 pinctrl-names = "default"; 1065 pinctrl-0 = <&dss_vout0_pins_default> 1066 assigned-clocks = <&k3_clks 218 2>, 1067 <&k3_clks 218 5>; 1068 assigned-clock-parents = <&k3_clks 21 1069 <&k3_clks 21 1070 }; 1071 1072 &serdes_wiz4 { 1073 status = "okay"; 1074 }; 1075 1076 &serdes4 { 1077 status = "okay"; 1078 serdes4_dp_link: phy@0 { 1079 reg = <0>; 1080 cdns,num-lanes = <4>; 1081 #phy-cells = <0>; 1082 cdns,phy-type = <PHY_TYPE_DP> 1083 resets = <&serdes_wiz4 1>, <& 1084 <&serdes_wiz4 3>, <& 1085 }; 1086 }; 1087 1088 &mhdp { 1089 status = "okay"; 1090 pinctrl-names = "default"; 1091 pinctrl-0 = <&dp0_pins_default>; 1092 phys = <&serdes4_dp_link>; 1093 phy-names = "dpphy"; 1094 }; 1095 1096 &dss_ports { 1097 #address-cells = <1>; 1098 #size-cells = <0>; 1099 1100 /* DP */ 1101 port@0 { 1102 reg = <0>; 1103 1104 dpi0_out: endpoint { 1105 remote-endpoint = <&d 1106 }; 1107 }; 1108 1109 /* HDMI */ 1110 port@1 { 1111 reg = <1>; 1112 1113 dpi1_out0: endpoint { 1114 remote-endpoint = <&t 1115 }; 1116 }; 1117 }; 1118 1119 &dp0_ports { 1120 1121 port@0 { 1122 reg = <0>; 1123 1124 dp0_in: endpoint { 1125 remote-endpoint = <&d 1126 }; 1127 }; 1128 1129 port@4 { 1130 reg = <4>; 1131 1132 dp0_out: endpoint { 1133 remote-endpoint = <&d 1134 }; 1135 }; 1136 }; 1137 1138 &mcu_mcan0 { 1139 status = "okay"; 1140 pinctrl-names = "default"; 1141 pinctrl-0 = <&mcu_mcan0_pins_default> 1142 phys = <&transceiver1>; 1143 }; 1144 1145 &mcu_mcan1 { 1146 status = "okay"; 1147 pinctrl-names = "default"; 1148 pinctrl-0 = <&mcu_mcan1_pins_default> 1149 phys = <&transceiver2>; 1150 }; 1151 1152 &main_mcan6 { 1153 status = "okay"; 1154 pinctrl-names = "default"; 1155 pinctrl-0 = <&main_mcan6_pins_default 1156 phys = <&transceiver3>; 1157 }; 1158 1159 &main_mcan7 { 1160 status = "okay"; 1161 pinctrl-names = "default"; 1162 pinctrl-0 = <&main_mcan7_pins_default 1163 phys = <&transceiver4>; 1164 }; 1165 1166 &ospi0 { 1167 status = "okay"; 1168 pinctrl-names = "default"; 1169 pinctrl-0 = <&mcu_fss0_ospi0_pins_def 1170 1171 flash@0 { 1172 compatible = "jedec,spi-nor"; 1173 reg = <0x0>; 1174 spi-tx-bus-width = <8>; 1175 spi-rx-bus-width = <8>; 1176 spi-max-frequency = <25000000 1177 cdns,tshsl-ns = <60>; 1178 cdns,tsd2d-ns = <60>; 1179 cdns,tchsh-ns = <60>; 1180 cdns,tslch-ns = <60>; 1181 cdns,read-delay = <4>; 1182 1183 partitions { 1184 bootph-all; 1185 compatible = "fixed-p 1186 #address-cells = <1>; 1187 #size-cells = <1>; 1188 1189 partition@0 { 1190 label = "ospi 1191 reg = <0x0 0x 1192 }; 1193 1194 partition@100000 { 1195 label = "ospi 1196 reg = <0x1000 1197 }; 1198 1199 partition@300000 { 1200 label = "ospi 1201 reg = <0x3000 1202 }; 1203 1204 partition@700000 { 1205 label = "ospi 1206 reg = <0x7000 1207 }; 1208 1209 partition@740000 { 1210 label = "ospi 1211 reg = <0x7400 1212 }; 1213 1214 partition@800000 { 1215 label = "ospi 1216 reg = <0x8000 1217 }; 1218 1219 partition@3fc0000 { 1220 bootph-pre-ra 1221 label = "ospi 1222 reg = <0x3fc0 1223 }; 1224 }; 1225 }; 1226 }; 1227 1228 &serdes_ln_ctrl { 1229 idle-states = <J784S4_SERDES0_LANE0_P 1230 <J784S4_SERDES0_LANE2_P 1231 <J784S4_SERDES1_LANE0 1232 <J784S4_SERDES1_LANE2 1233 }; 1234 1235 &serdes_wiz0 { 1236 status = "okay"; 1237 }; 1238 1239 &serdes0 { 1240 status = "okay"; 1241 1242 serdes0_pcie_link: phy@0 { 1243 reg = <0>; 1244 cdns,num-lanes = <3>; 1245 #phy-cells = <0>; 1246 cdns,phy-type = <PHY_TYPE_PCI 1247 resets = <&serdes_wiz0 1>, <& 1248 }; 1249 }; 1250 1251 &serdes_wiz1 { 1252 status = "okay"; 1253 }; 1254 1255 &serdes1 { 1256 status = "okay"; 1257 1258 serdes1_pcie_link: phy@0 { 1259 reg = <0>; 1260 cdns,num-lanes = <4>; 1261 #phy-cells = <0>; 1262 cdns,phy-type = <PHY_TYPE_PCI 1263 resets = <&serdes_wiz1 1>, <& 1264 }; 1265 }; 1266 1267 &pcie0_rc { 1268 status = "okay"; 1269 reset-gpios = <&exp1 4 GPIO_ACTIVE_HI 1270 phys = <&serdes1_pcie_link>; 1271 phy-names = "pcie-phy"; 1272 }; 1273 1274 &pcie1_rc { 1275 status = "okay"; 1276 reset-gpios = <&exp1 5 GPIO_ACTIVE_HI 1277 phys = <&serdes0_pcie_link>; 1278 phy-names = "pcie-phy"; 1279 num-lanes = <2>; 1280 }; 1281 1282 &pcie3_rc { 1283 status = "okay"; 1284 reset-gpios = <&exp1 6 GPIO_ACTIVE_HI 1285 phys = <&serdes0_pcie_link>; 1286 phy-names = "pcie-phy"; 1287 num-lanes = <1>; 1288 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.