xref: /linux/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
17f7d115dSCorentin Labbe# SPDX-License-Identifier: GPL-2.0
27f7d115dSCorentin Labbe%YAML 1.2
37f7d115dSCorentin Labbe---
47f7d115dSCorentin Labbe$id: http://devicetree.org/schemas/crypto/amlogic,gxl-crypto.yaml#
57f7d115dSCorentin Labbe$schema: http://devicetree.org/meta-schemas/core.yaml#
67f7d115dSCorentin Labbe
77f7d115dSCorentin Labbetitle: Amlogic GXL Cryptographic Offloader
87f7d115dSCorentin Labbe
97f7d115dSCorentin Labbemaintainers:
107f7d115dSCorentin Labbe  - Corentin Labbe <clabbe@baylibre.com>
117f7d115dSCorentin Labbe
127f7d115dSCorentin Labbeproperties:
137f7d115dSCorentin Labbe  compatible:
147f7d115dSCorentin Labbe    items:
157f7d115dSCorentin Labbe      - const: amlogic,gxl-crypto
167f7d115dSCorentin Labbe
177f7d115dSCorentin Labbe  reg:
187f7d115dSCorentin Labbe    maxItems: 1
197f7d115dSCorentin Labbe
207f7d115dSCorentin Labbe  interrupts:
217f7d115dSCorentin Labbe    items:
22*f6814f6fSKrzysztof Kozlowski      - description: Interrupt for flow 0
23*f6814f6fSKrzysztof Kozlowski      - description: Interrupt for flow 1
247f7d115dSCorentin Labbe
257f7d115dSCorentin Labbe  clocks:
267f7d115dSCorentin Labbe    maxItems: 1
277f7d115dSCorentin Labbe
287f7d115dSCorentin Labbe  clock-names:
297f7d115dSCorentin Labbe    const: blkmv
307f7d115dSCorentin Labbe
317f7d115dSCorentin Labberequired:
327f7d115dSCorentin Labbe  - compatible
337f7d115dSCorentin Labbe  - reg
347f7d115dSCorentin Labbe  - interrupts
357f7d115dSCorentin Labbe  - clocks
367f7d115dSCorentin Labbe  - clock-names
377f7d115dSCorentin Labbe
387f7d115dSCorentin LabbeadditionalProperties: false
397f7d115dSCorentin Labbe
407f7d115dSCorentin Labbeexamples:
417f7d115dSCorentin Labbe  - |
427f7d115dSCorentin Labbe    #include <dt-bindings/interrupt-controller/irq.h>
437f7d115dSCorentin Labbe    #include <dt-bindings/interrupt-controller/arm-gic.h>
447f7d115dSCorentin Labbe    #include <dt-bindings/clock/gxbb-clkc.h>
457f7d115dSCorentin Labbe
467f7d115dSCorentin Labbe    crypto: crypto-engine@c883e000 {
477f7d115dSCorentin Labbe        compatible = "amlogic,gxl-crypto";
48fba56184SRob Herring        reg = <0xc883e000 0x36>;
497f7d115dSCorentin Labbe        interrupts = <GIC_SPI 188 IRQ_TYPE_EDGE_RISING>, <GIC_SPI 189 IRQ_TYPE_EDGE_RISING>;
507f7d115dSCorentin Labbe        clocks = <&clkc CLKID_BLKMV>;
517f7d115dSCorentin Labbe        clock-names = "blkmv";
527f7d115dSCorentin Labbe    };
53