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