davinci-mcasp-audio.txt 1.2 KB

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