xref: /freebsd/sys/contrib/device-tree/Bindings/crypto/atmel-crypto.txt (revision f7c32ed617858bcd22f8d1b03199099d50125721)
1* Atmel HW cryptographic accelerators
2
3These are the HW cryptographic accelerators found on some Atmel products.
4
5* Advanced Encryption Standard (AES)
6
7Required properties:
8- compatible : Should be "atmel,at91sam9g46-aes".
9- reg: Should contain AES registers location and length.
10- interrupts: Should contain the IRQ line for the AES.
11- dmas: List of two DMA specifiers as described in
12        atmel-dma.txt and dma.txt files.
13- dma-names: Contains one identifier string for each DMA specifier
14             in the dmas property.
15
16Example:
17aes@f8038000 {
18	compatible = "atmel,at91sam9g46-aes";
19	reg = <0xf8038000 0x100>;
20	interrupts = <43 4 0>;
21	dmas = <&dma1 2 18>,
22	       <&dma1 2 19>;
23	dma-names = "tx", "rx";
24
25* Triple Data Encryption Standard (Triple DES)
26
27Required properties:
28- compatible : Should be "atmel,at91sam9g46-tdes".
29- reg: Should contain TDES registers location and length.
30- interrupts: Should contain the IRQ line for the TDES.
31
32Optional properties:
33- dmas: List of two DMA specifiers as described in
34        atmel-dma.txt and dma.txt files.
35- dma-names: Contains one identifier string for each DMA specifier
36             in the dmas property.
37
38Example:
39tdes@f803c000 {
40	compatible = "atmel,at91sam9g46-tdes";
41	reg = <0xf803c000 0x100>;
42	interrupts = <44 4 0>;
43	dmas = <&dma1 2 20>,
44	       <&dma1 2 21>;
45	dma-names = "tx", "rx";
46};
47
48* Secure Hash Algorithm (SHA)
49
50Required properties:
51- compatible : Should be "atmel,at91sam9g46-sha".
52- reg: Should contain SHA registers location and length.
53- interrupts: Should contain the IRQ line for the SHA.
54
55Optional properties:
56- dmas: One DMA specifiers as described in
57        atmel-dma.txt and dma.txt files.
58- dma-names: Contains one identifier string for each DMA specifier
59             in the dmas property. Only one "tx" string needed.
60
61Example:
62sha@f8034000 {
63	compatible = "atmel,at91sam9g46-sha";
64	reg = <0xf8034000 0x100>;
65	interrupts = <42 4 0>;
66	dmas = <&dma1 2 17>;
67	dma-names = "tx";
68};
69