Atmel Secure Hash Algorithm (SHA) HW cryptographic accelerator

Schema identifier ($id): "http://devicetree.org/schemas/crypto/atmel,at91sam9g46-sha.yaml#"

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

Maintainers (maintainers): "Tudor Ambarus <tudor.ambarus@linaro.org>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "atmel,at91sam9g46-sha"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "microchip,lan9691-sha", "microchip,sam9x7-sha", "microchip,sama7d65-sha"

Item 2

Exact value (const): "atmel,at91sam9g46-sha"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Exact value (const): "sha_clk"

dmas — not listed as required here #

Maximum number of items (maxItems): 1

TX DMA Channel

dma-names — not listed as required here #

Exact value (const): "tx"

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/at91.h>
#include <dt-bindings/dma/at91.h>

sha: crypto@e1814000 {
  compatible = "atmel,at91sam9g46-sha";
  reg = <0xe1814000 0x100>;
  interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
  clocks = <&pmc PMC_TYPE_PERIPHERAL 83>;
  clock-names = "sha_clk";
  dmas = <&dma0 AT91_XDMAC_DT_PERID(48)>;
  dma-names = "tx";
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries

Edit this page