Skip to content

Commit

Permalink
crypto: caam - Added property fsl,sec-era in SEC4.0 device tree binding.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
Vakul Garg authored and herbertx committed Feb 4, 2013
1 parent 3e8afe3 commit 7eb9c5d
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Documentation/devicetree/bindings/crypto/fsl-sec4.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,13 @@ PROPERTIES
- compatible
Usage: required
Value type: <string>
Definition: Must include "fsl,sec-v4.0". Also includes SEC
ERA versions (optional) with which the device is compatible.
Definition: Must include "fsl,sec-v4.0"

- fsl,sec-era
Usage: optional
Value type: <u32>
Definition: A standard property. Define the 'ERA' of the SEC
device.

- #address-cells
Usage: required
Expand Down Expand Up @@ -107,7 +112,8 @@ PROPERTIES

EXAMPLE
crypto@300000 {
compatible = "fsl,sec-v4.0", "fsl,sec-era-v2.0";
compatible = "fsl,sec-v4.0";
fsl,sec-era = <2>;
#address-cells = <1>;
#size-cells = <1>;
reg = <0x300000 0x10000>;
Expand Down

0 comments on commit 7eb9c5d

Please sign in to comment.