arm-mhu.txt 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. ARM MHU Mailbox Driver
  2. ======================
  3. The ARM's Message-Handling-Unit (MHU) is a mailbox controller that has
  4. 3 independent channels/links to communicate with remote processor(s).
  5. MHU links are hardwired on a platform. A link raises interrupt for any
  6. received data. However, there is no specified way of knowing if the sent
  7. data has been read by the remote. This driver assumes the sender polls
  8. STAT register and the remote clears it after having read the data.
  9. The last channel is specified to be a 'Secure' resource, hence can't be
  10. used by Linux running NS.
  11. Mailbox Device Node:
  12. ====================
  13. Required properties:
  14. --------------------
  15. - compatible: Shall be "arm,mhu" & "arm,primecell"
  16. - reg: Contains the mailbox register address range (base
  17. address and length)
  18. - #mbox-cells Shall be 1 - the index of the channel needed.
  19. - interrupts: Contains the interrupt information corresponding to
  20. each of the 3 links of MHU.
  21. Example:
  22. --------
  23. mhu: mailbox@2b1f0000 {
  24. #mbox-cells = <1>;
  25. compatible = "arm,mhu", "arm,primecell";
  26. reg = <0 0x2b1f0000 0x1000>;
  27. interrupts = <0 36 4>, /* LP-NonSecure */
  28. <0 35 4>, /* HP-NonSecure */
  29. <0 37 4>; /* Secure */
  30. clocks = <&clock 0 2 1>;
  31. clock-names = "apb_pclk";
  32. };
  33. mhu_client: scb@2e000000 {
  34. compatible = "fujitsu,mb86s70-scb-1.0";
  35. reg = <0 0x2e000000 0x4000>;
  36. mboxes = <&mhu 1>; /* HP-NonSecure */
  37. };