1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/sound/apple,mca.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Apple MCA I2S transceiver
10 MCA is an I2S transceiver peripheral found on M1 and other Apple chips. It is
11 composed of a number of identical clusters which can operate independently
12 or in an interlinked fashion. Up to 6 clusters have been seen on an MCA.
15 - Martin PoviĊĦer <povik+lin@cutebit.org>
18 - $ref: dai-common.yaml#
31 - description: Register region of the MCA clusters proper
32 - description: Register region of the DMA glue and its FIFOs
38 One interrupt per each cluster
50 DMA channels corresponding to the SERDES units in the peripheral. They are
51 listed in groups of four per cluster, and within the group they are given
52 as associated to the TXA, RXA, TXB, RXB units.
82 Names for the DMA channels: 'tx'/'rx', then cluster number, then 'a'/'b'
83 based on the associated SERDES unit.
89 Clusters' input reference clock.
98 First a general power domain for register access, then the power
99 domains of individual clusters for their operation.
113 unevaluatedProperties: false
118 compatible = "apple,t6000-mca", "apple,mca";
119 reg = <0x9b600000 0x10000>,
120 <0x9b200000 0x20000>;
122 clocks = <&nco 0>, <&nco 1>, <&nco 2>, <&nco 3>;
123 power-domains = <&ps_audio_p>, <&ps_mca0>, <&ps_mca1>,
124 <&ps_mca2>, <&ps_mca3>;
125 dmas = <&admac 0>, <&admac 1>, <&admac 2>, <&admac 3>,
126 <&admac 4>, <&admac 5>, <&admac 6>, <&admac 7>,
127 <&admac 8>, <&admac 9>, <&admac 10>, <&admac 11>,
128 <&admac 12>, <&admac 13>, <&admac 14>, <&admac 15>;
129 dma-names = "tx0a", "rx0a", "tx0b", "rx0b",
130 "tx1a", "rx1a", "tx1b", "rx1b",
131 "tx2a", "rx2a", "tx2b", "rx2b",
132 "tx3a", "rx3a", "tx3b", "rx3b";
134 #sound-dai-cells = <1>;