1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/tpm/ibm,vtpm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: IBM Virtual Trusted Platform Module (vTPM)
10 - Nayna Jain <nayna@linux.ibm.com>
13 Virtual TPM is used on IBM POWER7+ and POWER8 systems running POWERVM.
14 It is supported through the adjunct partition with firmware release 740
15 or higher. With vTPM support, each lpar is able to have its own vTPM
16 without the physical TPM hardware. The TPM functionality is provided by
17 communicating with the vTPM adjunct partition through Hypervisor calls
18 (Hcalls) and Command/Response Queue (CRQ) commands.
28 type of virtual device
36 ibm,#dma-address-cells:
38 number of cells that are used to encode the physical address field of
40 $ref: /schemas/types.yaml#/definitions/uint32-array
44 number of cells that are used to encode the size field of
46 $ref: /schemas/types.yaml#/definitions/uint32-array
50 DMA window associated with this virtual I/O Adapter
51 $ref: /schemas/types.yaml#/definitions/uint32-array
57 integer index for the connector between the device and its parent;
58 present only if Dynamic Reconfiguration (DR) Connector is enabled
59 $ref: /schemas/types.yaml#/definitions/uint32
63 unique and persistent location code associated with this virtual
65 $ref: /schemas/types.yaml#/definitions/string
72 - ibm,#dma-address-cells
81 - $ref: tpm-common.yaml#
83 unevaluatedProperties: false
92 compatible = "IBM,vtpm";
93 device_type = "IBM,vtpm";
95 interrupts = <0xa0003 0x0>;
96 ibm,#dma-address-cells = <0x2>;
97 ibm,#dma-size-cells = <0x2>;
98 ibm,my-dma-window = <0x10000003 0x0 0x0 0x0 0x10000000>;
99 ibm,my-drc-index = <0x30000003>;
100 ibm,loc-code = "U8286.41A.10082DV-V3-C3";
101 linux,sml-base = <0xc60e 0x0>;
102 linux,sml-size = <0xbce10200>;