blob: 217ba8e366c298189a01d2b964c7a71546788deb [file] [edit]
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/security/tpm/tpm-tis-i2c.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: I2C PTP based TPM Device Tree Bindings
maintainers:
- Amir Mizinski <amirmizi6@gmail.com>
description:
Device Tree Bindings for I2C based Trusted Platform Module(TPM).
properties:
compatible:
items:
- enum:
# Nuvoton's Trusted Platform Module (TPM) (NPCT75x)
- nuvoton,npct75x
- const: tcg,tpm-tis-i2c
reg:
maxItems: 1
interrupt:
maxItems: 1
crc-checksum:
$ref: /schemas/types.yaml#/definitions/flag
description:
Set this flag to enable CRC checksum.
required:
- compatible
- reg
additionalProperties: false
examples:
- |
i2c {
#address-cells = <1>;
#size-cells = <0>;
tpm@2e {
compatible = "nuvoton,npct75x", "tcg,tpm-tis-i2c";
reg = <0x2e>;
crc-checksum;
};
};
...