Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [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 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". |
| 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>; |
| 29 | interrupts = <59>; |
| 30 | dmas = <&dma_apbx 4>; |
| 31 | dma-names = "rx-tx"; |
| 32 | }; |
| 33 | |
| 34 | saif1: saif@80046000 { |
| 35 | compatible = "fsl,imx28-saif"; |
| 36 | reg = <0x80046000 2000>; |
| 37 | interrupts = <58>; |
| 38 | dmas = <&dma_apbx 5>; |
| 39 | dma-names = "rx-tx"; |
| 40 | fsl,saif-master = <&saif0>; |
| 41 | }; |