arm64: dts: qcom: sm8550: add TRNG node
[linux-modified.git] / Documentation / devicetree / bindings / crypto / st,stm32-cryp.yaml
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 <lionel.debieve@foss.st.com>
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 required:
50   - compatible
51   - reg
52   - clocks
53   - interrupts
54
55 additionalProperties: false
56
57 examples:
58   - |
59     #include <dt-bindings/interrupt-controller/arm-gic.h>
60     #include <dt-bindings/clock/stm32mp1-clks.h>
61     #include <dt-bindings/reset/stm32mp1-resets.h>
62     cryp@54001000 {
63       compatible = "st,stm32mp1-cryp";
64       reg = <0x54001000 0x400>;
65       interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
66       clocks = <&rcc CRYP1>;
67       resets = <&rcc CRYP1_R>;
68     };
69
70 ...