summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound/mxs-saif.txt
blob: c37ba6143d9b338cc9b80b66f1253f1939af9d2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
* Freescale MXS Serial Audio Interface (SAIF)

Required properties:
- compatible: Should be "fsl,<chip>-saif"
- reg: Should contain registers location and length
- interrupts: Should contain ERROR and DMA interrupts
- fsl,saif-dma-channel: APBX DMA channel for the SAIF

Optional properties:
- fsl,saif-master: phandle to the master SAIF.  It's only required for
  the slave SAIF.

Note: Each SAIF controller should have an alias correctly numbered
in "aliases" node.

Example:

aliases {
	saif0 = &saif0;
	saif1 = &saif1;
};

saif0: saif@80042000 {
	compatible = "fsl,imx28-saif";
	reg = <0x80042000 2000>;
	interrupts = <59 80>;
	fsl,saif-dma-channel = <4>;
};

saif1: saif@80046000 {
	compatible = "fsl,imx28-saif";
	reg = <0x80046000 2000>;
	interrupts = <58 81>;
	fsl,saif-dma-channel = <5>;
	fsl,saif-master = <&saif0>;
};
OpenPOWER on IntegriCloud