dt-bindings: crypto: add ARTPEC crypto
authorLars Persson <lars.persson@axis.com>
Thu, 10 Aug 2017 12:53:51 +0000 (14:53 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 22 Aug 2017 06:54:51 +0000 (14:54 +0800)
Document the device tree bindings for the ARTPEC crypto accelerator on
ARTPEC-6 and ARTPEC-7 SoCs.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lars Persson <larper@axis.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Documentation/devicetree/bindings/crypto/artpec6-crypto.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/crypto/artpec6-crypto.txt b/Documentation/devicetree/bindings/crypto/artpec6-crypto.txt
new file mode 100644 (file)
index 0000000..d9cca48
--- /dev/null
@@ -0,0 +1,16 @@
+Axis crypto engine with PDMA interface.
+
+Required properties:
+- compatible : Should be one of the following strings:
+       "axis,artpec6-crypto" for the version in the Axis ARTPEC-6 SoC
+       "axis,artpec7-crypto" for the version in the Axis ARTPEC-7 SoC.
+- reg: Base address and size for the PDMA register area.
+- interrupts: Interrupt handle for the PDMA interrupt line.
+
+Example:
+
+crypto@f4264000 {
+       compatible = "axis,artpec6-crypto";
+       reg = <0xf4264000 0x1000>;
+       interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
+};