1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/security/tpm/tpm-tis-i2c.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: I2C PTP based TPM Devices
8
9maintainers:
10  - Johannes Holland <johannes.holland@infineon.com>
11
12description:
13  Device Tree Bindings for I2C based Trusted Platform Module (TPM).
14
15properties:
16  $nodename:
17    pattern: "^tpm(@[0-9a-f]+)?$"
18
19  compatible:
20    oneOf:
21      - description: Infineon's Trusted Platform Module (TPM) (SLB9673).
22        items:
23          - const: infineon,slb9673
24          - const: tcg,tpm-tis-i2c
25      - description: Nuvoton's Trusted Platform Module (TPM) (NPCT75x).
26        items:
27          - const: nuvoton,npct75x
28          - const: tcg,tpm-tis-i2c
29      - const: tcg,tpm-tis-i2c
30  reg:
31    maxItems: 1
32
33required:
34  - compatible
35  - reg
36
37additionalProperties: false
38
39examples:
40  - |
41    i2c {
42      #address-cells = <1>;
43      #size-cells = <0>;
44
45      tpm@2e {
46        compatible = "nuvoton,npct75x", "tcg,tpm-tis-i2c";
47        reg = <0x2e>;
48      };
49    };
50...
51