Back to home page

OSCL-LXR

 
 

    


0001 Imagination Technologies hardware hash accelerator
0002 
0003 The hash accelerator provides hardware hashing acceleration for
0004 SHA1, SHA224, SHA256 and MD5 hashes
0005 
0006 Required properties:
0007 
0008 - compatible : "img,hash-accelerator"
0009 - reg : Offset and length of the register set for the module, and the DMA port
0010 - interrupts : The designated IRQ line for the hashing module.
0011 - dmas : DMA specifier as per Documentation/devicetree/bindings/dma/dma.txt
0012 - dma-names : Should be "tx"
0013 - clocks : Clock specifiers
0014 - clock-names : "sys" Used to clock the hash block registers
0015                 "hash" Used to clock data through the accelerator
0016 
0017 Example:
0018 
0019         hash: hash@18149600 {
0020         compatible = "img,hash-accelerator";
0021                 reg = <0x18149600 0x100>, <0x18101100 0x4>;
0022                 interrupts = <GIC_SHARED 59 IRQ_TYPE_LEVEL_HIGH>;
0023                 dmas = <&dma 8 0xffffffff 0>;
0024                 dma-names = "tx";
0025                 clocks = <&cr_periph SYS_CLK_HASH>, <&clk_periph PERIPH_CLK_ROM>;
0026                 clock-names = "sys", "hash";
0027         };