STMicroelectronics STM32 HASH

Schema identifier ($id): "http://devicetree.org/schemas/crypto/st,stm32-hash.yaml#"

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

The STM32 HASH block is built on the HASH block found in the STn8820 SoC introduced in 2007, and subsequently used in the U8500 SoC in 2010.

Maintainers (maintainers): "Lionel Debieve <lionel.debieve@foss.st.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "st,stn8820-hash", "stericsson,ux500-hash", "st,stm32f456-hash", "st,stm32f756-hash", "st,stm32mp13-hash"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

resets — not listed as required here #

Maximum number of items (maxItems): 1

dmas — not listed as required here #

Maximum number of items (maxItems): 1

dma-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "in"

dma-maxburst — not listed as required here #

Set number of maximum dma burst supported

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 2

Default value (default): 0

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

access-controllers — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

Required in this object (required): "compatible", "reg", "clocks"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Array item rules (items)

Exact value (const): "stericsson,ux500-hash"

When the condition matches (then) #

Properties and child nodes (properties)

interrupts — not listed as required here

false — Not permitted by this property rule.

When the condition does not match (else) #

Required in this object (required): "interrupts"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/stm32mp1-clks.h>
#include <dt-bindings/reset/stm32mp1-resets.h>
hash@54002000 {
  compatible = "st,stm32f756-hash";
  reg = <0x54002000 0x400>;
  interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
  clocks = <&rcc HASH1>;
  resets = <&rcc HASH1_R>;
  dmas = <&mdma1 31 0x10 0x1000A02 0x0 0x0>;
  dma-names = "in";
  dma-maxburst = <2>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page