Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/crypto/cortina,sl3516-crypto.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: SL3516 cryptographic offloader driver
0008 
0009 maintainers:
0010   - Corentin Labbe <clabbe@baylibre.com>
0011 
0012 properties:
0013   compatible:
0014     enum:
0015       - cortina,sl3516-crypto
0016 
0017   reg:
0018     maxItems: 1
0019 
0020   interrupts:
0021     maxItems: 1
0022 
0023   clocks:
0024     maxItems: 1
0025 
0026   resets:
0027     maxItems: 1
0028 
0029 required:
0030   - compatible
0031   - reg
0032   - interrupts
0033   - clocks
0034   - resets
0035 
0036 additionalProperties: false
0037 
0038 examples:
0039   - |
0040     #include <dt-bindings/interrupt-controller/irq.h>
0041     #include <dt-bindings/clock/cortina,gemini-clock.h>
0042     #include <dt-bindings/reset/cortina,gemini-reset.h>
0043 
0044     crypto@62000000 {
0045         compatible = "cortina,sl3516-crypto";
0046         reg = <0x62000000 0x10000>;
0047         interrupts = <7 IRQ_TYPE_EDGE_RISING>;
0048         resets = <&syscon GEMINI_RESET_SECURITY>;
0049         clocks = <&syscon GEMINI_CLK_GATE_SECURITY>;
0050     };