blob: e6148eca294213e65c5c8829ce633c755cd3d1e2 [file] [log] [blame]
Hebbar, Gururaja3e3b8c32012-08-27 18:56:42 +05301Texas Instruments McASP controller
2
3Required properties:
4- compatible :
5 "ti,dm646x-mcasp-audio" : for DM646x platforms
6 "ti,da830-mcasp-audio" : for both DA830 & DA850 platforms
7
8- reg : Should contain McASP registers offset and length
9- interrupts : Interrupt number for McASP
10- op-mode : I2S/DIT ops mode.
11- tdm-slots : Slots for TDM operation.
12- num-serializer : Serializers used by McASP.
13- serial-dir : A list of serializer pin mode. The list number should be equal
14 to "num-serializer" parameter. Each entry is a number indication
15 serializer pin direction. (0 - INACTIVE, 1 - TX, 2 - RX)
16
17
18Optional properties:
19
20- ti,hwmods : Must be "mcasp<n>", n is controller instance starting 0
21- tx-num-evt : FIFO levels.
22- rx-num-evt : FIFO levels.
23- sram-size-playback : size of sram to be allocated during playback
24- sram-size-capture : size of sram to be allocated during capture
25
26Example:
27
28mcasp0: mcasp0@1d00000 {
29 compatible = "ti,da830-mcasp-audio";
30 #address-cells = <1>;
31 #size-cells = <0>;
32 reg = <0x100000 0x3000>;
33 interrupts = <82 83>;
34 op-mode = <0>; /* MCASP_IIS_MODE */
35 tdm-slots = <2>;
36 num-serializer = <16>;
37 serial-dir = <
38 0 0 0 0 /* 0: INACTIVE, 1: TX, 2: RX */
39 0 0 0 0
40 0 0 0 1
41 2 0 0 0 >;
42 tx-num-evt = <1>;
43 rx-num-evt = <1>;
44};