Shawn Guo | 08641c7 | 2012-05-11 22:24:17 +0800 | [diff] [blame] | 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 |
| 6 | - interrupts: Should contain ERROR and DMA interrupts |
| 7 | - fsl,saif-dma-channel: APBX DMA channel for the SAIF |
| 8 | |
| 9 | Optional properties: |
| 10 | - fsl,saif-master: phandle to the master SAIF. It's only required for |
| 11 | the slave SAIF. |
| 12 | |
| 13 | Note: Each SAIF controller should have an alias correctly numbered |
| 14 | in "aliases" node. |
| 15 | |
| 16 | Example: |
| 17 | |
| 18 | aliases { |
| 19 | saif0 = &saif0; |
| 20 | saif1 = &saif1; |
| 21 | }; |
| 22 | |
| 23 | saif0: saif@80042000 { |
| 24 | compatible = "fsl,imx28-saif"; |
| 25 | reg = <0x80042000 2000>; |
| 26 | interrupts = <59 80>; |
| 27 | fsl,saif-dma-channel = <4>; |
| 28 | }; |
| 29 | |
| 30 | saif1: saif@80046000 { |
| 31 | compatible = "fsl,imx28-saif"; |
| 32 | reg = <0x80046000 2000>; |
| 33 | interrupts = <58 81>; |
| 34 | fsl,saif-dma-channel = <5>; |
| 35 | fsl,saif-master = <&saif0>; |
| 36 | }; |