18c2ecf20Sopenharmony_ci* Device Tree Bindings for IBM Virtual Trusted Platform Module(vtpm) 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci- compatible : property name that conveys the platform architecture 68c2ecf20Sopenharmony_ci identifiers, as 'IBM,vtpm' 78c2ecf20Sopenharmony_ci- device_type : specifies type of virtual device 88c2ecf20Sopenharmony_ci- interrupts : property specifying the interrupt source number and 98c2ecf20Sopenharmony_ci sense code associated with this virtual I/O Adapters 108c2ecf20Sopenharmony_ci- ibm,my-drc-index : integer index for the connector between the device 118c2ecf20Sopenharmony_ci and its parent - present only if Dynamic 128c2ecf20Sopenharmony_ci Reconfiguration(DR) Connector is enabled 138c2ecf20Sopenharmony_ci- ibm,#dma-address-cells: specifies the number of cells that are used to 148c2ecf20Sopenharmony_ci encode the physical address field of dma-window 158c2ecf20Sopenharmony_ci properties 168c2ecf20Sopenharmony_ci- ibm,#dma-size-cells : specifies the number of cells that are used to 178c2ecf20Sopenharmony_ci encode the size field of dma-window properties 188c2ecf20Sopenharmony_ci- ibm,my-dma-window : specifies DMA window associated with this virtual 198c2ecf20Sopenharmony_ci IOA 208c2ecf20Sopenharmony_ci- ibm,loc-code : specifies the unique and persistent location code 218c2ecf20Sopenharmony_ci associated with this virtual I/O Adapters 228c2ecf20Sopenharmony_ci- linux,sml-base : 64-bit base address of the reserved memory allocated 238c2ecf20Sopenharmony_ci for the firmware event log 248c2ecf20Sopenharmony_ci- linux,sml-size : size of the memory allocated for the firmware event log 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ciExample (IBM Virtual Trusted Platform Module) 278c2ecf20Sopenharmony_ci--------------------------------------------- 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ci vtpm@30000003 { 308c2ecf20Sopenharmony_ci ibm,#dma-size-cells = <0x2>; 318c2ecf20Sopenharmony_ci compatible = "IBM,vtpm"; 328c2ecf20Sopenharmony_ci device_type = "IBM,vtpm"; 338c2ecf20Sopenharmony_ci ibm,my-drc-index = <0x30000003>; 348c2ecf20Sopenharmony_ci ibm,#dma-address-cells = <0x2>; 358c2ecf20Sopenharmony_ci linux,sml-base = <0xc60e 0x0>; 368c2ecf20Sopenharmony_ci interrupts = <0xa0003 0x0>; 378c2ecf20Sopenharmony_ci ibm,my-dma-window = <0x10000003 0x0 0x0 0x0 0x10000000>; 388c2ecf20Sopenharmony_ci ibm,loc-code = "U8286.41A.10082DV-V3-C3"; 398c2ecf20Sopenharmony_ci reg = <0x30000003>; 408c2ecf20Sopenharmony_ci linux,sml-size = <0xbce10200>; 418c2ecf20Sopenharmony_ci }; 42