xref: /linux/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-tdes.yaml (revision d63b583f681e7999fde293142f6cbc0f2a766b64)
1*d63b583fSTudor Ambarus# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*d63b583fSTudor Ambarus# Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries
3*d63b583fSTudor Ambarus%YAML 1.2
4*d63b583fSTudor Ambarus---
5*d63b583fSTudor Ambarus$id: http://devicetree.org/schemas/crypto/atmel,at91sam9g46-tdes.yaml#
6*d63b583fSTudor Ambarus$schema: http://devicetree.org/meta-schemas/core.yaml#
7*d63b583fSTudor Ambarus
8*d63b583fSTudor Ambarustitle: Atmel Triple Data Encryption Standard (TDES) HW cryptographic accelerator
9*d63b583fSTudor Ambarus
10*d63b583fSTudor Ambarusmaintainers:
11*d63b583fSTudor Ambarus  - Tudor Ambarus <tudor.ambarus@microchip.com>
12*d63b583fSTudor Ambarus
13*d63b583fSTudor Ambarusproperties:
14*d63b583fSTudor Ambarus  compatible:
15*d63b583fSTudor Ambarus    const: atmel,at91sam9g46-tdes
16*d63b583fSTudor Ambarus
17*d63b583fSTudor Ambarus  reg:
18*d63b583fSTudor Ambarus    maxItems: 1
19*d63b583fSTudor Ambarus
20*d63b583fSTudor Ambarus  interrupts:
21*d63b583fSTudor Ambarus    maxItems: 1
22*d63b583fSTudor Ambarus
23*d63b583fSTudor Ambarus  clocks:
24*d63b583fSTudor Ambarus    maxItems: 1
25*d63b583fSTudor Ambarus
26*d63b583fSTudor Ambarus  clock-names:
27*d63b583fSTudor Ambarus    const: tdes_clk
28*d63b583fSTudor Ambarus
29*d63b583fSTudor Ambarus  dmas:
30*d63b583fSTudor Ambarus    items:
31*d63b583fSTudor Ambarus      - description: TX DMA Channel
32*d63b583fSTudor Ambarus      - description: RX DMA Channel
33*d63b583fSTudor Ambarus
34*d63b583fSTudor Ambarus  dma-names:
35*d63b583fSTudor Ambarus    items:
36*d63b583fSTudor Ambarus      - const: tx
37*d63b583fSTudor Ambarus      - const: rx
38*d63b583fSTudor Ambarus
39*d63b583fSTudor Ambarusrequired:
40*d63b583fSTudor Ambarus  - compatible
41*d63b583fSTudor Ambarus  - reg
42*d63b583fSTudor Ambarus  - interrupts
43*d63b583fSTudor Ambarus  - clocks
44*d63b583fSTudor Ambarus  - clock-names
45*d63b583fSTudor Ambarus
46*d63b583fSTudor AmbarusadditionalProperties: false
47*d63b583fSTudor Ambarus
48*d63b583fSTudor Ambarusexamples:
49*d63b583fSTudor Ambarus  - |
50*d63b583fSTudor Ambarus    #include <dt-bindings/interrupt-controller/irq.h>
51*d63b583fSTudor Ambarus    #include <dt-bindings/interrupt-controller/arm-gic.h>
52*d63b583fSTudor Ambarus    #include <dt-bindings/clock/at91.h>
53*d63b583fSTudor Ambarus    #include <dt-bindings/dma/at91.h>
54*d63b583fSTudor Ambarus
55*d63b583fSTudor Ambarus    tdes: crypto@e2014000 {
56*d63b583fSTudor Ambarus      compatible = "atmel,at91sam9g46-tdes";
57*d63b583fSTudor Ambarus      reg = <0xe2014000 0x100>;
58*d63b583fSTudor Ambarus      interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
59*d63b583fSTudor Ambarus      clocks = <&pmc PMC_TYPE_PERIPHERAL 96>;
60*d63b583fSTudor Ambarus      clock-names = "tdes_clk";
61*d63b583fSTudor Ambarus      dmas = <&dma0 AT91_XDMAC_DT_PERID(54)>,
62*d63b583fSTudor Ambarus             <&dma0 AT91_XDMAC_DT_PERID(53)>;
63*d63b583fSTudor Ambarus      dma-names = "tx", "rx";
64*d63b583fSTudor Ambarus    };
65