1 Add the generic AM33XX SHAM 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-parrent property, documentation fixups]
7 CC: Paul Walmsley <paul@pwsan.com>
8 Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
9 Acked-by: Mark Rutland <mark.rutland@arm.com>
12 .../devicetree/bindings/crypto/omap-sham.txt | 28 ++++++++++++++++++++++
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 | 9 +++++++
17 5 files changed, 49 insertions(+)
18 create mode 100644 Documentation/devicetree/bindings/crypto/omap-sham.txt
21 +++ b/Documentation/devicetree/bindings/crypto/omap-sham.txt
23 +OMAP SoC SHA crypto Module
27 +- compatible : Should contain entries for this and backward compatible
29 + - "ti,omap2-sham" for OMAP2 & OMAP3.
30 + - "ti,omap4-sham" for OMAP4 and AM33XX.
31 + Note that these two versions are incompatible.
32 +- ti,hwmods: Name of the hwmod associated with the SHAM module
33 +- reg : Offset and length of the register set for the module
34 +- interrupts : the interrupt-specifier for the SHAM module.
37 +- dmas: DMA specifiers for the rx dma. See the DMA client binding,
38 + Documentation/devicetree/bindings/dma/dma.txt
39 +- dma-names: DMA request name. Should be "rx" if a dma is present.
43 + sham: sham@53100000 {
44 + compatible = "ti,omap4-sham";
46 + reg = <0x53100000 0x200>;
51 --- a/arch/arm/boot/dts/am335x-bone.dts
52 +++ b/arch/arm/boot/dts/am335x-bone.dts
55 vmmc-supply = <&ldo3_reg>;
61 --- a/arch/arm/boot/dts/am335x-evm.dts
62 +++ b/arch/arm/boot/dts/am335x-evm.dts
65 vmmc-supply = <&vmmc_reg>;
71 --- a/arch/arm/boot/dts/am335x-evmsk.dts
72 +++ b/arch/arm/boot/dts/am335x-evmsk.dts
81 --- a/arch/arm/boot/dts/am33xx.dtsi
82 +++ b/arch/arm/boot/dts/am33xx.dtsi
88 + sham: sham@53100000 {
89 + compatible = "ti,omap4-sham";
91 + reg = <0x53100000 0x200>;