Imagination Technologies hardware hash accelerator

Schema identifier ($id): "http://devicetree.org/schemas/img,hash-accelerator.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "James Hartley <james.hartley@imgtec.com>"

The hash accelerator provides hardware hashing acceleration for SHA1, SHA224, SHA256 and MD5 hashes.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "img,hash-accelerator"

reg — required here #

Array item rules (items) #

Item 1

Register base address and size

Item 2

DMA port specifier

interrupts — required here #

Maximum number of items (maxItems): 1

dmas — required here #

Maximum number of items (maxItems): 1

dma-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "tx"

clocks — required here #

Array item rules (items) #

Item 1

System clock for hash block registers

Item 2

Hash clock for data path

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "sys"

Item 2

Exact value (const): "hash"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "interrupts", "dmas", "dma-names", "clocks", "clock-names"

Examples (examples) #

#include <dt-bindings/interrupt-controller/mips-gic.h>
#include <dt-bindings/clock/pistachio-clk.h>

hash@18149600 {
    compatible = "img,hash-accelerator";
    reg = <0x18149600 0x100>, <0x18101100 0x4>;
    interrupts = <GIC_SHARED 59 IRQ_TYPE_LEVEL_HIGH>;
    dmas = <&dma 8 0xffffffff 0>;
    dma-names = "tx";
    clocks = <&cr_periph SYS_CLK_HASH>, <&clk_periph PERIPH_CLK_ROM>;
    clock-names = "sys", "hash";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page