xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/crypto/omap-aes.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunOMAP SoC AES crypto Module
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun- compatible : Should contain entries for this and backward compatible
6*4882a593Smuzhiyun  AES versions:
7*4882a593Smuzhiyun  - "ti,omap2-aes" for OMAP2.
8*4882a593Smuzhiyun  - "ti,omap3-aes" for OMAP3.
9*4882a593Smuzhiyun  - "ti,omap4-aes" for OMAP4 and AM33XX.
10*4882a593Smuzhiyun  Note that the OMAP2 and 3 versions are compatible (OMAP3 supports
11*4882a593Smuzhiyun  more algorithms) but they are incompatible with OMAP4.
12*4882a593Smuzhiyun- ti,hwmods: Name of the hwmod associated with the AES module
13*4882a593Smuzhiyun- reg : Offset and length of the register set for the module
14*4882a593Smuzhiyun- interrupts : the interrupt-specifier for the AES module.
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunOptional properties:
17*4882a593Smuzhiyun- dmas: DMA specifiers for tx and rx dma. See the DMA client binding,
18*4882a593Smuzhiyun	Documentation/devicetree/bindings/dma/dma.txt
19*4882a593Smuzhiyun- dma-names: DMA request names should include "tx" and "rx" if present.
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunExample:
22*4882a593Smuzhiyun	/* AM335x */
23*4882a593Smuzhiyun	aes: aes@53500000 {
24*4882a593Smuzhiyun		compatible = "ti,omap4-aes";
25*4882a593Smuzhiyun		ti,hwmods = "aes";
26*4882a593Smuzhiyun		reg = <0x53500000 0xa0>;
27*4882a593Smuzhiyun		interrupts = <102>;
28*4882a593Smuzhiyun		dmas = <&edma 6>,
29*4882a593Smuzhiyun		       <&edma 5>;
30*4882a593Smuzhiyun		dma-names = "tx", "rx";
31*4882a593Smuzhiyun	};
32