brintos

brintos / linux-shallow public Read only

0
0
Text · 1.5 KiB · 6a441f7 Raw
69 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2# Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries3%YAML 1.24---5$id: http://devicetree.org/schemas/crypto/atmel,at91sam9g46-tdes.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: Atmel Triple Data Encryption Standard (TDES) HW cryptographic accelerator9 10maintainers:11  - Tudor Ambarus <tudor.ambarus@linaro.org>12 13properties:14  compatible:15    oneOf:16      - const: atmel,at91sam9g46-tdes17      - items:18          - const: microchip,sam9x7-tdes19          - const: atmel,at91sam9g46-tdes20 21  reg:22    maxItems: 123 24  interrupts:25    maxItems: 126 27  clocks:28    maxItems: 129 30  clock-names:31    const: tdes_clk32 33  dmas:34    items:35      - description: TX DMA Channel36      - description: RX DMA Channel37 38  dma-names:39    items:40      - const: tx41      - const: rx42 43required:44  - compatible45  - reg46  - interrupts47  - clocks48  - clock-names49 50additionalProperties: false51 52examples:53  - |54    #include <dt-bindings/interrupt-controller/irq.h>55    #include <dt-bindings/interrupt-controller/arm-gic.h>56    #include <dt-bindings/clock/at91.h>57    #include <dt-bindings/dma/at91.h>58 59    tdes: crypto@e2014000 {60      compatible = "atmel,at91sam9g46-tdes";61      reg = <0xe2014000 0x100>;62      interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;63      clocks = <&pmc PMC_TYPE_PERIPHERAL 96>;64      clock-names = "tdes_clk";65      dmas = <&dma0 AT91_XDMAC_DT_PERID(54)>,66             <&dma0 AT91_XDMAC_DT_PERID(53)>;67      dma-names = "tx", "rx";68    };69