Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: AM33XX: Add SHAM data and documentation

Add the generic AM33XX SHAM module's device tree data and
enable it for the am335x-evm, am335x-evmsk, and am335x-bone
platforms. Also add Documentation file describing the data
for the SHAM module.

Cc: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Signed-off-by: Joel Fernandes <joelf@ti.com>
[joelf@ti.com: Dropped interrupt-parent property, documentation fixups]
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>

authored by

Mark A. Greer and committed by
Benoit Cousson
f8302e1e 806e9431

+49
+28
Documentation/devicetree/bindings/crypto/omap-sham.txt
··· 1 + OMAP SoC SHA crypto Module 2 + 3 + Required properties: 4 + 5 + - compatible : Should contain entries for this and backward compatible 6 + SHAM versions: 7 + - "ti,omap2-sham" for OMAP2 & OMAP3. 8 + - "ti,omap4-sham" for OMAP4 and AM33XX. 9 + Note that these two versions are incompatible. 10 + - ti,hwmods: Name of the hwmod associated with the SHAM module 11 + - reg : Offset and length of the register set for the module 12 + - interrupts : the interrupt-specifier for the SHAM module. 13 + 14 + Optional properties: 15 + - dmas: DMA specifiers for the rx dma. See the DMA client binding, 16 + Documentation/devicetree/bindings/dma/dma.txt 17 + - dma-names: DMA request name. Should be "rx" if a dma is present. 18 + 19 + Example: 20 + /* AM335x */ 21 + sham: sham@53100000 { 22 + compatible = "ti,omap4-sham"; 23 + ti,hwmods = "sham"; 24 + reg = <0x53100000 0x200>; 25 + interrupts = <109>; 26 + dmas = <&edma 36>; 27 + dma-names = "rx"; 28 + };
+4
arch/arm/boot/dts/am335x-bone.dts
··· 19 19 &mmc1 { 20 20 vmmc-supply = <&ldo3_reg>; 21 21 }; 22 + 23 + &sham { 24 + status = "okay"; 25 + };
+4
arch/arm/boot/dts/am335x-evm.dts
··· 523 523 vmmc-supply = <&vmmc_reg>; 524 524 bus-width = <4>; 525 525 }; 526 + 527 + &sham { 528 + status = "okay"; 529 + };
+4
arch/arm/boot/dts/am335x-evmsk.dts
··· 425 425 vmmc-supply = <&vmmc_reg>; 426 426 bus-width = <4>; 427 427 }; 428 + 429 + &sham { 430 + status = "okay"; 431 + };
+9
arch/arm/boot/dts/am33xx.dtsi
··· 712 712 #size-cells = <1>; 713 713 status = "disabled"; 714 714 }; 715 + 716 + sham: sham@53100000 { 717 + compatible = "ti,omap4-sham"; 718 + ti,hwmods = "sham"; 719 + reg = <0x53100000 0x200>; 720 + interrupts = <109>; 721 + dmas = <&edma 36>; 722 + dma-names = "rx"; 723 + }; 715 724 }; 716 725 };