brintos

brintos / linux-shallow public Read only

0
0
Text · 1.8 KiB · 8223184 Raw
95 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/st,stm32-hash.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: STMicroelectronics STM32 HASH8 9description: The STM32 HASH block is built on the HASH block found in10  the STn8820 SoC introduced in 2007, and subsequently used in the U850011  SoC in 2010.12 13maintainers:14  - Lionel Debieve <lionel.debieve@foss.st.com>15 16properties:17  compatible:18    enum:19      - st,stn8820-hash20      - stericsson,ux500-hash21      - st,stm32f456-hash22      - st,stm32f756-hash23      - st,stm32mp13-hash24 25  reg:26    maxItems: 127 28  clocks:29    maxItems: 130 31  interrupts:32    maxItems: 133 34  resets:35    maxItems: 136 37  dmas:38    maxItems: 139 40  dma-names:41    items:42      - const: in43 44  dma-maxburst:45    description: Set number of maximum dma burst supported46    $ref: /schemas/types.yaml#/definitions/uint3247    minimum: 048    maximum: 249    default: 050 51  power-domains:52    maxItems: 153 54  access-controllers:55    minItems: 156    maxItems: 257 58required:59  - compatible60  - reg61  - clocks62 63allOf:64  - if:65      properties:66        compatible:67          items:68            const: stericsson,ux500-hash69    then:70      properties:71        interrupts: false72    else:73      required:74        - interrupts75 76additionalProperties: false77 78examples:79  - |80    #include <dt-bindings/interrupt-controller/arm-gic.h>81    #include <dt-bindings/clock/stm32mp1-clks.h>82    #include <dt-bindings/reset/stm32mp1-resets.h>83    hash@54002000 {84      compatible = "st,stm32f756-hash";85      reg = <0x54002000 0x400>;86      interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;87      clocks = <&rcc HASH1>;88      resets = <&rcc HASH1_R>;89      dmas = <&mdma1 31 0x10 0x1000A02 0x0 0x0>;90      dma-names = "in";91      dma-maxburst = <2>;92    };93 94...95