1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (C) 2022 Microchip Technology, Inc 2 # Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries 3 %YAML 1.2 3 %YAML 1.2 4 --- 4 --- 5 $id: http://devicetree.org/schemas/crypto/atme 5 $id: http://devicetree.org/schemas/crypto/atmel,at91sam9g46-tdes.yaml# 6 $schema: http://devicetree.org/meta-schemas/co 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 title: Atmel Triple Data Encryption Standard ( 8 title: Atmel Triple Data Encryption Standard (TDES) HW cryptographic accelerator 9 9 10 maintainers: 10 maintainers: 11 - Tudor Ambarus <tudor.ambarus@linaro.org> 11 - Tudor Ambarus <tudor.ambarus@linaro.org> 12 12 13 properties: 13 properties: 14 compatible: 14 compatible: 15 oneOf: 15 oneOf: 16 - const: atmel,at91sam9g46-tdes 16 - const: atmel,at91sam9g46-tdes 17 - items: 17 - items: 18 - const: microchip,sam9x7-tdes 18 - const: microchip,sam9x7-tdes 19 - const: atmel,at91sam9g46-tdes 19 - const: atmel,at91sam9g46-tdes 20 20 21 reg: 21 reg: 22 maxItems: 1 22 maxItems: 1 23 23 24 interrupts: 24 interrupts: 25 maxItems: 1 25 maxItems: 1 26 26 27 clocks: 27 clocks: 28 maxItems: 1 28 maxItems: 1 29 29 30 clock-names: 30 clock-names: 31 const: tdes_clk 31 const: tdes_clk 32 32 33 dmas: 33 dmas: 34 items: 34 items: 35 - description: TX DMA Channel 35 - description: TX DMA Channel 36 - description: RX DMA Channel 36 - description: RX DMA Channel 37 37 38 dma-names: 38 dma-names: 39 items: 39 items: 40 - const: tx 40 - const: tx 41 - const: rx 41 - const: rx 42 42 43 required: 43 required: 44 - compatible 44 - compatible 45 - reg 45 - reg 46 - interrupts 46 - interrupts 47 - clocks 47 - clocks 48 - clock-names 48 - clock-names 49 49 50 additionalProperties: false 50 additionalProperties: false 51 51 52 examples: 52 examples: 53 - | 53 - | 54 #include <dt-bindings/interrupt-controller 54 #include <dt-bindings/interrupt-controller/irq.h> 55 #include <dt-bindings/interrupt-controller 55 #include <dt-bindings/interrupt-controller/arm-gic.h> 56 #include <dt-bindings/clock/at91.h> 56 #include <dt-bindings/clock/at91.h> 57 #include <dt-bindings/dma/at91.h> 57 #include <dt-bindings/dma/at91.h> 58 58 59 tdes: crypto@e2014000 { 59 tdes: crypto@e2014000 { 60 compatible = "atmel,at91sam9g46-tdes"; 60 compatible = "atmel,at91sam9g46-tdes"; 61 reg = <0xe2014000 0x100>; 61 reg = <0xe2014000 0x100>; 62 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_ 62 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; 63 clocks = <&pmc PMC_TYPE_PERIPHERAL 96>; 63 clocks = <&pmc PMC_TYPE_PERIPHERAL 96>; 64 clock-names = "tdes_clk"; 64 clock-names = "tdes_clk"; 65 dmas = <&dma0 AT91_XDMAC_DT_PERID(54)>, 65 dmas = <&dma0 AT91_XDMAC_DT_PERID(54)>, 66 <&dma0 AT91_XDMAC_DT_PERID(53)>; 66 <&dma0 AT91_XDMAC_DT_PERID(53)>; 67 dma-names = "tx", "rx"; 67 dma-names = "tx", "rx"; 68 }; 68 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.