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