xref: /freebsd/sys/contrib/device-tree/Bindings/crypto/st,stm32-cryp.yaml (revision 370e009188ba90c3290b1479aa06ec98b66e140a)
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
7title: STMicroelectronics STM32 CRYP bindings
8
9maintainers:
10  - Lionel Debieve <lionel.debieve@foss.st.com>
11
12properties:
13  compatible:
14    enum:
15      - st,stm32f756-cryp
16      - st,stm32mp1-cryp
17
18  reg:
19    maxItems: 1
20
21  clocks:
22    maxItems: 1
23
24  interrupts:
25    maxItems: 1
26
27  resets:
28    maxItems: 1
29
30required:
31  - compatible
32  - reg
33  - clocks
34  - interrupts
35
36additionalProperties: false
37
38examples:
39  - |
40    #include <dt-bindings/interrupt-controller/arm-gic.h>
41    #include <dt-bindings/clock/stm32mp1-clks.h>
42    #include <dt-bindings/reset/stm32mp1-resets.h>
43    cryp@54001000 {
44      compatible = "st,stm32mp1-cryp";
45      reg = <0x54001000 0x400>;
46      interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
47      clocks = <&rcc CRYP1>;
48      resets = <&rcc CRYP1_R>;
49    };
50
51...
52