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