2012-05-11 21:24:17 +07:00
|
|
|
* Freescale MXS Serial Audio Interface (SAIF)
|
|
|
|
|
|
|
|
Required properties:
|
|
|
|
- compatible: Should be "fsl,<chip>-saif"
|
|
|
|
- reg: Should contain registers location and length
|
2013-05-13 12:30:56 +07:00
|
|
|
- interrupts: Should contain ERROR interrupt number
|
|
|
|
- dmas: DMA specifier, consisting of a phandle to DMA controller node
|
|
|
|
and SAIF DMA channel ID.
|
|
|
|
Refer to dma.txt and fsl-mxs-dma.txt for details.
|
|
|
|
- dma-names: Must be "rx-tx".
|
2012-05-11 21:24:17 +07:00
|
|
|
|
|
|
|
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>;
|
2013-05-13 12:30:56 +07:00
|
|
|
interrupts = <59>;
|
|
|
|
dmas = <&dma_apbx 4>;
|
|
|
|
dma-names = "rx-tx";
|
2012-05-11 21:24:17 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
saif1: saif@80046000 {
|
|
|
|
compatible = "fsl,imx28-saif";
|
|
|
|
reg = <0x80046000 2000>;
|
2013-05-13 12:30:56 +07:00
|
|
|
interrupts = <58>;
|
|
|
|
dmas = <&dma_apbx 5>;
|
|
|
|
dma-names = "rx-tx";
|
2012-05-11 21:24:17 +07:00
|
|
|
fsl,saif-master = <&saif0>;
|
|
|
|
};
|