summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/arm/freescale/fsl,s400-api.yaml
blob: fe2c2b69b63c5f03bbcc9b53edb4ec93918197e0 (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
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/arm/freescale/fsl,s400-api.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: NXP S400 Baseline API module

maintainers:
  - Alice Guo <alice.guo@nxp.com>

description: |
  In the Sentinel application, the security subsystem uses S4 MU-AP to
  communicate and coordinate with the SoC host processor. The s400-api firmware
  driver provides the services to transmit data to and receive data from the
  S4 MU-AP.

properties:
  compatible:
    items:
      - const: fsl,imx8ulp-s400

  mboxes:
    description: |
      Use the mailbox provided by S4 MU-AP device to communicate with the S400.
      It should contain 2 mailboxes, one for transmitting messages and another
      for receiving.
    maxItems: 1

  mbox-names:
    items:
      - const: tx
      - const: rx

required:
  - compatible
  - mboxes
  - mbox-names

additionalProperties: false

examples:
  - |
    s400-api {
        compatible = "fsl,imx8ulp-s400";
        mboxes = <&s4muap 0 0 &s4muap 1 0>;
        mbox-names = "tx", "rx";
    };