Skip to content

Commit 7eb9c5d

Browse files
Vakul Gargherbertx
authored andcommitted
crypto: caam - Added property fsl,sec-era in SEC4.0 device tree binding.
This new property defines the era of the particular SEC version. The compatible property in device tree "crypto" node has been updated not to contain SEC era numbers. Signed-off-by: Vakul Garg <vakul@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent 3e8afe3 commit 7eb9c5d

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

‎Documentation/devicetree/bindings/crypto/fsl-sec4.txt‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,13 @@ PROPERTIES
5454
- compatible
5555
Usage: required
5656
Value type: <string>
57-
Definition: Must include "fsl,sec-v4.0". Also includes SEC
58-
ERA versions (optional) with which the device is compatible.
57+
Definition: Must include "fsl,sec-v4.0"
58+
59+
- fsl,sec-era
60+
Usage: optional
61+
Value type: <u32>
62+
Definition: A standard property. Define the 'ERA' of the SEC
63+
device.
5964

6065
- #address-cells
6166
Usage: required
@@ -107,7 +112,8 @@ PROPERTIES
107112

108113
EXAMPLE
109114
crypto@300000 {
110-
compatible = "fsl,sec-v4.0", "fsl,sec-era-v2.0";
115+
compatible = "fsl,sec-v4.0";
116+
fsl,sec-era = <2>;
111117
#address-cells = <1>;
112118
#size-cells = <1>;
113119
reg = <0x300000 0x10000>;

0 commit comments

Comments
 (0)