Trusted Platform Module common properties

Schema identifier ($id): "http://devicetree.org/schemas/tpm/tpm-common.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Lukas Wunner <lukas@wunner.de>"

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^tpm(@[0-9a-f]+)?$"

interrupts — not listed as required here #

indicates command completion

Maximum number of items (maxItems): 1

label — not listed as required here #

human readable string describing the device, e.g. "tpm"

linux,sml-base — not listed as required here #

base address of reserved memory allocated for firmware event log

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint64

linux,sml-size — not listed as required here #

size of reserved memory allocated for firmware event log

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

memory-region — not listed as required here #

reserved memory allocated for firmware event log

Maximum number of items (maxItems): 1

powered-while-suspended — not listed as required here #

present when the TPM is left powered on between suspend and resume (makes the suspend/resume callbacks do nothing)

Value type (type): "boolean"

resets — not listed as required here #

Reset controller to reset the TPM

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

Output GPIO pin to reset the TPM

Maximum number of items (maxItems): 1

Requirements triggered by another property (dependentRequired): { linux,sml-base: "linux,sml-size", linux,sml-size: "linux,sml-base" }

Rules triggered by another property (dependentSchemas) #

memory-region — applies when this property is present #

Properties and child nodes (properties) #

linux,sml-base — not listed as required here

false — Not permitted by this property rule.

linux,sml-base — applies when this property is present #

Properties and child nodes (properties) #

memory-region — not listed as required here

false — Not permitted by this property rule.

resets — applies when this property is present #

Properties and child nodes (properties) #

reset-gpios — not listed as required here

false — Not permitted by this property rule.

reset-gpios — applies when this property is present #

Properties and child nodes (properties) #

resets — not listed as required here

false — Not permitted by this property rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

String pattern (pattern): "^st,st33zp24"

When the condition matches (then) #

Properties and child nodes (properties)

lpcpd-gpios — not listed as required here

Output GPIO pin used for ST33ZP24 power management of D1/D2 state. If set, power must be present when the platform is going into sleep/hibernate mode.

Maximum number of items (maxItems): 1

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 51: must always have both linux,sml-base and linux,sml-size

Line 56: must only have either memory-region or linux,sml-base

Line 57: as well as either resets or reset-gpios

Edit this page