img-hash.txt 926 B

123456789101112131415161718192021222324252627
  1. Imagination Technologies hardware hash accelerator
  2. The hash accelerator provides hardware hashing acceleration for
  3. SHA1, SHA224, SHA256 and MD5 hashes
  4. Required properties:
  5. - compatible : "img,hash-accelerator"
  6. - reg : Offset and length of the register set for the module, and the DMA port
  7. - interrupts : The designated IRQ line for the hashing module.
  8. - dmas : DMA specifier as per Documentation/devicetree/bindings/dma/dma.txt
  9. - dma-names : Should be "tx"
  10. - clocks : Clock specifiers
  11. - clock-names : "sys" Used to clock the hash block registers
  12. "hash" Used to clock data through the accelerator
  13. Example:
  14. hash: hash@18149600 {
  15. compatible = "img,hash-accelerator";
  16. reg = <0x18149600 0x100>, <0x18101100 0x4>;
  17. interrupts = <GIC_SHARED 59 IRQ_TYPE_LEVEL_HIGH>;
  18. dmas = <&dma 8 0xffffffff 0>;
  19. dma-names = "tx";
  20. clocks = <&cr_periph SYS_CLK_HASH>, <&clk_periph PERIPH_CLK_ROM>;
  21. clock-names = "sys", "hash";
  22. };