xref: /linux/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml (revision 7f7d115dfb5154549c28685a309dc0266a0b2be0)
1*7f7d115dSCorentin Labbe# SPDX-License-Identifier: GPL-2.0
2*7f7d115dSCorentin Labbe%YAML 1.2
3*7f7d115dSCorentin Labbe---
4*7f7d115dSCorentin Labbe$id: http://devicetree.org/schemas/crypto/amlogic,gxl-crypto.yaml#
5*7f7d115dSCorentin Labbe$schema: http://devicetree.org/meta-schemas/core.yaml#
6*7f7d115dSCorentin Labbe
7*7f7d115dSCorentin Labbetitle: Amlogic GXL Cryptographic Offloader
8*7f7d115dSCorentin Labbe
9*7f7d115dSCorentin Labbemaintainers:
10*7f7d115dSCorentin Labbe  - Corentin Labbe <clabbe@baylibre.com>
11*7f7d115dSCorentin Labbe
12*7f7d115dSCorentin Labbeproperties:
13*7f7d115dSCorentin Labbe  compatible:
14*7f7d115dSCorentin Labbe    items:
15*7f7d115dSCorentin Labbe    - const: amlogic,gxl-crypto
16*7f7d115dSCorentin Labbe
17*7f7d115dSCorentin Labbe  reg:
18*7f7d115dSCorentin Labbe    maxItems: 1
19*7f7d115dSCorentin Labbe
20*7f7d115dSCorentin Labbe  interrupts:
21*7f7d115dSCorentin Labbe    items:
22*7f7d115dSCorentin Labbe      - description: "Interrupt for flow 0"
23*7f7d115dSCorentin Labbe      - description: "Interrupt for flow 1"
24*7f7d115dSCorentin Labbe
25*7f7d115dSCorentin Labbe  clocks:
26*7f7d115dSCorentin Labbe    maxItems: 1
27*7f7d115dSCorentin Labbe
28*7f7d115dSCorentin Labbe  clock-names:
29*7f7d115dSCorentin Labbe    const: blkmv
30*7f7d115dSCorentin Labbe
31*7f7d115dSCorentin Labberequired:
32*7f7d115dSCorentin Labbe  - compatible
33*7f7d115dSCorentin Labbe  - reg
34*7f7d115dSCorentin Labbe  - interrupts
35*7f7d115dSCorentin Labbe  - clocks
36*7f7d115dSCorentin Labbe  - clock-names
37*7f7d115dSCorentin Labbe
38*7f7d115dSCorentin LabbeadditionalProperties: false
39*7f7d115dSCorentin Labbe
40*7f7d115dSCorentin Labbeexamples:
41*7f7d115dSCorentin Labbe  - |
42*7f7d115dSCorentin Labbe    #include <dt-bindings/interrupt-controller/irq.h>
43*7f7d115dSCorentin Labbe    #include <dt-bindings/interrupt-controller/arm-gic.h>
44*7f7d115dSCorentin Labbe    #include <dt-bindings/clock/gxbb-clkc.h>
45*7f7d115dSCorentin Labbe
46*7f7d115dSCorentin Labbe    crypto: crypto-engine@c883e000 {
47*7f7d115dSCorentin Labbe        compatible = "amlogic,gxl-crypto";
48*7f7d115dSCorentin Labbe        reg = <0x0 0xc883e000 0x0 0x36>;
49*7f7d115dSCorentin Labbe        interrupts = <GIC_SPI 188 IRQ_TYPE_EDGE_RISING>, <GIC_SPI 189 IRQ_TYPE_EDGE_RISING>;
50*7f7d115dSCorentin Labbe        clocks = <&clkc CLKID_BLKMV>;
51*7f7d115dSCorentin Labbe        clock-names = "blkmv";
52*7f7d115dSCorentin Labbe    };
53