fsl,mu.txt 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. NXP i.MX Messaging Unit (MU)
  2. --------------------------------------------------------------------
  3. The Messaging Unit module enables two processors within the SoC to
  4. communicate and coordinate by passing messages (e.g. data, status
  5. and control) through the MU interface. The MU also provides the ability
  6. for one processor to signal the other processor using interrupts.
  7. Because the MU manages the messaging between processors, the MU uses
  8. different clocks (from each side of the different peripheral buses).
  9. Therefore, the MU must synchronize the accesses from one side to the
  10. other. The MU accomplishes synchronization using two sets of matching
  11. registers (Processor A-facing, Processor B-facing).
  12. Messaging Unit Device Node:
  13. =============================
  14. Required properties:
  15. -------------------
  16. - compatible : should be "fsl,<chip>-mu", the supported chips include
  17. imx6sx, imx7s, imx8qxp, imx8qm.
  18. The "fsl,imx6sx-mu" compatible is seen as generic and should
  19. be included together with SoC specific compatible.
  20. - reg : Should contain the registers location and length
  21. - interrupts : Interrupt number. The interrupt specifier format depends
  22. on the interrupt controller parent.
  23. - #mbox-cells: Must be 2.
  24. <&phandle type channel>
  25. phandle : Label name of controller
  26. type : Channel type
  27. channel : Channel number
  28. This MU support 4 type of unidirectional channels, each type
  29. has 4 channels. A total of 16 channels. Following types are
  30. supported:
  31. 0 - TX channel with 32bit transmit register and IRQ transmit
  32. acknowledgment support.
  33. 1 - RX channel with 32bit receive register and IRQ support
  34. 2 - TX doorbell channel. Without own register and no ACK support.
  35. 3 - RX doorbell channel.
  36. Optional properties:
  37. -------------------
  38. - clocks : phandle to the input clock.
  39. - fsl,mu-side-b : Should be set for side B MU.
  40. Examples:
  41. --------
  42. lsio_mu0: mailbox@5d1b0000 {
  43. compatible = "fsl,imx8qxp-mu";
  44. reg = <0x0 0x5d1b0000 0x0 0x10000>;
  45. interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
  46. #mbox-cells = <2>;
  47. };