|
702 | 702 | iommus = <&disp0_dart 4>; |
703 | 703 | phandle = <&disp0_piodma>; |
704 | 704 | }; |
| 705 | + |
| 706 | + ports { |
| 707 | + #address-cells = <1>; |
| 708 | + #size-cells = <0>; |
| 709 | + port@0 { |
| 710 | + reg = <0>; |
| 711 | + dcp_audio: endpoint { |
| 712 | + remote-endpoint = <&dpaudio0_dcp>; |
| 713 | + }; |
| 714 | + }; |
| 715 | + }; |
705 | 716 | }; |
706 | 717 |
|
707 | 718 | display: display-subsystem { |
|
856 | 867 | status = "disabled"; |
857 | 868 | }; |
858 | 869 |
|
| 870 | + sio_mbox: mbox@236408000 { |
| 871 | + compatible = "apple,t8112-asc-mailbox", "apple,asc-mailbox-v4"; |
| 872 | + reg = <0x2 0x36408000 0x0 0x4000>; |
| 873 | + interrupt-parent = <&aic>; |
| 874 | + interrupts = <AIC_IRQ 774 IRQ_TYPE_LEVEL_HIGH>, |
| 875 | + <AIC_IRQ 775 IRQ_TYPE_LEVEL_HIGH>, |
| 876 | + <AIC_IRQ 776 IRQ_TYPE_LEVEL_HIGH>, |
| 877 | + <AIC_IRQ 777 IRQ_TYPE_LEVEL_HIGH>; |
| 878 | + interrupt-names = "send-empty", "send-not-empty", |
| 879 | + "recv-empty", "recv-not-empty"; |
| 880 | + #mbox-cells = <0>; |
| 881 | + power-domains = <&ps_sio_cpu>; |
| 882 | + }; |
| 883 | + |
| 884 | + sio: sio@236400000 { |
| 885 | + compatible = "apple,t8112-sio", "apple,sio"; |
| 886 | + reg = <0x2 0x36400000 0x0 0x8000>; |
| 887 | + dma-channels = <128>; |
| 888 | + #dma-cells = <1>; |
| 889 | + mboxes = <&sio_mbox>; |
| 890 | + iommus = <&sio_dart 0>; |
| 891 | + power-domains = <&ps_sio_cpu>; |
| 892 | + resets = <&ps_sio>; /* TODO: verify reset does something */ |
| 893 | + status = "disabled"; |
| 894 | + }; |
| 895 | + |
859 | 896 | admac: dma-controller@238200000 { |
860 | 897 | compatible = "apple,t8112-admac", "apple,admac"; |
861 | 898 | reg = <0x2 0x38200000 0x0 0x34000>; |
|
870 | 907 | resets = <&ps_audio_p>; |
871 | 908 | }; |
872 | 909 |
|
| 910 | + dpaudio0: audio-controller@238330000 { |
| 911 | + compatible = "apple,t8112-dpaudio", "apple,dpaudio"; |
| 912 | + reg = <0x2 0x38330000 0x0 0x4000>; |
| 913 | + dmas = <&sio 0x64>; |
| 914 | + dma-names = "tx"; |
| 915 | + power-domains = <&ps_dpa0>; |
| 916 | + reset-domains = <&ps_dpa0>; |
| 917 | + status = "disabled"; |
| 918 | + |
| 919 | + ports { |
| 920 | + #address-cells = <1>; |
| 921 | + #size-cells = <0>; |
| 922 | + port@0 { |
| 923 | + reg = <0>; |
| 924 | + dpaudio0_dcp: endpoint { |
| 925 | + remote-endpoint = <&dcp_audio>; |
| 926 | + }; |
| 927 | + }; |
| 928 | + }; |
| 929 | + }; |
| 930 | + |
| 931 | + dpaudio1: audio-controller@238334000 { |
| 932 | + compatible = "apple,t8112-dpaudio", "apple,dpaudio"; |
| 933 | + reg = <0x2 0x38334000 0x0 0x4000>; |
| 934 | + dmas = <&sio 0x66>; |
| 935 | + dma-names = "tx"; |
| 936 | + power-domains = <&ps_dpa1>; |
| 937 | + reset-domains = <&ps_dpa1>; |
| 938 | + status = "disabled"; |
| 939 | + |
| 940 | + ports { |
| 941 | + #address-cells = <1>; |
| 942 | + #size-cells = <0>; |
| 943 | + port@0 { |
| 944 | + reg = <0>; |
| 945 | + dpaudio1_dcp: endpoint { |
| 946 | + remote-endpoint = <&dcpext_audio>; |
| 947 | + }; |
| 948 | + }; |
| 949 | + }; |
| 950 | + }; |
| 951 | + |
873 | 952 | mca: i2s@238400000 { |
874 | 953 | compatible = "apple,t8112-mca", "apple,mca"; |
875 | 954 | reg = <0x2 0x38400000 0x0 0x18000>, |
|
1455 | 1534 | piodma { |
1456 | 1535 | iommus = <&dispext0_dart 4>; |
1457 | 1536 | }; |
| 1537 | + |
| 1538 | + ports { |
| 1539 | + #address-cells = <1>; |
| 1540 | + #size-cells = <0>; |
| 1541 | + port@0 { |
| 1542 | + reg = <0>; |
| 1543 | + dcpext_audio: endpoint { |
| 1544 | + remote-endpoint = <&dpaudio1_dcp>; |
| 1545 | + }; |
| 1546 | + }; |
| 1547 | + }; |
1458 | 1548 | }; |
1459 | 1549 |
|
1460 | 1550 | ans_mbox: mbox@277408000 { |
|
0 commit comments