-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto: picoxcell - support for device tree matching
Allow the crypto engines to be matched from device tree bindings. Cc: devicetree-discuss@lists.ozlabs.org Cc: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Jamie Iles <jamie@jamieiles.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
- Loading branch information
Jamie Iles
authored and
Herbert Xu
committed
Aug 10, 2011
1 parent
4efae8c
commit 30343ef
Showing
2 changed files
with
53 additions
and
6 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
Documentation/devicetree/bindings/crypto/picochip-spacc.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Picochip picoXcell SPAcc (Security Protocol Accelerator) bindings | ||
|
||
Picochip picoXcell devices contain crypto offload engines that may be used for | ||
IPSEC and femtocell layer 2 ciphering. | ||
|
||
Required properties: | ||
- compatible : "picochip,spacc-ipsec" for the IPSEC offload engine | ||
"picochip,spacc-l2" for the femtocell layer 2 ciphering engine. | ||
- reg : Offset and length of the register set for this device | ||
- interrupt-parent : The interrupt controller that controls the SPAcc | ||
interrupt. | ||
- interrupts : The interrupt line from the SPAcc. | ||
- ref-clock : The input clock that drives the SPAcc. | ||
|
||
Example SPAcc node: | ||
|
||
spacc@10000 { | ||
compatible = "picochip,spacc-ipsec"; | ||
reg = <0x100000 0x10000>; | ||
interrupt-parent = <&vic0>; | ||
interrupts = <24>; | ||
ref-clock = <&ipsec_clk>, "ref"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters