| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/crypto/st,stm32-cryp.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: STMicroelectronics STM32 CRYP |
| 8 |
|
| 9 |
description: The STM32 CRYP block is built on the CRYP block found in |
| 10 |
the STn8820 SoC introduced in 2007, and subsequently used in the U8500 |
| 11 |
SoC in 2010. |
| 12 |
|
| 13 |
maintainers: |
| 14 |
- Lionel Debieve <[email protected]> |
| 15 |
|
| 16 |
properties: |
| 17 |
compatible: |
| 18 |
enum: |
| 19 |
- st,stn8820-cryp |
| 20 |
- stericsson,ux500-cryp |
| 21 |
- st,stm32f756-cryp |
| 22 |
- st,stm32mp1-cryp |
| 23 |
|
| 24 |
reg: |
| 25 |
maxItems: 1 |
| 26 |
|
| 27 |
clocks: |
| 28 |
maxItems: 1 |
| 29 |
|
| 30 |
interrupts: |
| 31 |
maxItems: 1 |
| 32 |
|
| 33 |
resets: |
| 34 |
maxItems: 1 |
| 35 |
|
| 36 |
dmas: |
| 37 |
items: |
| 38 |
- description: mem2cryp DMA channel |
| 39 |
- description: cryp2mem DMA channel |
| 40 |
|
| 41 |
dma-names: |
| 42 |
items: |
| 43 |
- const: mem2cryp |
| 44 |
- const: cryp2mem |
| 45 |
|
| 46 |
power-domains: |
| 47 |
maxItems: 1 |
| 48 |
|
| 49 |
access-controllers: |
| 50 |
minItems: 1 |
| 51 |
maxItems: 2 |
| 52 |
|
| 53 |
required: |
| 54 |
- compatible |
| 55 |
- reg |
| 56 |
- clocks |
| 57 |
- interrupts |
| 58 |
|
| 59 |
additionalProperties: false |
| 60 |
|
| 61 |
examples: |
| 62 |
- | |
| 63 |
#include <dt-bindings/interrupt-controller/arm-gic.h> |
| 64 |
#include <dt-bindings/clock/stm32mp1-clks.h> |
| 65 |
#include <dt-bindings/reset/stm32mp1-resets.h> |
| 66 |
cryp@54001000 { |
| 67 |
compatible = "st,stm32mp1-cryp"; |
| 68 |
reg = <0x54001000 0x400>; |
| 69 |
interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; |
| 70 |
clocks = <&rcc CRYP1>; |
| 71 |
resets = <&rcc CRYP1_R>; |
| 72 |
}; |
| 73 |
|
| 74 |
... |