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@microchip.com> 12 12 13 properties: 13 properties: 14 compatible: 14 compatible: 15 oneOf: !! 15 const: atmel,at91sam9g46-tdes 16 - const: atmel,at91sam9g46-tdes << 17 - items: << 18 - const: microchip,sam9x7-tdes << 19 - const: atmel,at91sam9g46-tdes << 20 16 21 reg: 17 reg: 22 maxItems: 1 18 maxItems: 1 23 19 24 interrupts: 20 interrupts: 25 maxItems: 1 21 maxItems: 1 26 22 27 clocks: 23 clocks: 28 maxItems: 1 24 maxItems: 1 29 25 30 clock-names: 26 clock-names: 31 const: tdes_clk 27 const: tdes_clk 32 28 33 dmas: 29 dmas: 34 items: 30 items: 35 - description: TX DMA Channel 31 - description: TX DMA Channel 36 - description: RX DMA Channel 32 - description: RX DMA Channel 37 33 38 dma-names: 34 dma-names: 39 items: 35 items: 40 - const: tx 36 - const: tx 41 - const: rx 37 - const: rx 42 38 43 required: 39 required: 44 - compatible 40 - compatible 45 - reg 41 - reg 46 - interrupts 42 - interrupts 47 - clocks 43 - clocks 48 - clock-names 44 - clock-names 49 45 50 additionalProperties: false 46 additionalProperties: false 51 47 52 examples: 48 examples: 53 - | 49 - | 54 #include <dt-bindings/interrupt-controller 50 #include <dt-bindings/interrupt-controller/irq.h> 55 #include <dt-bindings/interrupt-controller 51 #include <dt-bindings/interrupt-controller/arm-gic.h> 56 #include <dt-bindings/clock/at91.h> 52 #include <dt-bindings/clock/at91.h> 57 #include <dt-bindings/dma/at91.h> 53 #include <dt-bindings/dma/at91.h> 58 54 59 tdes: crypto@e2014000 { 55 tdes: crypto@e2014000 { 60 compatible = "atmel,at91sam9g46-tdes"; 56 compatible = "atmel,at91sam9g46-tdes"; 61 reg = <0xe2014000 0x100>; 57 reg = <0xe2014000 0x100>; 62 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_ 58 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; 63 clocks = <&pmc PMC_TYPE_PERIPHERAL 96>; 59 clocks = <&pmc PMC_TYPE_PERIPHERAL 96>; 64 clock-names = "tdes_clk"; 60 clock-names = "tdes_clk"; 65 dmas = <&dma0 AT91_XDMAC_DT_PERID(54)>, 61 dmas = <&dma0 AT91_XDMAC_DT_PERID(54)>, 66 <&dma0 AT91_XDMAC_DT_PERID(53)>; 62 <&dma0 AT91_XDMAC_DT_PERID(53)>; 67 dma-names = "tx", "rx"; 63 dma-names = "tx", "rx"; 68 }; 64 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.