-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'at91-drivers' of git://github.com/at91linux/linux-at91 int…
…o next/drivers From Nicolas Ferre: AT91 crypto drivers DT support: - add DT to sha/des/aes existing drivers - add DMA DT - all documentation added to crypto/atmel-crypto.txt file * tag 'at91-drivers' of git://github.com/at91linux/linux-at91: crypto: atmel-sha - add sha information to the log crypto: atmel-sha - add support for Device Tree crypto: atmel-tdes - add support for Device Tree crypto: atmel-aes - add support for Device Tree Signed-off-by: Olof Johansson <olof@lixom.net>
- Loading branch information
Showing
4 changed files
with
334 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
* Atmel HW cryptographic accelerators | ||
|
||
These are the HW cryptographic accelerators found on some Atmel products. | ||
|
||
* Advanced Encryption Standard (AES) | ||
|
||
Required properties: | ||
- compatible : Should be "atmel,at91sam9g46-aes". | ||
- reg: Should contain AES registers location and length. | ||
- interrupts: Should contain the IRQ line for the AES. | ||
- dmas: List of two DMA specifiers as described in | ||
atmel-dma.txt and dma.txt files. | ||
- dma-names: Contains one identifier string for each DMA specifier | ||
in the dmas property. | ||
|
||
Example: | ||
aes@f8038000 { | ||
compatible = "atmel,at91sam9g46-aes"; | ||
reg = <0xf8038000 0x100>; | ||
interrupts = <43 4 0>; | ||
dmas = <&dma1 2 18>, | ||
<&dma1 2 19>; | ||
dma-names = "tx", "rx"; | ||
|
||
* Triple Data Encryption Standard (Triple DES) | ||
|
||
Required properties: | ||
- compatible : Should be "atmel,at91sam9g46-tdes". | ||
- reg: Should contain TDES registers location and length. | ||
- interrupts: Should contain the IRQ line for the TDES. | ||
|
||
Optional properties: | ||
- dmas: List of two DMA specifiers as described in | ||
atmel-dma.txt and dma.txt files. | ||
- dma-names: Contains one identifier string for each DMA specifier | ||
in the dmas property. | ||
|
||
Example: | ||
tdes@f803c000 { | ||
compatible = "atmel,at91sam9g46-tdes"; | ||
reg = <0xf803c000 0x100>; | ||
interrupts = <44 4 0>; | ||
dmas = <&dma1 2 20>, | ||
<&dma1 2 21>; | ||
dma-names = "tx", "rx"; | ||
}; | ||
|
||
* Secure Hash Algorithm (SHA) | ||
|
||
Required properties: | ||
- compatible : Should be "atmel,at91sam9g46-sha". | ||
- reg: Should contain SHA registers location and length. | ||
- interrupts: Should contain the IRQ line for the SHA. | ||
|
||
Optional properties: | ||
- dmas: One DMA specifiers as described in | ||
atmel-dma.txt and dma.txt files. | ||
- dma-names: Contains one identifier string for each DMA specifier | ||
in the dmas property. Only one "tx" string needed. | ||
|
||
Example: | ||
sha@f8034000 { | ||
compatible = "atmel,at91sam9g46-sha"; | ||
reg = <0xf8034000 0x100>; | ||
interrupts = <42 4 0>; | ||
dmas = <&dma1 2 17>; | ||
dma-names = "tx"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.