2020-08-04 19:43:30 -07:00
|
|
|
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
|
|
%YAML 1.2
|
|
|
|
---
|
|
|
|
$id: http://devicetree.org/schemas/crypto/fsl-imx-sahara.yaml#
|
|
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
|
2023-09-25 04:12:18 -07:00
|
|
|
title: Freescale SAHARA Cryptographic Accelerator
|
2020-08-04 19:43:30 -07:00
|
|
|
|
|
|
|
maintainers:
|
|
|
|
- Steffen Trumtrar <s.trumtrar@pengutronix.de>
|
|
|
|
|
|
|
|
properties:
|
|
|
|
compatible:
|
|
|
|
enum:
|
|
|
|
- fsl,imx27-sahara
|
|
|
|
- fsl,imx53-sahara
|
|
|
|
|
|
|
|
reg:
|
|
|
|
maxItems: 1
|
|
|
|
|
|
|
|
interrupts:
|
2023-09-25 04:12:20 -07:00
|
|
|
items:
|
|
|
|
- description: SAHARA Interrupt for Host 0
|
|
|
|
- description: SAHARA Interrupt for Host 1
|
|
|
|
minItems: 1
|
2020-08-04 19:43:30 -07:00
|
|
|
|
2023-09-25 04:12:19 -07:00
|
|
|
clocks:
|
|
|
|
items:
|
|
|
|
- description: Sahara IPG clock
|
|
|
|
- description: Sahara AHB clock
|
|
|
|
|
|
|
|
clock-names:
|
|
|
|
items:
|
|
|
|
- const: ipg
|
|
|
|
- const: ahb
|
|
|
|
|
2020-08-04 19:43:30 -07:00
|
|
|
required:
|
|
|
|
- compatible
|
|
|
|
- reg
|
|
|
|
- interrupts
|
2023-09-25 04:12:19 -07:00
|
|
|
- clocks
|
|
|
|
- clock-names
|
2020-08-04 19:43:30 -07:00
|
|
|
|
2023-09-25 04:12:20 -07:00
|
|
|
allOf:
|
|
|
|
- if:
|
|
|
|
properties:
|
|
|
|
compatible:
|
|
|
|
contains:
|
|
|
|
enum:
|
|
|
|
- fsl,imx53-sahara
|
|
|
|
then:
|
|
|
|
properties:
|
|
|
|
interrupts:
|
|
|
|
minItems: 2
|
|
|
|
maxItems: 2
|
|
|
|
else:
|
|
|
|
properties:
|
|
|
|
interrupts:
|
|
|
|
maxItems: 1
|
|
|
|
|
2020-08-04 19:43:30 -07:00
|
|
|
additionalProperties: false
|
|
|
|
|
|
|
|
examples:
|
|
|
|
- |
|
2023-09-25 04:12:19 -07:00
|
|
|
#include <dt-bindings/clock/imx27-clock.h>
|
|
|
|
|
2020-08-04 19:43:30 -07:00
|
|
|
crypto@10025000 {
|
|
|
|
compatible = "fsl,imx27-sahara";
|
2023-09-25 04:12:18 -07:00
|
|
|
reg = <0x10025000 0x800>;
|
2020-08-04 19:43:30 -07:00
|
|
|
interrupts = <75>;
|
2023-09-25 04:12:19 -07:00
|
|
|
clocks = <&clks IMX27_CLK_SAHARA_IPG_GATE>,
|
|
|
|
<&clks IMX27_CLK_SAHARA_AHB_GATE>;
|
|
|
|
clock-names = "ipg", "ahb";
|
2020-08-04 19:43:30 -07:00
|
|
|
};
|