aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/devicetree/bindings/crypto')
-rw-r--r--Documentation/devicetree/bindings/crypto/fsl-sec4.txt51
-rw-r--r--Documentation/devicetree/bindings/crypto/mv_cesa.txt20
2 files changed, 71 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/crypto/fsl-sec4.txt b/Documentation/devicetree/bindings/crypto/fsl-sec4.txt
index bf57ecd5d73..bd7ce120bc1 100644
--- a/Documentation/devicetree/bindings/crypto/fsl-sec4.txt
+++ b/Documentation/devicetree/bindings/crypto/fsl-sec4.txt
@@ -9,6 +9,7 @@ Copyright (C) 2008-2011 Freescale Semiconductor Inc.
9 -Run Time Integrity Check (RTIC) Node 9 -Run Time Integrity Check (RTIC) Node
10 -Run Time Integrity Check (RTIC) Memory Node 10 -Run Time Integrity Check (RTIC) Memory Node
11 -Secure Non-Volatile Storage (SNVS) Node 11 -Secure Non-Volatile Storage (SNVS) Node
12 -Secure Non-Volatile Storage (SNVS) Low Power (LP) RTC Node
12 -Full Example 13 -Full Example
13 14
14NOTE: the SEC 4 is also known as Freescale's Cryptographic Accelerator 15NOTE: the SEC 4 is also known as Freescale's Cryptographic Accelerator
@@ -294,6 +295,27 @@ Secure Non-Volatile Storage (SNVS) Node
294 address and length of the SEC4 configuration 295 address and length of the SEC4 configuration
295 registers. 296 registers.
296 297
298 - #address-cells
299 Usage: required
300 Value type: <u32>
301 Definition: A standard property. Defines the number of cells
302 for representing physical addresses in child nodes. Must
303 have a value of 1.
304
305 - #size-cells
306 Usage: required
307 Value type: <u32>
308 Definition: A standard property. Defines the number of cells
309 for representing the size of physical addresses in
310 child nodes. Must have a value of 1.
311
312 - ranges
313 Usage: required
314 Value type: <prop-encoded-array>
315 Definition: A standard property. Specifies the physical address
316 range of the SNVS register space. A triplet that includes
317 the child address, parent address, & length.
318
297 - interrupts 319 - interrupts
298 Usage: required 320 Usage: required
299 Value type: <prop_encoded-array> 321 Value type: <prop_encoded-array>
@@ -314,11 +336,34 @@ EXAMPLE
314 sec_mon@314000 { 336 sec_mon@314000 {
315 compatible = "fsl,sec-v4.0-mon"; 337 compatible = "fsl,sec-v4.0-mon";
316 reg = <0x314000 0x1000>; 338 reg = <0x314000 0x1000>;
339 ranges = <0 0x314000 0x1000>;
317 interrupt-parent = <&mpic>; 340 interrupt-parent = <&mpic>;
318 interrupts = <93 2>; 341 interrupts = <93 2>;
319 }; 342 };
320 343
321===================================================================== 344=====================================================================
345Secure Non-Volatile Storage (SNVS) Low Power (LP) RTC Node
346
347 A SNVS child node that defines SNVS LP RTC.
348
349 - compatible
350 Usage: required
351 Value type: <string>
352 Definition: Must include "fsl,sec-v4.0-mon-rtc-lp".
353
354 - reg
355 Usage: required
356 Value type: <prop-encoded-array>
357 Definition: A standard property. Specifies the physical
358 address and length of the SNVS LP configuration registers.
359
360EXAMPLE
361 sec_mon_rtc_lp@314000 {
362 compatible = "fsl,sec-v4.0-mon-rtc-lp";
363 reg = <0x34 0x58>;
364 };
365
366=====================================================================
322FULL EXAMPLE 367FULL EXAMPLE
323 368
324 crypto: crypto@300000 { 369 crypto: crypto@300000 {
@@ -390,8 +435,14 @@ FULL EXAMPLE
390 sec_mon: sec_mon@314000 { 435 sec_mon: sec_mon@314000 {
391 compatible = "fsl,sec-v4.0-mon"; 436 compatible = "fsl,sec-v4.0-mon";
392 reg = <0x314000 0x1000>; 437 reg = <0x314000 0x1000>;
438 ranges = <0 0x314000 0x1000>;
393 interrupt-parent = <&mpic>; 439 interrupt-parent = <&mpic>;
394 interrupts = <93 2>; 440 interrupts = <93 2>;
441
442 sec_mon_rtc_lp@34 {
443 compatible = "fsl,sec-v4.0-mon-rtc-lp";
444 reg = <0x34 0x58>;
445 };
395 }; 446 };
396 447
397===================================================================== 448=====================================================================
diff --git a/Documentation/devicetree/bindings/crypto/mv_cesa.txt b/Documentation/devicetree/bindings/crypto/mv_cesa.txt
new file mode 100644
index 00000000000..47229b1a594
--- /dev/null
+++ b/Documentation/devicetree/bindings/crypto/mv_cesa.txt
@@ -0,0 +1,20 @@
1Marvell Cryptographic Engines And Security Accelerator
2
3Required properties:
4- compatible : should be "marvell,orion-crypto"
5- reg : base physical address of the engine and length of memory mapped
6 region, followed by base physical address of sram and its memory
7 length
8- reg-names : "regs" , "sram";
9- interrupts : interrupt number
10
11Examples:
12
13 crypto@30000 {
14 compatible = "marvell,orion-crypto";
15 reg = <0x30000 0x10000>,
16 <0x4000000 0x800>;
17 reg-names = "regs" , "sram";
18 interrupts = <22>;
19 status = "okay";
20 };