Path: blob/master/Documentation/devicetree/bindings/crypto/marvell,orion-crypto.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/crypto/marvell,orion-crypto.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Marvell Cryptographic Engines And Security Accelerator78maintainers:9- Andrew Lunn <andrew@lunn.ch>10- Boris Brezillon <bbrezillon@kernel.org>1112description: |13Marvell Cryptographic Engines And Security Accelerator1415properties:16compatible:17enum:18- marvell,armada-370-crypto19- marvell,armada-xp-crypto20- marvell,armada-375-crypto21- marvell,armada-38x-crypto22- marvell,dove-crypto23- marvell,kirkwood-crypto24- marvell,orion-crypto2526reg:27minItems: 128items:29- description: Registers region30- description: SRAM region31deprecated: true3233reg-names:34minItems: 135items:36- const: regs37- const: sram38deprecated: true3940interrupts:41description: One interrupt for each CESA engine42minItems: 143maxItems: 24445clocks:46description: One or two clocks for each CESA engine47minItems: 148maxItems: 44950clock-names:51minItems: 152items:53- const: cesa054- const: cesa155- const: cesaz056- const: cesaz15758marvell,crypto-srams:59description: Phandle(s) to crypto SRAM.60$ref: /schemas/types.yaml#/definitions/phandle-array61minItems: 162maxItems: 263items:64maxItems: 16566marvell,crypto-sram-size:67description: SRAM size reserved for crypto operations.68$ref: /schemas/types.yaml#/definitions/uint3269default: 0x8007071required:72- compatible73- reg74- reg-names75- interrupts76- marvell,crypto-srams7778allOf:79- if:80not:81properties:82compatible:83enum:84- marvell,kirkwood-crypto85- marvell,orion-crypto86then:87required:88- clocks89- if:90properties:91compatible:92contains:93enum:94- marvell,armada-370-crypto95- marvell,armada-375-crypto96- marvell,armada-38x-crypto97- marvell,armada-xp-crypto98then:99required:100- clock-names101- if:102properties:103compatible:104contains:105enum:106- marvell,armada-375-crypto107- marvell,armada-38x-crypto108then:109properties:110clocks:111minItems: 4112clock-names:113minItems: 4114else:115properties:116clocks:117maxItems: 2118clock-names:119maxItems: 2120121additionalProperties: false122123examples:124- |125crypto@30000 {126compatible = "marvell,orion-crypto";127reg = <0x30000 0x10000>;128reg-names = "regs";129interrupts = <22>;130marvell,crypto-srams = <&crypto_sram>;131marvell,crypto-sram-size = <0x600>;132};133134135