Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-aes.yaml
54330 views
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-aes.yaml#
6
$schema: http://devicetree.org/meta-schemas/core.yaml#
7
8
title: Atmel Advanced Encryption Standard (AES) HW cryptographic accelerator
9
10
maintainers:
11
- Tudor Ambarus <tudor.ambarus@linaro.org>
12
13
properties:
14
compatible:
15
oneOf:
16
- const: atmel,at91sam9g46-aes
17
- items:
18
- enum:
19
- microchip,lan9691-aes
20
- microchip,sam9x7-aes
21
- microchip,sama7d65-aes
22
- const: atmel,at91sam9g46-aes
23
24
reg:
25
maxItems: 1
26
27
interrupts:
28
maxItems: 1
29
30
clocks:
31
maxItems: 1
32
33
clock-names:
34
const: aes_clk
35
36
dmas:
37
items:
38
- description: TX DMA Channel
39
- description: RX DMA Channel
40
41
dma-names:
42
items:
43
- const: tx
44
- const: rx
45
46
required:
47
- compatible
48
- reg
49
- interrupts
50
- clocks
51
- clock-names
52
- dmas
53
- dma-names
54
55
additionalProperties: false
56
57
examples:
58
- |
59
#include <dt-bindings/interrupt-controller/irq.h>
60
#include <dt-bindings/interrupt-controller/arm-gic.h>
61
#include <dt-bindings/clock/at91.h>
62
#include <dt-bindings/dma/at91.h>
63
64
aes: crypto@e1810000 {
65
compatible = "atmel,at91sam9g46-aes";
66
reg = <0xe1810000 0x100>;
67
interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
68
clocks = <&pmc PMC_TYPE_PERIPHERAL 27>;
69
clock-names = "aes_clk";
70
dmas = <&dma0 AT91_XDMAC_DT_PERID(1)>,
71
<&dma0 AT91_XDMAC_DT_PERID(2)>;
72
dma-names = "tx", "rx";
73
};
74
75