designware-i2s.txt 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. DesignWare I2S controller
  2. Required properties:
  3. - compatible : Must be "snps,designware-i2s"
  4. - reg : Must contain the I2S core's registers location and length
  5. - clocks : Pairs of phandle and specifier referencing the controller's
  6. clocks. The controller expects one clock: the clock used as the sampling
  7. rate reference clock sample.
  8. - clock-names : "i2sclk" for the sample rate reference clock.
  9. - dmas: Pairs of phandle and specifier for the DMA channels that are used by
  10. the core. The core expects one or two dma channels: one for transmit and
  11. one for receive.
  12. - dma-names : "tx" for the transmit channel, "rx" for the receive channel.
  13. Optional properties:
  14. - interrupts: The interrupt line number for the I2S controller. Add this
  15. parameter if the I2S controller that you are using does not support DMA.
  16. For more details on the 'dma', 'dma-names', 'clock' and 'clock-names'
  17. properties please check:
  18. * resource-names.txt
  19. * clock/clock-bindings.txt
  20. * dma/dma.txt
  21. Example:
  22. soc_i2s: i2s@7ff90000 {
  23. compatible = "snps,designware-i2s";
  24. reg = <0x0 0x7ff90000 0x0 0x1000>;
  25. clocks = <&scpi_i2sclk 0>;
  26. clock-names = "i2sclk";
  27. #sound-dai-cells = <0>;
  28. dmas = <&dma0 5>;
  29. dma-names = "tx";
  30. };