sun4i-i2s.txt 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. * Allwinner A10 I2S controller
  2. The I2S bus (Inter-IC sound bus) is a serial link for digital
  3. audio data transfer between devices in the system.
  4. Required properties:
  5. - compatible: should be one of the followings
  6. - "allwinner,sun4i-a10-i2s"
  7. - reg: physical base address of the controller and length of memory mapped
  8. region.
  9. - interrupts: should contain the I2S interrupt.
  10. - dmas: DMA specifiers for tx and rx dma. See the DMA client binding,
  11. Documentation/devicetree/bindings/dma/dma.txt
  12. - dma-names: should include "tx" and "rx".
  13. - clocks: a list of phandle + clock-specifer pairs, one for each entry in clock-names.
  14. - clock-names: should contain followings:
  15. - "apb" : clock for the I2S bus interface
  16. - "mod" : module clock for the I2S controller
  17. - #sound-dai-cells : Must be equal to 0
  18. Example:
  19. i2s0: i2s@01c22400 {
  20. #sound-dai-cells = <0>;
  21. compatible = "allwinner,sun4i-a10-i2s";
  22. reg = <0x01c22400 0x400>;
  23. interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
  24. clocks = <&apb0_gates 3>, <&i2s0_clk>;
  25. clock-names = "apb", "mod";
  26. dmas = <&dma SUN4I_DMA_NORMAL 3>,
  27. <&dma SUN4I_DMA_NORMAL 3>;
  28. dma-names = "rx", "tx";
  29. };