designware-i2s.txt 1.0 KB

12345678910111213141516171819202122232425262728293031
  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. For more details on the 'dma', 'dma-names', 'clock' and 'clock-names'
  14. properties please check:
  15. * resource-names.txt
  16. * clock/clock-bindings.txt
  17. * dma/dma.txt
  18. Example:
  19. soc_i2s: i2s@7ff90000 {
  20. compatible = "snps,designware-i2s";
  21. reg = <0x0 0x7ff90000 0x0 0x1000>;
  22. clocks = <&scpi_i2sclk 0>;
  23. clock-names = "i2sclk";
  24. #sound-dai-cells = <0>;
  25. dmas = <&dma0 5>;
  26. dma-names = "tx";
  27. };