^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) * Freescale MXS Serial Audio Interface (SAIF)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) - compatible: Should be "fsl,<chip>-saif"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) - reg: Should contain registers location and length
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) - interrupts: Should contain ERROR interrupt number
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) - dmas: DMA specifier, consisting of a phandle to DMA controller node
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) and SAIF DMA channel ID.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) Refer to dma.txt and fsl-mxs-dma.txt for details.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - dma-names: Must be "rx-tx".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) - fsl,saif-master: phandle to the master SAIF. It's only required for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) the slave SAIF.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Note: Each SAIF controller should have an alias correctly numbered
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) in "aliases" node.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) aliases {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) saif0 = &saif0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) saif1 = &saif1;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) saif0: saif@80042000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) compatible = "fsl,imx28-saif";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) reg = <0x80042000 2000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) interrupts = <59>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) dmas = <&dma_apbx 4>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) dma-names = "rx-tx";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) saif1: saif@80046000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) compatible = "fsl,imx28-saif";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) reg = <0x80046000 2000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) interrupts = <58>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) dmas = <&dma_apbx 5>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) dma-names = "rx-tx";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) fsl,saif-master = <&saif0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) };