xref: /openbmc/linux/Documentation/devicetree/bindings/crypto/inside-secure-safexcel.txt (revision 3eb66e91a25497065c5322b1268cbc3953642227)
10f89b39bSAntoine TénartInside Secure SafeXcel cryptographic engine
20f89b39bSAntoine Ténart
30f89b39bSAntoine TénartRequired properties:
4*6cdc06d6SAntoine Tenart- compatible: Should be "inside-secure,safexcel-eip197b",
5*6cdc06d6SAntoine Tenart	      "inside-secure,safexcel-eip197d" or
6bfda74adSAntoine Tenart              "inside-secure,safexcel-eip97ies".
70f89b39bSAntoine Ténart- reg: Base physical address of the engine and length of memory mapped region.
80f89b39bSAntoine Ténart- interrupts: Interrupt numbers for the rings and engine.
90f89b39bSAntoine Ténart- interrupt-names: Should be "ring0", "ring1", "ring2", "ring3", "eip", "mem".
100f89b39bSAntoine Ténart
110f89b39bSAntoine TénartOptional properties:
121d17cbfbSGregory CLEMENT- clocks: Reference to the crypto engine clocks, the second clock is
131d17cbfbSGregory CLEMENT          needed for the Armada 7K/8K SoCs.
141d17cbfbSGregory CLEMENT- clock-names: mandatory if there is a second clock, in this case the
151d17cbfbSGregory CLEMENT               name must be "core" for the first clock and "reg" for
161d17cbfbSGregory CLEMENT               the second one.
170f89b39bSAntoine Ténart
18bfda74adSAntoine TenartBackward compatibility:
19bfda74adSAntoine TenartTwo compatibles are kept for backward compatibility, but shouldn't be used for
20bfda74adSAntoine Tenartnew submissions:
21bfda74adSAntoine Tenart- "inside-secure,safexcel-eip197" is equivalent to
22bfda74adSAntoine Tenart  "inside-secure,safexcel-eip197b".
23bfda74adSAntoine Tenart- "inside-secure,safexcel-eip97" is equivalent to
24bfda74adSAntoine Tenart  "inside-secure,safexcel-eip97ies".
25bfda74adSAntoine Tenart
260f89b39bSAntoine TénartExample:
270f89b39bSAntoine Ténart
280f89b39bSAntoine Ténart	crypto: crypto@800000 {
29bfda74adSAntoine Tenart		compatible = "inside-secure,safexcel-eip197b";
300f89b39bSAntoine Ténart		reg = <0x800000 0x200000>;
310f89b39bSAntoine Ténart		interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>,
320f89b39bSAntoine Ténart			     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
330f89b39bSAntoine Ténart			     <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
340f89b39bSAntoine Ténart			     <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
350f89b39bSAntoine Ténart			     <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
360f89b39bSAntoine Ténart			     <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
370f89b39bSAntoine Ténart		interrupt-names = "mem", "ring0", "ring1", "ring2", "ring3",
380f89b39bSAntoine Ténart				  "eip";
390f89b39bSAntoine Ténart		clocks = <&cpm_syscon0 1 26>;
400f89b39bSAntoine Ténart	};
41