15986ac4fSJames HartleyImagination Technologies hardware hash accelerator 25986ac4fSJames Hartley 35986ac4fSJames HartleyThe hash accelerator provides hardware hashing acceleration for 45986ac4fSJames HartleySHA1, SHA224, SHA256 and MD5 hashes 55986ac4fSJames Hartley 65986ac4fSJames HartleyRequired properties: 75986ac4fSJames Hartley 85986ac4fSJames Hartley- compatible : "img,hash-accelerator" 95986ac4fSJames Hartley- reg : Offset and length of the register set for the module, and the DMA port 105986ac4fSJames Hartley- interrupts : The designated IRQ line for the hashing module. 115986ac4fSJames Hartley- dmas : DMA specifier as per Documentation/devicetree/bindings/dma/dma.txt 125986ac4fSJames Hartley- dma-names : Should be "tx" 135986ac4fSJames Hartley- clocks : Clock specifiers 145986ac4fSJames Hartley- clock-names : "sys" Used to clock the hash block registers 155986ac4fSJames Hartley "hash" Used to clock data through the accelerator 165986ac4fSJames Hartley 175986ac4fSJames HartleyExample: 185986ac4fSJames Hartley 195986ac4fSJames Hartley hash: hash@18149600 { 205986ac4fSJames Hartley compatible = "img,hash-accelerator"; 215986ac4fSJames Hartley reg = <0x18149600 0x100>, <0x18101100 0x4>; 225986ac4fSJames Hartley interrupts = <GIC_SHARED 59 IRQ_TYPE_LEVEL_HIGH>; 235986ac4fSJames Hartley dmas = <&dma 8 0xffffffff 0>; 245986ac4fSJames Hartley dma-names = "tx"; 255986ac4fSJames Hartley clocks = <&cr_periph SYS_CLK_HASH>, <&clk_periph PERIPH_CLK_ROM>; 265986ac4fSJames Hartley clock-names = "sys", "hash"; 275986ac4fSJames Hartley }; 28