blob: 871dba4c01a8f5c6278f5130657894b3ee965b2a [file]
# Copyright (c) Copyright (c) 2024 BayLibre, SAS
# SPDX-License-Identifier: Apache-2.0
description: TI CC23X0 AES accelerator.
compatible: "ti,cc23x0-aes"
include: base.yaml
properties:
reg:
required: true
interrupts:
required: true
dmas:
description: |
Optional CHA & CHB DMA specifiers. Each specifier will have a phandle
reference to the DMA controller, the channel number, and the peripheral
trigger source.
Example for channels 4/5 with aestrga/aestrgb trigger sources:
dmas = <&dma 4 3>, <&dma 5 4>;
For ECB mode:
- CHA moves plaintext data into buffer registers when AES operation starts,
- CHB moves ciphertext to memory when AES completes.
For CTR (also used by CCM):
- CHA moves plaintext data into text XOR registers when AES operation starts,
- CHB moves ciphertext to memory after CHA has written the last text XOR register.
For CBC-MAC (also used by CCM):
- CHA moves plaintext data into buffer when AES operation starts,
- CHB is not used.
dma-names:
description: |
Required if the dmas property exists. These must be "cha" and "chb"
to match the dmas property.
Example:
dma-names = "cha", "chb";