st,sti-mailbox.yaml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/mailbox/st,sti-mailbox.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: STMicroelectronics Mailbox Driver for STi platform
  7. description:
  8. Each ST Mailbox IP currently consists of 4 instances of 32 channels.
  9. Messages are passed between Application and Remote processors using
  10. shared memory.
  11. maintainers:
  12. - Patrice Chotard <patrice.chotard@foss.st.com>
  13. properties:
  14. compatible:
  15. const: st,stih407-mailbox
  16. reg:
  17. maxItems: 1
  18. mbox-name:
  19. $ref: /schemas/types.yaml#/definitions/string
  20. description: name of the mailbox IP
  21. interrupts:
  22. description: the irq line for the RX mailbox
  23. maxItems: 1
  24. "#mbox-cells":
  25. const: 2
  26. required:
  27. - compatible
  28. - reg
  29. - "#mbox-cells"
  30. additionalProperties: false
  31. examples:
  32. - |
  33. #include <dt-bindings/interrupt-controller/arm-gic.h>
  34. mailbox0: mailbox@8f00000 {
  35. compatible = "st,stih407-mailbox";
  36. reg = <0x8f00000 0x1000>;
  37. interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
  38. #mbox-cells = <2>;
  39. mbox-name = "a9";
  40. };
  41. ...