1 /* 2 * T1040 Silicon/SoC Device Tree Source (post 3 * 4 * Copyright 2013 - 2014 Freescale Semiconduct 5 * 6 * Redistribution and use in source and binary 7 * modification, are permitted provided that t 8 * * Redistributions of source code must r 9 * notice, this list of conditions and t 10 * * Redistributions in binary form must r 11 * notice, this list of conditions and t 12 * documentation and/or other materials 13 * * Neither the name of Freescale Semicon 14 * names of its contributors may be used 15 * derived from this software without sp 16 * 17 * 18 * ALTERNATIVELY, this software may be distrib 19 * GNU General Public License ("GPL") as publi 20 * Foundation, either version 2 of that Licens 21 * later version. 22 * 23 * THIS SOFTWARE IS PROVIDED BY Freescale Semi 24 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, B 25 * WARRANTIES OF MERCHANTABILITY AND FITNESS F 26 * DISCLAIMED. IN NO EVENT SHALL Freescale Sem 27 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEM 28 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT 29 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 30 * ON ANY THEORY OF LIABILITY, WHETHER IN CONT 31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 32 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILIT 33 */ 34 35 #include <dt-bindings/thermal/thermal.h> 36 37 &bman_fbpr { 38 compatible = "fsl,bman-fbpr"; 39 alloc-ranges = <0 0 0x10000 0>; 40 }; 41 42 &qman_fqd { 43 compatible = "fsl,qman-fqd"; 44 alloc-ranges = <0 0 0x10000 0>; 45 }; 46 47 &qman_pfdr { 48 compatible = "fsl,qman-pfdr"; 49 alloc-ranges = <0 0 0x10000 0>; 50 }; 51 52 &ifc { 53 #address-cells = <2>; 54 #size-cells = <1>; 55 compatible = "fsl,ifc"; 56 interrupts = <25 2 0 0>; 57 }; 58 59 &pci0 { 60 compatible = "fsl,t1040-pcie", "fsl,qo 61 device_type = "pci"; 62 #size-cells = <2>; 63 #address-cells = <3>; 64 bus-range = <0x0 0xff>; 65 interrupts = <20 2 0 0>; 66 fsl,iommu-parent = <&pamu0>; 67 pcie@0 { 68 reg = <0 0 0 0 0>; 69 #interrupt-cells = <1>; 70 #size-cells = <2>; 71 #address-cells = <3>; 72 device_type = "pci"; 73 interrupts = <20 2 0 0>; 74 interrupt-map-mask = <0xf800 0 75 interrupt-map = < 76 /* IDSEL 0x0 */ 77 0000 0 0 1 &mpic 40 1 78 0000 0 0 2 &mpic 1 1 0 79 0000 0 0 3 &mpic 2 1 0 80 0000 0 0 4 &mpic 3 1 0 81 >; 82 }; 83 }; 84 85 &pci1 { 86 compatible = "fsl,t1040-pcie", "fsl,qo 87 device_type = "pci"; 88 #size-cells = <2>; 89 #address-cells = <3>; 90 bus-range = <0 0xff>; 91 interrupts = <21 2 0 0>; 92 fsl,iommu-parent = <&pamu0>; 93 pcie@0 { 94 reg = <0 0 0 0 0>; 95 #interrupt-cells = <1>; 96 #size-cells = <2>; 97 #address-cells = <3>; 98 device_type = "pci"; 99 interrupts = <21 2 0 0>; 100 interrupt-map-mask = <0xf800 0 101 interrupt-map = < 102 /* IDSEL 0x0 */ 103 0000 0 0 1 &mpic 41 1 104 0000 0 0 2 &mpic 5 1 0 105 0000 0 0 3 &mpic 6 1 0 106 0000 0 0 4 &mpic 7 1 0 107 >; 108 }; 109 }; 110 111 &pci2 { 112 compatible = "fsl,t1040-pcie", "fsl,qo 113 device_type = "pci"; 114 #size-cells = <2>; 115 #address-cells = <3>; 116 bus-range = <0x0 0xff>; 117 interrupts = <22 2 0 0>; 118 fsl,iommu-parent = <&pamu0>; 119 pcie@0 { 120 reg = <0 0 0 0 0>; 121 #interrupt-cells = <1>; 122 #size-cells = <2>; 123 #address-cells = <3>; 124 device_type = "pci"; 125 interrupts = <22 2 0 0>; 126 interrupt-map-mask = <0xf800 0 127 interrupt-map = < 128 /* IDSEL 0x0 */ 129 0000 0 0 1 &mpic 42 1 130 0000 0 0 2 &mpic 9 1 0 131 0000 0 0 3 &mpic 10 1 132 0000 0 0 4 &mpic 11 1 133 >; 134 }; 135 }; 136 137 &pci3 { 138 compatible = "fsl,t1040-pcie", "fsl,qo 139 device_type = "pci"; 140 #size-cells = <2>; 141 #address-cells = <3>; 142 bus-range = <0x0 0xff>; 143 interrupts = <23 2 0 0>; 144 fsl,iommu-parent = <&pamu0>; 145 pcie@0 { 146 reg = <0 0 0 0 0>; 147 #interrupt-cells = <1>; 148 #size-cells = <2>; 149 #address-cells = <3>; 150 device_type = "pci"; 151 interrupts = <23 2 0 0>; 152 interrupt-map-mask = <0xf800 0 153 interrupt-map = < 154 /* IDSEL 0x0 */ 155 0000 0 0 1 &mpic 43 1 156 0000 0 0 2 &mpic 0 1 0 157 0000 0 0 3 &mpic 4 1 0 158 0000 0 0 4 &mpic 8 1 0 159 >; 160 }; 161 }; 162 163 &dcsr { 164 #address-cells = <1>; 165 #size-cells = <1>; 166 compatible = "fsl,dcsr", "simple-bus"; 167 168 dcsr-epu@0 { 169 compatible = "fsl,t1040-dcsr-e 170 interrupts = <52 2 0 0 171 84 2 0 0 172 85 2 0 0>; 173 reg = <0x0 0x1000>; 174 }; 175 dcsr-npc { 176 compatible = "fsl,t1040-dcsr-c 177 reg = <0x1000 0x1000 0x1002000 178 }; 179 dcsr-nxc@2000 { 180 compatible = "fsl,dcsr-nxc"; 181 reg = <0x2000 0x1000>; 182 }; 183 dcsr-corenet { 184 compatible = "fsl,dcsr-corenet 185 reg = <0x8000 0x1000 0x1A000 0 186 }; 187 dcsr-dpaa@9000 { 188 compatible = "fsl,t1040-dcsr-d 189 reg = <0x9000 0x1000>; 190 }; 191 dcsr-ocn@11000 { 192 compatible = "fsl,t1040-dcsr-o 193 reg = <0x11000 0x1000>; 194 }; 195 dcsr-ddr@12000 { 196 compatible = "fsl,dcsr-ddr"; 197 dev-handle = <&ddr1>; 198 reg = <0x12000 0x1000>; 199 }; 200 dcsr-nal@18000 { 201 compatible = "fsl,t1040-dcsr-n 202 reg = <0x18000 0x1000>; 203 }; 204 dcsr-rcpm@22000 { 205 compatible = "fsl,t1040-dcsr-r 206 reg = <0x22000 0x1000>; 207 }; 208 dcsr-snpc@30000 { 209 compatible = "fsl,t1040-dcsr-s 210 reg = <0x30000 0x1000 0x102200 211 }; 212 dcsr-snpc@31000 { 213 compatible = "fsl,t1040-dcsr-s 214 reg = <0x31000 0x1000 0x104200 215 }; 216 dcsr-cpu-sb-proxy@100000 { 217 compatible = "fsl,dcsr-e5500-s 218 cpu-handle = <&cpu0>; 219 reg = <0x100000 0x1000 0x10100 220 }; 221 dcsr-cpu-sb-proxy@108000 { 222 compatible = "fsl,dcsr-e5500-s 223 cpu-handle = <&cpu1>; 224 reg = <0x108000 0x1000 0x10900 225 }; 226 dcsr-cpu-sb-proxy@110000 { 227 compatible = "fsl,dcsr-e5500-s 228 cpu-handle = <&cpu2>; 229 reg = <0x110000 0x1000 0x11100 230 }; 231 dcsr-cpu-sb-proxy@118000 { 232 compatible = "fsl,dcsr-e5500-s 233 cpu-handle = <&cpu3>; 234 reg = <0x118000 0x1000 0x11900 235 }; 236 }; 237 238 &bportals { 239 #address-cells = <0x1>; 240 #size-cells = <0x1>; 241 compatible = "simple-bus"; 242 243 bman-portal@0 { 244 compatible = "fsl,bman-portal" 245 reg = <0x0 0x4000>, <0x1000000 246 interrupts = <105 2 0 0>; 247 }; 248 bman-portal@4000 { 249 compatible = "fsl,bman-portal" 250 reg = <0x4000 0x4000>, <0x1001 251 interrupts = <107 2 0 0>; 252 }; 253 bman-portal@8000 { 254 compatible = "fsl,bman-portal" 255 reg = <0x8000 0x4000>, <0x1002 256 interrupts = <109 2 0 0>; 257 }; 258 bman-portal@c000 { 259 compatible = "fsl,bman-portal" 260 reg = <0xc000 0x4000>, <0x1003 261 interrupts = <111 2 0 0>; 262 }; 263 bman-portal@10000 { 264 compatible = "fsl,bman-portal" 265 reg = <0x10000 0x4000>, <0x100 266 interrupts = <113 2 0 0>; 267 }; 268 bman-portal@14000 { 269 compatible = "fsl,bman-portal" 270 reg = <0x14000 0x4000>, <0x100 271 interrupts = <115 2 0 0>; 272 }; 273 bman-portal@18000 { 274 compatible = "fsl,bman-portal" 275 reg = <0x18000 0x4000>, <0x100 276 interrupts = <117 2 0 0>; 277 }; 278 bman-portal@1c000 { 279 compatible = "fsl,bman-portal" 280 reg = <0x1c000 0x4000>, <0x100 281 interrupts = <119 2 0 0>; 282 }; 283 bman-portal@20000 { 284 compatible = "fsl,bman-portal" 285 reg = <0x20000 0x4000>, <0x100 286 interrupts = <121 2 0 0>; 287 }; 288 bman-portal@24000 { 289 compatible = "fsl,bman-portal" 290 reg = <0x24000 0x4000>, <0x100 291 interrupts = <123 2 0 0>; 292 }; 293 }; 294 295 &qportals { 296 #address-cells = <0x1>; 297 #size-cells = <0x1>; 298 compatible = "simple-bus"; 299 300 qportal0: qman-portal@0 { 301 compatible = "fsl,qman-portal" 302 reg = <0x0 0x4000>, <0x1000000 303 interrupts = <104 0x2 0 0>; 304 cell-index = <0x0>; 305 }; 306 qportal1: qman-portal@4000 { 307 compatible = "fsl,qman-portal" 308 reg = <0x4000 0x4000>, <0x1001 309 interrupts = <106 0x2 0 0>; 310 cell-index = <0x1>; 311 }; 312 qportal2: qman-portal@8000 { 313 compatible = "fsl,qman-portal" 314 reg = <0x8000 0x4000>, <0x1002 315 interrupts = <108 0x2 0 0>; 316 cell-index = <0x2>; 317 }; 318 qportal3: qman-portal@c000 { 319 compatible = "fsl,qman-portal" 320 reg = <0xc000 0x4000>, <0x1003 321 interrupts = <110 0x2 0 0>; 322 cell-index = <0x3>; 323 }; 324 qportal4: qman-portal@10000 { 325 compatible = "fsl,qman-portal" 326 reg = <0x10000 0x4000>, <0x100 327 interrupts = <112 0x2 0 0>; 328 cell-index = <0x4>; 329 }; 330 qportal5: qman-portal@14000 { 331 compatible = "fsl,qman-portal" 332 reg = <0x14000 0x4000>, <0x100 333 interrupts = <114 0x2 0 0>; 334 cell-index = <0x5>; 335 }; 336 qportal6: qman-portal@18000 { 337 compatible = "fsl,qman-portal" 338 reg = <0x18000 0x4000>, <0x100 339 interrupts = <116 0x2 0 0>; 340 cell-index = <0x6>; 341 }; 342 qportal7: qman-portal@1c000 { 343 compatible = "fsl,qman-portal" 344 reg = <0x1c000 0x4000>, <0x100 345 interrupts = <118 0x2 0 0>; 346 cell-index = <0x7>; 347 }; 348 qportal8: qman-portal@20000 { 349 compatible = "fsl,qman-portal" 350 reg = <0x20000 0x4000>, <0x100 351 interrupts = <120 0x2 0 0>; 352 cell-index = <0x8>; 353 }; 354 qportal9: qman-portal@24000 { 355 compatible = "fsl,qman-portal" 356 reg = <0x24000 0x4000>, <0x100 357 interrupts = <122 0x2 0 0>; 358 cell-index = <0x9>; 359 }; 360 }; 361 362 &soc { 363 #address-cells = <1>; 364 #size-cells = <1>; 365 device_type = "soc"; 366 compatible = "simple-bus"; 367 368 soc-sram-error { 369 compatible = "fsl,soc-sram-err 370 interrupts = <16 2 1 29>; 371 }; 372 373 corenet-law@0 { 374 compatible = "fsl,corenet-law" 375 reg = <0x0 0x1000>; 376 fsl,num-laws = <16>; 377 }; 378 379 ddr1: memory-controller@8000 { 380 compatible = "fsl,qoriq-memory 381 "fsl,qoriq-mem 382 reg = <0x8000 0x1000>; 383 interrupts = <16 2 1 23>; 384 }; 385 386 cpc: l3-cache-controller@10000 { 387 compatible = "fsl,t1040-l3-cac 388 reg = <0x10000 0x1000>; 389 interrupts = <16 2 1 27>; 390 }; 391 392 corenet-cf@18000 { 393 compatible = "fsl,corenet2-cf" 394 reg = <0x18000 0x1000>; 395 interrupts = <16 2 1 31>; 396 fsl,ccf-num-csdids = <32>; 397 fsl,ccf-num-snoopids = <32>; 398 }; 399 400 iommu@20000 { 401 compatible = "fsl,pamu-v1.0", 402 reg = <0x20000 0x1000>; 403 ranges = <0 0x20000 0x1000>; 404 #address-cells = <1>; 405 #size-cells = <1>; 406 interrupts = < 407 24 2 0 0 408 16 2 1 30>; 409 pamu0: pamu@0 { 410 reg = <0 0x1000>; 411 fsl,primary-cache-geom 412 fsl,secondary-cache-ge 413 }; 414 }; 415 416 /include/ "qoriq-mpic.dtsi" 417 418 guts: global-utilities@e0000 { 419 compatible = "fsl,t1040-device 420 reg = <0xe0000 0xe00>; 421 fsl,has-rstcr; 422 fsl,liodn-bits = <12>; 423 }; 424 425 /include/ "qoriq-clockgen2.dtsi" 426 global-utilities@e1000 { 427 compatible = "fsl,t1040-clockg 428 }; 429 430 rcpm: global-utilities@e2000 { 431 compatible = "fsl,t1040-rcpm", 432 reg = <0xe2000 0x1000>; 433 }; 434 435 sfp: sfp@e8000 { 436 compatible = "fsl,t1040-sfp"; 437 reg = <0xe8000 0x1000>; 438 }; 439 440 serdes: serdes@ea000 { 441 compatible = "fsl,t1040-serdes 442 reg = <0xea000 0x4000>; 443 }; 444 445 tmu: tmu@f0000 { 446 compatible = "fsl,qoriq-tmu"; 447 reg = <0xf0000 0x1000>; 448 interrupts = <18 2 0 0>; 449 fsl,tmu-range = <0xa0000 0x900 450 fsl,tmu-calibration = 451 <0x00000000 0x 452 <0x00000001 0x 453 <0x00000002 0x 454 <0x00000003 0x 455 <0x00000004 0x 456 <0x00000005 0x 457 <0x00000006 0x 458 <0x00000007 0x 459 <0x00000008 0x 460 <0x00000009 0x 461 <0x0000000a 0x 462 463 <0x00010000 0x 464 <0x00010001 0x 465 <0x00010002 0x 466 <0x00010003 0x 467 <0x00010004 0x 468 <0x00010005 0x 469 <0x00010006 0x 470 <0x00010007 0x 471 <0x00010008 0x 472 <0x00010009 0x 473 474 <0x00020000 0x 475 <0x00020001 0x 476 <0x00020002 0x 477 <0x00020003 0x 478 <0x00020004 0x 479 <0x00020005 0x 480 <0x00020006 0x 481 <0x00020007 0x 482 <0x00020008 0x 483 484 <0x00030000 0x 485 <0x00030001 0x 486 #thermal-sensor-cells = <1>; 487 }; 488 489 thermal-zones { 490 cpu_thermal: cpu-thermal { 491 polling-delay-passive 492 polling-delay = <5000> 493 494 thermal-sensors = <&tm 495 496 trips { 497 cpu_alert: cpu 498 temper 499 hyster 500 type = 501 }; 502 cpu_crit: cpu- 503 temper 504 hyster 505 type = 506 }; 507 }; 508 509 cooling-maps { 510 map0 { 511 trip = 512 coolin 513 514 515 }; 516 map1 { 517 trip = 518 coolin 519 520 521 }; 522 map2 { 523 trip = 524 coolin 525 526 527 }; 528 map3 { 529 trip = 530 coolin 531 532 533 }; 534 }; 535 }; 536 }; 537 538 scfg: global-utilities@fc000 { 539 compatible = "fsl,t1040-scfg"; 540 reg = <0xfc000 0x1000>; 541 }; 542 543 /include/ "elo3-dma-0.dtsi" 544 /include/ "elo3-dma-1.dtsi" 545 /include/ "qoriq-espi-0.dtsi" 546 spi@110000 { 547 fsl,espi-num-chipselects = <4> 548 }; 549 550 /include/ "qoriq-esdhc-0.dtsi" 551 sdhc@114000 { 552 compatible = "fsl,t1040-esdhc" 553 fsl,iommu-parent = <&pamu0>; 554 fsl,liodn-reg = <&guts 0x530>; 555 sdhci,auto-cmd12; 556 }; 557 /include/ "qoriq-i2c-0.dtsi" 558 /include/ "qoriq-i2c-1.dtsi" 559 /include/ "qoriq-duart-0.dtsi" 560 /include/ "qoriq-duart-1.dtsi" 561 /include/ "qoriq-gpio-0.dtsi" 562 /include/ "qoriq-gpio-1.dtsi" 563 /include/ "qoriq-gpio-2.dtsi" 564 /include/ "qoriq-gpio-3.dtsi" 565 /include/ "qoriq-usb2-mph-0.dtsi" 566 usb0: usb@210000 { 567 compatible = "fsl-usb2 568 fsl,iommu-parent = <&p 569 fsl,liodn-reg = <&guts 570 phy_type = "utmi"; 571 port0; 572 }; 573 /include/ "qoriq-usb2-dr-0.dtsi" 574 usb1: usb@211000 { 575 compatible = "fsl-usb2 576 fsl,iommu-parent = <&p 577 fsl,liodn-reg = <&guts 578 dr_mode = "host"; 579 phy_type = "utmi"; 580 }; 581 582 display@180000 { 583 compatible = "fsl,t1040-diu", 584 reg = <0x180000 1000>; 585 interrupts = <74 2 0 0>; 586 }; 587 588 /include/ "qoriq-sata2-0.dtsi" 589 sata@220000 { 590 fsl,iommu-parent = <&pamu0>; 591 fsl,liodn-reg = <&guts 0x550>; 592 }; 593 /include/ "qoriq-sata2-1.dtsi" 594 sata@221000 { 595 fsl,iommu-parent = <&pamu0>; 596 fsl,liodn-reg = <&guts 0x554>; 597 }; 598 /include/ "qoriq-sec5.0-0.dtsi" 599 /include/ "qoriq-qman3.dtsi" 600 /include/ "qoriq-bman1.dtsi" 601 602 /include/ "qoriq-fman3l-0.dtsi" 603 /include/ "qoriq-fman3-0-1g-0.dtsi" 604 /include/ "qoriq-fman3-0-1g-1.dtsi" 605 /include/ "qoriq-fman3-0-1g-2.dtsi" 606 /include/ "qoriq-fman3-0-1g-3.dtsi" 607 /include/ "qoriq-fman3-0-1g-4.dtsi" 608 fman@400000 { 609 enet0: ethernet@e0000 { 610 }; 611 612 enet1: ethernet@e2000 { 613 }; 614 615 enet2: ethernet@e4000 { 616 }; 617 618 enet3: ethernet@e6000 { 619 }; 620 621 enet4: ethernet@e8000 { 622 }; 623 624 mdio@fc000 { 625 interrupts = <100 1 0 626 }; 627 628 mdio@fd000 { 629 status = "disabled"; 630 }; 631 }; 632 633 seville_switch: ethernet-switch@800000 634 compatible = "mscc,vsc9953-swi 635 reg = <0x800000 0x290000>; 636 interrupts = <26 2 0 0>; 637 interrupt-names = "xtr"; 638 little-endian; 639 #address-cells = <1>; 640 #size-cells = <0>; 641 status = "disabled"; 642 643 ports { 644 #address-cells = <1>; 645 #size-cells = <0>; 646 647 seville_port0: port@0 648 reg = <0>; 649 status = "disa 650 }; 651 652 seville_port1: port@1 653 reg = <1>; 654 status = "disa 655 }; 656 657 seville_port2: port@2 658 reg = <2>; 659 status = "disa 660 }; 661 662 seville_port3: port@3 663 reg = <3>; 664 status = "disa 665 }; 666 667 seville_port4: port@4 668 reg = <4>; 669 status = "disa 670 }; 671 672 seville_port5: port@5 673 reg = <5>; 674 status = "disa 675 }; 676 677 seville_port6: port@6 678 reg = <6>; 679 status = "disa 680 }; 681 682 seville_port7: port@7 683 reg = <7>; 684 status = "disa 685 }; 686 687 seville_port8: port@8 688 reg = <8>; 689 phy-mode = "in 690 ethernet = <&e 691 status = "disa 692 693 fixed-link { 694 speed 695 full-d 696 }; 697 }; 698 699 seville_port9: port@9 700 reg = <9>; 701 phy-mode = "in 702 ethernet = <&e 703 status = "disa 704 705 fixed-link { 706 speed 707 full-d 708 }; 709 }; 710 }; 711 }; 712 }; 713 714 &qe { 715 #address-cells = <1>; 716 #size-cells = <1>; 717 device_type = "qe"; 718 compatible = "fsl,qe"; 719 fsl,qe-num-riscs = <1>; 720 fsl,qe-num-snums = <28>; 721 722 qeic: interrupt-controller@80 { 723 interrupt-controller; 724 compatible = "fsl,qe-ic"; 725 #address-cells = <0>; 726 #interrupt-cells = <1>; 727 reg = <0x80 0x80>; 728 interrupts = <95 2 0 0 94 2 0 729 }; 730 731 ucc@2000 { 732 cell-index = <1>; 733 reg = <0x2000 0x200>; 734 interrupts = <32>; 735 interrupt-parent = <&qeic>; 736 }; 737 738 ucc@2200 { 739 cell-index = <3>; 740 reg = <0x2200 0x200>; 741 interrupts = <34>; 742 interrupt-parent = <&qeic>; 743 }; 744 745 muram@10000 { 746 #address-cells = <1>; 747 #size-cells = <1>; 748 compatible = "fsl,qe-muram", " 749 ranges = <0x0 0x10000 0x6000>; 750 751 data-only@0 { 752 compatible = "fsl,qe-m 753 "fsl,cpm-muram-data"; 754 reg = <0x0 0x6000>; 755 }; 756 }; 757 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.