xref: /linux/Documentation/devicetree/bindings/crypto/marvell-cesa.txt (revision 2df6bb5d8b22bc06a6ea83e8b2a6bcf3bb445304)
1*2df6bb5dSBoris BREZILLONMarvell Cryptographic Engines And Security Accelerator
2*2df6bb5dSBoris BREZILLON
3*2df6bb5dSBoris BREZILLONRequired properties:
4*2df6bb5dSBoris BREZILLON- compatible: should be one of the following string
5*2df6bb5dSBoris BREZILLON	      "marvell,orion-crypto"
6*2df6bb5dSBoris BREZILLON	      "marvell,kirkwood-crypto"
7*2df6bb5dSBoris BREZILLON	      "marvell,dove-crypto"
8*2df6bb5dSBoris BREZILLON	      "marvell,armada-370-crypto"
9*2df6bb5dSBoris BREZILLON	      "marvell,armada-xp-crypto"
10*2df6bb5dSBoris BREZILLON	      "marvell,armada-375-crypto"
11*2df6bb5dSBoris BREZILLON	      "marvell,armada-38x-crypto"
12*2df6bb5dSBoris BREZILLON- reg: base physical address of the engine and length of memory mapped
13*2df6bb5dSBoris BREZILLON       region. Can also contain an entry for the SRAM attached to the CESA,
14*2df6bb5dSBoris BREZILLON       but this representation is deprecated and marvell,crypto-srams should
15*2df6bb5dSBoris BREZILLON       be used instead
16*2df6bb5dSBoris BREZILLON- reg-names: "regs". Can contain an "sram" entry, but this representation
17*2df6bb5dSBoris BREZILLON	     is deprecated and marvell,crypto-srams should be used instead
18*2df6bb5dSBoris BREZILLON- interrupts: interrupt number
19*2df6bb5dSBoris BREZILLON- clocks: reference to the crypto engines clocks. This property is not
20*2df6bb5dSBoris BREZILLON	  required for orion and kirkwood platforms
21*2df6bb5dSBoris BREZILLON- clock-names: "cesaX" and "cesazX", X should be replaced by the crypto engine
22*2df6bb5dSBoris BREZILLON	       id.
23*2df6bb5dSBoris BREZILLON	       This property is not required for the orion and kirkwoord
24*2df6bb5dSBoris BREZILLON	       platforms.
25*2df6bb5dSBoris BREZILLON	       "cesazX" clocks are not required on armada-370 platforms
26*2df6bb5dSBoris BREZILLON- marvell,crypto-srams: phandle to crypto SRAM definitions
27*2df6bb5dSBoris BREZILLON
28*2df6bb5dSBoris BREZILLONOptional properties:
29*2df6bb5dSBoris BREZILLON- marvell,crypto-sram-size: SRAM size reserved for crypto operations, if not
30*2df6bb5dSBoris BREZILLON			    specified the whole SRAM is used (2KB)
31*2df6bb5dSBoris BREZILLON
32*2df6bb5dSBoris BREZILLON
33*2df6bb5dSBoris BREZILLONExamples:
34*2df6bb5dSBoris BREZILLON
35*2df6bb5dSBoris BREZILLON	crypto@90000 {
36*2df6bb5dSBoris BREZILLON		compatible = "marvell,armada-xp-crypto";
37*2df6bb5dSBoris BREZILLON		reg = <0x90000 0x10000>;
38*2df6bb5dSBoris BREZILLON		reg-names = "regs";
39*2df6bb5dSBoris BREZILLON		interrupts = <48>, <49>;
40*2df6bb5dSBoris BREZILLON		clocks = <&gateclk 23>, <&gateclk 23>;
41*2df6bb5dSBoris BREZILLON		clock-names = "cesa0", "cesa1";
42*2df6bb5dSBoris BREZILLON		marvell,crypto-srams = <&crypto_sram0>, <&crypto_sram1>;
43*2df6bb5dSBoris BREZILLON		marvell,crypto-sram-size = <0x600>;
44*2df6bb5dSBoris BREZILLON		status = "okay";
45*2df6bb5dSBoris BREZILLON	};
46