1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2# Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries 3%YAML 1.2 4--- 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 accelerator 9 10maintainers: 11 - Tudor Ambarus <tudor.ambarus@linaro.org> 12 13properties: 14 compatible: 15 oneOf: 16 - const: atmel,at91sam9g46-tdes 17 - items: 18 - const: microchip,sam9x7-tdes 19 - const: atmel,at91sam9g46-tdes 20 21 reg: 22 maxItems: 1 23 24 interrupts: 25 maxItems: 1 26 27 clocks: 28 maxItems: 1 29 30 clock-names: 31 const: tdes_clk 32 33 dmas: 34 items: 35 - description: TX DMA Channel 36 - description: RX DMA Channel 37 38 dma-names: 39 items: 40 - const: tx 41 - const: rx 42 43required: 44 - compatible 45 - reg 46 - interrupts 47 - clocks 48 - clock-names 49 50additionalProperties: false 51 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