davinci-mcbsp.txt 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. Texas Instruments DaVinci McBSP module
  2. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3. This binding describes the "Multi-channel Buffered Serial Port" (McBSP)
  4. audio interface found in some TI DaVinci processors like the OMAP-L138 or AM180x.
  5. Required properties:
  6. ~~~~~~~~~~~~~~~~~~~~
  7. - compatible :
  8. "ti,da850-mcbsp" : for DA850, AM180x and OPAM-L138 platforms
  9. - reg : physical base address and length of the controller memory mapped
  10. region(s).
  11. - reg-names : Should contain:
  12. * "mpu" for the main registers (required).
  13. * "dat" for the data FIFO (optional).
  14. - dmas: three element list of DMA controller phandles, DMA request line and
  15. TC channel ordered triplets.
  16. - dma-names: identifier string for each DMA request line in the dmas property.
  17. These strings correspond 1:1 with the ordered pairs in dmas. The dma
  18. identifiers must be "rx" and "tx".
  19. Optional properties:
  20. ~~~~~~~~~~~~~~~~~~~~
  21. - interrupts : Interrupt numbers for McBSP
  22. - interrupt-names : Known interrupt names are "rx" and "tx"
  23. - pinctrl-0: Should specify pin control group used for this controller.
  24. - pinctrl-names: Should contain only one value - "default", for more details
  25. please refer to pinctrl-bindings.txt
  26. Example (AM1808):
  27. ~~~~~~~~~~~~~~~~~
  28. mcbsp0: mcbsp@1d10000 {
  29. compatible = "ti,da850-mcbsp";
  30. pinctrl-names = "default";
  31. pinctrl-0 = <&mcbsp0_pins>;
  32. reg = <0x00110000 0x1000>,
  33. <0x00310000 0x1000>;
  34. reg-names = "mpu", "dat";
  35. interrupts = <97 98>;
  36. interrupts-names = "rx", "tx";
  37. dmas = <&edma0 3 1
  38. &edma0 2 1>;
  39. dma-names = "tx", "rx";
  40. status = "okay";
  41. };