13b8fc5ddcf21f9b848601b9e319ebbacbe013b0
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / crypto / mv_cesa.txt
1 Marvell Cryptographic Engines And Security Accelerator
2
3 Required properties:
4 - compatible : should be "marvell,orion-crypto"
5 - reg: base physical address of the engine and length of memory mapped
6        region. Can also contain an entry for the SRAM attached to the CESA,
7        but this representation is deprecated and marvell,crypto-srams should
8        be used instead
9 - reg-names: "regs". Can contain an "sram" entry, but this representation
10              is deprecated and marvell,crypto-srams should be used instead
11 - interrupts: interrupt number
12 - clocks: reference to the crypto engines clocks. This property is only
13           required for Dove platforms
14 - marvell,crypto-srams: phandle to crypto SRAM definitions
15
16 Optional properties:
17 - marvell,crypto-sram-size: SRAM size reserved for crypto operations, if not
18                             specified the whole SRAM is used (2KB)
19
20 Examples:
21
22         crypto@30000 {
23                 compatible = "marvell,orion-crypto";
24                 reg = <0x30000 0x10000>;
25                 reg-names = "regs";
26                 interrupts = <22>;
27                 marvell,crypto-srams = <&crypto_sram>;
28                 marvell,crypto-sram-size = <0x600>;
29                 status = "okay";
30         };