^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) Marvell Cryptographic Engines And Security Accelerator
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) - compatible: should be one of the following string
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) "marvell,orion-crypto"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) "marvell,kirkwood-crypto"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) "marvell,dove-crypto"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) "marvell,armada-370-crypto"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) "marvell,armada-xp-crypto"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) "marvell,armada-375-crypto"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) "marvell,armada-38x-crypto"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) - reg: base physical address of the engine and length of memory mapped
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) region. Can also contain an entry for the SRAM attached to the CESA,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) but this representation is deprecated and marvell,crypto-srams should
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) be used instead
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) - reg-names: "regs". Can contain an "sram" entry, but this representation
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) is deprecated and marvell,crypto-srams should be used instead
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) - interrupts: interrupt number
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) - clocks: reference to the crypto engines clocks. This property is not
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) required for orion and kirkwood platforms
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) - clock-names: "cesaX" and "cesazX", X should be replaced by the crypto engine
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) id.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) This property is not required for the orion and kirkwoord
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) platforms.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) "cesazX" clocks are not required on armada-370 platforms
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) - marvell,crypto-srams: phandle to crypto SRAM definitions
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) - marvell,crypto-sram-size: SRAM size reserved for crypto operations, if not
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) specified the whole SRAM is used (2KB)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) Examples:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) crypto@90000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) compatible = "marvell,armada-xp-crypto";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) reg = <0x90000 0x10000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) reg-names = "regs";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) interrupts = <48>, <49>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) clocks = <&gateclk 23>, <&gateclk 23>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) clock-names = "cesa0", "cesa1";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) marvell,crypto-srams = <&crypto_sram0>, <&crypto_sram1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) marvell,crypto-sram-size = <0x600>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) };