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#
30 - description: Register region of the MCA clusters proper
31 - description: Register region of the DMA glue and its FIFOs
37 One interrupt per each cluster
49 DMA channels corresponding to the SERDES units in the peripheral. They are
50 listed in groups of four per cluster, and within the group they are given
51 as associated to the TXA, RXA, TXB, RXB units.
81 Names for the DMA channels: 'tx'/'rx', then cluster number, then 'a'/'b'
82 based on the associated SERDES unit.
88 Clusters' input reference clock.
97 First a general power domain for register access, then the power
98 domains of individual clusters for their operation.
112 unevaluatedProperties: false
117 compatible = "apple,t6000-mca", "apple,mca";
118 reg = <0x9b600000 0x10000>,
119 <0x9b200000 0x20000>;
121 clocks = <&nco 0>, <&nco 1>, <&nco 2>, <&nco 3>;
122 power-domains = <&ps_audio_p>, <&ps_mca0>, <&ps_mca1>,
123 <&ps_mca2>, <&ps_mca3>;
124 dmas = <&admac 0>, <&admac 1>, <&admac 2>, <&admac 3>,
125 <&admac 4>, <&admac 5>, <&admac 6>, <&admac 7>,
126 <&admac 8>, <&admac 9>, <&admac 10>, <&admac 11>,
127 <&admac 12>, <&admac 13>, <&admac 14>, <&admac 15>;
128 dma-names = "tx0a", "rx0a", "tx0b", "rx0b",
129 "tx1a", "rx1a", "tx1b", "rx1b",
130 "tx2a", "rx2a", "tx2b", "rx2b",
131 "tx3a", "rx3a", "tx3b", "rx3b";
133 #sound-dai-cells = <1>;