xref: /freebsd/sys/contrib/device-tree/Bindings/sound/mxs-saif.txt (revision fe75646a0234a261c0013bf1840fdac4acaf0cec)
1* Freescale MXS Serial Audio Interface (SAIF)
2
3Required 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
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>;
29	interrupts = <59>;
30	dmas = <&dma_apbx 4>;
31	dma-names = "rx-tx";
32};
33
34saif1: 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};
42