162306a36Sopenharmony_ci* Device Tree Bindings for IBM Virtual Trusted Platform Module(vtpm)
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciRequired properties:
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci- compatible            : property name that conveys the platform architecture
662306a36Sopenharmony_ci                          identifiers, as 'IBM,vtpm'
762306a36Sopenharmony_ci- device_type           : specifies type of virtual device
862306a36Sopenharmony_ci- interrupts            : property specifying the interrupt source number and
962306a36Sopenharmony_ci                          sense code associated with this virtual I/O Adapters
1062306a36Sopenharmony_ci- ibm,my-drc-index      : integer index for the connector between the device
1162306a36Sopenharmony_ci                          and its parent - present only if Dynamic
1262306a36Sopenharmony_ci                          Reconfiguration(DR) Connector is enabled
1362306a36Sopenharmony_ci- ibm,#dma-address-cells: specifies the number of cells that are used to
1462306a36Sopenharmony_ci                          encode the physical address field of dma-window
1562306a36Sopenharmony_ci                          properties
1662306a36Sopenharmony_ci- ibm,#dma-size-cells   : specifies the number of cells that are used to
1762306a36Sopenharmony_ci                          encode the size field of dma-window properties
1862306a36Sopenharmony_ci- ibm,my-dma-window     : specifies DMA window associated with this virtual
1962306a36Sopenharmony_ci                          IOA
2062306a36Sopenharmony_ci- ibm,loc-code          : specifies the unique and persistent location code
2162306a36Sopenharmony_ci                          associated with this virtual I/O Adapters
2262306a36Sopenharmony_ci- linux,sml-base        : 64-bit base address of the reserved memory allocated
2362306a36Sopenharmony_ci                          for the firmware event log
2462306a36Sopenharmony_ci- linux,sml-size        : size of the memory allocated for the firmware event log
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ciExample (IBM Virtual Trusted Platform Module)
2762306a36Sopenharmony_ci---------------------------------------------
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ci                vtpm@30000003 {
3062306a36Sopenharmony_ci                        ibm,#dma-size-cells = <0x2>;
3162306a36Sopenharmony_ci                        compatible = "IBM,vtpm";
3262306a36Sopenharmony_ci                        device_type = "IBM,vtpm";
3362306a36Sopenharmony_ci                        ibm,my-drc-index = <0x30000003>;
3462306a36Sopenharmony_ci                        ibm,#dma-address-cells = <0x2>;
3562306a36Sopenharmony_ci                        linux,sml-base = <0xc60e 0x0>;
3662306a36Sopenharmony_ci                        interrupts = <0xa0003 0x0>;
3762306a36Sopenharmony_ci                        ibm,my-dma-window = <0x10000003 0x0 0x0 0x0 0x10000000>;
3862306a36Sopenharmony_ci                        ibm,loc-code = "U8286.41A.10082DV-V3-C3";
3962306a36Sopenharmony_ci                        reg = <0x30000003>;
4062306a36Sopenharmony_ci                        linux,sml-size = <0xbce10200>;
4162306a36Sopenharmony_ci                };
42