Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 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 | |
| 7 | title: MMIO-accessed Trusted Platform Module conforming to TCG TIS specification |
| 8 | |
| 9 | maintainers: |
| 10 | - Lukas Wunner <lukas@wunner.de> |
| 11 | |
| 12 | description: | |
| 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 | |
| 19 | properties: |
| 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 | |
| 33 | allOf: |
| 34 | - $ref: tpm-common.yaml# |
| 35 | |
| 36 | required: |
| 37 | - compatible |
| 38 | - reg |
| 39 | |
| 40 | unevaluatedProperties: false |
| 41 | |
| 42 | examples: |
| 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 | }; |