138451Smsmith# SPDX-License-Identifier: GPL-2.0
238451Smsmith%YAML 1.2
338451Smsmith---
438451Smsmith$id: http://devicetree.org/schemas/crypto/amlogic,gxl-crypto.yaml#
538451Smsmith$schema: http://devicetree.org/meta-schemas/core.yaml#
638451Smsmith
738451Smsmithtitle: Amlogic GXL Cryptographic Offloader
838451Smsmith
938451Smsmithmaintainers:
1038451Smsmith  - Corentin Labbe <clabbe@baylibre.com>
1138451Smsmith
1238451Smsmithproperties:
1338451Smsmith  compatible:
1438451Smsmith    items:
1538451Smsmith      - const: amlogic,gxl-crypto
1638451Smsmith
1738451Smsmith  reg:
1838451Smsmith    maxItems: 1
1938451Smsmith
2038451Smsmith  interrupts:
2138451Smsmith    items:
2238451Smsmith      - description: Interrupt for flow 0
2338451Smsmith      - description: Interrupt for flow 1
2438451Smsmith
2538451Smsmith  clocks:
2638451Smsmith    maxItems: 1
2738451Smsmith
2838451Smsmith  clock-names:
2938451Smsmith    const: blkmv
3038451Smsmith
3138451Smsmithrequired:
3238451Smsmith  - compatible
3338451Smsmith  - reg
3438451Smsmith  - interrupts
3538451Smsmith  - clocks
3638451Smsmith  - clock-names
3738451Smsmith
3838451SmsmithadditionalProperties: false
3938451Smsmith
4038451Smsmithexamples:
4138451Smsmith  - |
4238451Smsmith    #include <dt-bindings/interrupt-controller/irq.h>
4338451Smsmith    #include <dt-bindings/interrupt-controller/arm-gic.h>
4438451Smsmith    #include <dt-bindings/clock/gxbb-clkc.h>
4538451Smsmith
4638451Smsmith    crypto: crypto-engine@c883e000 {
4738451Smsmith        compatible = "amlogic,gxl-crypto";
4838451Smsmith        reg = <0xc883e000 0x36>;
4938451Smsmith        interrupts = <GIC_SPI 188 IRQ_TYPE_EDGE_RISING>, <GIC_SPI 189 IRQ_TYPE_EDGE_RISING>;
5038451Smsmith        clocks = <&clkc CLKID_BLKMV>;
5138451Smsmith        clock-names = "blkmv";
5238451Smsmith    };
5338451Smsmith