forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto: atmel-aes - add support for Device Tree
Add support for Device Tree and use of the DMA DT API to get the needed channels. Documentation is added for these DT nodes. Initial code by: Nicolas Royer and Eukrea. Signed-off-by: Nicolas Ferre <[email protected]> Acked-by: Herbert Xu <[email protected]>
- Loading branch information
Nicolas Ferre
committed
Dec 12, 2013
1 parent
b46e837
commit be943c7
Showing
2 changed files
with
117 additions
and
49 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,23 @@ | ||
* 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"; |
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