xref: /linux/Documentation/devicetree/bindings/tpm/tcg,tpm-tis-mmio.yaml (revision 06d07429858317ded2db7986113a9e0129cd599b)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/tpm/tcg,tpm-tis-mmio.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: MMIO-accessed Trusted Platform Module conforming to TCG TIS specification
8
9maintainers:
10  - Lukas Wunner <lukas@wunner.de>
11
12description: |
13  The Trusted Computing Group (TCG) has defined a multi-vendor standard
14  for accessing a TPM chip.  It can be transported over various buses,
15  one of them being LPC (via MMIO).  The standard is named:
16  TCG PC Client Specific TPM Interface Specification (TIS)
17  https://trustedcomputinggroup.org/resource/pc-client-work-group-pc-client-specific-tpm-interface-specification-tis/
18
19properties:
20  compatible:
21    items:
22      - enum:
23          - at97sc3201
24          - atmel,at97sc3204
25          - socionext,synquacer-tpm-mmio
26      - const: tcg,tpm-tis-mmio
27
28  reg:
29    description:
30      location and length of the MMIO registers, length should be
31      at least 0x5000 bytes
32
33allOf:
34  - $ref: tpm-common.yaml#
35
36required:
37  - compatible
38  - reg
39
40unevaluatedProperties: false
41
42examples:
43  - |
44    tpm@90000 {
45        compatible = "atmel,at97sc3204", "tcg,tpm-tis-mmio";
46        reg = <0x90000 0x5000>;
47        interrupt-parent = <&EIC0>;
48        interrupts = <1 2>;
49    };
50