aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/devicetree/bindings/crypto/omap-sham.txt28
-rw-r--r--arch/arm/boot/dts/am335x-bone.dts4
-rw-r--r--arch/arm/boot/dts/am335x-evm.dts4
-rw-r--r--arch/arm/boot/dts/am335x-evmsk.dts4
-rw-r--r--arch/arm/boot/dts/am33xx.dtsi9
5 files changed, 49 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/crypto/omap-sham.txt b/Documentation/devicetree/bindings/crypto/omap-sham.txt
new file mode 100644
index 000000000000..f839acd6f0ee
--- /dev/null
+++ b/Documentation/devicetree/bindings/crypto/omap-sham.txt
@@ -0,0 +1,28 @@
1OMAP SoC SHA crypto Module
2
3Required 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
14Optional 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
19Example:
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 };
diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x-bone.dts
index 0d6334875df8..8a9802ee6380 100644
--- a/arch/arm/boot/dts/am335x-bone.dts
+++ b/arch/arm/boot/dts/am335x-bone.dts
@@ -19,3 +19,7 @@
19&mmc1 { 19&mmc1 {
20 vmmc-supply = <&ldo3_reg>; 20 vmmc-supply = <&ldo3_reg>;
21}; 21};
22
23&sham {
24 status = "okay";
25};
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index 028ca096d18d..09786efc25c1 100644
--- a/arch/arm/boot/dts/am335x-evm.dts
+++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -523,3 +523,7 @@
523 vmmc-supply = <&vmmc_reg>; 523 vmmc-supply = <&vmmc_reg>;
524 bus-width = <4>; 524 bus-width = <4>;
525}; 525};
526
527&sham {
528 status = "okay";
529};
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index 563a2b136e0e..08d5cd9e6457 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -425,3 +425,7 @@
425 vmmc-supply = <&vmmc_reg>; 425 vmmc-supply = <&vmmc_reg>;
426 bus-width = <4>; 426 bus-width = <4>;
427}; 427};
428
429&sham {
430 status = "okay";
431};
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 8aabaa0eb264..5f114a7f9484 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -712,5 +712,14 @@
712 #size-cells = <1>; 712 #size-cells = <1>;
713 status = "disabled"; 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};