brintos

brintos / linux-shallow public Read only

0
0
Text · 1.4 KiB · 41df80b Raw
75 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/crypto/fsl-imx-sahara.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Freescale SAHARA Cryptographic Accelerator8 9maintainers:10  - Steffen Trumtrar <s.trumtrar@pengutronix.de>11 12properties:13  compatible:14    enum:15      - fsl,imx27-sahara16      - fsl,imx53-sahara17 18  reg:19    maxItems: 120 21  interrupts:22    items:23      - description: SAHARA Interrupt for Host 024      - description: SAHARA Interrupt for Host 125    minItems: 126 27  clocks:28    items:29      - description: Sahara IPG clock30      - description: Sahara AHB clock31 32  clock-names:33    items:34      - const: ipg35      - const: ahb36 37required:38  - compatible39  - reg40  - interrupts41  - clocks42  - clock-names43 44allOf:45  - if:46      properties:47        compatible:48          contains:49            enum:50              - fsl,imx53-sahara51    then:52      properties:53        interrupts:54          minItems: 255          maxItems: 256    else:57      properties:58        interrupts:59          maxItems: 160 61additionalProperties: false62 63examples:64  - |65    #include <dt-bindings/clock/imx27-clock.h>66 67    crypto@10025000 {68        compatible = "fsl,imx27-sahara";69        reg = <0x10025000 0x800>;70        interrupts = <75>;71        clocks = <&clks IMX27_CLK_SAHARA_IPG_GATE>,72                 <&clks IMX27_CLK_SAHARA_AHB_GATE>;73        clock-names = "ipg", "ahb";74    };75