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