dt-bindings: Document STM32 CRC bindings
authorFabien DESSENNE <fabien.dessenne@st.com>
Tue, 21 Mar 2017 15:13:27 +0000 (16:13 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 5 Apr 2017 13:58:33 +0000 (21:58 +0800)
Document device tree bindings for the STM32 CRC (crypto CRC32)

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>
Documentation/devicetree/bindings/crypto/st,stm32-crc.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/crypto/st,stm32-crc.txt b/Documentation/devicetree/bindings/crypto/st,stm32-crc.txt
new file mode 100644 (file)
index 0000000..3ba92a5
--- /dev/null
@@ -0,0 +1,16 @@
+* STMicroelectronics STM32 CRC
+
+Required properties:
+- compatible: Should be "st,stm32f7-crc".
+- reg: The address and length of the peripheral registers space
+- clocks: The input clock of the CRC instance
+
+Optional properties: none
+
+Example:
+
+crc: crc@40023000 {
+       compatible = "st,stm32f7-crc";
+       reg = <0x40023000 0x400>;
+       clocks = <&rcc 0 12>;
+};