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