blob: 7ba07a118e370deb7ac43e72fb18b307aa4a33c5 [file] [log] [blame]
Shawn Guo08641c72012-05-11 22:24:17 +08001* Freescale MXS Serial Audio Interface (SAIF)
2
3Required properties:
4- compatible: Should be "fsl,<chip>-saif"
5- reg: Should contain registers location and length
Shawn Guo62477ad2013-05-13 13:30:56 +08006- interrupts: Should contain ERROR interrupt number
7- dmas: DMA specifier, consisting of a phandle to DMA controller node
8 and SAIF DMA channel ID.
9 Refer to dma.txt and fsl-mxs-dma.txt for details.
10- dma-names: Must be "rx-tx".
Shawn Guo08641c72012-05-11 22:24:17 +080011
12Optional properties:
13- fsl,saif-master: phandle to the master SAIF. It's only required for
14 the slave SAIF.
15
16Note: Each SAIF controller should have an alias correctly numbered
17in "aliases" node.
18
19Example:
20
21aliases {
22 saif0 = &saif0;
23 saif1 = &saif1;
24};
25
26saif0: saif@80042000 {
27 compatible = "fsl,imx28-saif";
28 reg = <0x80042000 2000>;
Shawn Guo62477ad2013-05-13 13:30:56 +080029 interrupts = <59>;
30 dmas = <&dma_apbx 4>;
31 dma-names = "rx-tx";
Shawn Guo08641c72012-05-11 22:24:17 +080032};
33
34saif1: saif@80046000 {
35 compatible = "fsl,imx28-saif";
36 reg = <0x80046000 2000>;
Shawn Guo62477ad2013-05-13 13:30:56 +080037 interrupts = <58>;
38 dmas = <&dma_apbx 5>;
39 dma-names = "rx-tx";
Shawn Guo08641c72012-05-11 22:24:17 +080040 fsl,saif-master = <&saif0>;
41};