|
745 | 745 | iommus = <&disp0_dart 4>; |
746 | 746 | phandle = <&disp0_piodma>; |
747 | 747 | }; |
| 748 | + |
| 749 | + ports { |
| 750 | + #address-cells = <1>; |
| 751 | + #size-cells = <0>; |
| 752 | + port@0 { |
| 753 | + reg = <0>; |
| 754 | + dcp_audio: endpoint { |
| 755 | + remote-endpoint = <&dpaudio0_dcp>; |
| 756 | + }; |
| 757 | + }; |
| 758 | + }; |
748 | 759 | }; |
749 | 760 |
|
750 | 761 | display: display-subsystem { |
|
899 | 910 | status = "disabled"; |
900 | 911 | }; |
901 | 912 |
|
| 913 | + sio_mbox: mbox@236408000 { |
| 914 | + compatible = "apple,t8112-asc-mailbox", "apple,asc-mailbox-v4"; |
| 915 | + reg = <0x2 0x36408000 0x0 0x4000>; |
| 916 | + interrupt-parent = <&aic>; |
| 917 | + interrupts = <AIC_IRQ 774 IRQ_TYPE_LEVEL_HIGH>, |
| 918 | + <AIC_IRQ 775 IRQ_TYPE_LEVEL_HIGH>, |
| 919 | + <AIC_IRQ 776 IRQ_TYPE_LEVEL_HIGH>, |
| 920 | + <AIC_IRQ 777 IRQ_TYPE_LEVEL_HIGH>; |
| 921 | + interrupt-names = "send-empty", "send-not-empty", |
| 922 | + "recv-empty", "recv-not-empty"; |
| 923 | + #mbox-cells = <0>; |
| 924 | + power-domains = <&ps_sio_cpu>; |
| 925 | + }; |
| 926 | + |
| 927 | + sio: sio@236400000 { |
| 928 | + compatible = "apple,t8112-sio", "apple,sio"; |
| 929 | + reg = <0x2 0x36400000 0x0 0x8000>; |
| 930 | + dma-channels = <128>; |
| 931 | + #dma-cells = <1>; |
| 932 | + mboxes = <&sio_mbox>; |
| 933 | + iommus = <&sio_dart 0>; |
| 934 | + power-domains = <&ps_sio_cpu>; |
| 935 | + resets = <&ps_sio>; /* TODO: verify reset does something */ |
| 936 | + status = "disabled"; |
| 937 | + }; |
| 938 | + |
902 | 939 | admac: dma-controller@238200000 { |
903 | 940 | compatible = "apple,t8112-admac", "apple,admac"; |
904 | 941 | reg = <0x2 0x38200000 0x0 0x34000>; |
|
913 | 950 | resets = <&ps_audio_p>; |
914 | 951 | }; |
915 | 952 |
|
| 953 | + dpaudio0: audio-controller@238330000 { |
| 954 | + compatible = "apple,t8112-dpaudio", "apple,dpaudio"; |
| 955 | + reg = <0x2 0x38330000 0x0 0x4000>; |
| 956 | + dmas = <&sio 0x64>; |
| 957 | + dma-names = "tx"; |
| 958 | + power-domains = <&ps_dpa0>; |
| 959 | + reset-domains = <&ps_dpa0>; |
| 960 | + status = "disabled"; |
| 961 | + |
| 962 | + ports { |
| 963 | + #address-cells = <1>; |
| 964 | + #size-cells = <0>; |
| 965 | + port@0 { |
| 966 | + reg = <0>; |
| 967 | + dpaudio0_dcp: endpoint { |
| 968 | + remote-endpoint = <&dcp_audio>; |
| 969 | + }; |
| 970 | + }; |
| 971 | + }; |
| 972 | + }; |
| 973 | + |
| 974 | + dpaudio1: audio-controller@238334000 { |
| 975 | + compatible = "apple,t8112-dpaudio", "apple,dpaudio"; |
| 976 | + reg = <0x2 0x38334000 0x0 0x4000>; |
| 977 | + dmas = <&sio 0x66>; |
| 978 | + dma-names = "tx"; |
| 979 | + power-domains = <&ps_dpa1>; |
| 980 | + reset-domains = <&ps_dpa1>; |
| 981 | + status = "disabled"; |
| 982 | + |
| 983 | + ports { |
| 984 | + #address-cells = <1>; |
| 985 | + #size-cells = <0>; |
| 986 | + port@0 { |
| 987 | + reg = <0>; |
| 988 | + dpaudio1_dcp: endpoint { |
| 989 | + remote-endpoint = <&dcpext_audio>; |
| 990 | + }; |
| 991 | + }; |
| 992 | + }; |
| 993 | + }; |
| 994 | + |
916 | 995 | mca: i2s@238400000 { |
917 | 996 | compatible = "apple,t8112-mca", "apple,mca"; |
918 | 997 | reg = <0x2 0x38400000 0x0 0x18000>, |
|
1483 | 1562 | piodma { |
1484 | 1563 | iommus = <&dispext0_dart 4>; |
1485 | 1564 | }; |
| 1565 | + |
| 1566 | + ports { |
| 1567 | + #address-cells = <1>; |
| 1568 | + #size-cells = <0>; |
| 1569 | + port@0 { |
| 1570 | + reg = <0>; |
| 1571 | + dcpext_audio: endpoint { |
| 1572 | + remote-endpoint = <&dpaudio1_dcp>; |
| 1573 | + }; |
| 1574 | + }; |
| 1575 | + }; |
1486 | 1576 | }; |
1487 | 1577 |
|
1488 | 1578 | ans_mbox: mbox@277408000 { |
|
0 commit comments