1 Add the generic AM33XX AES module's device tree data and
2 enable it for the am335x-evm, am335x-evmsk, and am335x-bone
3 platforms. Also add Documentation file describing the data
6 [joelf@ti.com: Dropped interrupt-parent propert, documentation fixups]
8 CC: Paul Walmsley <paul@pwsan.com>
9 Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
12 .../devicetree/bindings/crypto/omap-aes.txt | 31 ++++++++++++++++++++++
13 arch/arm/boot/dts/am335x-bone.dts | 4 +++
14 arch/arm/boot/dts/am335x-evm.dts | 4 +++
15 arch/arm/boot/dts/am335x-evmsk.dts | 4 +++
16 arch/arm/boot/dts/am33xx.dtsi | 10 +++++++
17 5 files changed, 53 insertions(+)
18 create mode 100644 Documentation/devicetree/bindings/crypto/omap-aes.txt
20 diff --git a/Documentation/devicetree/bindings/crypto/omap-aes.txt b/Documentation/devicetree/bindings/crypto/omap-aes.txt
22 index 0000000..fd97176
24 +++ b/Documentation/devicetree/bindings/crypto/omap-aes.txt
26 +OMAP SoC AES crypto Module
30 +- compatible : Should contain entries for this and backward compatible
32 + - "ti,omap2-aes" for OMAP2.
33 + - "ti,omap3-aes" for OMAP3.
34 + - "ti,omap4-aes" for OMAP4 and AM33XX.
35 + Note that the OMAP2 and 3 versions are compatible (OMAP3 supports
36 + more algorithms) but they are incompatible with OMAP4.
37 +- ti,hwmods: Name of the hwmod associated with the AES module
38 +- reg : Offset and length of the register set for the module
39 +- interrupts : the interrupt-specifier for the AES module.
42 +- dmas: DMA specifiers for tx and rx dma. See the DMA client binding,
43 + Documentation/devicetree/bindings/dma/dma.txt
44 +- dma-names: DMA request names should include "tx" and "rx" if present.
49 + compatible = "ti,omap4-aes";
51 + reg = <0x53500000 0xa0>;
55 + dma-names = "tx", "rx";
57 diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x-bone.dts
58 index 8a9802e..94ee427 100644
59 --- a/arch/arm/boot/dts/am335x-bone.dts
60 +++ b/arch/arm/boot/dts/am335x-bone.dts
69 diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
70 index d59e51c..86463fa 100644
71 --- a/arch/arm/boot/dts/am335x-evm.dts
72 +++ b/arch/arm/boot/dts/am335x-evm.dts
81 diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
82 index d45a330..f577e65 100644
83 --- a/arch/arm/boot/dts/am335x-evmsk.dts
84 +++ b/arch/arm/boot/dts/am335x-evmsk.dts
93 diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
94 index 299710b..2664da9 100644
95 --- a/arch/arm/boot/dts/am33xx.dtsi
96 +++ b/arch/arm/boot/dts/am33xx.dtsi
102 + aes: aes@53500000 {
103 + compatible = "ti,omap4-aes";
105 + reg = <0x53500000 0xa0>;
106 + interrupts = <102>;
109 + dma-names = "tx", "rx";