new file mode 100644
@@ -0,0 +1,35 @@
+OMAP SoC SHA crypto Module
+
+Required properties:
+
+- compatible : Should contain entries for this and backward compatible
+ SHAM versions:
+ - "ti,omap2-sham" for OMAP2 & OMAP3.
+ - "ti,omap4-sham" for OMAP4 and AM33XX.
+ Note that these two versions are incompatible.
+- ti,hwmods: Name of the hwmod associated with the SHAM module
+- reg : Offset and length of the register set for the module
+- interrupt-parent : the phandle for the interrupt controller that
+ services interrupts for this module.
+- interrupts : the interrupt number for the SHAM module.
+
+Optional properties:
+- dmas: DMA controller phandle and DMA request ordered pair.
+ Only one rx pair is valid per SHAM module.
+- dma-names: DMA request name. This string corresponds 1:1 with
+ the ordered pair in dmas. The string naming is to be
+ "rx" for RX request.
+
+Example:
+ /* AM335x */
+ sham: sham@53100000 {
+ compatible = "ti,omap4-sham";
+ ti,hwmods = "sham";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0x53100000 0x200>;
+ interrupt-parent = <&intc>;
+ interrupts = <109>;
+ dmas = <&edma 36>;
+ dma-names = "rx";
+ };
@@ -192,3 +192,7 @@
&edma {
ti,edma-xbar-event-map = <32 12>;
};
+
+&sham {
+ status = "okay";
+};
@@ -259,3 +259,7 @@
reg = <0>;
};
};
+
+&sham {
+ status = "okay";
+};
@@ -248,3 +248,7 @@
};
};
};
+
+&sham {
+ status = "okay";
+};
@@ -455,5 +455,17 @@
mac-address = [ 00 00 00 00 00 00 ];
};
};
+
+ sham: sham@53100000 {
+ compatible = "ti,omap4-sham";
+ ti,hwmods = "sham";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0x53100000 0x200>;
+ interrupt-parent = <&intc>;
+ interrupts = <109>;
+ dmas = <&edma 36>;
+ dma-names = "rx";
+ };
};
};