summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/crypto/cortina,sl3516-crypto.yaml
blob: b633b8d0e6f052526a7f9eee90709d0a962cc841 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/crypto/cortina,sl3516-crypto.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: SL3516 cryptographic offloader driver

maintainers:
  - Corentin Labbe <clabbe@baylibre.com>

properties:
  compatible:
    enum:
      - cortina,sl3516-crypto

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 1

  resets:
    maxItems: 1

required:
  - compatible
  - reg
  - interrupts
  - clocks
  - resets

additionalProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/irq.h>
    #include <dt-bindings/clock/cortina,gemini-clock.h>
    #include <dt-bindings/reset/cortina,gemini-reset.h>

    crypto@62000000 {
        compatible = "cortina,sl3516-crypto";
        reg = <0x62000000 0x10000>;
        interrupts = <7 IRQ_TYPE_EDGE_RISING>;
        resets = <&syscon GEMINI_RESET_SECURITY>;
        clocks = <&syscon GEMINI_CLK_GATE_SECURITY>;
    };