1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/sound/davinci-mcasp-audio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: McASP Controller for TI SoCs
10 - Jayesh Choudhary <j-choudhary@ti.com>
15 - ti,dm646x-mcasp-audio
16 - ti,da830-mcasp-audio
17 - ti,am33xx-mcasp-audio
19 - ti,omap4-mcasp-audio
24 - description: CFG registers
25 - description: data registers
34 $ref: /schemas/types.yaml#/definitions/uint32
35 description: 0 - I2S or 1 - DIT operation mode
41 $ref: /schemas/types.yaml#/definitions/uint32
43 number of channels over one serializer
44 the property is ignored in DIT mode
50 A list of serializer configuration
51 Entry is indication for serializer pin direction
52 0 - Inactive, 1 - TX, 2 - RX
53 All AXR pins should be present in the array even if inactive
54 $ref: /schemas/types.yaml#/definitions/uint32-array
64 - description: transmission DMA channel
65 - description: reception DMA channel
74 $ref: /schemas/types.yaml#/definitions/string
75 description: Name of hwmod associated with McASP
80 $ref: /schemas/types.yaml#/definitions/uint32
82 configures WFIFO threshold
83 0 disables the FIFO use
84 if property is missing, then also FIFO use is disabled
87 $ref: /schemas/types.yaml#/definitions/uint32
89 configures RFIFO threshold
90 0 disables the FIFO use
91 if property is missing, then also FIFO use is disabled
94 $ref: /schemas/types.yaml#/definitions/uint32
96 specify the drive on TX pin during inactive time slots
97 0 - 3-state, 2 - logic low, 3 - logic high
108 - description: TX interrupt
109 - description: RX interrupt
111 - description: common/combined interrupt
122 $ref: /schemas/types.yaml#/definitions/string
123 description: parent clock name for McASP fck
127 $ref: /schemas/types.yaml#/definitions/uint32
128 description: ratio of AUCLK and FS rate if applicable
130 gpio-controller: true
138 - description: functional clock
139 - description: module specific optional ahclkx clock
140 - description: module specific optional ahclkr clock
150 description: phandle to the corresponding power-domain
157 description: connection for when McASP is used via graph card
170 - $ref: dai-common.yaml#
181 unevaluatedProperties: false
185 mcasp0: mcasp0@1d00000 {
186 compatible = "ti,da830-mcasp-audio";
187 reg = <0x100000 0x3000>;
189 interrupts = <82>, <83>;
190 interrupt-names = "tx", "rx";
191 op-mode = <0>; /* MCASP_IIS_MODE */
193 dmas = <&main_udmap 0xc400>, <&main_udmap 0x4400>;
194 dma-names = "tx", "rx";
196 0 0 0 0 /* 0: INACTIVE, 1: TX, 2: RX */