summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/crypto/st,stm32-cryp.txt
diff options
context:
space:
mode:
authorFabien DESSENNE <fabien.dessenne@st.com>2017-10-19 17:10:29 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2017-11-29 16:43:41 +1100
commitf82f59cf665562aa1ce6097827d958382724dce4 (patch)
treed7d56e7621093762aa952a8543803ef1f29ecdbf /Documentation/devicetree/bindings/crypto/st,stm32-cryp.txt
parent5c6ac1d4f8fbdbed65dbeb8cf149d736409d16a1 (diff)
dt-bindings: Document STM32 CRYP bindings
Document device tree bindings for the STM32 CRYP. Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Documentation/devicetree/bindings/crypto/st,stm32-cryp.txt')
-rw-r--r--Documentation/devicetree/bindings/crypto/st,stm32-cryp.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/crypto/st,stm32-cryp.txt b/Documentation/devicetree/bindings/crypto/st,stm32-cryp.txt
new file mode 100644
index 000000000000..970487fa40b8
--- /dev/null
+++ b/Documentation/devicetree/bindings/crypto/st,stm32-cryp.txt
@@ -0,0 +1,19 @@
+* STMicroelectronics STM32 CRYP
+
+Required properties:
+- compatible: Should be "st,stm32f756-cryp".
+- reg: The address and length of the peripheral registers space
+- clocks: The input clock of the CRYP instance
+- interrupts: The CRYP interrupt
+
+Optional properties:
+- resets: The input reset of the CRYP instance
+
+Example:
+crypto@50060000 {
+ compatible = "st,stm32f756-cryp";
+ reg = <0x50060000 0x400>;
+ interrupts = <79>;
+ clocks = <&rcc 0 STM32F7_AHB2_CLOCK(CRYP)>;
+ resets = <&rcc STM32F7_AHB2_RESET(CRYP)>;
+};