xref: /freebsd/sys/contrib/device-tree/Bindings/security/tpm/ibmvtpm.txt (revision 8ddb146abcdf061be9f2c0db7e391697dafad85c)
1* Device Tree Bindings for IBM Virtual Trusted Platform Module(vtpm)
2
3Required properties:
4
5- compatible            : property name that conveys the platform architecture
6                          identifiers, as 'IBM,vtpm'
7- device_type           : specifies type of virtual device
8- interrupts            : property specifying the interrupt source number and
9                          sense code associated with this virtual I/O Adapters
10- ibm,my-drc-index      : integer index for the connector between the device
11                          and its parent - present only if Dynamic
12                          Reconfiguration(DR) Connector is enabled
13- ibm,#dma-address-cells: specifies the number of cells that are used to
14                          encode the physical address field of dma-window
15                          properties
16- ibm,#dma-size-cells   : specifies the number of cells that are used to
17                          encode the size field of dma-window properties
18- ibm,my-dma-window     : specifies DMA window associated with this virtual
19                          IOA
20- ibm,loc-code          : specifies the unique and persistent location code
21                          associated with this virtual I/O Adapters
22- linux,sml-base        : 64-bit base address of the reserved memory allocated
23                          for the firmware event log
24- linux,sml-size        : size of the memory allocated for the firmware event log
25
26Example (IBM Virtual Trusted Platform Module)
27---------------------------------------------
28
29                vtpm@30000003 {
30                        ibm,#dma-size-cells = <0x2>;
31                        compatible = "IBM,vtpm";
32                        device_type = "IBM,vtpm";
33                        ibm,my-drc-index = <0x30000003>;
34                        ibm,#dma-address-cells = <0x2>;
35                        linux,sml-base = <0xc60e 0x0>;
36                        interrupts = <0xa0003 0x0>;
37                        ibm,my-dma-window = <0x10000003 0x0 0x0 0x0 0x10000000>;
38                        ibm,loc-code = "U8286.41A.10082DV-V3-C3";
39                        reg = <0x30000003>;
40                        linux,sml-size = <0xbce10200>;
41                };
42