1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 // 3 // Device Tree file for LX2160A BLUEBOX3 4 // 5 // Copyright 2020-2021 NXP 6 7 /dts-v1/; 8 9 #include "fsl-lx2160a.dtsi" 10 11 / { 12 model = "NXP Layerscape LX2160ABLUEBOX 13 compatible = "fsl,lx2160a-bluebox3", " 14 15 aliases { 16 crypto = &crypto; 17 mmc0 = &esdhc0; 18 mmc1 = &esdhc1; 19 serial0 = &uart0; 20 }; 21 22 chosen { 23 stdout-path = "serial0:115200n 24 }; 25 26 sb_3v3: regulator-sb3v3 { 27 compatible = "regulator-fixed" 28 regulator-name = "MC34717-3.3V 29 regulator-min-microvolt = <330 30 regulator-max-microvolt = <330 31 regulator-boot-on; 32 regulator-always-on; 33 }; 34 }; 35 36 &can0 { 37 status = "okay"; 38 39 can-transceiver { 40 max-bitrate = <5000000>; 41 }; 42 }; 43 44 &can1 { 45 status = "okay"; 46 47 can-transceiver { 48 max-bitrate = <5000000>; 49 }; 50 }; 51 52 &crypto { 53 status = "okay"; 54 }; 55 56 &dpmac5 { 57 phy-handle = <&aqr113c_phy1>; 58 phy-mode = "usxgmii"; 59 managed = "in-band-status"; 60 }; 61 62 &dpmac6 { 63 phy-handle = <&aqr113c_phy2>; 64 phy-mode = "usxgmii"; 65 managed = "in-band-status"; 66 }; 67 68 &dpmac9 { 69 phy-handle = <&aqr113c_phy3>; 70 phy-mode = "usxgmii"; 71 managed = "in-band-status"; 72 }; 73 74 &dpmac10 { 75 phy-handle = <&aqr113c_phy4>; 76 phy-mode = "usxgmii"; 77 managed = "in-band-status"; 78 }; 79 80 &dpmac17 { 81 phy-mode = "rgmii"; 82 status = "okay"; 83 84 fixed-link { 85 speed = <1000>; 86 full-duplex; 87 }; 88 }; 89 90 &dpmac18 { 91 phy-mode = "rgmii"; 92 status = "okay"; 93 94 fixed-link { 95 speed = <1000>; 96 full-duplex; 97 }; 98 }; 99 100 &emdio1 { 101 status = "okay"; 102 103 aqr113c_phy2: ethernet-phy@0 { 104 compatible = "ethernet-phy-iee 105 reg = <0x0>; 106 /* IRQ_10G_PHY2 */ 107 interrupts-extended = <&extirq 108 }; 109 110 aqr113c_phy1: ethernet-phy@8 { 111 compatible = "ethernet-phy-iee 112 reg = <0x8>; 113 /* IRQ_10G_PHY1 */ 114 interrupts-extended = <&extirq 115 }; 116 117 sw1_mii3_phy: ethernet-phy@5 { 118 /* AR8035 */ 119 compatible = "ethernet-phy-id0 120 reg = <0x5>; 121 interrupts-extended = <&extirq 122 }; 123 124 sw2_mii3_phy: ethernet-phy@6 { 125 /* AR8035 */ 126 compatible = "ethernet-phy-id0 127 reg = <0x6>; 128 interrupts-extended = <&extirq 129 }; 130 }; 131 132 &emdio2 { 133 status = "okay"; 134 135 aqr113c_phy4: ethernet-phy@0 { 136 compatible = "ethernet-phy-iee 137 reg = <0x0>; 138 /* IRQ_10G_PHY4 */ 139 interrupts-extended = <&extirq 140 }; 141 142 aqr113c_phy3: ethernet-phy@8 { 143 compatible = "ethernet-phy-iee 144 reg = <0x8>; 145 /* IRQ_10G_PHY3 */ 146 interrupts-extended = <&extirq 147 }; 148 }; 149 150 &esdhc0 { 151 sd-uhs-sdr104; 152 sd-uhs-sdr50; 153 sd-uhs-sdr25; 154 sd-uhs-sdr12; 155 status = "okay"; 156 }; 157 158 &esdhc1 { 159 mmc-hs200-1_8v; 160 mmc-hs400-1_8v; 161 bus-width = <8>; 162 status = "okay"; 163 }; 164 165 &fspi { 166 status = "okay"; 167 168 mt35xu512aba0: flash@0 { 169 compatible = "jedec,spi-nor"; 170 #address-cells = <1>; 171 #size-cells = <1>; 172 reg = <0>; 173 m25p,fast-read; 174 spi-max-frequency = <50000000> 175 spi-rx-bus-width = <8>; 176 spi-tx-bus-width = <8>; 177 }; 178 179 mt35xu512aba1: flash@1 { 180 compatible = "jedec,spi-nor"; 181 #address-cells = <1>; 182 #size-cells = <1>; 183 reg = <1>; 184 m25p,fast-read; 185 spi-max-frequency = <50000000> 186 spi-rx-bus-width = <8>; 187 spi-tx-bus-width = <8>; 188 }; 189 }; 190 191 &i2c0 { 192 status = "okay"; 193 194 i2c-mux@77 { 195 compatible = "nxp,pca9547"; 196 reg = <0x77>; 197 #address-cells = <1>; 198 #size-cells = <0>; 199 200 i2c@2 { 201 #address-cells = <1>; 202 #size-cells = <0>; 203 reg = <0x2>; 204 205 power-monitor@40 { 206 compatible = " 207 reg = <0x40>; 208 shunt-resistor 209 }; 210 }; 211 212 i2c@3 { 213 #address-cells = <1>; 214 #size-cells = <0>; 215 reg = <0x3>; 216 217 temp2: temperature-sen 218 compatible = " 219 reg = <0x48>; 220 vcc-supply = < 221 #thermal-senso 222 }; 223 224 temp1: temperature-sen 225 compatible = " 226 reg = <0x4c>; 227 vcc-supply = < 228 #thermal-senso 229 }; 230 }; 231 232 i2c@4 { 233 #address-cells = <1>; 234 #size-cells = <0>; 235 reg = <0x4>; 236 237 rtc@51 { 238 compatible = " 239 reg = <0x51>; 240 interrupts-ext 241 }; 242 }; 243 244 i2c@7 { 245 #address-cells = <1>; 246 #size-cells = <0>; 247 reg = <0x7>; 248 249 i2c-mux@75 { 250 compatible = " 251 reg = <0x75>; 252 #address-cells 253 #size-cells = 254 255 i2c@0 { 256 #addre 257 #size- 258 reg = 259 260 spi_br 261 262 263 264 265 }; 266 }; 267 }; 268 }; 269 }; 270 }; 271 272 &i2c5 { 273 status = "okay"; 274 275 i2c-mux@77 { 276 compatible = "nxp,pca9846"; 277 reg = <0x77>; 278 #address-cells = <1>; 279 #size-cells = <0>; 280 281 i2c@1 { 282 #address-cells = <1>; 283 #size-cells = <0>; 284 reg = <0x1>; 285 286 /* The I2C multiplexer 287 * the T6 riser card. 288 */ 289 i2c-mux@70 { 290 compatible = " 291 reg = <0x70>; 292 #address-cells 293 #size-cells = 294 295 i2c@6 { 296 #addre 297 #size- 298 reg = 299 300 q12: t 301 302 303 304 305 }; 306 }; 307 308 i2c@7 { 309 #addre 310 #size- 311 reg = 312 313 q11: t 314 315 316 317 318 }; 319 320 q13: t 321 322 323 324 325 }; 326 327 q14: t 328 329 330 331 332 }; 333 }; 334 }; 335 }; 336 }; 337 }; 338 339 &pcs_mdio5 { 340 status = "okay"; 341 }; 342 343 &pcs_mdio6 { 344 status = "okay"; 345 }; 346 347 &pcs_mdio9 { 348 status = "okay"; 349 }; 350 351 &pcs_mdio10 { 352 status = "okay"; 353 }; 354 355 &spi_bridge { 356 sw1: ethernet-switch@0 { 357 compatible = "nxp,sja1110a"; 358 reg = <0>; 359 spi-max-frequency = <4000000>; 360 spi-cpol; 361 dsa,member = <0 0>; 362 363 ethernet-ports { 364 #address-cells = <1>; 365 #size-cells = <0>; 366 367 /* Microcontroller por 368 port@0 { 369 reg = <0>; 370 status = "disa 371 }; 372 373 /* SW1_P1 */ 374 port@1 { 375 reg = <1>; 376 label = "con_2 377 phy-mode = "sg 378 379 fixed-link { 380 speed 381 full-d 382 }; 383 }; 384 385 port@2 { 386 reg = <2>; 387 ethernet = <&d 388 phy-mode = "rg 389 rx-internal-de 390 tx-internal-de 391 392 fixed-link { 393 speed 394 full-d 395 }; 396 }; 397 398 port@3 { 399 reg = <3>; 400 label = "1ge_p 401 phy-mode = "rg 402 phy-handle = < 403 }; 404 405 sw1p4: port@4 { 406 reg = <4>; 407 link = <&sw2p1 408 phy-mode = "sg 409 410 fixed-link { 411 speed 412 full-d 413 }; 414 }; 415 416 port@5 { 417 reg = <5>; 418 label = "trx1" 419 phy-mode = "in 420 phy-handle = < 421 }; 422 423 port@6 { 424 reg = <6>; 425 label = "trx2" 426 phy-mode = "in 427 phy-handle = < 428 }; 429 430 port@7 { 431 reg = <7>; 432 label = "trx3" 433 phy-mode = "in 434 phy-handle = < 435 }; 436 437 port@8 { 438 reg = <8>; 439 label = "trx4" 440 phy-mode = "in 441 phy-handle = < 442 }; 443 444 port@9 { 445 reg = <9>; 446 label = "trx5" 447 phy-mode = "in 448 phy-handle = < 449 }; 450 451 port@a { 452 reg = <10>; 453 label = "trx6" 454 phy-mode = "in 455 phy-handle = < 456 }; 457 }; 458 459 mdios { 460 #address-cells = <1>; 461 #size-cells = <0>; 462 463 mdio@0 { 464 compatible = " 465 #address-cells 466 #size-cells = 467 reg = <0>; 468 469 sw1_port5_base 470 compat 471 reg = 472 }; 473 474 sw1_port6_base 475 compat 476 reg = 477 }; 478 479 sw1_port7_base 480 compat 481 reg = 482 }; 483 484 sw1_port8_base 485 compat 486 reg = 487 }; 488 489 sw1_port9_base 490 compat 491 reg = 492 }; 493 494 sw1_port10_bas 495 compat 496 reg = 497 }; 498 }; 499 }; 500 }; 501 502 sw2: ethernet-switch@2 { 503 compatible = "nxp,sja1110a"; 504 reg = <2>; 505 spi-max-frequency = <4000000>; 506 spi-cpol; 507 dsa,member = <0 1>; 508 509 ethernet-ports { 510 #address-cells = <1>; 511 #size-cells = <0>; 512 513 /* Microcontroller por 514 port@0 { 515 reg = <0>; 516 status = "disa 517 }; 518 519 sw2p1: port@1 { 520 reg = <1>; 521 link = <&sw1p4 522 phy-mode = "sg 523 524 fixed-link { 525 speed 526 full-d 527 }; 528 }; 529 530 port@2 { 531 reg = <2>; 532 ethernet = <&d 533 phy-mode = "rg 534 rx-internal-de 535 tx-internal-de 536 537 fixed-link { 538 speed 539 full-d 540 }; 541 }; 542 543 port@3 { 544 reg = <3>; 545 label = "1ge_p 546 phy-mode = "rg 547 phy-handle = < 548 }; 549 550 port@4 { 551 reg = <4>; 552 label = "to_sw 553 phy-mode = "25 554 555 fixed-link { 556 speed 557 full-d 558 }; 559 }; 560 561 port@5 { 562 reg = <5>; 563 label = "trx7" 564 phy-mode = "in 565 phy-handle = < 566 }; 567 568 port@6 { 569 reg = <6>; 570 label = "trx8" 571 phy-mode = "in 572 phy-handle = < 573 }; 574 575 port@7 { 576 reg = <7>; 577 label = "trx9" 578 phy-mode = "in 579 phy-handle = < 580 }; 581 582 port@8 { 583 reg = <8>; 584 label = "trx10 585 phy-mode = "in 586 phy-handle = < 587 }; 588 589 port@9 { 590 reg = <9>; 591 label = "trx11 592 phy-mode = "in 593 phy-handle = < 594 }; 595 596 port@a { 597 reg = <10>; 598 label = "trx12 599 phy-mode = "in 600 phy-handle = < 601 }; 602 }; 603 604 mdios { 605 #address-cells = <1>; 606 #size-cells = <0>; 607 608 mdio@0 { 609 compatible = " 610 #address-cells 611 #size-cells = 612 reg = <0>; 613 614 sw2_port5_base 615 compat 616 reg = 617 }; 618 619 sw2_port6_base 620 compat 621 reg = 622 }; 623 624 sw2_port7_base 625 compat 626 reg = 627 }; 628 629 sw2_port8_base 630 compat 631 reg = 632 }; 633 634 sw2_port9_base 635 compat 636 reg = 637 }; 638 639 sw2_port10_bas 640 compat 641 reg = 642 }; 643 }; 644 }; 645 }; 646 }; 647 648 &uart0 { 649 status = "okay"; 650 }; 651 652 &uart1 { 653 status = "okay"; 654 }; 655 656 &usb0 { 657 status = "okay"; 658 }; 659 660 &usb1 { 661 status = "okay"; 662 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.