davinci-mcasp-audio.txt 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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 reg specifiers for the entries in the reg-names property.
  8. - reg-names : Should contain:
  9. * "mpu" for the main registers (required). For compatibility with
  10. existing software, it is recommended this is the first entry.
  11. * "dat" for separate data port register access (optional).
  12. - interrupts : Interrupt number for McASP
  13. - op-mode : I2S/DIT ops mode.
  14. - tdm-slots : Slots for TDM operation.
  15. - num-serializer : Serializers used by McASP.
  16. - serial-dir : A list of serializer pin mode. The list number should be equal
  17. to "num-serializer" parameter. Each entry is a number indication
  18. serializer pin direction. (0 - INACTIVE, 1 - TX, 2 - RX)
  19. Optional properties:
  20. - ti,hwmods : Must be "mcasp<n>", n is controller instance starting 0
  21. - tx-num-evt : FIFO levels.
  22. - rx-num-evt : FIFO levels.
  23. - sram-size-playback : size of sram to be allocated during playback
  24. - sram-size-capture : size of sram to be allocated during capture
  25. Example:
  26. mcasp0: mcasp0@1d00000 {
  27. compatible = "ti,da830-mcasp-audio";
  28. #address-cells = <1>;
  29. #size-cells = <0>;
  30. reg = <0x100000 0x3000>;
  31. reg-names "mpu";
  32. interrupts = <82 83>;
  33. op-mode = <0>; /* MCASP_IIS_MODE */
  34. tdm-slots = <2>;
  35. num-serializer = <16>;
  36. serial-dir = <
  37. 0 0 0 0 /* 0: INACTIVE, 1: TX, 2: RX */
  38. 0 0 0 0
  39. 0 0 0 1
  40. 2 0 0 0 >;
  41. tx-num-evt = <1>;
  42. rx-num-evt = <1>;
  43. };