davinci-mcasp-audio.txt 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. Texas Instruments McASP controller
  2. Required properties:
  3. - compatible :
  4. "ti,dm646x-mcasp-audio" : for DM646x platforms
  5. "ti,da830-mcasp-audio" : for both DA830 & DA850 platforms
  6. "ti,omap2-mcasp-audio" : for OMAP2 platforms (TI81xx, AM33xx)
  7. - reg : Should contain McASP registers offset and length
  8. - interrupts : Interrupt number for McASP
  9. - op-mode : I2S/DIT ops mode.
  10. - tdm-slots : Slots for TDM operation.
  11. - num-serializer : Serializers used by McASP.
  12. - serial-dir : A list of serializer pin mode. The list number should be equal
  13. to "num-serializer" parameter. Each entry is a number indication
  14. serializer pin direction. (0 - INACTIVE, 1 - TX, 2 - RX)
  15. Optional properties:
  16. - ti,hwmods : Must be "mcasp<n>", n is controller instance starting 0
  17. - tx-num-evt : FIFO levels.
  18. - rx-num-evt : FIFO levels.
  19. - sram-size-playback : size of sram to be allocated during playback
  20. - sram-size-capture : size of sram to be allocated during capture
  21. Example:
  22. mcasp0: mcasp0@1d00000 {
  23. compatible = "ti,da830-mcasp-audio";
  24. #address-cells = <1>;
  25. #size-cells = <0>;
  26. reg = <0x100000 0x3000>;
  27. interrupts = <82 83>;
  28. op-mode = <0>; /* MCASP_IIS_MODE */
  29. tdm-slots = <2>;
  30. num-serializer = <16>;
  31. serial-dir = <
  32. 0 0 0 0 /* 0: INACTIVE, 1: TX, 2: RX */
  33. 0 0 0 0
  34. 0 0 0 1
  35. 2 0 0 0 >;
  36. tx-num-evt = <1>;
  37. rx-num-evt = <1>;
  38. };