162306a36Sopenharmony_ciImagination Technologies hardware hash accelerator 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciThe hash accelerator provides hardware hashing acceleration for 462306a36Sopenharmony_ciSHA1, SHA224, SHA256 and MD5 hashes 562306a36Sopenharmony_ci 662306a36Sopenharmony_ciRequired properties: 762306a36Sopenharmony_ci 862306a36Sopenharmony_ci- compatible : "img,hash-accelerator" 962306a36Sopenharmony_ci- reg : Offset and length of the register set for the module, and the DMA port 1062306a36Sopenharmony_ci- interrupts : The designated IRQ line for the hashing module. 1162306a36Sopenharmony_ci- dmas : DMA specifier as per Documentation/devicetree/bindings/dma/dma.txt 1262306a36Sopenharmony_ci- dma-names : Should be "tx" 1362306a36Sopenharmony_ci- clocks : Clock specifiers 1462306a36Sopenharmony_ci- clock-names : "sys" Used to clock the hash block registers 1562306a36Sopenharmony_ci "hash" Used to clock data through the accelerator 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_ciExample: 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ci hash: hash@18149600 { 2062306a36Sopenharmony_ci compatible = "img,hash-accelerator"; 2162306a36Sopenharmony_ci reg = <0x18149600 0x100>, <0x18101100 0x4>; 2262306a36Sopenharmony_ci interrupts = <GIC_SHARED 59 IRQ_TYPE_LEVEL_HIGH>; 2362306a36Sopenharmony_ci dmas = <&dma 8 0xffffffff 0>; 2462306a36Sopenharmony_ci dma-names = "tx"; 2562306a36Sopenharmony_ci clocks = <&cr_periph SYS_CLK_HASH>, <&clk_periph PERIPH_CLK_ROM>; 2662306a36Sopenharmony_ci clock-names = "sys", "hash"; 2762306a36Sopenharmony_ci }; 28