mirror of
https://github.com/torvalds/linux.git
synced 2024-11-19 10:31:48 +00:00
1fa2e9ae1d
We are about to add a new driver to support new features like using the TDMA engine to offload the CPU. Orion, Dove and Kirkwood platforms are already using the mv_cesa driver, but Orion SoCs do not embed the TDMA engine, which means we will have to differentiate them if we want to get TDMA support on Dove and Kirkwood. In the other hand, the migration from the old driver to the new one is not something all people are willing to do without first auditing the new driver. Hence we have to support the new compatible in the mv_cesa driver so that new platforms with updated DTs can still attach their crypto engine device to this driver. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
Marvell Cryptographic Engines And Security Accelerator
|
|
|
|
Required properties:
|
|
- compatible: should be one of the following string
|
|
"marvell,orion-crypto"
|
|
"marvell,kirkwood-crypto"
|
|
"marvell,dove-crypto"
|
|
- reg: base physical address of the engine and length of memory mapped
|
|
region. Can also contain an entry for the SRAM attached to the CESA,
|
|
but this representation is deprecated and marvell,crypto-srams should
|
|
be used instead
|
|
- reg-names: "regs". Can contain an "sram" entry, but this representation
|
|
is deprecated and marvell,crypto-srams should be used instead
|
|
- interrupts: interrupt number
|
|
- clocks: reference to the crypto engines clocks. This property is only
|
|
required for Dove platforms
|
|
- marvell,crypto-srams: phandle to crypto SRAM definitions
|
|
|
|
Optional properties:
|
|
- marvell,crypto-sram-size: SRAM size reserved for crypto operations, if not
|
|
specified the whole SRAM is used (2KB)
|
|
|
|
Examples:
|
|
|
|
crypto@30000 {
|
|
compatible = "marvell,orion-crypto";
|
|
reg = <0x30000 0x10000>;
|
|
reg-names = "regs";
|
|
interrupts = <22>;
|
|
marvell,crypto-srams = <&crypto_sram>;
|
|
marvell,crypto-sram-size = <0x600>;
|
|
status = "okay";
|
|
};
|