|
85 | 85 | piodma { |
86 | 86 | iommus = <&DIE_NODE(dispext0_dart) 4>; |
87 | 87 | }; |
| 88 | + |
| 89 | + ports { |
| 90 | + #address-cells = <1>; |
| 91 | + #size-cells = <0>; |
| 92 | + port@0 { |
| 93 | + reg = <0>; |
| 94 | + DIE_NODE(dcpext0_audio): endpoint { |
| 95 | + remote-endpoint = <&DIE_NODE(dpaudio1_dcp)>; |
| 96 | + }; |
| 97 | + }; |
| 98 | + }; |
88 | 99 | }; |
89 | 100 |
|
90 | 101 | DIE_NODE(dispext1_dart): iommu@28c304000 { |
|
148 | 159 | piodma { |
149 | 160 | iommus = <&DIE_NODE(dispext1_dart) 4>; |
150 | 161 | }; |
| 162 | + |
| 163 | + ports { |
| 164 | + #address-cells = <1>; |
| 165 | + #size-cells = <0>; |
| 166 | + port@0 { |
| 167 | + reg = <0>; |
| 168 | + DIE_NODE(dcpext1_audio): endpoint { |
| 169 | + remote-endpoint = <&DIE_NODE(dpaudio2_dcp)>; |
| 170 | + }; |
| 171 | + }; |
| 172 | + }; |
151 | 173 | }; |
152 | 174 |
|
153 | 175 | DIE_NODE(pmgr): power-management@28e080000 { |
|
451 | 473 | #interrupt-cells = <2>; |
452 | 474 | }; |
453 | 475 |
|
| 476 | + DIE_NODE(sio_mbox): mbox@39bc08000 { |
| 477 | + compatible = "apple,t6000-asc-mailbox", "apple,asc-mailbox-v4"; |
| 478 | + reg = <0x3 0x9bc08000 0x0 0x4000>; |
| 479 | + interrupt-parent = <&aic>; |
| 480 | + interrupts = <AIC_IRQ DIE_NO 1147 IRQ_TYPE_LEVEL_HIGH>, |
| 481 | + <AIC_IRQ DIE_NO 1148 IRQ_TYPE_LEVEL_HIGH>, |
| 482 | + <AIC_IRQ DIE_NO 1149 IRQ_TYPE_LEVEL_HIGH>, |
| 483 | + <AIC_IRQ DIE_NO 1150 IRQ_TYPE_LEVEL_HIGH>; |
| 484 | + interrupt-names = "send-empty", "send-not-empty", |
| 485 | + "recv-empty", "recv-not-empty"; |
| 486 | + #mbox-cells = <0>; |
| 487 | + power-domains = <&DIE_NODE(ps_sio_cpu)>; |
| 488 | + }; |
| 489 | + |
| 490 | + DIE_NODE(sio): sio@39bc00000 { |
| 491 | + compatible = "apple,t6000-sio", "apple,sio"; |
| 492 | + reg = <0x3 0x9bc00000 0x0 0x8000>; |
| 493 | + dma-channels = <128>; |
| 494 | + #dma-cells = <1>; |
| 495 | + mboxes = <&DIE_NODE(sio_mbox)>; |
| 496 | + iommus = <&DIE_NODE(sio_dart_0) 0>, <&DIE_NODE(sio_dart_1) 0>; |
| 497 | + power-domains = <&DIE_NODE(ps_sio_cpu)>; |
| 498 | + resets = <&DIE_NODE(ps_sio)>; /* TODO: verify reset does something */ |
| 499 | + status = "disabled"; |
| 500 | + }; |
| 501 | + |
| 502 | + DIE_NODE(dpaudio1): audio-controller@39b504000 { |
| 503 | + compatible = "apple,t6000-dpaudio", "apple,dpaudio"; |
| 504 | + reg = <0x3 0x9b540000 0x0 0x4000>; |
| 505 | + dmas = <&DIE_NODE(sio) 0x66>; |
| 506 | + dma-names = "tx"; |
| 507 | + power-domains = <&DIE_NODE(ps_dpa1)>; |
| 508 | + reset-domains = <&DIE_NODE(ps_dpa1)>; |
| 509 | + status = "disabled"; |
| 510 | + |
| 511 | + ports { |
| 512 | + #address-cells = <1>; |
| 513 | + #size-cells = <0>; |
| 514 | + port@0 { |
| 515 | + reg = <0>; |
| 516 | + DIE_NODE(dpaudio1_dcp): endpoint { |
| 517 | + remote-endpoint = <&DIE_NODE(dcpext0_audio)>; |
| 518 | + }; |
| 519 | + }; |
| 520 | + }; |
| 521 | + }; |
| 522 | + |
| 523 | + DIE_NODE(dpaudio2): audio-controller@39b508000 { |
| 524 | + compatible = "apple,t6000-dpaudio", "apple,dpaudio"; |
| 525 | + reg = <0x3 0x9b580000 0x0 0x4000>; |
| 526 | + dmas = <&DIE_NODE(sio) 0x68>; |
| 527 | + dma-names = "tx"; |
| 528 | + power-domains = <&DIE_NODE(ps_dpa2)>; |
| 529 | + reset-domains = <&DIE_NODE(ps_dpa2)>; |
| 530 | + status = "disabled"; |
| 531 | + |
| 532 | + ports { |
| 533 | + #address-cells = <1>; |
| 534 | + #size-cells = <0>; |
| 535 | + port@0 { |
| 536 | + reg = <0>; |
| 537 | + DIE_NODE(dpaudio2_dcp): endpoint { |
| 538 | + remote-endpoint = <&DIE_NODE(dcpext1_audio)>; |
| 539 | + }; |
| 540 | + }; |
| 541 | + }; |
| 542 | + }; |
| 543 | + |
| 544 | + /* |
| 545 | + * omit dpaudio3 / 4 as long as the linked dcpext nodes don't exist |
| 546 | + * |
| 547 | + DIE_NODE(dpaudio3): audio-controller@39b50c000 { |
| 548 | + compatible = "apple,t6000-dpaudio", "apple,dpaudio"; |
| 549 | + reg = <0x3 0x9b5c0000 0x0 0x4000>; |
| 550 | + dmas = <&DIE_NODE(sio) 0x6a>; |
| 551 | + dma-names = "tx"; |
| 552 | + power-domains = <&DIE_NODE(ps_dpa3)>; |
| 553 | + reset-domains = <&DIE_NODE(ps_dpa3)>; |
| 554 | + status = "disabled"; |
| 555 | + |
| 556 | + ports { |
| 557 | + #address-cells = <1>; |
| 558 | + #size-cells = <0>; |
| 559 | + port@0 { |
| 560 | + reg = <0>; |
| 561 | + DIE_NODE(dpaudio3_dcp): endpoint { |
| 562 | + remote-endpoint = <&DIE_NODE(dcpext2_audio)>; |
| 563 | + }; |
| 564 | + }; |
| 565 | + }; |
| 566 | + }; |
| 567 | + |
| 568 | + DIE_NODE(dpaudio4): audio-controller@39b510000 { |
| 569 | + compatible = "apple,t6000-dpaudio", "apple,dpaudio"; |
| 570 | + reg = <0x3 0x9b500000 0x0 0x4000>; |
| 571 | + dmas = <&DIE_NODE(sio) 0x6c>; |
| 572 | + dma-names = "tx"; |
| 573 | + power-domains = <&DIE_NODE(ps_dpa4)>; |
| 574 | + reset-domains = <&DIE_NODE(ps_dpa4)>; |
| 575 | + status = "disabled"; |
| 576 | + |
| 577 | + ports { |
| 578 | + #address-cells = <1>; |
| 579 | + #size-cells = <0>; |
| 580 | + port@0 { |
| 581 | + reg = <0>; |
| 582 | + DIE_NODE(dpaudio4_dcp): endpoint { |
| 583 | + remote-endpoint = <&DIE_NODE(dcpext3_audio)>; |
| 584 | + }; |
| 585 | + }; |
| 586 | + }; |
| 587 | + }; |
| 588 | + */ |
| 589 | + |
454 | 590 | DIE_NODE(dwc3_0_dart_0): iommu@702f00000 { |
455 | 591 | compatible = "apple,t6000-dart"; |
456 | 592 | reg = <0x7 0x02f00000 0x0 0x4000>; |
|
0 commit comments