xref: /linux/Documentation/devicetree/bindings/crypto/cortina,sl3516-crypto.yaml (revision 762f99f4f3cb41a775b5157dd761217beba65873)
1*124d77c2SCorentin Labbe# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*124d77c2SCorentin Labbe%YAML 1.2
3*124d77c2SCorentin Labbe---
4*124d77c2SCorentin Labbe$id: http://devicetree.org/schemas/crypto/cortina,sl3516-crypto.yaml#
5*124d77c2SCorentin Labbe$schema: http://devicetree.org/meta-schemas/core.yaml#
6*124d77c2SCorentin Labbe
7*124d77c2SCorentin Labbetitle: SL3516 cryptographic offloader driver
8*124d77c2SCorentin Labbe
9*124d77c2SCorentin Labbemaintainers:
10*124d77c2SCorentin Labbe  - Corentin Labbe <clabbe@baylibre.com>
11*124d77c2SCorentin Labbe
12*124d77c2SCorentin Labbeproperties:
13*124d77c2SCorentin Labbe  compatible:
14*124d77c2SCorentin Labbe    enum:
15*124d77c2SCorentin Labbe      - cortina,sl3516-crypto
16*124d77c2SCorentin Labbe
17*124d77c2SCorentin Labbe  reg:
18*124d77c2SCorentin Labbe    maxItems: 1
19*124d77c2SCorentin Labbe
20*124d77c2SCorentin Labbe  interrupts:
21*124d77c2SCorentin Labbe    maxItems: 1
22*124d77c2SCorentin Labbe
23*124d77c2SCorentin Labbe  clocks:
24*124d77c2SCorentin Labbe    maxItems: 1
25*124d77c2SCorentin Labbe
26*124d77c2SCorentin Labbe  resets:
27*124d77c2SCorentin Labbe    maxItems: 1
28*124d77c2SCorentin Labbe
29*124d77c2SCorentin Labberequired:
30*124d77c2SCorentin Labbe  - compatible
31*124d77c2SCorentin Labbe  - reg
32*124d77c2SCorentin Labbe  - interrupts
33*124d77c2SCorentin Labbe  - clocks
34*124d77c2SCorentin Labbe  - resets
35*124d77c2SCorentin Labbe
36*124d77c2SCorentin LabbeadditionalProperties: false
37*124d77c2SCorentin Labbe
38*124d77c2SCorentin Labbeexamples:
39*124d77c2SCorentin Labbe  - |
40*124d77c2SCorentin Labbe    #include <dt-bindings/interrupt-controller/irq.h>
41*124d77c2SCorentin Labbe    #include <dt-bindings/clock/cortina,gemini-clock.h>
42*124d77c2SCorentin Labbe    #include <dt-bindings/reset/cortina,gemini-reset.h>
43*124d77c2SCorentin Labbe
44*124d77c2SCorentin Labbe    crypto@62000000 {
45*124d77c2SCorentin Labbe        compatible = "cortina,sl3516-crypto";
46*124d77c2SCorentin Labbe        reg = <0x62000000 0x10000>;
47*124d77c2SCorentin Labbe        interrupts = <7 IRQ_TYPE_EDGE_RISING>;
48*124d77c2SCorentin Labbe        resets = <&syscon GEMINI_RESET_SECURITY>;
49*124d77c2SCorentin Labbe        clocks = <&syscon GEMINI_CLK_GATE_SECURITY>;
50*124d77c2SCorentin Labbe    };
51