mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 00:48:50 +00:00
34734edd06
Some platforms, like the v3s, have DMA channels assigned to the crypto engine, which were in the DTSI but were never documented. Let's make sure they are. Signed-off-by: Maxime Ripard <maxime@cerno.tech> Acked-by: Corentin Labbe <clabbe.montjoie@gmail.com> Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com> Link: https://lore.kernel.org/r/20211116143255.385480-1-maxime@cerno.tech
95 lines
1.8 KiB
YAML
95 lines
1.8 KiB
YAML
# SPDX-License-Identifier: GPL-2.0
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/crypto/allwinner,sun4i-a10-crypto.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Allwinner A10 Security System Device Tree Bindings
|
|
|
|
maintainers:
|
|
- Chen-Yu Tsai <wens@csie.org>
|
|
- Maxime Ripard <mripard@kernel.org>
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- const: allwinner,sun4i-a10-crypto
|
|
- items:
|
|
- const: allwinner,sun5i-a13-crypto
|
|
- const: allwinner,sun4i-a10-crypto
|
|
- items:
|
|
- const: allwinner,sun6i-a31-crypto
|
|
- const: allwinner,sun4i-a10-crypto
|
|
- items:
|
|
- const: allwinner,sun7i-a20-crypto
|
|
- const: allwinner,sun4i-a10-crypto
|
|
- const: allwinner,sun8i-a33-crypto
|
|
- items:
|
|
- const: allwinner,sun8i-v3s-crypto
|
|
- const: allwinner,sun8i-a33-crypto
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
items:
|
|
- description: Bus Clock
|
|
- description: Module Clock
|
|
|
|
clock-names:
|
|
items:
|
|
- const: ahb
|
|
- const: mod
|
|
|
|
dmas:
|
|
items:
|
|
- description: RX DMA Channel
|
|
- description: TX DMA Channel
|
|
|
|
dma-names:
|
|
items:
|
|
- const: rx
|
|
- const: tx
|
|
|
|
resets:
|
|
maxItems: 1
|
|
|
|
reset-names:
|
|
const: ahb
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- interrupts
|
|
- clocks
|
|
- clock-names
|
|
|
|
if:
|
|
properties:
|
|
compatible:
|
|
contains:
|
|
enum:
|
|
- allwinner,sun6i-a31-crypto
|
|
- allwinner,sun8i-a33-crypto
|
|
|
|
then:
|
|
required:
|
|
- resets
|
|
- reset-names
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
crypto: crypto-engine@1c15000 {
|
|
compatible = "allwinner,sun4i-a10-crypto";
|
|
reg = <0x01c15000 0x1000>;
|
|
interrupts = <86>;
|
|
clocks = <&ahb_gates 5>, <&ss_clk>;
|
|
clock-names = "ahb", "mod";
|
|
};
|
|
|
|
...
|