xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/crypto/mv_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- reg: base physical address of the engine and length of memory mapped
9*4882a593Smuzhiyun       region. Can also contain an entry for the SRAM attached to the CESA,
10*4882a593Smuzhiyun       but this representation is deprecated and marvell,crypto-srams should
11*4882a593Smuzhiyun       be used instead
12*4882a593Smuzhiyun- reg-names: "regs". Can contain an "sram" entry, but this representation
13*4882a593Smuzhiyun	     is deprecated and marvell,crypto-srams should be used instead
14*4882a593Smuzhiyun- interrupts: interrupt number
15*4882a593Smuzhiyun- clocks: reference to the crypto engines clocks. This property is only
16*4882a593Smuzhiyun	  required for Dove platforms
17*4882a593Smuzhiyun- marvell,crypto-srams: phandle to crypto SRAM definitions
18*4882a593Smuzhiyun
19*4882a593SmuzhiyunOptional properties:
20*4882a593Smuzhiyun- marvell,crypto-sram-size: SRAM size reserved for crypto operations, if not
21*4882a593Smuzhiyun			    specified the whole SRAM is used (2KB)
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunExamples:
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun	crypto@30000 {
26*4882a593Smuzhiyun		compatible = "marvell,orion-crypto";
27*4882a593Smuzhiyun		reg = <0x30000 0x10000>;
28*4882a593Smuzhiyun		reg-names = "regs";
29*4882a593Smuzhiyun		interrupts = <22>;
30*4882a593Smuzhiyun		marvell,crypto-srams = <&crypto_sram>;
31*4882a593Smuzhiyun		marvell,crypto-sram-size = <0x600>;
32*4882a593Smuzhiyun	};
33