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