1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/crypto/fsl- 4 $id: http://devicetree.org/schemas/crypto/fsl-imx-sahara.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Freescale SAHARA Cryptographic Accelera 7 title: Freescale SAHARA Cryptographic Accelerator 8 8 9 maintainers: 9 maintainers: 10 - Steffen Trumtrar <s.trumtrar@pengutronix.de 10 - Steffen Trumtrar <s.trumtrar@pengutronix.de> 11 11 12 properties: 12 properties: 13 compatible: 13 compatible: 14 enum: 14 enum: 15 - fsl,imx27-sahara 15 - fsl,imx27-sahara 16 - fsl,imx53-sahara 16 - fsl,imx53-sahara 17 17 18 reg: 18 reg: 19 maxItems: 1 19 maxItems: 1 20 20 21 interrupts: 21 interrupts: 22 items: 22 items: 23 - description: SAHARA Interrupt for Host 23 - description: SAHARA Interrupt for Host 0 24 - description: SAHARA Interrupt for Host 24 - description: SAHARA Interrupt for Host 1 25 minItems: 1 25 minItems: 1 26 26 27 clocks: 27 clocks: 28 items: 28 items: 29 - description: Sahara IPG clock 29 - description: Sahara IPG clock 30 - description: Sahara AHB clock 30 - description: Sahara AHB clock 31 31 32 clock-names: 32 clock-names: 33 items: 33 items: 34 - const: ipg 34 - const: ipg 35 - const: ahb 35 - const: ahb 36 36 37 required: 37 required: 38 - compatible 38 - compatible 39 - reg 39 - reg 40 - interrupts 40 - interrupts 41 - clocks 41 - clocks 42 - clock-names 42 - clock-names 43 43 44 allOf: 44 allOf: 45 - if: 45 - if: 46 properties: 46 properties: 47 compatible: 47 compatible: 48 contains: 48 contains: 49 enum: 49 enum: 50 - fsl,imx53-sahara 50 - fsl,imx53-sahara 51 then: 51 then: 52 properties: 52 properties: 53 interrupts: 53 interrupts: 54 minItems: 2 54 minItems: 2 55 maxItems: 2 55 maxItems: 2 56 else: 56 else: 57 properties: 57 properties: 58 interrupts: 58 interrupts: 59 maxItems: 1 59 maxItems: 1 60 60 61 additionalProperties: false 61 additionalProperties: false 62 62 63 examples: 63 examples: 64 - | 64 - | 65 #include <dt-bindings/clock/imx27-clock.h> 65 #include <dt-bindings/clock/imx27-clock.h> 66 66 67 crypto@10025000 { 67 crypto@10025000 { 68 compatible = "fsl,imx27-sahara"; 68 compatible = "fsl,imx27-sahara"; 69 reg = <0x10025000 0x800>; 69 reg = <0x10025000 0x800>; 70 interrupts = <75>; 70 interrupts = <75>; 71 clocks = <&clks IMX27_CLK_SAHARA_IPG_G 71 clocks = <&clks IMX27_CLK_SAHARA_IPG_GATE>, 72 <&clks IMX27_CLK_SAHARA_AHB_G 72 <&clks IMX27_CLK_SAHARA_AHB_GATE>; 73 clock-names = "ipg", "ahb"; 73 clock-names = "ipg", "ahb"; 74 }; 74 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.