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