1ceced4acSBenjamin Gaignard# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2ceced4acSBenjamin Gaignard%YAML 1.2 3ceced4acSBenjamin Gaignard--- 4ceced4acSBenjamin Gaignard$id: http://devicetree.org/schemas/crypto/st,stm32-hash.yaml# 5ceced4acSBenjamin Gaignard$schema: http://devicetree.org/meta-schemas/core.yaml# 6ceced4acSBenjamin Gaignard 7*84e85359SKrzysztof Kozlowskititle: STMicroelectronics STM32 HASH 8ceced4acSBenjamin Gaignard 9ceced4acSBenjamin Gaignardmaintainers: 10f4eedebdSPatrice Chotard - Lionel Debieve <lionel.debieve@foss.st.com> 11ceced4acSBenjamin Gaignard 12ceced4acSBenjamin Gaignardproperties: 13ceced4acSBenjamin Gaignard compatible: 14ceced4acSBenjamin Gaignard enum: 15ceced4acSBenjamin Gaignard - st,stm32f456-hash 16ceced4acSBenjamin Gaignard - st,stm32f756-hash 17ceced4acSBenjamin Gaignard 18ceced4acSBenjamin Gaignard reg: 19ceced4acSBenjamin Gaignard maxItems: 1 20ceced4acSBenjamin Gaignard 21ceced4acSBenjamin Gaignard clocks: 22ceced4acSBenjamin Gaignard maxItems: 1 23ceced4acSBenjamin Gaignard 24ceced4acSBenjamin Gaignard interrupts: 25ceced4acSBenjamin Gaignard maxItems: 1 26ceced4acSBenjamin Gaignard 27ceced4acSBenjamin Gaignard resets: 28ceced4acSBenjamin Gaignard maxItems: 1 29ceced4acSBenjamin Gaignard 30ceced4acSBenjamin Gaignard dmas: 31ceced4acSBenjamin Gaignard maxItems: 1 32ceced4acSBenjamin Gaignard 33ceced4acSBenjamin Gaignard dma-names: 34ceced4acSBenjamin Gaignard items: 35ceced4acSBenjamin Gaignard - const: in 36ceced4acSBenjamin Gaignard 37ceced4acSBenjamin Gaignard dma-maxburst: 38ceced4acSBenjamin Gaignard description: Set number of maximum dma burst supported 393d21a460SRob Herring $ref: /schemas/types.yaml#/definitions/uint32 403d21a460SRob Herring minimum: 0 413d21a460SRob Herring maximum: 2 423d21a460SRob Herring default: 0 43ceced4acSBenjamin Gaignard 44ceced4acSBenjamin Gaignardrequired: 45ceced4acSBenjamin Gaignard - compatible 46ceced4acSBenjamin Gaignard - reg 47ceced4acSBenjamin Gaignard - clocks 48ceced4acSBenjamin Gaignard - interrupts 49ceced4acSBenjamin Gaignard 50ceced4acSBenjamin GaignardadditionalProperties: false 51ceced4acSBenjamin Gaignard 52ceced4acSBenjamin Gaignardexamples: 53ceced4acSBenjamin Gaignard - | 54ceced4acSBenjamin Gaignard #include <dt-bindings/interrupt-controller/arm-gic.h> 55ceced4acSBenjamin Gaignard #include <dt-bindings/clock/stm32mp1-clks.h> 56ceced4acSBenjamin Gaignard #include <dt-bindings/reset/stm32mp1-resets.h> 57ceced4acSBenjamin Gaignard hash@54002000 { 58ceced4acSBenjamin Gaignard compatible = "st,stm32f756-hash"; 59ceced4acSBenjamin Gaignard reg = <0x54002000 0x400>; 60ceced4acSBenjamin Gaignard interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>; 61ceced4acSBenjamin Gaignard clocks = <&rcc HASH1>; 62ceced4acSBenjamin Gaignard resets = <&rcc HASH1_R>; 63ceced4acSBenjamin Gaignard dmas = <&mdma1 31 0x10 0x1000A02 0x0 0x0>; 64ceced4acSBenjamin Gaignard dma-names = "in"; 65ceced4acSBenjamin Gaignard dma-maxburst = <2>; 66ceced4acSBenjamin Gaignard }; 67ceced4acSBenjamin Gaignard 68ceced4acSBenjamin Gaignard... 69