2019-11-08 05:52:43 -07:00
|
|
|
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
|
|
%YAML 1.2
|
|
|
|
---
|
|
|
|
$id: http://devicetree.org/schemas/crypto/st,stm32-cryp.yaml#
|
|
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
|
|
|
|
title: STMicroelectronics STM32 CRYP bindings
|
|
|
|
|
2022-12-03 02:15:15 -07:00
|
|
|
description: 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.
|
|
|
|
|
2019-11-08 05:52:43 -07:00
|
|
|
maintainers:
|
2021-11-10 08:01:44 -07:00
|
|
|
- Lionel Debieve <lionel.debieve@foss.st.com>
|
2019-11-08 05:52:43 -07:00
|
|
|
|
|
|
|
properties:
|
|
|
|
compatible:
|
|
|
|
enum:
|
2022-12-03 02:15:15 -07:00
|
|
|
- st,stn8820-cryp
|
|
|
|
- stericsson,ux500-cryp
|
2019-11-08 05:52:43 -07:00
|
|
|
- st,stm32f756-cryp
|
|
|
|
- st,stm32mp1-cryp
|
|
|
|
|
|
|
|
reg:
|
|
|
|
maxItems: 1
|
|
|
|
|
|
|
|
clocks:
|
|
|
|
maxItems: 1
|
|
|
|
|
|
|
|
interrupts:
|
|
|
|
maxItems: 1
|
|
|
|
|
|
|
|
resets:
|
|
|
|
maxItems: 1
|
|
|
|
|
2022-12-03 02:15:15 -07:00
|
|
|
dmas:
|
|
|
|
items:
|
|
|
|
- description: mem2cryp DMA channel
|
|
|
|
- description: cryp2mem DMA channel
|
|
|
|
|
|
|
|
dma-names:
|
|
|
|
items:
|
|
|
|
- const: mem2cryp
|
|
|
|
- const: cryp2mem
|
|
|
|
|
|
|
|
power-domains:
|
|
|
|
maxItems: 1
|
|
|
|
|
2019-11-08 05:52:43 -07:00
|
|
|
required:
|
|
|
|
- compatible
|
|
|
|
- reg
|
|
|
|
- clocks
|
|
|
|
- interrupts
|
|
|
|
|
|
|
|
additionalProperties: false
|
|
|
|
|
|
|
|
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>;
|
|
|
|
};
|
|
|
|
|
|
|
|
...
|