2023-08-23 01:45:40 -07:00
|
|
|
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
2020-07-13 01:34:21 -07:00
|
|
|
%YAML 1.2
|
|
|
|
---
|
|
|
|
$id: http://devicetree.org/schemas/crypto/ti,sa2ul.yaml#
|
|
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
|
|
|
|
title: K3 SoC SA2UL crypto module
|
|
|
|
|
|
|
|
maintainers:
|
|
|
|
- Tero Kristo <t-kristo@ti.com>
|
|
|
|
|
|
|
|
properties:
|
|
|
|
compatible:
|
|
|
|
enum:
|
|
|
|
- ti,j721e-sa2ul
|
|
|
|
- ti,am654-sa2ul
|
2021-04-13 02:15:57 -07:00
|
|
|
- ti,am64-sa2ul
|
2022-04-12 00:30:15 -07:00
|
|
|
- ti,am62-sa3ul
|
2020-07-13 01:34:21 -07:00
|
|
|
|
|
|
|
reg:
|
|
|
|
maxItems: 1
|
|
|
|
|
|
|
|
power-domains:
|
|
|
|
maxItems: 1
|
|
|
|
|
|
|
|
dmas:
|
|
|
|
items:
|
|
|
|
- description: TX DMA Channel
|
2023-03-03 14:42:23 -07:00
|
|
|
- description: 'RX DMA Channel #1'
|
|
|
|
- description: 'RX DMA Channel #2'
|
2020-07-13 01:34:21 -07:00
|
|
|
|
|
|
|
dma-names:
|
|
|
|
items:
|
|
|
|
- const: tx
|
|
|
|
- const: rx1
|
|
|
|
- const: rx2
|
|
|
|
|
|
|
|
"#address-cells":
|
|
|
|
const: 2
|
|
|
|
|
|
|
|
"#size-cells":
|
|
|
|
const: 2
|
|
|
|
|
|
|
|
ranges:
|
|
|
|
description:
|
|
|
|
Address translation for the possible RNG child node for SA2UL
|
|
|
|
|
2021-04-13 02:15:57 -07:00
|
|
|
clocks:
|
|
|
|
items:
|
|
|
|
- description: Clock used by PKA
|
|
|
|
- description: Main Input Clock
|
|
|
|
- description: Clock used by rng
|
|
|
|
|
|
|
|
clock-names:
|
|
|
|
items:
|
|
|
|
- const: pka_in_clk
|
|
|
|
- const: x1_clk
|
|
|
|
- const: x2_clk
|
|
|
|
|
2020-07-13 01:34:21 -07:00
|
|
|
patternProperties:
|
|
|
|
"^rng@[a-f0-9]+$":
|
|
|
|
type: object
|
|
|
|
description:
|
|
|
|
Child RNG node for SA2UL
|
|
|
|
|
|
|
|
required:
|
|
|
|
- compatible
|
|
|
|
- reg
|
|
|
|
- dmas
|
|
|
|
- dma-names
|
2021-04-13 02:15:57 -07:00
|
|
|
|
2023-07-14 02:12:41 -07:00
|
|
|
allOf:
|
|
|
|
- if:
|
|
|
|
properties:
|
|
|
|
compatible:
|
|
|
|
contains:
|
|
|
|
const: ti,am62-sa3ul
|
|
|
|
then:
|
|
|
|
properties:
|
|
|
|
power-domains: false
|
|
|
|
else:
|
|
|
|
required:
|
|
|
|
- power-domains
|
|
|
|
|
2020-07-13 01:34:21 -07:00
|
|
|
additionalProperties: false
|
|
|
|
|
|
|
|
examples:
|
|
|
|
- |
|
|
|
|
#include <dt-bindings/soc/ti,sci_pm_domain.h>
|
|
|
|
|
|
|
|
main_crypto: crypto@4e00000 {
|
2021-01-28 17:28:43 -07:00
|
|
|
compatible = "ti,j721e-sa2ul";
|
2020-08-25 06:31:05 -07:00
|
|
|
reg = <0x4e00000 0x1200>;
|
2020-07-13 01:34:21 -07:00
|
|
|
power-domains = <&k3_pds 264 TI_SCI_PD_EXCLUSIVE>;
|
|
|
|
dmas = <&main_udmap 0xc000>, <&main_udmap 0x4000>,
|
|
|
|
<&main_udmap 0x4001>;
|
|
|
|
dma-names = "tx", "rx1", "rx2";
|
|
|
|
};
|