Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/crypto/amlogic,gxl-crypto.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Amlogic GXL Cryptographic Offloader
0008 
0009 maintainers:
0010   - Corentin Labbe <clabbe@baylibre.com>
0011 
0012 properties:
0013   compatible:
0014     items:
0015       - const: amlogic,gxl-crypto
0016 
0017   reg:
0018     maxItems: 1
0019 
0020   interrupts:
0021     items:
0022       - description: "Interrupt for flow 0"
0023       - description: "Interrupt for flow 1"
0024 
0025   clocks:
0026     maxItems: 1
0027 
0028   clock-names:
0029     const: blkmv
0030 
0031 required:
0032   - compatible
0033   - reg
0034   - interrupts
0035   - clocks
0036   - clock-names
0037 
0038 additionalProperties: false
0039 
0040 examples:
0041   - |
0042     #include <dt-bindings/interrupt-controller/irq.h>
0043     #include <dt-bindings/interrupt-controller/arm-gic.h>
0044     #include <dt-bindings/clock/gxbb-clkc.h>
0045 
0046     crypto: crypto-engine@c883e000 {
0047         compatible = "amlogic,gxl-crypto";
0048         reg = <0xc883e000 0x36>;
0049         interrupts = <GIC_SPI 188 IRQ_TYPE_EDGE_RISING>, <GIC_SPI 189 IRQ_TYPE_EDGE_RISING>;
0050         clocks = <&clkc CLKID_BLKMV>;
0051         clock-names = "blkmv";
0052     };