xref: /linux/Documentation/devicetree/bindings/arm/firmware/tlm,trusted-foundations.yaml (revision 7d194a5afcc2c6914d577d1441e8d65839cf3db5)
1*7d194a5aSDavid Heidelberg# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*7d194a5aSDavid Heidelberg%YAML 1.2
3*7d194a5aSDavid Heidelberg---
4*7d194a5aSDavid Heidelberg$id: "http://devicetree.org/schemas/arm/firmware/tlm,trusted-foundations.yaml#"
5*7d194a5aSDavid Heidelberg$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6*7d194a5aSDavid Heidelberg
7*7d194a5aSDavid Heidelbergtitle: Trusted Foundations
8*7d194a5aSDavid Heidelberg
9*7d194a5aSDavid Heidelbergdescription: |
10*7d194a5aSDavid Heidelberg  Boards that use the Trusted Foundations secure monitor can signal its
11*7d194a5aSDavid Heidelberg  presence by declaring a node compatible under the /firmware/ node
12*7d194a5aSDavid Heidelberg
13*7d194a5aSDavid Heidelbergmaintainers:
14*7d194a5aSDavid Heidelberg  - Stephen Warren <swarren@nvidia.com>
15*7d194a5aSDavid Heidelberg
16*7d194a5aSDavid Heidelbergproperties:
17*7d194a5aSDavid Heidelberg  $nodename:
18*7d194a5aSDavid Heidelberg    const: trusted-foundations
19*7d194a5aSDavid Heidelberg
20*7d194a5aSDavid Heidelberg  compatible:
21*7d194a5aSDavid Heidelberg    const: tlm,trusted-foundations
22*7d194a5aSDavid Heidelberg
23*7d194a5aSDavid Heidelberg  tlm,version-major:
24*7d194a5aSDavid Heidelberg    $ref: /schemas/types.yaml#/definitions/uint32
25*7d194a5aSDavid Heidelberg    description: major version number of Trusted Foundations firmware
26*7d194a5aSDavid Heidelberg
27*7d194a5aSDavid Heidelberg  tlm,version-minor:
28*7d194a5aSDavid Heidelberg    $ref: /schemas/types.yaml#/definitions/uint32
29*7d194a5aSDavid Heidelberg    description: minor version number of Trusted Foundations firmware
30*7d194a5aSDavid Heidelberg
31*7d194a5aSDavid Heidelbergrequired:
32*7d194a5aSDavid Heidelberg  - compatible
33*7d194a5aSDavid Heidelberg  - tlm,version-major
34*7d194a5aSDavid Heidelberg  - tlm,version-minor
35*7d194a5aSDavid Heidelberg
36*7d194a5aSDavid HeidelbergadditionalProperties: false
37*7d194a5aSDavid Heidelberg
38*7d194a5aSDavid Heidelbergexamples:
39*7d194a5aSDavid Heidelberg  - |
40*7d194a5aSDavid Heidelberg    firmware {
41*7d194a5aSDavid Heidelberg      trusted-foundations {
42*7d194a5aSDavid Heidelberg        compatible = "tlm,trusted-foundations";
43*7d194a5aSDavid Heidelberg        tlm,version-major = <2>;
44*7d194a5aSDavid Heidelberg        tlm,version-minor = <8>;
45*7d194a5aSDavid Heidelberg      };
46*7d194a5aSDavid Heidelberg    };
47