Commit | Line | Data |
---|---|---|
08641c7c SG |
1 | * Freescale MXS Serial Audio Interface (SAIF) |
2 | ||
3 | Required properties: | |
4 | - compatible: Should be "fsl,<chip>-saif" | |
5 | - reg: Should contain registers location and length | |
62477adf SG |
6 | - 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". | |
08641c7c SG |
11 | |
12 | Optional properties: | |
13 | - fsl,saif-master: phandle to the master SAIF. It's only required for | |
14 | the slave SAIF. | |
15 | ||
16 | Note: Each SAIF controller should have an alias correctly numbered | |
17 | in "aliases" node. | |
18 | ||
19 | Example: | |
20 | ||
21 | aliases { | |
22 | saif0 = &saif0; | |
23 | saif1 = &saif1; | |
24 | }; | |
25 | ||
26 | saif0: saif@80042000 { | |
27 | compatible = "fsl,imx28-saif"; | |
28 | reg = <0x80042000 2000>; | |
62477adf SG |
29 | interrupts = <59>; |
30 | dmas = <&dma_apbx 4>; | |
31 | dma-names = "rx-tx"; | |
08641c7c SG |
32 | }; |
33 | ||
34 | saif1: saif@80046000 { | |
35 | compatible = "fsl,imx28-saif"; | |
36 | reg = <0x80046000 2000>; | |
62477adf SG |
37 | interrupts = <58>; |
38 | dmas = <&dma_apbx 5>; | |
39 | dma-names = "rx-tx"; | |
08641c7c SG |
40 | fsl,saif-master = <&saif0>; |
41 | }; |