STMicroelectronics STM32 CRYP
Schema identifier ($id): "http://devicetree.org/schemas/crypto/st,stm32-cryp.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The STM32 CRYP block is built on the CRYP 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-cryp", "stericsson,ux500-cryp", "st,stm32f756-cryp", "st,stm32mp1-cryp"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
interrupts — 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 #
Array item rules (items) #
Item 1
mem2cryp DMA channel
Item 2
cryp2mem DMA channel
dma-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"mem2cryp"
Item 2
Exact value (
const):"cryp2mem"
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", "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>
cryp@54001000 {
compatible = "st,stm32mp1-cryp";
reg = <0x54001000 0x400>;
interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&rcc CRYP1>;
resets = <&rcc CRYP1_R>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)