Freescale Smart Direct Memory Access (SDMA) Controller for i.MX
Schema identifier ($id): "http://devicetree.org/schemas/dma/fsl,imx-sdma.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Joy Zou <joy.zou@nxp.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):dma-controller.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"fsl,imx50-sdma","fsl,imx51-sdma","fsl,imx53-sdma","fsl,imx6q-sdma","fsl,imx7d-sdma"Item 2
Exact value (
const):"fsl,imx35-sdma"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"fsl,imx6q-sdma"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"fsl,imx6ul-sdma"Item 2
Exact value (
const):"fsl,imx6q-sdma"Item 3
Exact value (
const):"fsl,imx35-sdma"
Rule 4
Array item rules (
items)Item 1
Exact value (
const):"fsl,imx6sll-sdma"Item 2
Exact value (
const):"fsl,imx6ul-sdma"
Rule 5
Array item rules (
items)Item 1
Exact value (
const):"fsl,imx8mq-sdma"Item 2
Exact value (
const):"fsl,imx7d-sdma"
Rule 6
Array item rules (
items)Item 1
Allowed values (
enum):"fsl,imx8mp-sdma","fsl,imx8mn-sdma","fsl,imx8mm-sdma"Item 2
Exact value (
const):"fsl,imx8mq-sdma"
Rule 7
Array item rules (
items)Item 1
Allowed values (
enum):"fsl,imx25-sdma","fsl,imx31-sdma","fsl,imx35-sdma"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
fsl,sdma-ram-script-name — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Should contain the full path of SDMA RAM scripts firmware.
#dma-cells — not listed as required here #
Exact value (const): 3
The first cell: request/event ID
The second cell: peripheral types ID
enum:
- MCU domain SSI: 0
- Shared SSI: 1
- MMC: 2
- SDHC: 3
- MCU domain UART: 4
- Shared UART: 5
- FIRI: 6
- MCU domain CSPI: 7
- Shared CSPI: 8
- SIM: 9
- ATA: 10
- CCM: 11
- External peripheral: 12
- Memory Stick Host Controller: 13
- Shared Memory Stick Host Controller: 14
- DSP: 15
- Memory: 16
- FIFO type Memory: 17
- SPDIF: 18
- IPU Memory: 19
- ASRC: 20
- ESAI: 21
- SSI Dual FIFO: 22
description: needs firmware more than ver 2
- Shared ASRC: 23
- SAI: 24
- Multi SAI: 25
- HDMI Audio: 26
- I2C: 27
The third cell: transfer priority ID
enum:
- High: 0
- Medium: 1
- Low: 2
gpr — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
The phandle to the General Purpose Register (GPR) node
fsl,sdma-event-remap — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-matrix
Maximum number of items (maxItems): 2
Array item rules (items) #
Array item rules (
items)Item 1
GPR register offset
Item 2
GPR register shift
Item 3
GPR register value
Register bits of sdma event remap, the format is <reg shift val>. The order is <RX>, <TX>.
clocks — not listed as required here #
Maximum number of items (maxItems): 2
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"ipg"
Item 2
Exact value (
const):"ahb"
iram — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
The phandle to the On-chip RAM (OCRAM) node.
Required in this object (required): "compatible", "reg", "interrupts", "fsl,sdma-ram-script-name"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
sdma: dma-controller@83fb0000 {
compatible = "fsl,imx51-sdma", "fsl,imx35-sdma";
reg = <0x83fb0000 0x4000>;
interrupts = <6>;
#dma-cells = <3>;
fsl,sdma-ram-script-name = "sdma-imx51.bin";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause