summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/mailbox/ti,k2g-message-manager.yaml
blob: 481b7c8c0e960fe4edded1a0a7289e384ca7ee12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/mailbox/ti,k2g-message-manager.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Texas Instruments Message Manager

maintainers:
  - Eduard Bostina <egbostina@gmail.com>

description:
  The Texas Instruments Message Manager is a mailbox controller that has
  configurable queues selectable at SoC (System on Chip) integration. The
  Message manager is broken up into queues in different address regions
  that are called "proxies" - each instance is unidirectional and is
  instantiated at SoC integration level to indicate receive or transmit path.

properties:
  compatible:
    const: ti,k2g-message-manager

  reg:
    maxItems: 2

  reg-names:
    items:
      - const: queue_proxy_region
      - const: queue_state_debug_region

  "#mbox-cells":
    const: 2
    description:
      Contains the queue ID and proxy ID in that order referring to the
      transfer path.

  interrupts:
    maxItems: 2

  interrupt-names:
    items:
      - const: rx_005
      - const: rx_057

required:
  - compatible
  - reg
  - reg-names
  - "#mbox-cells"
  - interrupts
  - interrupt-names

additionalProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/arm-gic.h>

    msgmgr@2a00000 {
        compatible = "ti,k2g-message-manager";
        #mbox-cells = <2>;
        reg-names = "queue_proxy_region", "queue_state_debug_region";
        reg = <0x02a00000 0x400000>, <0x028c3400 0x400>;
        interrupt-names = "rx_005", "rx_057";
        interrupts = <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
                     <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>;
    };