ti,secure-proxy.yaml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/mailbox/ti,secure-proxy.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Texas Instruments' Secure Proxy
  7. maintainers:
  8. - Nishanth Menon <nm@ti.com>
  9. description: |
  10. The Texas Instruments' secure proxy is a mailbox controller that has
  11. configurable queues selectable at SoC(System on Chip) integration. The
  12. Message manager is broken up into different address regions that are
  13. called "threads" or "proxies" - each instance is unidirectional and is
  14. instantiated at SoC integration level by system controller to indicate
  15. receive or transmit path.
  16. properties:
  17. $nodename:
  18. pattern: "^mailbox@[0-9a-f]+$"
  19. compatible:
  20. const: ti,am654-secure-proxy
  21. "#mbox-cells":
  22. const: 1
  23. description:
  24. Contains the secure proxy thread ID used for the specific transfer path.
  25. reg-names:
  26. items:
  27. - const: target_data
  28. - const: rt
  29. - const: scfg
  30. reg:
  31. maxItems: 3
  32. interrupt-names:
  33. minItems: 1
  34. maxItems: 100
  35. items:
  36. pattern: "^rx_[0-9]{3}$"
  37. description:
  38. Contains the interrupt name information for the Rx interrupt path for
  39. secure proxy thread in the form 'rx_<PID>'.
  40. interrupts:
  41. minItems: 1
  42. maxItems: 100
  43. description:
  44. Contains the interrupt information for the Rx interrupt path for secure
  45. proxy.
  46. required:
  47. - compatible
  48. - reg-names
  49. - reg
  50. - interrupt-names
  51. - interrupts
  52. - "#mbox-cells"
  53. additionalProperties: false
  54. examples:
  55. - |
  56. #include <dt-bindings/interrupt-controller/arm-gic.h>
  57. secure_proxy: mailbox@32c00000 {
  58. compatible = "ti,am654-secure-proxy";
  59. #mbox-cells = <1>;
  60. reg-names = "target_data", "rt", "scfg";
  61. reg = <0x32c00000 0x100000>,
  62. <0x32400000 0x100000>,
  63. <0x32800000 0x100000>;
  64. interrupt-names = "rx_011";
  65. interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
  66. };