16be33864SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 26be33864SEmmanuel Vadot%YAML 1.2 36be33864SEmmanuel Vadot--- 46be33864SEmmanuel Vadot$id: http://devicetree.org/schemas/crypto/fsl-imx-sahara.yaml# 56be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 66be33864SEmmanuel Vadot 7*84943d6fSEmmanuel Vadottitle: Freescale SAHARA Cryptographic Accelerator 86be33864SEmmanuel Vadot 96be33864SEmmanuel Vadotmaintainers: 106be33864SEmmanuel Vadot - Steffen Trumtrar <s.trumtrar@pengutronix.de> 116be33864SEmmanuel Vadot 126be33864SEmmanuel Vadotproperties: 136be33864SEmmanuel Vadot compatible: 146be33864SEmmanuel Vadot enum: 156be33864SEmmanuel Vadot - fsl,imx27-sahara 166be33864SEmmanuel Vadot - fsl,imx53-sahara 176be33864SEmmanuel Vadot 186be33864SEmmanuel Vadot reg: 196be33864SEmmanuel Vadot maxItems: 1 206be33864SEmmanuel Vadot 216be33864SEmmanuel Vadot interrupts: 22*84943d6fSEmmanuel Vadot items: 23*84943d6fSEmmanuel Vadot - description: SAHARA Interrupt for Host 0 24*84943d6fSEmmanuel Vadot - description: SAHARA Interrupt for Host 1 25*84943d6fSEmmanuel Vadot minItems: 1 26*84943d6fSEmmanuel Vadot 27*84943d6fSEmmanuel Vadot clocks: 28*84943d6fSEmmanuel Vadot items: 29*84943d6fSEmmanuel Vadot - description: Sahara IPG clock 30*84943d6fSEmmanuel Vadot - description: Sahara AHB clock 31*84943d6fSEmmanuel Vadot 32*84943d6fSEmmanuel Vadot clock-names: 33*84943d6fSEmmanuel Vadot items: 34*84943d6fSEmmanuel Vadot - const: ipg 35*84943d6fSEmmanuel Vadot - const: ahb 366be33864SEmmanuel Vadot 376be33864SEmmanuel Vadotrequired: 386be33864SEmmanuel Vadot - compatible 396be33864SEmmanuel Vadot - reg 406be33864SEmmanuel Vadot - interrupts 41*84943d6fSEmmanuel Vadot - clocks 42*84943d6fSEmmanuel Vadot - clock-names 43*84943d6fSEmmanuel Vadot 44*84943d6fSEmmanuel VadotallOf: 45*84943d6fSEmmanuel Vadot - if: 46*84943d6fSEmmanuel Vadot properties: 47*84943d6fSEmmanuel Vadot compatible: 48*84943d6fSEmmanuel Vadot contains: 49*84943d6fSEmmanuel Vadot enum: 50*84943d6fSEmmanuel Vadot - fsl,imx53-sahara 51*84943d6fSEmmanuel Vadot then: 52*84943d6fSEmmanuel Vadot properties: 53*84943d6fSEmmanuel Vadot interrupts: 54*84943d6fSEmmanuel Vadot minItems: 2 55*84943d6fSEmmanuel Vadot maxItems: 2 56*84943d6fSEmmanuel Vadot else: 57*84943d6fSEmmanuel Vadot properties: 58*84943d6fSEmmanuel Vadot interrupts: 59*84943d6fSEmmanuel Vadot maxItems: 1 606be33864SEmmanuel Vadot 616be33864SEmmanuel VadotadditionalProperties: false 626be33864SEmmanuel Vadot 636be33864SEmmanuel Vadotexamples: 646be33864SEmmanuel Vadot - | 65*84943d6fSEmmanuel Vadot #include <dt-bindings/clock/imx27-clock.h> 66*84943d6fSEmmanuel Vadot 676be33864SEmmanuel Vadot crypto@10025000 { 686be33864SEmmanuel Vadot compatible = "fsl,imx27-sahara"; 696be33864SEmmanuel Vadot reg = <0x10025000 0x800>; 706be33864SEmmanuel Vadot interrupts = <75>; 71*84943d6fSEmmanuel Vadot clocks = <&clks IMX27_CLK_SAHARA_IPG_GATE>, 72*84943d6fSEmmanuel Vadot <&clks IMX27_CLK_SAHARA_AHB_GATE>; 73*84943d6fSEmmanuel Vadot clock-names = "ipg", "ahb"; 746be33864SEmmanuel Vadot }; 75