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